WK 9 variable
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Leng Kai Ooi
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DISPLAY ("Going for a walk:")
DISPLAY ("ᕕ( ᐛ )ᕗ")
This is a computer program with _________statements.
1
2
3
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
DISPLAY ("Going for a walk:")
DISPLAY ("ᕕ( ᐛ )ᕗ")
Each statement calls a _________
named DISPLAY which expects a single ________ to determine what to display on the screen.
function, method
function, statement
statement, string
procedure, parameter
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is the best explanation of pseudocode?
Pseudocode is a language that represents concepts across programming languages, but cannot actually be run by a computer.
Pseudocode is a standard programming language that is understood by all computers.
Pseudocode is the language that runs the fastest on computers.
Pseudocode is a programming language that looks just like natural human language.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
score ← 1
shots ← 0
DISPLAY (score)
DISPLAY (shots)
shots ← 3
score ← shots
DISPLAY (shots)
DISPLAY (score)
What will be the output of that code?
1 0 3 4
1 0 4 3
1 0 4 4
1 0 3 3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
hunger ← 6
cuddliness ← 9
playfulness ← 7
playfulness ← cuddliness
DISPLAY (playfulness)
DISPLAY (cuddliness)
DISPLAY (hunger)
After running that code, what will be displayed?
7 9 6
9 9 6
7 7 6
6 6 9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
onionCount ← 2
garlicCount ← 6
what is the value of garlicCount
2
8
6
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Darrell is making a program to track his grades. He made the mistake of using the same variable name to track 3 different test grades, though. Here's a snippet of his code:
a ← 89
a ← 97
a ← 93
What will be the value of a after this code runs?
89
97
93
33
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?
Similar Resources on Wayground
10 questions
Anime
Quiz
•
KG - University
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th Grade
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
10 questions
ZOOM QUIZ
Quiz
•
1st - 12th Grade
10 questions
Systemy operacyjne w środowisku sieciowym
Quiz
•
6th - 12th Grade
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
