Search Header Logo

IOTA : Web Development Bootcamp Quiz 4

Authored by IOTA IIITS

Computers

University

Used 1+ times

IOTA : Web Development Bootcamp Quiz 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

1 2 3
1 3 2
2 1 3
3 2 1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "document.getElementsByClassName('className")" return?

Javascript Array Object
HTMLCollection Object
Array of objects
HTMLArray Object

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a JavaScript runtime environment?

Node.js
Browser
Deno
VS Code

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are correct for selecting all the elements with class "box" ?

document.getElementsByTagName("box");
document.getElementsByClassName("box");
document.getElementById("box");
document.querySelector(".box");

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be printed to the console for the following code if inner div is clicked?

inner clicked outer clicked
outer clicked inner clicked
inner clicked
outer clicked

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can change the display of an element to flex? a) element.style.display="flex"; b) element.display="flex"; c) element.style.setProperty("display","flex"); d) element.setProperty("display","flex");

a) and b) are correct.
b) and c) are correct.
a) and c) are correct.
Only a) is correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How much time would be taken to fulfil Promise.all when it will be called with googleSearchResults and chatGPTSearchResults as input?

1 sec
4 sec
5 sec
0 sec

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?