Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Spring 2017 Data Structures and Algorithms CSC 228-10 Test #1 b. Inheritance c.

ID: 3813819 • Letter: S

Question

Spring 2017 Data Structures and Algorithms CSC 228-10 Test #1 b. Inheritance c. Data Encapsulation Robustness Student Name following terms: 1.24%) Select one of the Design a. Object-oriented d. Program Verification e. Algorithm i, Test Driver file g. Abstract Data Type (ADT) overloading Specification h. m. k. Ideaware j. Composite Data Type phases): to match of the following statements (or specification. It determines if a software product meets its fied independently of any rties (domain and operations) are speci (2 A data particular implementation. class inherits the (3) A mechanism used with a hierarchy of classes by which each descendant properties (data and operations) of its ancestor class. terms of objects (4) A technique for developing a program in which the solution is expressed in (5) A logical sequence of discrete that describes a complete solution to a given problem steps computable in a finite amount of time (6) A program that sets up the testing environment for a subprogram. stores a of individual data components under one variable name, and allows the individual data components to be accessed. (8) Giving the same name to more than one function or using the same operator symbol for more than one operation (9 Containing the definition of a class. (10) separation of the representation of data from the applications that use the data at a logical level. (11) The ability of a program to recover following an emor. (12) Referring to the conceptual tools that programmers use to create software: algorithms, data structures, programming methods, and so on. 2. (10%) Answer True or False to the following problems. It is not possible to use a list without knowing how it is implemented. (2) A constructor is implicitly called when a class object is declared. (3) In array-based implementation, the algorithm for deleting from an unsorted list has the last item replace the item being deleted.

Explanation / Answer


Please find the required answers below :

1.

1) d. Program verification verifies whether the software product meets its specification or not.

2) g. Abstract Data Type(ADT) is the one which whose properties are specified independently of any particular implementation. Examples are List, Stack, Queue, Tree, Graph, and Set.

3) b. Inheritance is the property by which child classes inherit the data and operations of its parent class. Example: class Rectangle inherits from class Shape, so that the area and perimeter method in Shape is also accessible in child class Rectangle.

4) a. Object Oriented Design is a design technique in which the system is designed in such a way that, all the components as a object, ie, the program modularity is based on objects.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote