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 10:30
What can tanya do now to start preparing for the college and scholarship application process? think about her grades, activities in which she can get involved, possible part-time jobs at which she can work, and standardized tests she can take. (10 points) apex
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
Lisa’s company, abc ltd., lost its biggest client and is now facing a financial crunch. most of her colleagues have resigned, but lisa decides to stay with the company and assist the management in overcoming the financial situation. which quality is lisa demonstrating? a. self-management b. cooperativeness c. responsibility d. loyalty
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
When working with a team you should always do the following, except? question 3 options: be dependable and trustworthy be sensitive to others feelings do your fair share critique members of the group
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What are ways to switch windows in excel? check all that apply. on the status bar, click the windows button, and then click the file name. on the task bar, click to display the excel jump list, and then click the file name. on the view tab, in the window group, click switch windows, and then click the file name. on the review tab, in the viewing group, click files, and then click the file name.
Answers: 1
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.02.2021 22:00
question
Biology, 24.02.2021 22:00
Questions on the website: 13722360