DFC20113 Chapter 3

DFC20113 Chapter 3

University

11 Qs

quiz-placeholder

Similar activities

Internet

Internet

University

11 Qs

Revision YBP128

Revision YBP128

University

10 Qs

1499EDN Week 3 Cognitive Development

1499EDN Week 3 Cognitive Development

University

11 Qs

Language Origin and Properties

Language Origin and Properties

University

11 Qs

"6 Thinking Hats" Method

"6 Thinking Hats" Method

University

10 Qs

COVID 19 AWARENESS QUIZ

COVID 19 AWARENESS QUIZ

University

12 Qs

TESOL Chapter 10-1

TESOL Chapter 10-1

University

12 Qs

HMS UNIT 1

HMS UNIT 1

University

15 Qs

DFC20113 Chapter 3

DFC20113 Chapter 3

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

MUNIRAH (PMJ)

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?