WorksheetsObjects
Total questions: 5
Worksheet time: 3mins
Name
Class
Date
1.
______ can store more than one item using key-value pairs.
a)
Arrays
b)
Lists
c)
Variables
d)
Objects
2.
How do you get the date object in JavaScript?
a)
Using the Date()
b)
Using the DATE()
c)
Using the date()
d)
Using the Data()
3.
Which method can be used to get the month from the object named as "date"?
a)
date.GETMONTH()
b)
DATE.getmonth()
c)
date.getMonth()
d)
date.Getmonth()
4.
Which method can be used to get the seconds from the object named as "date"?
a)
date.getSeconds()
b)
DATE.getseconds()
c)
date.GETSECONDS()
d)
date.Getseconds()
5.
Objects are similar to _______.
a)
Lists
b)
Variables
c)
Arrays
d)
Datatype
100 %
