Week 10.1

Week 10.1

Professional Development

10 Qs

quiz-placeholder

Similar activities

DW-Cuestionario1

DW-Cuestionario1

Professional Development

13 Qs

Python RestAPI Quiz

Python RestAPI Quiz

Professional Development

14 Qs

Ansible part 2

Ansible part 2

Professional Development

11 Qs

AZ-900 MÓDULO 04 pt-br

AZ-900 MÓDULO 04 pt-br

Professional Development

12 Qs

Lokālie tīkli

Lokālie tīkli

Professional Development

10 Qs

Presentador EMAZE

Presentador EMAZE

Professional Development

10 Qs

Struktur Dasar HTML

Struktur Dasar HTML

Professional Development

10 Qs

Cloud computing 2

Cloud computing 2

Professional Development

10 Qs

Week 10.1

Week 10.1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Poul Nichols

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which JavaScript operator is used to determine the type of a variable?

typeof

TypeOf

typeOf

sizeof

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following JavaScript code?

var x = 12.34;
	document.write(typeof(x));

int

float

long

number

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which keyword is used to define a JavaScript function?

module

fun

func

function

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In JavaScript a variable contains one value while an object may contain ___.

One value

Two values

Three values

Many values

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which is the correct syntax to access an object property in JavaScript?

More than one answer

objName:propertyName

objName.propertyName

objName["propertyName"]

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following JavaScript code?

var str = "JavaScript is Fun";
	document.write(str.length);

15

16

17

18

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will be the output of the following JavaScript code?

var x = "JavaScript is Fun";
    document.write(x.slice(-7,-4));

JavaScript

is

Fun

Script

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?