JavaScript_G9_Quiz

JavaScript_G9_Quiz

9th Grade

20 Qs

quiz-placeholder

Similar activities

HTML Pop QUIZ

HTML Pop QUIZ

9th - 12th Grade

23 Qs

Chromebook Basics

Chromebook Basics

6th Grade - University

15 Qs

1B Tynker JavaScript

1B Tynker JavaScript

8th - 10th Grade

23 Qs

Retroalimentación HTML & CSS 2.0

Retroalimentación HTML & CSS 2.0

9th - 12th Grade

20 Qs

Asas JavaScript

Asas JavaScript

1st Grade - University

18 Qs

Technology Basics

Technology Basics

4th - 12th Grade

16 Qs

Game Design Unit 5

Game Design Unit 5

9th - 12th Grade

15 Qs

Broadcast Basics Quiz

Broadcast Basics Quiz

6th Grade - University

15 Qs

JavaScript_G9_Quiz

JavaScript_G9_Quiz

Assessment

Quiz

Other

9th Grade

Hard

Created by

Athasia Bie

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It's a complex programming language that creates dynamic programming.

HTML

Python

JavaScript

CSS

Answer explanation

JavaScript is a complex programming language specifically designed for creating dynamic content on websites, making it the correct choice. HTML and CSS are markup and styling languages, while Python is a general-purpose programming language.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a data type in JavaScript that represents a value that cannot be altered?

Mutable

Reference

Primitive

Composite

Answer explanation

In JavaScript, 'primitive' data types (like numbers, strings, and booleans) are immutable, meaning their values cannot be changed once created. This distinguishes them from 'non-primitive' types, such as objects, which can be modified.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used in JavaScript to declare a variable that cannot be reassigned?

const

let

var

final

Answer explanation

In JavaScript, 'let' is used to declare variables that can be reassigned. Unlike 'const', which is for constants, and 'var', which has function scope, 'let' provides block scope and allows for reassignment.

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

const greeting= "good morning";

What could be the mistakes in the code if it shows error in the result?

Answer explanation

Excessive spacing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

keywords such as if, switch, and for, spaces are usually added before and after the__________?

Ex. if 10<8

Indention

Whietspace

semi colon

Parentheses

Answer explanation

In programming, keywords like 'if', 'switch', and 'for' typically have spaces added before and after their parentheses. This improves readability and helps distinguish the condition from the keyword itself.

6.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

A fundamental data type that can hold one of two possible values: true or false.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

During a group project, Charlotte noticed that one of the team members was not contributing anything to the discussion. When asked about their input, they simply stated that they had nothing to add. What does this indicate about their involvement?

Null

Undefined

Error

None

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?