Lesson 1 Long Quiz

Lesson 1 Long Quiz

University

45 Qs

quiz-placeholder

Similar activities

Web Programming (Midterm)

Web Programming (Midterm)

University

40 Qs

Python Quiz

Python Quiz

University

50 Qs

Python Programming Quiz

Python Programming Quiz

11th Grade - University

50 Qs

Arrays in C

Arrays in C

University

40 Qs

Semester Final 2025

Semester Final 2025

10th Grade - University

40 Qs

DFH Class XII

DFH Class XII

12th Grade - Professional Development

46 Qs

Quiz on Programming Basics

Quiz on Programming Basics

3rd Grade - University

43 Qs

Basic Algorithm in C (Data type, Expression, Branching, Looping)

Basic Algorithm in C (Data type, Expression, Branching, Looping)

University

40 Qs

Lesson 1 Long Quiz

Lesson 1 Long Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Flonie Romulo

Used 9+ times

FREE Resource

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a Switch Statement?

Selection

Loop

Subprogram

2.

OPEN ENDED QUESTION

3 mins • 3 pts

Media Image

What is the exact output?

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of the increment/decrement part in a for loop?

To control the loop condition

To initialize the loop

To increment or decrement the loop variable

To exit the loop

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What happens if the initialization expression in a for loop is omitted?

The loop will not execute

The loop will execute indefinitely

The loop will execute once

The loop will throw an error

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a for loop, which part of the syntax is optional?

Initialization

Condition

Increment/Decrement

All parts are mandatory

6.

OPEN ENDED QUESTION

3 mins • 2 pts

Media Image

What is the exact output?

Evaluate responses using AI:

OFF

7.

FILL IN THE BLANK QUESTION

1 min • 2 pts

Once the _________ becomes false, the loop terminates, and control passes to the next statement after the while loop.

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?