Search Header Logo

IOTA : Web Development Bootcamp Quiz 3

Authored by IOTA IIITS

Computers

University

Used 1+ times

IOTA : Web Development Bootcamp Quiz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct place to insert a Javascript file in HTML?

head
body
both head and body

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which built-in method returns the calling string value converted to lower case?

toLowerCase()
toLower()
changeCase(case)
D - None of the above.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following function of Array object adds one or more elements to the front of an array and returns the new length of the array?

sort()
splice()
unshift()
toString()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following methods can be used to display data in some form using Javascript?

document.write()
console.log()
window.alert()
All of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How can a datatype be declared to be a constant type?

constant
var
let
const

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the following code snippet?

<script type="text/javascript" language="javascript"> var a = "Scaler"; var result = a.substring(2, 4); document.write(result); </script>

ale

cal

al

cale

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When an operator’s value is NULL, the typeof returned by the unary operator is:

Object
Boolean
Undefined
Integer

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?