
Object Functions and Class Methods Quiz
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Jennifer Brown
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of an object function in a class?
To store data
To add functionality to an object
To initialize variables
To delete an object
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of a constructor in a class?
To delete an object
To initialize a new object
To update object attributes
To add new methods
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which attribute is NOT part of the student class described?
General Average
Grade Level
Name
Age
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the minimum general average required for a student to receive 'with honors'?
85
90
95
98
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which conditional statement is used to check if a student has 'highest honors'?
General average > 95
General average < 90
General average >= 98
General average <= 98
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the return type of the 'get honor' function?
Boolean
Integer
Float
String
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What library is included to use string streams in the self-introduction function?
fstream
iostream
iomanip
sstream
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?
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade