
DFC20113 Chapter 3

Quiz
•
Education
•
University
•
Hard
MUNIRAH (PMJ)
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the syntax for an 'if' statement
if expression
if { expression }
if (expression)
if {expression]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the control structure that will execute the loop bogy at least once although the condition is not fulfilled.
for
if ... else
do ... while
while
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
identify the CORRECT statement to write the condition statement in C++ based on the statement in Figure below.
if (sum <=70) || (average = 25)
if (sum <=70) || (average == 25)
if (sum <=70) &&(average = 25)
if (sum <=70) &&(average == 25)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify which is NOT a type of selection control structure.
if
nested if
do ... while
switch case
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify a CORRECT type of looping control structure.
for
if ... else
switch case
break
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify a statement that must be used in switch case control structure.
continue;
break;
exit;
return 0;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In while loop the loop counter must be initialized ____________.
Within the loop
Before entering the loop
at the end of the loop
None of the given answer
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Comparison and Contrast Essay

Quiz
•
University
10 questions
WEEK 10 - JAVA

Quiz
•
University
10 questions
Module 1-Flow Control_5th_Semseter

Quiz
•
University
10 questions
Workshop Day 2

Quiz
•
University
12 questions
JAVA FUNDAMENTALS

Quiz
•
University
11 questions
Week 2 - Initial Planning in Primary Research Methods

Quiz
•
University
10 questions
English Terms

Quiz
•
KG - Professional Dev...
10 questions
Unit 2

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade