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, 23.06.2019 12:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
Answers: 1
question
Computers and Technology, 24.06.2019 01:00
How can the temperature of a room be raised by 5degreesf?
Answers: 1
question
Computers and Technology, 25.06.2019 02:00
Lisa is making a presentation for her project and she wants to use the logo of her company in her presentation. which element would she use to make her logo stand out in her presentation? a. gradation b. contrast c. alignment d. balance
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
In contrast to data in a database data in a data warehouse is described as subject oriented
Answers: 2
You know the right answer?
You are given the following segment of code: Line 1: PROCEDURE printScorePairs()
Line 2: { <...
Questions
question
World Languages, 16.12.2020 19:00
question
Mathematics, 16.12.2020 19:00
question
Mathematics, 16.12.2020 19:00
question
Mathematics, 16.12.2020 19:00
Questions on the website: 13722360