WorksheetsTerm3-SBQ1
Total questions: 10
Worksheet time: 20mins
A form of syntax used to access the properties or call the method.
Dot notation
Quotations mark
Semicolons
Brackets
The correct command to create an instance of type Expert
Let expert = Expert()
var expert = Expert()
Let Expert = expert ;
var Expert = expert ;
bluePortal.isActive = false ; the behavior of this command is
Portal
bluePortal
isActive
false
The value that can be either true or false called
Boolean
Integer
Float
String
Data type that store a series for characters, numbers or symbols such as “Hello”
Boolean
Integer
Float
String
Is the actof creating a new instance of a type called
Conditions
Initialization
Methods
Function
bluePortal.isActive = true ; the bluePortal of this command is :
Type
instance
Method or behaviors
Boolean
Data type that store a number that has no decimal (numeric value)
Boolean
Integer
Float
String
One of the following commands is correct when you turn on the portal
redPortal.isActive = false
redPortal = false
redPortal = true
redPortal.isActive = true
greenPortal.isActive = true; the feature or the properties on this command is :
isActive
greenPortal
dot notation
true
