javascript-vlits

javascript-vlits

1st Grade

25 Qs

quiz-placeholder

Similar activities

JS. Итог.

JS. Итог.

1st Grade

22 Qs

¿Cuánto sabes de Hiberus? ¿Y de e-commerce?

¿Cuánto sabes de Hiberus? ¿Y de e-commerce?

1st Grade

21 Qs

การออกแบบและเขียนโปรแกรมอย่างง่าย

การออกแบบและเขียนโปรแกรมอย่างง่าย

1st - 6th Grade

20 Qs

Quiz Aplikasi Buku Tamu

Quiz Aplikasi Buku Tamu

1st Grade

20 Qs

Bid Data: Day 2

Bid Data: Day 2

KG - Professional Development

20 Qs

Llenguatge de Marques (Tema3)

Llenguatge de Marques (Tema3)

1st Grade

21 Qs

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

1st - 12th Grade

20 Qs

javascript-vlits

javascript-vlits

Assessment

Quiz

Computers

1st Grade

Medium

Created by

kolla vivek

Used 6+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

__________ is a JavaScript library that implements the most common user interface elements and interactions like sliders, accordions, tabs, and so on.

A. JavaScript

B. JQuery UI

C. VTS

D. JCL

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Choose the correct JavaScript syntax to change the content of the following HTML code.

<p id="geek">GeeksforGeeks</p>

A) document.getElement(“geek”).innerHTML=”I am a Geek”;

B) document.getElementById(“geek”).innerHTML=”I am a Geek”;

C) document.getId(“geek”)=”I am a Geek”;

D) document.getElementById(“geek”).innerHTML=I am a Geek;

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is the correct syntax to display “GeeksforGeeks” in an alert box using JavaScript?

A. alertbox(“GeeksforGeeks”);

B. msg(“GeeksforGeeks”);

C. msgbox(“GeeksforGeeks”);

D. alert(“GeeksforGeeks”);

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax for referring to an external script called “geek.js”?

A. <script src=”geek.js”>

B. <script href=”geek.js”>

C. <script ref=”geek.js”>

D. <script name=”geek.js”>

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Predict the output of the following JavaScript code.

<script type="text/javascript">

a = 8 + "8";

document.write(a);

</script>

A) 16

B) Complilation Error

C) 88

D) Run Time Error

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Predict the output of the following JavaScript code.

<script type="text/javascript">

var a="GeeksforGeeks";

var x=a.lastIndexOf("G");

document.write(x);

</script>

A) 8

B) 0

C) 9

D) Error

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is not a reserved word in JavaScript?

A. interface

B. throws

C. program

D. short

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?