CSIS 212 WEEK 3 QUIZ -
QUESTION AND ANSWERS
• Question 1
1 out of 1 points
Which of the following is not represented graphically in activity diagrams for control
structures?
Selected Answer: Attribute.
• Question 2
1 out of 1 points
Which of the following is not a common name for one of the three phases that a
program often can be split into using pseudocode?
Selected Answer: Action phase
• Question 3
1 out of 1 points
Which of the following is a double-selection control statement?
Selected Answer: if…else
• Question 4
1 out of 1 points
Which of the following is not a primitive type?
Selected Answer: String
• Question 5
0 out of 1 points
What does the expression x %= 10 do?
Selected Answer: Adds 10 to the value of x, and stores the result in x.
• Question 6
1 out of 1 points
Which of the following is not an error (either a syntax error or a logic error)?
Selected Answer: Using a condition for a while statement that is initially false.
• Question 7
1 out of 1 points
Which of the following statements about the conditional operator (?:) is false?
Selected The second operand is the result value if the condition evaluates to
Answer:
false.
QUESTION AND ANSWERS
• Question 1
1 out of 1 points
Which of the following is not represented graphically in activity diagrams for control
structures?
Selected Answer: Attribute.
• Question 2
1 out of 1 points
Which of the following is not a common name for one of the three phases that a
program often can be split into using pseudocode?
Selected Answer: Action phase
• Question 3
1 out of 1 points
Which of the following is a double-selection control statement?
Selected Answer: if…else
• Question 4
1 out of 1 points
Which of the following is not a primitive type?
Selected Answer: String
• Question 5
0 out of 1 points
What does the expression x %= 10 do?
Selected Answer: Adds 10 to the value of x, and stores the result in x.
• Question 6
1 out of 1 points
Which of the following is not an error (either a syntax error or a logic error)?
Selected Answer: Using a condition for a while statement that is initially false.
• Question 7
1 out of 1 points
Which of the following statements about the conditional operator (?:) is false?
Selected The second operand is the result value if the condition evaluates to
Answer:
false.