Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Term3-SBQ1

Total questions: 10

Worksheet time: 20mins

Name
Class
Date
1.

A form of syntax used to access the properties or call the method.

a)

Dot notation

b)

Quotations mark

c)

Semicolons

d)

Brackets

2.

The correct command to create an instance of type Expert

a)

Let expert = Expert()

b)

var expert = Expert()

c)

Let Expert = expert ;

d)

var Expert = expert ;

3.

bluePortal.isActive = false ; the behavior of this command is

a)

Portal

b)

bluePortal

c)

isActive

d)

false

4.

The value that can be either true or false called

a)

Boolean

b)

Integer

c)

Float

d)

String

5.

Data type that store a series for characters, numbers or symbols such as “Hello”

a)

Boolean

b)

Integer

c)

Float

d)

String

6.

Is the act​of creating a new instance ​of a type called

a)

Conditions

b)

Initialization

c)

Methods

d)

Function

7.

bluePortal.isActive = true ; the bluePortal of this command is :

a)

Type

b)

instance

c)

Method or behaviors

d)

Boolean

8.

Data type that store a number that has no decimal (numeric value)

a)

Boolean

b)

Integer

c)

Float

d)

String

9.

One of the following commands is correct when you turn on the portal

a)

redPortal.isActive = false

b)

redPortal = false

c)

redPortal = true

d)

redPortal.isActive = true

10.

greenPortal.isActive = true; the feature or the properties on this command is :

a)

isActive

b)

greenPortal

c)

dot notation

d)

true