JavaScript Quiz

Question 1 of 11

Medal-premium 1

JavaScript is a ___________ typed language.

Select one of the following:

  • tightly

  • loosely

Question 2 of 11

Medal-premium 1

Is it possible to nest functions in JavaScript?

Select one of the following:

  • Yes

  • No

Question 3 of 11

Medal-premium 1

Scripting language is:

Select one of the following:

  • High Level Programming language

  • Assembly Level programming language

  • Machine level programming language

Question 4 of 11

Medal-premium 1

Are Java and JavaScript the same?

Select one of the following:

  • No

  • Yes

Question 5 of 11

Medal-premium 1

What is meant by "this" keyword in JavaScript?

Select one of the following:

  • It refers to current object

  • It refers to previous object

  • It is variable which contains value

Question 6 of 11

Medal-premium 1

Math. round(-20.51) = ?

Select one of the following:

  • 20

  • -21

  • 19

  • None

Question 7 of 11

Medal-premium 1

_________ keyword is used to declare variables in javascript.

Select one of the following:

  • Var

  • Dim

  • String

Question 8 of 11

Medal-premium 1

If x=103 & y=9 then x%=y , what is the value of x after executing x%=y?

Select one of the following:

  • 4

  • 3

  • 2

  • 5

Question 9 of 11

Medal-premium 1

Which of the following properties hold the values of the pixels of the length of the width and height of the viewer's screen resolution?

Select one of the following:

  • screen.width and screen.height

  • Resolution.width and Resolution.height

  • screen.pixels.width and screen.pixels.height

  • ViewerScreen.width and ViewerScreen.height

Question 10 of 11

Medal-premium 1

Which of these comment lines are used in JavaScript?

Select one of the following:

  • // Comment

  • # Comment

  • -- Comment

  • ** Comment **

Question 11 of 11

Medal-premium 1

Who invented the JavaScript programming language?

Select one of the following:

  • Tennis Ritchie

  • James Gosling

  • Brendan Eich

Icon_fullscreen

JavaScript Quiz

PatrickNoonan
Quiz by , created over 3 years ago

Leaving Certificate Geography Quiz on JavaScript Quiz, created by PatrickNoonan on 01/07/2013.

Eye 4822
Pin 9
Balloon-left 6
Tags
PatrickNoonan
Created by PatrickNoonan over 3 years ago
Close