
Finals Review Intro to Programming

Quiz
•
others
•
12th Grade
•
Medium
Nicole Matthews
Used 2+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of the return statement in a JavaScript function?
To terminate the program execution
To send a value back from the function
To print output to the console
To declare a new variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In JavaScript, which operator is used to check if two values are not equal?
<>
!=
/=
^=
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? let num = 8; if (num % 2 == 0) { console.log("Even"); } else { console.log("Odd"); }
Odd
8
Even
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many iterations will this loop execute? for (let i = 0; i < 5; i++) { console.log(i); }
0
5
4
6
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the readInt() function return?
A string
A boolean
An integer
A floating-point number
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if a while loop's condition never becomes false?
The loop executes once
The program crashes
The loop runs indefinitely
The loop is skipped
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When does the else block in an if/else statement execute?
When the if condition is true
When the if condition is false
Every time the program runs
Only when there's an error
Create a free account and access millions of resources
Similar Resources on Wayground
36 questions
Cell Energy Test REVIEW

Quiz
•
9th - 12th Grade
37 questions
Day 3 Quiz SS

Quiz
•
12th Grade
32 questions
Chapter 7 - The Early Republic

Quiz
•
12th Grade - University
33 questions
DNA Unit Quiz

Quiz
•
9th - 12th Grade
30 questions
Characteristics of Life & Life Functions HW #2 (2025-2026)

Quiz
•
9th - 12th Grade
37 questions
ASAS SENI MUSIK X

Quiz
•
10th Grade - University
35 questions
Python questions

Quiz
•
12th Grade
40 questions
Relative Clause Unit 5 Test

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for others
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade
15 questions
ACT Math Practice Test

Quiz
•
9th - 12th Grade
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade