
Javascript Basics

Quiz
•
Computers
•
Professional Development
•
Medium
Niel Neri
Used 2+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type in JavaScript?
String
Boolean
Array
Number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to declare a variable in JavaScript?
var
let
const
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
console.log(5 + "5");
55
10
"55"
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How would you access the 3rd element in an array named myArray?
myArray(2)
myArray[2]
myArray(3)
myArray.3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to parse a string into an integer in JavaScript?
parseInt()
stringToInt()
parseInteger()
toInteger()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `===` operator do in JavaScript?
Checks for equality, but not type
Checks for equality, including type
Assigns a value to a variable
Compares two values, ignoring type
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code snippet output?
console.log(3 + 2 + "7");
"57"
"327"
"12"
Error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Componentes del Hardware

Quiz
•
Professional Development
25 questions
DATASTRUCTURES-3SEM

Quiz
•
Professional Development
20 questions
Synergy BCA | Chapter 5

Quiz
•
Professional Development
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
Module 2 Quiz Preparation

Quiz
•
Professional Development
20 questions
Sorting - IV year

Quiz
•
Professional Development
20 questions
City & Guilds Level 3 Apprenticeship Coding and Logic

Quiz
•
Professional Development
29 questions
PC FE Quiz

Quiz
•
Professional Development
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