• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 32 pages
Exam (elaborations)

CMIS - SIUE Dr. Moore Actual Exam Questions With Reviewed 100% Correct Detailed Answers Guaranteed Pass!!

Document preview thumbnail
Preview 4 out of 32 pages

CMIS - SIUE Dr. Moore Actual Exam Questions With Reviewed 100% Correct Detailed Answers Guaranteed Pass!! Case 1 You have just starting working at Quantum Company. As a new programmer, you have been asked to review and correct various pseudocode. The following pseudocode is not working properly. The message should display 10 times. What needs to be changed? for count = 0 to 10 output "I love programming!" endfor - ANSWER The for statement should be: for count = 0 to 9 step 1 When one loop is nested within another, the loop that is contained is the ____ loop. - ANSWER Inner Program logic gets more complicated when you must use loops within loops, creating ____ loops. - ANSWER Nested The decision that controls every loop is always based on a ____ expression. - ANSWER Boolean A(n) ____ is a variable that you use to gather or accumulate values. - ANSWER Accumulator The ____ statement uses a loop control variable and provides you with three actions automatically in one compact statement: initialization, evaluation and incrementation. - ANSWER For When a loop control variable is numeric, its value is often altered by ____ it, or adding to it. - ANSWER Incrementing Business reports that list no individual detail records, just totals, are called ____ reports. - ANSWER Summary Outer When one loop is nested within another, the containing loop is the ____ loop. - ANSWER While As long as a Boolean expression remains true, a ____ loop's body executes. - ANSWER You can use any of the ____ comparison operators to control a loop. - ANSWER Six

Content preview

CMIS - SIUE Dr. Moore
Actual Exam Questions With Reviewed
100% Correct Detailed Answers
Guaranteed Pass!!



Case 1


You have just starting working at Quantum Company. As a new programmer, you
have been asked to review and correct various pseudocode.


The following pseudocode is not working properly. The message should display 10
times. What needs to be changed?
for count = 0 to 10
output "I love programming!"

endfor - ANSWER The for statement should be:

for count = 0 to 9 step 1


When one loop is nested within another, the loop that is contained is the ____
loop. - ANSWER Inner


Program logic gets more complicated when you must use loops within loops,
creating ____ loops. - ANSWER Nested

,The decision that controls every loop is always based on a ____ expression. -
ANSWER Boolean


A(n) ____ is a variable that you use to gather or accumulate values. - ANSWER
Accumulator


The ____ statement uses a loop control variable and provides you with three
actions automatically in one compact statement: initialization, evaluation and
incrementation. - ANSWER For


When a loop control variable is numeric, its value is often altered by ____ it, or
adding to it. - ANSWER Incrementing


Business reports that list no individual detail records, just totals, are called ____
reports. - ANSWER Summary


When one loop is nested within another, the containing loop is the ____ loop. -
ANSWER Outer


As long as a Boolean expression remains true, a ____ loop's body executes. -
ANSWER While


You can use any of the ____ comparison operators to control a loop. - ANSWER
Six

,Often, the value of a loop control variable is not altered by arithmetic, but instead
is altered by ____. - ANSWER User Input


The ____ is the location on your computer screen at which you type entries to
communicate with the computer's operating system using text. - ANSWER
Command Prompt


Case 1


You have just starting working at Quantum Company. As a new programmer, you
have been asked to review and correct various pseudocode.


In the following pseudocode, what will be the value of sum after the code is run?
Declarations
num count = 0
num sum = 0
while count < 3
for X = 1 to 2 step 1
sum = sum + X
endfor
count = count + 1

endwhile - ANSWER 9


Case 1

, You have just starting working at Quantum Company. As a new programmer, you
have been asked to review and correct various pseudocode.


The following pseudocode is not working properly. The message should display 10
times. This is not working because the programmer made which common loop
mistake?
for count = 1 to 10
output "Hello"

endfor - ANSWER Neglecting to alter the loop control variable


Which of the following is NOT a mistake that programmers commonly make with
loops? - ANSWER Including statements outside the loop that belong inside
the loop


Case 1


You have just starting working at Quantum Company. As a new programmer, you
have been asked to review and correct various pseudocode.


The following pseudocode is not working properly. The message should display
five times. What needs to be changed?
Declarations
string message = "OK"
while count < 5

Document information

Uploaded on
April 18, 2025
Number of pages
32
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
284
Followers
87
Items
3396
Last sold
4 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions