
Hour of Code - Drawing with Code
Authored by Christopher McNair
Computers
6th - 12th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Function names are always followed by parentheses
True
False
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is another word for a command?
Prompt
Parameter
Function
Debugging
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the reason we use parameters?
To create a lot of functions
To make is easier for the user to input values when playing a game.
To be able to go back and fix error in the code and make it easier to debug.
To modify existing function and make them easier to customize or change when being called.
4.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
What is the JavaScript command for drawing a rectangle?
5.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
What is the JavaScript command to draw a circle (hint: it's not "circle")?
6.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
If you wanted to draw a basic eyebrow on a face, what command would you use?
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What changes the thickness of a line?
lineWeight
strokeWeight
stroke
lineStroke
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
ICT YR 9
Quiz
•
9th Grade
15 questions
MIT APP - QUIZ
Quiz
•
10th Grade
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
20 questions
P6 Review Term 2 2022
Quiz
•
6th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
20 questions
Give kids a hand | Scratch Round1
Quiz
•
1st - 7th Grade
15 questions
Exploring MS Word and Word 365
Quiz
•
6th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Computers
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
15 questions
Google Sheets
Quiz
•
7th - 8th Grade
10 questions
Introduction to Coding
Interactive video
•
3rd - 6th Grade