Search Header Logo

Super 15 batch 1&2 quiz 6

Authored by Gnaneshwar Reddy

Other

University

Used 1+ times

Super 15 batch 1&2 quiz 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: Default Block-Level Elements

Which of the following HTML elements is a block-level element by default?

  • A) <span>

  • B) <img>

  • C) <div>

D) <a>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: CSS Box Model

Which of the following properties are included in the CSS box model?

  • A) border, padding, margin

  • B) width, height, padding

  • C) border, content, padding, margin

  • D) content, padding, border, margin

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: Inline vs Block Elements

Which of the following statements is true about inline elements?

  • A) Inline elements always occupy the full width of the container.

  • B) Inline elements respect the width and height properties.

  • C) Inline elements can contain block-level elements.

  • D) Inline elements do not start on a new line by default.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: CSS Flexbox

In a flexbox container, which property is used to align items along the main axis?

  • A) align-items

  • B) justify-content

  • C) align-content

D) flex-direction

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: JavaScript Variable Scopes

What will the following code output?

js


var a = 10;

{

    let a = 20;

    console.log(a);

}

console.log(a);

  • A) 20, 10

  • B) 10, 20

  • C) 20, 20

D) 10, 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: DOM Manipulation

Which JavaScript method is used to add an HTML element dynamically to the DOM?

  • A) document.append()

  • B) document.add()

  • C) document.createElement()

  • D) document.insertElement()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: Event Bubbling and Capturing

Which event phase is responsible for executing an event in the order it is triggered by the deepest nested element first?

  • A) Event capturing

  • B) Event bubbling

  • C) Event propagation

  • D) Event delegation

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?