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, 22.06.2019 01:30
What kind of motivation is katrina showing? use the drop-down menu to complete the statement. katrina is using motivation because she is personally interested in learning more.
Answers: 2
question
Computers and Technology, 22.06.2019 02:00
Think about some of the most memorable and forgettable games ever created. they can be games that were discussed in this unit or otherwise. what are some of the consistent factors that made certain games memorable to you? what were some of the consistent factors that made certain games forgettable to you? why? explain.
Answers: 1
question
Computers and Technology, 22.06.2019 08:30
Active listen eliminates barries to communication true or false
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
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
Mathematics, 24.11.2020 14:20
question
Mathematics, 24.11.2020 14:20
question
Chemistry, 24.11.2020 14:20
question
Advanced Placement (AP), 24.11.2020 14:20
question
English, 24.11.2020 14:20
question
Mathematics, 24.11.2020 14:20
Questions on the website: 13722360