Search Header Logo

WMAD-Unit2-2023-24

Authored by CHIDAMBARANATHAN C.M

Computers

University

Used 10+ times

WMAD-Unit2-2023-24
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct about JavaScript?

JavaScript is an Object-Based language

JavaScript is Assembly-language

JavaScript is Assembly-language

JavaScript is a High-level language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following JavaScript code snippet?

<p id="demo"></p>

var txt1 = "Welcometo_";

var txt2 = "Javascriptmcq";

document.getElementById("demo").innerHTML = txt1 + txt2;

error

Welcometo_ Javascriptmcq

undefined

Javascriptmcq

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not javascript data types?

Null type

Undefined type

Number type

All of the mentioned

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following JavaScript code?

<p id="demo"></p>

<script> var js = 10;

js *= 5;

document.getElementById("demo").innerHTML = js;

</script>

10

50

5

error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can be used to call a JavaScript Code Snippet?

Function/Method

Preprocessor

Triggering Event

RMI

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

jQuery is a ______

  1. JavaScript Library


  1. JSON Library

  1. Java Library

  1. JSON and CSS Library

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?