Search Header Logo

fundamental 2

Authored by Jordan Sumardi

Professional Development

Professional Development

Used 10+ times

fundamental 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

51 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

console.log(typeof null)

console.log(typeof 'false')

null & boolean

null & string

object & string

object & boolean

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

const object = { name : "udin" }

let name;

object.name = name;

console.log(object.name)

udin

error

undefined

name

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

let i = 10;

while(i > 9) {

console.log(i);

}

i++;

10

error

infinite loop

11

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

perbedaan var dengan let?

var dapat assign ulang let tidak dapat di assign ulang

var dan let sama sama dapat declare ulang dan assign ulang

var bisa declare dan assign ulang tetapi let hanya bisa assign ulang saja

var bisa declare dan assign ulang tetapi let hanya bisa declare ulang saja

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

const name = udin;

name = hello;

console.log(name);

udin

udin is not defined

hello

hello is not defined

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

const nilai = 100;

if(nilai > 100) console.log("how??")

else if(nilai < 100) console.log("gws")

else console.log("selamatt")

how

gws

selamat

selamatt

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

const false = "true"

console.log(false)

false

true

"true"

error

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?

Discover more resources for Professional Development