4CSM1-HTML

4CSM1-HTML

University

10 Qs

quiz-placeholder

Similar activities

Web JavaScript

Web JavaScript

10th Grade - University

15 Qs

Topic 4: Javascript

Topic 4: Javascript

University

7 Qs

Software Development Quiz

Software Development Quiz

6th Grade - Professional Development

10 Qs

Lecture 3 - IT 1020SEF

Lecture 3 - IT 1020SEF

University

10 Qs

jQuery

jQuery

University

10 Qs

HTML and CSS Fundamentals

HTML and CSS Fundamentals

8th Grade - Professional Development

13 Qs

CSS QUIZ 01

CSS QUIZ 01

University

7 Qs

4CSM1-HTML

4CSM1-HTML

Assessment

Quiz

Computers

University

Hard

Created by

RAVIKANTH K

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Javascript is an _______ language?

Object-Oriented

Object-Based

Procedural

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


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

getElementbyId()

getElementsByClassName()

getElementByXpath()

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet?

<script type="text/javascript">

a = 5 + "9";

document.write(a);

</script>

Error

14

RuntimError

59

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<script type="text/javascript" language="javascript">

var a = "Scaler";

var result = a.substring(2, 4);

document.write(result);

</script>

al

ale

cal

caler

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

<script type="text/javascript" language="javascript">

var x=12; var y=8;

var res=eval("x+y");

document.write(res);

</script>

20

x+y

128

None of the Above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to check whether a given property is valid or not?

in

is in

exists

lies

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

(function(){

setTimeout(()=> console.log(1),2000);

console.log(2);

setTimeout(()=> console.log(3),0);

console.log(4); })();

1 2 3 4

2 3 4 1

2 4 3 1

4 3 2 1

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?