DFC20113 Chapter 3

DFC20113 Chapter 3

University

11 Qs

quiz-placeholder

Similar activities

IRC Campus Hunt (O'Week)

IRC Campus Hunt (O'Week)

University

10 Qs

Lathe machine spare parts

Lathe machine spare parts

11th Grade - University

10 Qs

Accounting MG1600

Accounting MG1600

University

15 Qs

Accounting Topic 6 & 7

Accounting Topic 6 & 7

University

10 Qs

GFG Final Quiz

GFG Final Quiz

University

10 Qs

Ethics Jan8

Ethics Jan8

6th Grade - Professional Development

10 Qs

cpp-1

cpp-1

University

10 Qs

Mamanua2Quizizz-MarlinNinaArina

Mamanua2Quizizz-MarlinNinaArina

University

10 Qs

DFC20113 Chapter 3

DFC20113 Chapter 3

Assessment

Quiz

Education

University

Hard

Created by

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

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?