If-else

untitled

Quiz
•
Instructional Technology, Computers
•
9th - 12th Grade
•
Hard
kollin vos
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
Similar Resources on Quizizz
15 questions
Quiz - 9 on if-else

Quiz
•
12th Grade
11 questions
Sphero Block Coding

Quiz
•
KG - 12th Grade
10 questions
Computer Hardward - Fetch, Decode & Execute Cycle

Quiz
•
4th - 12th Grade
18 questions
Control structures

Quiz
•
10th Grade
11 questions
49. Programming 1 : Basic Programming Constructs

Quiz
•
9th - 12th Grade
20 questions
Boolean Logic, Comparison Operators, and Loops Review Quiz

Quiz
•
10th Grade
15 questions
IF & CASE Conditional Statements

Quiz
•
9th - 12th Grade
10 questions
Basic Programming Terminology Quiz

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University