Describe the conceptual model of a two-dimensional array
<ul><li>Describe the conceptual model of a two-dimensional array. Include in your explanation how a
two-dimensional array might be used, why these arrays are similar to tables, and how to declare and initialize a two-dimensional array.</li> <li>Given a two-dimensional array named number of three rows and four columns of type int, write the single code statement that will both declare and initialize the array such that the first row is initialized to 0, 1, 2, 3; the second row is initialized to 4, 5, 6, 7; and the third row is initialized to 8, 9, 10, 11. </li> <li>Explain the basic C++ syntax for creating a class. Include an explanation of the private and public section of a class and class members. Include a code segment to illustrate your answer.</li> <li>Describe in detail what is contained in each of three areas of a Unified Modeling Language (UML) diagram of a class.</li> <li>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. </li> <li>Without considering the access attributes, list and describe which base class members may not be inherited by a derived class and provide a rationale for why this is.</li> <li>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.</li> <li>Why are comments and comment blocks important to programming?</li></ul>
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
