Java Script Basics

Java Script Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

Pengenalan Kajian Kelayakan PLTSa

Pengenalan Kajian Kelayakan PLTSa

University - Professional Development

10 Qs

Games Quizizz

Games Quizizz

KG - Professional Development

9 Qs

Guess the Singer

Guess the Singer

Professional Development

10 Qs

Re-Design EWS Code Blue RSUDCi

Re-Design EWS Code Blue RSUDCi

Professional Development

15 Qs

FORUM SHARING CIP HOLDING 2023 - CLOSING

FORUM SHARING CIP HOLDING 2023 - CLOSING

Professional Development

10 Qs

.NET Quiz

.NET Quiz

Professional Development

10 Qs

Ch 2 องค์ประกอบของระบบคอมพิวเตอร์

Ch 2 องค์ประกอบของระบบคอมพิวเตอร์

Professional Development

15 Qs

PowerPoint IMiL Quiz

PowerPoint IMiL Quiz

Professional Development

13 Qs

Java Script Basics

Java Script Basics

Assessment

Quiz

Other

Professional Development

Practice Problem

Medium

Created by

sunil kumar

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

call myFunction();

myFunction();

callFunction(myFunction);

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?