Programming 2 OOP
Help!
|
|
||||
---|---|---|---|---|---|
show | instance of the class
🗑
|
||||
What is the difference between struct and class in C++? | show 🗑
|
||||
Which of the following has a correct C++ class definition? | show 🗑
|
||||
show | Student firstyear
🗑
|
||||
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 🗑
|
||||
show | class
🗑
|
||||
Which of the following best defines a class? | show 🗑
|
||||
An object is a _________________ of a class | show 🗑
|
||||
show | Car SportsCar;
🗑
|
||||
show | Protected data members
🗑
|
||||
What is the output of this program? class Test { int x; }; int main() { Test t; cout << t.x; return 0; } | show 🗑
|
||||
show | ::
🗑
|
||||
What is the difference between a struct and a class in C++? | show 🗑
|
||||
show | Data hiding
🗑
|
||||
Which of the following term is used for a function defined inside a class? | show 🗑
|
||||
Mistakes | show 🗑
|
||||
show | Member Functions
🗑
|
||||
It is an identifiable entity with some characteristics and behavior | show 🗑
|
||||
show | Method
🗑
|
||||
show | C++
🗑
|
||||
show | class
🗑
|
||||
show | private
🗑
|
||||
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