Test 3 Edhesive Review

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Scott Symons
Used 67+ times
FREE Resource
Student preview

19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When do you use an else statement?
To Input a variable
To handle string values
To tell what will happen when an if-statement is false.
To end an IF statement.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if num1 and num2 are the same.
if (num1 = num2)
if (num1 < num2)
if (num1 == num2)
if (num1 != num2)
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select all the mistakes in the following: There may be more than one.
The else should have a :
The = should be ==
elseif should be elif
there is no end if
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT true about algorithms?
have an order
have clear instructions
stop in a finite amount of time
do only number calculations
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code could be rewritten using:
not
and
or
none of the others
6.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What is an IF statement used for? Select all that apply.
Make True/ False decisions
Repeat sections of code
To count user input
Select between options in a program
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if the number in the variable text1 is greater than 15.
if (text1 > 15):
if (text1 >= 15):
if (text1 > "15"):
if (text1 < "15"):
Create a free account and access millions of resources
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade