Search Header Logo

[Week 10] The JavaScript Odyssey: History and Essentials

Authored by Curriculum Team

Computers

10th Grade

Used 8+ times

[Week 10] The JavaScript Odyssey: History and Essentials
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Who created JavaScript?

James Gosling

Brendan Eich

Tim Berners-Lee

John Resig

Answer explanation

JavaScript was created by Brendan Eich in 1995 while working at Netscape. He developed it in just 10 days, and it has since become one of the core technologies of the web.

2.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

In what year was JavaScript created?

1992

1995

1997

2000

Answer explanation

JavaScript was created in 1995 by Brendan Eich while working at Netscape. This year marks its official introduction, making it the correct answer among the options provided.

3.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

What does ES stand for in ES3, ES5, ES6, etc.?

Easy Script

ECMAScript

Enhanced Script

Efficient Script

Answer explanation

ES stands for ECMAScript, which is the standard specification for scripting languages like JavaScript. Versions like ES3, ES5, and ES6 refer to different iterations of this standard, making 'ECMAScript' the correct choice.

4.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which version of ECMAScript introduced arrow functions?

ES3

ES5

ES6

ES2020

Answer explanation

Arrow functions were introduced in ES6, also known as ECMAScript 2015. They provide a more concise syntax for writing function expressions and lexically bind the 'this' value.

5.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

What major feature was introduced in ES2015 (ES6)?

Strict mode

Promises

For-in loops

Template literals

Answer explanation

Template literals, introduced in ES2015 (ES6), allow for multi-line strings and string interpolation using backticks (`). This feature enhances string manipulation compared to previous methods, making it the correct choice.

6.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which of the following is a new primitive data type introduced in ES6?

String

Symbol

Object

Number

Answer explanation

The correct answer is 'Symbol', which is a new primitive data type introduced in ES6. Unlike String, Object, and Number, which were already existing types, Symbol provides a unique identifier that is not visible to the outside world.

7.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

What is the purpose of the `let` keyword in JavaScript?

Declares a global variable

Declares a block-scoped variable

Declares a constant variable

Declares a function

Answer explanation

The `let` keyword in JavaScript is used to declare a block-scoped variable, meaning it is limited to the block in which it is defined. This is different from `var`, which declares a variable globally or within a function.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?