1. (TCO 1) Describe the conceptual model of a three-dimensional array. Include i
ID: 3657447 • Letter: 1
Question
1.(TCO 1) Describe the conceptual model of a three-dimensional array. Include in your explanation how a three-dimensional array might be used and provide an example of one.(Points : 10)2.(TCO 1) Describe an example of a two-dimensional character array that could be used to hold a set of text data that might be displayed on a hand-held information display device such as an MP3 player. Describe what each of the two dimensions might represent and the data that would be held in the array, and provide an example array declaration.(Points : 10)
3.(TCO 2) Explain what constructors do and when they are executed. Explain the two types of constructors. Provide an example class that includes both types of constructor functions and demonstrate how an object would be instantiated using both types of constructors.(Points : 10)
4.(TCO 2) Explain the difference between a parameterized constructor and a default constructor. Provide an example class that includes both types of constructors.(Points : 10)
5.(TCO 3) Using a personal computer as a base model, write a C++, syntactically correct class definition demonstrating composition. In the class definition include at least the three following items common to a PC: a CD drive, a hard disk drive, and a power supply. You are not required to include any constructors,destructors, or additional member functions. You are only required to list members that directly show composition and proper access attributes.(Points : 10)
6.(TCO 4) Explain the usefulness of inheritance. What is the difference between the base and derived class? Show how to write the code to create a derived class.(Points : 10)
7.(TCO 4) If a class is derived private from a base class, explain how this affects the inheritance of all public, protected, and private members of the base class by the derived class.(Points : 10)
8.(TCO 8) Describe what a preprocessor statement is, how it is used, and what part of the development environment it interacts with. Provide a syntactically correct example, describing what it does.(Points : 10) 1.(TCO 1) Describe the conceptual model of a three-dimensional array. Include in your explanation how a three-dimensional array might be used and provide an example of one.(Points : 10) 2.(TCO 1) Describe an example of a two-dimensional character array that could be used to hold a set of text data that might be displayed on a hand-held information display device such as an MP3 player. Describe what each of the two dimensions might represent and the data that would be held in the array, and provide an example array declaration.(Points : 10) 3.(TCO 2) Explain what constructors do and when they are executed. Explain the two types of constructors. Provide an example class that includes both types of constructor functions and demonstrate how an object would be instantiated using both types of constructors.(Points : 10) 4.(TCO 2) Explain the difference between a parameterized constructor and a default constructor. Provide an example class that includes both types of constructors.(Points : 10) 5.(TCO 3) Using a personal computer as a base model, write a C++, syntactically correct class definition demonstrating composition. In the class definition include at least the three following items common to a PC: a CD drive, a hard disk drive, and a power supply. You are not required to include any constructors,destructors, or additional member functions. You are only required to list members that directly show composition and proper access attributes.(Points : 10) 6.(TCO 4) Explain the usefulness of inheritance. What is the difference between the base and derived class? Show how to write the code to create a derived class.(Points : 10) 7.(TCO 4) If a class is derived private from a base class, explain how this affects the inheritance of all public, protected, and private members of the base class by the derived class.(Points : 10) 8.(TCO 8) Describe what a preprocessor statement is, how it is used, and what part of the development environment it interacts with. Provide a syntactically correct example, describing what it does.(Points : 10) 1.(TCO 1) Describe the conceptual model of a three-dimensional array. Include in your explanation how a three-dimensional array might be used and provide an example of one.(Points : 10)
Explanation / Answer
Wher are the answers lol
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.