MIS 525 Week 6 Quiz 1 | Devry University

MIS 525 Week 6 Quiz 1 | Devry University

Week 6: Quiz

 

Question 1

 (TCO D) What type of read is an added statement that gets the first input value in a program?  

·         Nested

·         Stacked

·         Posttest 

·         Priming

Question 2

 (TCO D) The priming read is an example of what kind of task?  

·         Declaration  

·         Exit  

·         Housekeeping  

·         Selection

Question 3

 (TCO D) Programmers employ what acronym to mean that if your input is incorrect, your output is worthless?     

·         IOW  

·         GIGO  

·         IOCW  

·         GIGS

 

Question 4

 (TCO E) What happens once your logic enters the body of a structured loop?  

·         The entire loop must execute.  

·         The loop can be terminated with a break statement.  

·         The loop will execute indefinitely.  

·         A decision statement will be evaluated.

 

Question 5

 (TCO E) A mistake programmers often make with loops is that they do what?  

·         Initialize the loop control variable prior to entering the loop body

·         Increment the loop control variable inside of the loop body  

·         Include statements inside the loop that belong outside the loop  

·         Enclose the inner loop entirely within the outer loop in a nested loop

 

Question 6

 (TCO D) What are the characteristics of a structured program?

According to research, the characteristics of a structured program are

1. sequence: Executing a list of statements in order.(programmer's preference on how he wants the order)

2.Repetition: Reusing the same set of "block of statements" while a condition is true( if the set codes works, using it again to execute same type of task)

3.Selection: Choosing at most "one action" from several alternative conditions. (There might be multiple command but using one over the others is a selection method)

 

 

Question 7

 (TCOs D and E) How can you improve the efficiency of a nested decision?

 

Question 8

20 / 20 pts

(TCO D) Explain what a range check is, and provide an example.

Question 9

 (TCO D) Explain the purpose and use of the AND operator.

Question 10

 (TCOs D and E) What are common mistakes made by programmers in coding loops?

Answer Detail

Get This Answer

Invite Tutor