CSS Unit 1

CSS Unit 1

Professional Development

20 Qs

quiz-placeholder

Similar activities

Komitmen Mutu

Komitmen Mutu

Professional Development

20 Qs

Cascading Style Shenanigans: A CSS Quiz for the Witty Web Wizar

Cascading Style Shenanigans: A CSS Quiz for the Witty Web Wizar

Professional Development

15 Qs

Soal Pengetahuan Dasar Komputer

Soal Pengetahuan Dasar Komputer

Professional Development

20 Qs

Summer3 FY22

Summer3 FY22

KG - Professional Development

20 Qs

Traeger Grills Day 9 Quiz

Traeger Grills Day 9 Quiz

Professional Development

15 Qs

INTERAKSI MANUSIA KOMPUTER TM 1-3

INTERAKSI MANUSIA KOMPUTER TM 1-3

KG - Professional Development

20 Qs

Angular

Angular

Professional Development

20 Qs

Harmoni 22-24 Feb 2023

Harmoni 22-24 Feb 2023

Professional Development

20 Qs

CSS Unit 1

CSS Unit 1

Assessment

Quiz

Other

Professional Development

Practice Problem

Hard

Created by

Jyotsna J

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


What will be the output of the following code snippet?

const obj1 = {first: 20, second: 30, first: 50}; console.log(obj1);

{first: 20, second: 30}

{first: 20}

{first: 20, second: 30, first: 50}

Syntax Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


What will be the output of the following code snippet?

print(typeof(NaN));

Object

Number

String

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet?

var a = true + true + true * 3; print(a)

3

0

Error

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet?

a = [1, 2, 3, 4, 5]; print(a.slice(2, 4));

3,4

2,3

3,4,5

2,3,4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code snippet?

var a = 1; var b = 0; while (a <= 3) { a++; b += a * 2; print(b); }

4 10 18

1 2 3

1 4 7

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of JavaScript language is ___

  1. Object-Oriented

  1. Object-Based

  1. Assembly-language

  1. High-level

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following JavaScript code?

  1. functioncomparison()  

  2. {  

  3. int number=10;  

  4. if(number==="10")  

  5. return true;  

  6. else  

  7. return false;  

  8. }  

true

false

error

none of the above

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?