untitled

untitled

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Checkpoint - Representing Algorithms with Pseudocode

Checkpoint - Representing Algorithms with Pseudocode

9th Grade

10 Qs

Quiz - 9 on if-else

Quiz - 9 on if-else

12th Grade

15 Qs

If/Else Statements (C++ Programming)

If/Else Statements (C++ Programming)

9th Grade

10 Qs

Basic Programming Constructs

Basic Programming Constructs

11th Grade

11 Qs

File Handling In Python

File Handling In Python

12th Grade

20 Qs

49. Programming 1 : Basic Programming Constructs

49. Programming 1 : Basic Programming Constructs

9th - 12th Grade

11 Qs

Exploring Computer Science Final Review - Day 1

Exploring Computer Science Final Review - Day 1

9th Grade

20 Qs

Java logic control structures

Java logic control structures

9th - 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?