PPAR Week 01

PPAR Week 01

University

β€’

12 Qs

quiz-placeholder

Similar activities

MPB Week 7

MPB Week 7

University

β€’

10 Qs

BB

BB

University

β€’

10 Qs

Basics of computer

Basics of computer

University

β€’

15 Qs

Dr. S. Uma's Object Oriented Programming Quiz Event 1

Dr. S. Uma's Object Oriented Programming Quiz Event 1

University

β€’

10 Qs

EC8393_FDS_MODEL EXAM_3_PART B

EC8393_FDS_MODEL EXAM_3_PART B

University

β€’

15 Qs

McCall factor model

McCall factor model

University

β€’

10 Qs

LΓ³gica ProgramaΓ§Γ£o - For, While, Do While

LΓ³gica ProgramaΓ§Γ£o - For, While, Do While

10th Grade - University

β€’

14 Qs

PPAR Week 01

PPAR Week 01

Assessment

Quiz

β€’

Computers

β€’

University

β€’

Practice Problem

β€’

Hard

Created by

Team Informatica

Used 21+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

What is the output of the following code:

let test;

console.log(test);

undefined

null

Error

Nothing

2.

MULTIPLE SELECT QUESTION

30 sec β€’ 1 pt

Which keyword(s) apply to the const keyword?

Block scope

Global scope

Function scope

Immutable

Mutable

3.

MULTIPLE SELECT QUESTION

30 sec β€’ 1 pt

What are valid ways to create a function in JavaScript?

function a(){ console.log("a");

}

const b = _ => console.log("b");

let c = function() { console.log("c");

}

let d => { console.log("d")

}

4.

MULTIPLE SELECT QUESTION

30 sec β€’ 1 pt

Which of the following statements are true?

1 == "1"

1 === "1"

1 == 1

1 === 1

5.

MULTIPLE SELECT QUESTION

30 sec β€’ 1 pt

What are valid ways to create objects in JavaScript?

const a = {

name: "test"

};

function B(){

this.name = "test";

}

const b = new B();

class C{

name = "test";

}

const c = new C();

class D {

public:

name = "test";

}

const d = new D();

6.

MULTIPLE SELECT QUESTION

30 sec β€’ 1 pt

What are the correct ways of looping through an array in JavaScript?

arr.forEach(e => console.log(e));

for(const e of arr){

console.log(e);

}

for(let i = 0;i < arr.length;i++){

console.log(arr[i]);

}

for(const e in arr){

console.log(e);

}

7.

MULTIPLE CHOICE QUESTION

30 sec β€’ 1 pt

What is the result of the following code snippet?

[..."πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦"]

['πŸ‘¨', '‍', 'πŸ‘©', '‍', 'πŸ‘¦', '‍', 'πŸ‘¦']

["πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦"]

Error

"πŸ‘¨β€πŸ‘©β€πŸ‘¦β€πŸ‘¦"

Create a free account and access millions of resources

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?