
Understanding Code
Authored by Stephanie Kimbrough
Computers
6th - 8th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on this set of code, what is fibonacci?
a man
a set of math numbers
a variable
a loop
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on this set of code, what does set num to 0 mean?
start at the number 0
a set of math numbers
an math operation that has no values
numbers are not allowed
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on this set of code, how long will this program run?
it will not run because of the zero
it will run until the number reaches 100
it will run 100 times
it will go on forever
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on this set of code, after the flag is clicked, what will the computer do?
it will delete all of the fibonacci numbers
it will run until the number reaches 100
it will run 100 times
it will delete the variable called fibonacci
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on this set of code, is this a loop? if so, what command gives you that reason?
yes, this is a loop. it is a loop because of the word repeat
yes, this is a loop. it is a loop because the loop repeats 100 times
no, this is not a loop since it only repeats 100 times
no, this is not a loop since the variable stops at zero
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on this set of code, what will happen if the loop counter exceeds 100?
The program will stop.
The program will reset the counter to zero.
The program will crash.
The program will continue running without any changes.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Based on this code here, what is the input?
the name
the time
happy birthday
there is nothing to input
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?