
December 23
Authored by Brenda McLachlin
Computers
3rd - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these are acceptable ways to write the variable name "letter one"?
letterOne
letterOne
letter-one
letter_one
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these poorly-formatted coding excerpts will break the code?
var x-pos = 0;
ellipse(200,200,50,50);
if(i - 10 > 3) {
text("Once upon a midnight dreary, while I pondered, weak and weary, Over many a quaint and curious volume of forgotten lore\nWhile I nodded, nearly napping, suddenly there came a tapping,As of some one gently rapping, rapping at my chamber door.", 200, 200);
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you know about the whole program based on this section of code?
switch (state) {
case 1:
There are multiple different ways the program can work, depending on the variable "state"
The canvas size is changed from 400, 400 to something else
There is a draw function in the code
There is an array called "state" that holds a list of boolean variables
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Finish this comment:
// When the user presses a key...
if (keyPressed) {
fill(colours[round(random(12))]);
}
...change the fill to any random colour
...change the fill to the colour at position 12 in the colours array
...change the fill to a random colour from the colours array
...add a new colour to the end of the colours array
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the symbol for IS:
||
&&
!
===
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate this expression:
False === False
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate this expression:
var x; // x is either true or false but you don't know which
(x && !x)
True
False
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
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
20 questions
Online Platform Block Q
Quiz
•
11th - 12th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
20 questions
City & Guilds Award in Business Processes
Quiz
•
12th Grade
21 questions
CPA MS-Office Hotkeys Quiz
Quiz
•
8th Grade - Professio...
18 questions
Quiz on Misinformation and Bias
Quiz
•
10th Grade - University
15 questions
7ICT - Algorithms Revision Quiz
Quiz
•
7th 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