DFC20113 Chapter 3

DFC20113 Chapter 3

University

11 Qs

quiz-placeholder

Similar activities

Baseball Game

Baseball Game

University

6 Qs

College Readiness: Are You Ready?

College Readiness: Are You Ready?

12th Grade - University

6 Qs

S&S-Demo quiz

S&S-Demo quiz

University

11 Qs

OFWP Refresher

OFWP Refresher

1st Grade - University

10 Qs

News Item Grade XII

News Item Grade XII

University

10 Qs

Week 2 Unit 71 HW Review Questions HP MOD

Week 2 Unit 71 HW Review Questions HP MOD

University

12 Qs

Diuretics Y2B3

Diuretics Y2B3

University

10 Qs

Technical Report Writing

Technical Report Writing

University

14 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?