
Math in Coding Review

Quiz
•
Computers, Mathematics
•
7th - 8th Grade
•
Hard
Blake Ciolfi
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
256
512
1024
2048
None of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the following program do?
Displays a countdown from 5 to 0
Displays a countdown from 5 to -1
Displays the number 0
Displays the number -1
None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the final value of j?
0
8
4
16
None of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the final value of g?
9
10
6
An error will occur since there are too many "not"
None of the above
5.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
The following code will not run properly and instead show an error message. Why?
Because there should only be one equal sign in g == 5
You cannot have a while loop inside an if statement
Python is confused because there are too many conditions being checked
There is nothing inside the while loop
None of the above
6.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
What does the following code do?
Replaces all items in the list by 4
Replaces the first item in the list by 4
Replaces the last item in the list by 4
Nothing. An error will occur
None of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
5 inputs, 5 outputs
5 inputs, 1 output
1 input, 5 outputs
1 input, 1 output
None of the above
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
User Input in Python

Quiz
•
8th Grade
10 questions
classify numbers

Quiz
•
7th Grade
10 questions
Python list and tuple

Quiz
•
6th - 8th Grade
15 questions
Exponents: Product of Powers

Quiz
•
8th - 9th Grade
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
10 questions
L1 Console, Variables and Creating a Program

Quiz
•
8th Grade
14 questions
9.1.2 - Starter Quiz

Quiz
•
7th - 11th Grade
15 questions
Linux-2 Quiz 2 -- LAMP

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Characterization

Quiz
•
3rd - 7th Grade
20 questions
Guess The Cartoon!

Quiz
•
7th Grade