PatrickNoonan
Quiz by , created more than 1 year ago

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

4974
9
6
PatrickNoonan
Created by PatrickNoonan over 11 years ago
Close

JavaScript Quiz

Question 1 of 11

1

JavaScript is a ___________ typed language.

Select one of the following:

  • tightly

  • loosely

Explanation

Question 2 of 11

1

Is it possible to nest functions in JavaScript?

Select one of the following:

  • Yes

  • No

Explanation

Question 3 of 11

1

Scripting language is:

Select one of the following:

  • High Level Programming language

  • Assembly Level programming language

  • Machine level programming language

Explanation

Question 4 of 11

1

Are Java and JavaScript the same?

Select one of the following:

  • No

  • Yes

Explanation

Question 5 of 11

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

Explanation

Question 6 of 11

1

Math. round(-20.51) = ?

Select one of the following:

  • 20

  • -21

  • 19

  • None

Explanation

Question 7 of 11

1

_________ keyword is used to declare variables in javascript.

Select one of the following:

  • Var

  • Dim

  • String

Explanation

Question 8 of 11

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

Explanation

Question 9 of 11

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

Explanation

Question 10 of 11

1

Which of these comment lines are used in JavaScript?

Select one of the following:

  • // Comment

  • # Comment

  • -- Comment

  • ** Comment **

Explanation

Question 11 of 11

1

Who invented the JavaScript programming language?

Select one of the following:

  • Tennis Ritchie

  • James Gosling

  • Brendan Eich

Explanation