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 22:00
Which of the following statements correctly identifies a problem with sanitization methods? a. methods are not available to remove data ensuring that unauthorized personnel cannot retrieve data.b. even fully incinerated media can offer extractable data.c. personnel can perform sanitization steps improperly.d. stored data is physically etched into the media.
Answers: 1
question
Computers and Technology, 21.06.2019 23:00
In a file-oriented information system, a work file stores relatively permanent data about an entity is created and saved for backup and recovery purposes stores records that contain day-to-day business and operational data is a temporary file created by an information system for a single task
Answers: 1
question
Computers and Technology, 23.06.2019 00:20
The open systems interconnection (osi) reference model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (wlan) communication protocols. details the advantages and disadvantages of various basic network cabling options.
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
Answers: 2
You know the right answer?
You are given the following segment of code: Line 1: PROCEDURE printScorePairs()
Line 2: { <...
Questions
question
Biology, 04.12.2020 23:50
question
Mathematics, 04.12.2020 23:50
question
Mathematics, 04.12.2020 23:50
question
Mathematics, 04.12.2020 23:50