Web Dev

Web Dev

University

15 Qs

quiz-placeholder

Similar activities

Java Booleans FQ1

Java Booleans FQ1

University

20 Qs

C++ Programming Language

C++ Programming Language

University

12 Qs

Java Arrays

Java Arrays

5th Grade - University

10 Qs

Algo-Unlock

Algo-Unlock

University

20 Qs

Java set3

Java set3

University

10 Qs

Основы Python

Основы Python

University

19 Qs

Operator Quiz

Operator Quiz

University

10 Qs

CSC264 Javascript Basic

CSC264 Javascript Basic

University

15 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?