subject

8. a programmer wrote an essay for his history class, and realized he has confused the names of benjamin franklin and alexander graham bell. instead of going through the whole paper and changing the names, he used the following incorrect algorithm in an attempt replace every occurrence of "benjamin franklin" with "alexander graham bell" and vise versa:
first, change all occurrences of "benjamin franklin" to "apple"
then, change all occurrences of "apple" to "alexander graham bell".
then, change all occurrences of "alexander graham bell" to "benjamin franklin".
here is an example of one of the sentences from the paper:
alexander graham bell was born 141 years before benjamin franklin, so he was never able to telephone his neighbors.
which of the following is the result of running the described incorrect algorithm on the sentence above?
a. benjamin franklin was born 141 years before alexander graham bell, so he was never able to telephone his neighbors.
b. apple was born 141 years before benjamin franklin, so he was never able to telephone his neighbors.
c. alexander graham bell was born 141 years before apple, so he was never able to telephone his neighbors.
d. benjamin franklin was born 141 years before benjamin franklin, so he was never able to telephone his neighbors.
e. alexander graham bell was born 141 years before alexander graham bell, so he was never able to telephone his neighbors.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 13:30
In mmf2, what is the grid? a. a toolbar that lets you open libraries and use the objects in them in your games b. an object that creates the background or other scenery for a game c. a set of vertical and horizontal lines that are usually invisible in the play area d. a set of vertical and horizontal lines that are usually visible in the play area
Answers: 1
question
Computers and Technology, 22.06.2019 08:00
Two technicians are discussing the common u-joint. technician a says its input and output speeds should be equal. technician b says that it normally has two yokes. which technician is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
question
Computers and Technology, 23.06.2019 09:10
(328 inc. 448 ind. 480 in25. john has a collection of toy cars. he has 2 red cars, 4 blue cars, 4 black cars, and 6 yellowcars. what is the ratio of red cars to yellow cars? a. 1: 2b. 1: 3c. 1: 626. the net of a right triangular prism is shown below.
Answers: 2
You know the right answer?
8. a programmer wrote an essay for his history class, and realized he has confused the names of benj...
Questions
question
Computers and Technology, 08.10.2019 20:30
Questions on the website: 13722363