Quiz No. 1 - Functions in JavaScript

Quiz No. 1 - Functions in JavaScript

University

25 Qs

quiz-placeholder

Similar activities

SEM 1 2021 QUIZ 1 (5%) - Chapter 1 - 7

SEM 1 2021 QUIZ 1 (5%) - Chapter 1 - 7

University

20 Qs

More on JavaScript 2

More on JavaScript 2

University

25 Qs

Test Final

Test Final

University

20 Qs

quiz 2nd/3rd year

quiz 2nd/3rd year

University

21 Qs

Unidad 1 programación web

Unidad 1 programación web

University

30 Qs

Ôn tin học lớp 11

Ôn tin học lớp 11

University

30 Qs

Javascript, HTML & CSS revision

Javascript, HTML & CSS revision

University

20 Qs

Quiz sobre Kotlin

Quiz sobre Kotlin

12th Grade - University

20 Qs

Quiz No. 1 - Functions in JavaScript

Quiz No. 1 - Functions in JavaScript

Assessment

Quiz

Computers

University

Easy

Created by

Natalie Landicho

Used 6+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

JavaScript had many names before it became JavaScript, which of the following is NOT part of those names?

LiveScript

Ecma Script

JScript

Java

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is an example of Declaration?

var studentID;

var studentID = 2015205;

var studentID = 2015205;

console.log("Student ID: " + studentID);

var studentID = 2015205;

alert("Student ID: " + studentID);

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is an example of Initialization?

var studentID;

var studentID = 2015205;

var studentID = 2015205;

console.log("Student ID: " + studentID);

var studentID = 2015205;

alert("Student ID: " + studentID);

4.

MULTIPLE SELECT QUESTION

45 sec • 2 pts

Which of the following is an example of Passing?

(You may select more than one answer)

var studentID;

var studentID = 2015205;

var studentID = 2015205;

console.log("Student ID: " + studentID);

var studentID = 2015205;

alert("Student ID: " + studentID);

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Variables can be as short as one character, or they can be as long as you want—think thousands and thousands of characters.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Variables can start with a letter, underscore, or the $ character. They can also start with a number.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Outside of the first character, our variables can be made up of any combination of letters, underscores, numbers, and $ characters. We can also mix and match lowercase and uppercase to our heart’s content.

True

False

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?