
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
33 questions
PGAS Unit 2 - Standard 3 Exam

Quiz
•
12th Grade
33 questions
Seniors Study Guide

Quiz
•
12th Grade
35 questions
Cardiovascular System Unit Test

Quiz
•
9th - 12th Grade
40 questions
Unit 6 Vocabulary Homework

Quiz
•
8th Grade - University
30 questions
Causative Verbs Grammar Test

Quiz
•
12th Grade - University
39 questions
Cells Quiz

Quiz
•
9th - 12th Grade
33 questions
Phrasal verb E9 Unit 1 Part 2

Quiz
•
9th Grade - University
35 questions
Algebra 2 Final Exam Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for others
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University