Web Dev

Web Dev

University

15 Qs

quiz-placeholder

Similar activities

Golang Basics 2

Golang Basics 2

University

15 Qs

C PROGRAMMING

C PROGRAMMING

University

15 Qs

Tech quiz Round 1

Tech quiz Round 1

University

15 Qs

BASICS OF JAVA-1

BASICS OF JAVA-1

University

20 Qs

SJIT ECE APTITUDE PRACTICE TEST-1@10-11-2023

SJIT ECE APTITUDE PRACTICE TEST-1@10-11-2023

University

20 Qs

Blind coding

Blind coding

University

15 Qs

Type Conversions and Computation

Type Conversions and Computation

University

20 Qs

Round 3

Round 3

University

11 Qs

Web Dev

Web Dev

Assessment

Quiz

Other

University

Hard

Created by

Rakshit Sinha

Used 9+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

In this code, what is the term for the h1?

h1 {

color: red;

  font-size: 5em;

}

selector

 

combinator

 declarator

 markup

2.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What will this loop print?

let max = 3;

for (i = 0; i > max; i++) {

    document.write("skrt ");

}

skrt skrt skrt

 skrt skrt

 skrt skrt skrt skrt

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which choice is a correct use of the parseInt() function in Javascript that parses a string and return an integer?

parseInt("six");

 parse_int('6');

 parseInt("6");

 parseint("6");

4.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

In the context of this code, how would you describe user?

const user = {

    given_name: "Joe",

    family_name: "Bloggs",

    age: 40,

};

function

 array

 variable

 object

5.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which array method should you apply to run a function for every item within an array, returning an array of all items for which the function is true?

every()

map()

 forEach()

 filter()

6.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What are the best examples of void elements?

<link><meta><title>

<br><base><source>

<area><embed><strong>

7.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What is the best way to apply bold styling to text?

<strong>

 Using CSS

<bold>

<b>

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?