Quiz No. 1 - Functions in JavaScript

Quiz
•
Computers
•
University
•
Easy
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
Similar Resources on Wayground
20 questions
2-mavzu. Kotlin dasturlash tilida tarmoqlanuvchi, takrorlanuvchi

Quiz
•
University
20 questions
Operators in JS

Quiz
•
6th Grade - University
30 questions
C Programming Quiz

Quiz
•
University
20 questions
Kiểm tra lập trình C

Quiz
•
University
20 questions
JavaScript Game Development Newton

Quiz
•
9th Grade - University
20 questions
Quiz 2 Front-End Development

Quiz
•
University
30 questions
Test JS

Quiz
•
University
25 questions
Lvl 2 Relational Algebra

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University