Use a counter-controlled loop to read seven numbers, some positive and some negative, then compute and display their average.

What will be an ideal response?

00 +2018 (Load Counter)
01 +3121 (Subtract Termination)
02 +4211 (Branch zero to 11)
03 +2018 (Load Counter)
04 +3019 (Add Increment)
05 +2118 (Store Counter)
06 +1017 (Read Value)
07 +2016 (Load Sum)
08 +3017 (Add Value)
09 +2116 (Store Sum)
10 +4000 (Branch 00)
11 +2016 (Load Sum)
12 +3218 (Divide Counter)
13 +2120 (Store Result)
14 +1120 (Write Result)
15 +4300 (Halt)
16 +0000 (Variable Sum)
17 +0000 (Variable Value)
18 +0000 (Variable Counter)
19 +0001 (Variable Increment)
20 +0000 (Variable Result)
21 +0007 (Variable Termination)

Computer Science & Information Technology

You might also like to view...

Universal forwarder is recommended for forwarding the logs to indexers.

a. true b. false

Computer Science & Information Technology

If you were developing an application for a local zoo, which one of the following nouns would not apply to the animal class?

a. lions b. tigers c. bears d. zookeepers

Computer Science & Information Technology