Search Header Logo

PROGRAMMING 2 MIDTERM EXAM TRUE OR FALSE (2024-25))

Authored by JONARD LOPEZ

Information Technology (IT)

University

Used 2+ times

PROGRAMMING 2 MIDTERM EXAM TRUE OR FALSE (2024-25))
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a sequential control structure, the execution flow is altered based on conditions.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The if-else statement is an example of an iterative control structure.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A for loop is ideal when the number of iterations is known beforehand.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The do-while loop guarantees at least one execution of the loop body, even if the condition is initially false.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a switch statement, every case block must contain a break statement to avoid executing the following cases.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The while loop executes at least once before checking the condition.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A nested loop refers to multiple loops running independently of each other.

True

False

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?