untitled

untitled

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

If/Else Statements (C++ Programming)

If/Else Statements (C++ Programming)

9th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Control Structure

Control Structure

9th Grade - University

12 Qs

CS Vocab 7,8,9

CS Vocab 7,8,9

9th Grade

10 Qs

COMPUTER 10, SEMI-FINALS

COMPUTER 10, SEMI-FINALS

10th Grade

13 Qs

Flowcharts 110

Flowcharts 110

9th - 12th Grade

16 Qs

Gmetrix JavaScript Session 3 Test

Gmetrix JavaScript Session 3 Test

9th - 12th Grade

10 Qs

Python For And While Loop

Python For And While Loop

8th - 12th Grade

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