Java Script Basics

Java Script Basics

Professional Development

10 Qs

quiz-placeholder

Similar activities

Unity 3D Interface Basics

Unity 3D Interface Basics

Professional Development

10 Qs

Gaming

Gaming

KG - Professional Development

11 Qs

Basic JavaScript (Henry)

Basic JavaScript (Henry)

Professional Development

10 Qs

Web development 1

Web development 1

Professional Development

10 Qs

JavaScript Arrays and Objects

JavaScript Arrays and Objects

Professional Development

14 Qs

Quiz de fin de module JavaScript

Quiz de fin de module JavaScript

Professional Development

10 Qs

JavaScript Fundamentals Recap Quiz

JavaScript Fundamentals Recap Quiz

Professional Development

10 Qs

React - Quiz

React - Quiz

Professional Development

15 Qs

Java Script Basics

Java Script Basics

Assessment

Quiz

Other

Professional Development

Medium

Created by

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?

call myFunction();

myFunction();

callFunction(myFunction);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?