Week 10.1

Week 10.1

Professional Development

10 Qs

quiz-placeholder

Similar activities

C# Basics

C# Basics

12th Grade - Professional Development

10 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Microservices Quiz for New Hires

Microservices Quiz for New Hires

Professional Development

13 Qs

Python Fundamental 1

Python Fundamental 1

Professional Development

10 Qs

Big Data Unit One Skit IT final

Big Data Unit One Skit IT final

Professional Development

10 Qs

Fondamentaux 01 - Introduction

Fondamentaux 01 - Introduction

Professional Development

15 Qs

3P-INFO

3P-INFO

Professional Development

10 Qs

BASICS OF JAVA

BASICS OF JAVA

Professional Development

7 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?