Understanding Variables
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Chad Miller
Used 10+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 20 pts
What number will be output by the console.log command on line 7?
1 var age;
2 var year
3 age = 10;
4 year = 20;
5 year = 100;
6 age = 200;
7 console.log (age)
10
200
20
300
2.
MULTIPLE CHOICE QUESTION
3 mins • 20 pts
What number will be output by the console.log command on line 5?
1 var boop = 10;
2 boop = boop + 1;
3 boop = boop + 2;
4 boop = boop + 3;
5 console.log (boop);
10
11
12
16
3.
MULTIPLE CHOICE QUESTION
3 mins • 20 pts
What number will be output by the console.log command on line 5?
1 var skit = 20;
2 var rat = 10;
3 skit = skit +5 ;
4 rat = skit + rat;
5 console.log (rat);
35
10
15
12
220
4.
MULTIPLE CHOICE QUESTION
3 mins • 20 pts
What will be the order of letters printed to the console when this program is run?
1 console.log ("b");
2 myFunction (letters);
3 myFunction (letters);
4 function letters
console.log"c";
console.log "d";
abc
bcdb
bcdcd
bccdd
5.
MULTIPLE CHOICE QUESTION
3 mins • 20 pts
Which of the following is true of functions?
Programs written with functions run more quickly.
Functions can help remove repeated code from a program
Functions are called once but can be declared many times.
Replacing repeated code with a function will reduce the number of commands the computer needs to run.
Similar Resources on Wayground
10 questions
Introducción a JavaScript - A1
Quiz
•
10th Grade
10 questions
Visual Basic I
Quiz
•
10th - 11th Grade
10 questions
Программирование C#
Quiz
•
1st - 10th Grade
10 questions
Simple Easy Basic Lua Quiz
Quiz
•
4th Grade - Professio...
10 questions
Javascript Part 1
Quiz
•
10th Grade
7 questions
Javascript
Quiz
•
6th - 12th Grade
7 questions
2025 - 2º Trimestre - PFE/PMO - RP2
Quiz
•
11th Grade
5 questions
JavaScript: Funciones, Condicionales y Loops
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition
Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12
Lesson
•
11th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques
Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro
Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems
Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)
Quiz
•
10th - 12th Grade
