Super 15 Batch 3 quiz 2

Super 15 Batch 3 quiz 2

University

10 Qs

quiz-placeholder

Similar activities

Programación Web

Programación Web

1st Grade - University

10 Qs

Web Dev

Web Dev

University

15 Qs

HTML, CSS QUIZ

HTML, CSS QUIZ

University

10 Qs

P82 Invention and Robotic Club 06/28

P82 Invention and Robotic Club 06/28

KG - Professional Development

10 Qs

Introduction to CSS

Introduction to CSS

University

10 Qs

CSS

CSS

1st Grade - Professional Development

15 Qs

Clase 1

Clase 1

University

9 Qs

WEB DEVELOPMENT QUIZ

WEB DEVELOPMENT QUIZ

University

10 Qs

Super 15 Batch 3 quiz 2

Super 15 Batch 3 quiz 2

Assessment

Quiz

Other

University

Medium

Created by

Gnaneshwar Reddy

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: HTML Structure

Which of the following is the correct structure for a basic HTML5 document?

  • A)

html


<html>

  <head></head>

  <body></body>

</html>

  • B)

html


<!DOCTYPE html>

<html>

  <body></body>

</html>

  • C)

html


<!DOCTYPE html>

<html>

  <head></head>

  <body></body>

</html>

  • D)

html


<html>

  <head>

    <meta charset="utf-8">

  </head>

</html>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: CSS Selectors

Which CSS selector is used to target elements with the class "example"?

  • A) .example

  • B) #example

  • C) example

  • D) *example

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Problem Statement: JavaScript Arrays

What will the following JavaScript code output?

js


let arr = [1, 2, 3];

arr.push(4);

console.log(arr.length);

  • A) 3

  • B) 4

  • C) 5

  • D) undefined

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Problem Statement: Hoisting

What will be the output of this JavaScript code?

js


console.log(a);

var a = 10;

  • A) undefined

  • B) 10

  • C) null

  • D) ReferenceError

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: CSS Flexbox

Which CSS property is used to align flex items along the cross-axis?

  • A) justify-content

  • B) align-content

  • C) align-items

  • D) align-self

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: JavaScript Functions

What is the result of the following code?

js


function sayHello() {

  return 'Hello';

}

console.log(typeof sayHello());

  • A) string

  • B) function

  • C) object

D) undefined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Problem Statement: DOM Manipulation

Which of the following methods is used to remove an element from the DOM?

  • A) removeElement()

  • B) deleteElement()

  • C) removeChild()

  • D) remove()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?