
Java Script Basics

Quiz
•
Other
•
Professional Development
•
Medium
sunil kumar
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java Script is a _____typed language
Statically Typed Language
Dynamically Typed Language
Static Class Language
Dynamic Class Language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid JavaScript comparison operator?
==
===
>=
==!
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following code output?
let x = 10; let y = 20;
if (x > y) {
console.log("x is greater than y");
}
else
{ console.log("y is greater than x");
}
x is greater than y
y is greater than x
undefined
Error
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code snippet?
let a = 5;
let b = 10;
console.log(a != b);
true
false
undefined
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the following code output?
function greet(name)
{
console.log("Hello " + name);
}
greet("Alice");
Hello
Hello Alice
greet Alice
Undefined
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the following code output?
function test(a, b) {
return a + b;
}
console.log(test(1, 2, 3));
3
6
Error
Undefined
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a valid way to call a function in JavaScript?
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
JavaScript Arrays and Objects

Quiz
•
Professional Development
12 questions
Javascript Avanzado ft-22b Grupo 5

Quiz
•
Professional Development
10 questions
JS Quiz 2 SECE

Quiz
•
Professional Development
13 questions
Console quiz

Quiz
•
Professional Development
15 questions
Javascript Basics-1

Quiz
•
Professional Development
10 questions
Unity 3D Interface Basics

Quiz
•
Professional Development
8 questions
Advanced Promises

Quiz
•
12th Grade - Professi...
12 questions
JS Quiz SECE

Quiz
•
Professional Development
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade