Question: 1.3 A loop that first tests for a condition before executing its body statements is known as a(n): a. Post-test Loop b. Inner Loop c.
1.3 A loop that first tests for a condition before executing its body statements is known as a(n):
a. Post-test Loop b. Inner Loop c. Nested Loop d. Pre-test Loop e. Conditional Loop
1.4 The __________ class from the iostream header is used to create the cout object that is used to accept user input from the keyboard.
a. ostream b. ifstream c. iostream d. ofstream e. istream
1.5 __________ refers to the hiding of the internal details of an object from the user.
a. Protected b. Encapsulation c. Polymorphism d. Constructor e. Abstraction
1.7 The type of access in which you read records one after another as they are stored in the file is known as:
a. An input file access b. Sequential access c. Direct access d. Straight access e. Random access
1.8 When declaring a new variable out of an existing enumerated data type, you use the keyword:
a. struct b. class c. typedef d. enum e. friend
1.9 When an object is instantiated from a class, it is then referred to as a(n):
a. Inheritance of a class b. Instance of a class c. Polymorphism d. Overloading e. Abstraction of an object
1.10 The __________ object is used to declare a variable that will point to the file on disk that we will write data to.
a. fstream b. ifstream c. ofstream d. istream e. inFile
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
