Week 10.1

Week 10.1

Professional Development

10 Qs

quiz-placeholder

Similar activities

Introduction

Introduction

Professional Development

10 Qs

Friday Fun

Friday Fun

Professional Development

10 Qs

Bundlers

Bundlers

Professional Development

10 Qs

Java GUI Unit 2 Review

Java GUI Unit 2 Review

University - Professional Development

13 Qs

Sec+ CH.1 Review Test

Sec+ CH.1 Review Test

Professional Development

15 Qs

História do Java

História do Java

Professional Development

13 Qs

Android Basics - Pre Requisite

Android Basics - Pre Requisite

10th Grade - Professional Development

10 Qs

Intro to Node.js

Intro to Node.js

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?