
JS and Images
Authored by Arif Ali
Computers
10th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines: Class
Answer explanation
A blueprint or template that defines what an object looks like and what it can do.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines: Object
Answer explanation
A specific instance created from a class, with its own data and behaviors. In our program, image is an object.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines: Attributes (variables of an object)
Answer explanation
The data or characteristics that an object stores, such as its width, height, or pixel colors.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines: Behaviors (methods or functions of an object)
Answer explanation
The actions an object can perform. For example, setRed() and getPixel() are behaviors of the image object.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines: Variable
Answer explanation
A named container used to store a value in a program. Its value can change as the program runs.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines: The var keyword
Answer explanation
A JavaScript keyword used to declare, or create, a new variable.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines: Function
Answer explanation
A named, reusable block of code that performs a specific task. Only runs when called. Often written as a name followed by ().
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?