
Test 3 Edhesive Review
Authored by Scott Symons
Computers
9th - 12th Grade
Used 67+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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"):
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade