untitled

untitled

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Hour of Code

Hour of Code

6th - 12th Grade

12 Qs

uCertify JavaScript Chapter 5

uCertify JavaScript Chapter 5

9th - 12th Grade

20 Qs

Nested If

Nested If

6th - 12th Grade

15 Qs

if/else statements quiz

if/else statements quiz

9th Grade - University

10 Qs

AQA GCSE Computer Science - 3.1.1 Representing algorithms

AQA GCSE Computer Science - 3.1.1 Representing algorithms

8th - 10th Grade

19 Qs

Quiz - 9 on if-else

Quiz - 9 on if-else

12th Grade

15 Qs

Python Loops

Python Loops

11th Grade

10 Qs

AQA GCSE Computer Science - 3.1.1 Representing Algorithms

AQA GCSE Computer Science - 3.1.1 Representing Algorithms

8th - 10th Grade

19 Qs

untitled

untitled

Assessment

Quiz

Instructional Technology, Computers

9th - 12th Grade

Hard

Created by

kollin vos

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If-else

Optional value for the program to execute

Is a condition followed by a statement or a set of statements

Is a statement followed by a condition or a set of conditions

Function with a value

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Do while loops

Runs a statement once

Runs a statement twice

Runs a statement multiple times or not within a boolean condition

Doesn't run at all

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Switch Statement

Is a statement with a set of conditions called cases

Is a case

Is a condition with no cases

Is a boolean statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a random number generator, you write it as

sin()

rand()

cos()

abs()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'include' statement indicate in C++?

It includes the input/output stream library

It includes the math library

It includes the graphics library

It includes the string library

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which programming language is often considered one of the first high-level programming languages?

C++

Java

Python

HTML

Scratch

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'do-while' loop in C++?

To execute a block of code at least once and then repeatedly until a specified condition is true

To execute a block of code repeatedly until a specified condition is true

To execute a block of code repeatedly as long as a specified condition is true

To execute a block of code at least once and then repeatedly as long as a specified condition is true

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?