Java Script Basics

Java Script Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

NSD Quiz 2!

NSD Quiz 2!

Professional Development

10 Qs

INFOSEC WEEK DAY 3

INFOSEC WEEK DAY 3

Professional Development

10 Qs

Zoom

Zoom

Professional Development

9 Qs

Health and safety

Health and safety

Professional Development

14 Qs

Engine Basics

Engine Basics

Professional Development

9 Qs

Cuánto conoces sobre Mina (TWICE)?

Cuánto conoces sobre Mina (TWICE)?

7th Grade - Professional Development

8 Qs

tutorial course for internal medicine resident

tutorial course for internal medicine resident

Professional Development

12 Qs

HOMEWORK ADOC SEP 2023 MANAGEMENT OF ANGRY PATIENT

HOMEWORK ADOC SEP 2023 MANAGEMENT OF ANGRY PATIENT

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?