Programming 2 OOP
Quiz yourself by thinking what should be in
each of the black spaces below before clicking
on it to display the answer.
Help!
|
|
||||
---|---|---|---|---|---|
Pick out the other definition of objects. | show 🗑
|
||||
What is the difference between struct and class in C++? | show 🗑
|
||||
show | class Student {};
🗑
|
||||
If there is a class named Student and you want to create an object name "firstyear", what would be the correct syntax | show 🗑
|
||||
show | Class
🗑
|
||||
What operator is used to access a data member or a member function? | show 🗑
|
||||
show | Duplicate/Redundant Data
🗑
|
||||
Refers to binding together the data and the functions that manipulate them | show 🗑
|
||||
Objects created are based on what? | show 🗑
|
||||
Which of the following best defines a class? | show 🗑
|
||||
An object is a _________________ of a class | show 🗑
|
||||
If a class is named Car and you will create an object named SportsCar, what would be the statement? | show 🗑
|
||||
Which of the following are available only in the class hierarchy chain? | show 🗑
|
||||
show | Error
🗑
|
||||
show | ::
🗑
|
||||
What is the difference between a struct and a class in C++? | show 🗑
|
||||
Which of the following concepts of OOPS means exposing only necessary information to the client? | show 🗑
|
||||
show | Member function
🗑
|
||||
show | 2
🗑
|
||||
show | Member Functions
🗑
|
||||
show | Object
🗑
|
||||
show | Method
🗑
|
||||
show | C++
🗑
|
||||
show | class
🗑
|
||||
The default access specifier for the class members is: | show 🗑
|
||||
If an object named Apple has a member named "price", what is the command to assign a value of 15 into it? | show 🗑
|
Review the information in the table. When you are ready to quiz yourself you can hide individual columns or the entire table. Then you can click on the empty cells to reveal the answer. Try to recall what will be displayed before clicking the empty cell.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
To hide a column, click on the column name.
To hide the entire table, click on the "Hide All" button.
You may also shuffle the rows of the table by clicking on the "Shuffle" button.
Or sort by any of the columns using the down arrow next to any column heading.
If you know all the data on any row, you can temporarily remove it by tapping the trash can to the right of the row.
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.
Normal Size Small Size show me how
Normal Size Small Size show me how
Created by:
gridlockalpha