subject

You are given the following segment of code: Line 1: PROCEDURE printScorePairs()
Line 2: {
Line 3: count <-- 0
Line 4: sum <-- 0
Line 5: i <-- 1
Line 6: scores <-- [73, 85, 100, 90, 64, 55]
Line 7: REPEAT UNTIL ( i > LENGTH (scores) )
Line 8: {
Line 9: sum <-- scores[i] scores[i 1]
Line 10: DISPLAY ( sum )
Line 11: i <-- i 2
Line 12: }
Line 13: }

The ABC company is thrifty when it comes to purchasing memory (also known as RAM) for its computers. Therefore, memory is of the utmost importance and all programming code needs to be optimized to use the least amount of memory possible. What modifications could be made to reduce the memory requirements without changing the overall functionality of the code?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:20
When developing a stakeholder matrix, the portfolio manager must look at the portfolio governance in order to complete the stakeholder analysis. in your own words, what is the role, interest and expectations of the governance?
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
What software programs are used to to create professional publication? a.) graphics programs b.) word processors c.) page layout programs d.) spreadsheet programs
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
You know the right answer?
You are given the following segment of code: Line 1: PROCEDURE printScorePairs()
Line 2: { <...
Questions
question
Mathematics, 21.03.2020 00:18
Questions on the website: 13722363