Javascript Basics-1

Javascript Basics-1

Professional Development

15 Qs

quiz-placeholder

Similar activities

Estructuras de Control en Java

Estructuras de Control en Java

Professional Development

20 Qs

MuleSoft MCD1 training

MuleSoft MCD1 training

Professional Development

20 Qs

MR Quizizz: Sprint 13: Decode the Acronym!

MR Quizizz: Sprint 13: Decode the Acronym!

Professional Development

10 Qs

Javascript Basics-2

Javascript Basics-2

Professional Development

15 Qs

Teste inicial web Design

Teste inicial web Design

Professional Development

10 Qs

Brian Quizz

Brian Quizz

Professional Development

10 Qs

Ice Break Day17 DS26

Ice Break Day17 DS26

Professional Development

10 Qs

Physical Therapy Services

Physical Therapy Services

12th Grade - Professional Development

10 Qs

Javascript Basics-1

Javascript Basics-1

Assessment

Quiz

Other

Professional Development

Hard

Created by

SUNDARESAN K

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Javascript is an _______ language?

Object-Oriented

Object-Based

Procedural

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


Which of the following keywords is used to define a variable in Javascript?

var

let

Both A and B

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods is used to access HTML elements using Javascript?

getElementbyId()

getElementsByClassName()

Both A and B

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Upon encountering empty statements, what does the Javascript Interpreter do?

Throws an error

Ignores the statements

Gives a warning

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods can be used to display data in some form using Javascript?

document.write()

console.log()

window.alert()

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct output for the following JavaScript code:varx=5,y=1  

  1. var obj ={ x:10}  

  2. with(obj)  

  3. {  

  4.       alert(y)  

  5. }  

1

Error

10

5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The "function" and " var" are known as:

  1. Keywords

  1. Data types

  1. Declaration statements

  1. Prototypes

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?