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

C++ 1. A variable of a class type is called a class ____________________. 2. A(n

ID: 3770232 • Letter: C

Question

C++

1. A variable of a class type is called a class ____________________.

2. A(n) ____________________ search reduces the range to be searched by approximately one-half after each comparison.

3. A(n) ____________________ is a C++ record type that physically holds only one of its members at a time during execution

4.

In object terminology, two types of responsibilities (operations) exist:

_______________ ___and___________________.

5. A(n) ____________________ is a data type whose domain and operations are specified independently of any particular implementation.

6. Each component of a C++ class is called a class ____________________.

7. The ____________________ of a data type is the set of all possible values of the type.

8. A(n) ____________________ array index is an index value that, in C++, is either less than zero or greater than the array size minus one.

9. If the base case were accidentally omitted from a recursive function, the result would be ____________________.

10. A(n) ____________________ is a C++ structured type used for representing an abstract data type.

11. A(n) ____________________ sort makes several passes through the list, each time swapping a component into its proper position.

12. Arranging the components of a list into order is called ____________________.

13. A(n) ____________________ is a user-defined data type whose domain is an ordered set of literal values expressed as identifiers.

Explanation / Answer

1. Object

An object is an instantiation of a class.

2.Binary

Binary search reduces the range to be searched by approximately one-half after each comparison and also known half-interval search algorithm.

3.struct

Struct physically holds only one of its members at a time during execution

4.Action responsibilities and knowledge responsibilities

In oop , Action responsibilities and knowledge responsibilities are two types of operaions.

5.Abstract

Abstract datatype has independent implementation of properties and operations.

7. value space

value space of a data type is the set of all possible values of the type.

8. Out of bounds

Out of bounds array index is an index value that is either less than zero or greater than the array size minus one.

9. infinite recursion.

The recursive function runs infinite number of times.

10. class

Class is a C++ structured type used for representing an abstract data type.

11. Selection sort

Selection sort makes several passes through the list, each time swapping a component into its proper position.
12. Sorting

Arranging the components of a list into order is called sorting

13. Enumeration

Enumeration is a user-defined data type whose domain is an ordered set of literal values expressed as identifiers.