Finals Review Intro to Programming

Finals Review Intro to Programming

12th Grade

35 Qs

quiz-placeholder

Similar activities

Python questions

Python questions

12th Grade

35 Qs

Yearbook Coverage

Yearbook Coverage

6th Grade - University

30 Qs

Unit 1: Assessment (Types of Government and Constitutional Principles)

Unit 1: Assessment (Types of Government and Constitutional Principles)

12th Grade - University

32 Qs

2023-GRADE 9- QUIZ ON HARDWARE VS SOFTWARE & THE FUNCTIONS OF A COMPUTER SYSTEM

2023-GRADE 9- QUIZ ON HARDWARE VS SOFTWARE & THE FUNCTIONS OF A COMPUTER SYSTEM

9th - 12th Grade

39 Qs

CIE 9700 - Topic 1.2 - Past Paper MCQs

CIE 9700 - Topic 1.2 - Past Paper MCQs

12th Grade

30 Qs

Latihan Soal Laravel 2

Latihan Soal Laravel 2

10th Grade - University

30 Qs

Characteristics of Life & Life Functions HW #2 (2025-2026)

Characteristics of Life & Life Functions HW #2 (2025-2026)

9th - 12th Grade

30 Qs

ASAS SENI MUSIK X

ASAS SENI MUSIK X

10th Grade - University

37 Qs

Finals Review Intro to Programming

Finals Review Intro to Programming

Assessment

Quiz

others

12th Grade

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?