The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 337 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
1. (TCO 9) What type of menu displays a choice and then immediately the action? (Points : 3)
Single-level menu
Multiple-level menu
Step-level menu
Sublevel menu
2. (TCO 9) What is the method used to make sure that valid selections are processed? (Points : 3)
Input validation loop
Including the Default clause in the case structure
Use of an Else clause
All of the above
3. (TCO 9) Which of the following is included as a member of a class? (Points : 3)
Field
Method
Field and method
None of the above
4. (TCO 9)Which of the following is true of a constructor and destructor of the same class? (Points : 3)
Both are called manually because they are not explicitly defined in the class.
Only one is usually called once per object created.
They both are able to have default arguments.
Both are called automatically, even if they are not explicitly defined in the class.
5. (TCO 9) Every object of the same class _____. (Points : 3)
gets a copy of every member function and member variable
gets a copy of every member variable
gets a copy of every member function
shares pointers to all member variables and member functions
6. (TCO 9) Create a code segment that defines a class definition for a student. Include at least two properties and two methods. Also explain the reason why there is a public and private section associated with class definitions. (Points : 5)
----------- ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly