____ 64. Other names for operations defined in a class implementation section ar
ID: 3627409 • Letter: #
Question
____ 64. Other names for operations defined in a class implementation section are procedures, functions, services and methods.____ 65. Every constructor must be declared with no return type (not even void).
____ 66. In an object-oriented environment, as long as the existing outside interface is maintained, the internal implementation of any and all operations can be changed without the user ever being aware that a change took place.
____ 67. A file is a collection of data that is stored together under a common name.
____ 68. A file is physically stored on an external medium such as a disk.
____ 69. Very long file names should be avoided because they take more time to type and can result in typing errors.
____ 70. Each file stream has its own mode, which determines the direction of data on the transmission path—that is, whether the path will move data from a file into a program or whether the path will move data from a program to a file.
____ 71. Using the DOS convention, the first eight characters of a file name describe the data, and an extension (the characters after the period) describes the application.
____ 72. File stream objects must be explicitly declared.
____ 73. The declaration ifstream inFile; declares an input file stream object named infile to be an object of the class ifstream.
____ 74. Stream object names, such as inFile and outFile are not programmer-selected.
____ 75. In using the open() method to connect the file’s external name to its internal object stream name, only one argument is required, which is the external file name.
____ 76. One of the problems associated with embedding a file name within program code is that there is no provision for a user to enter or change the desired file name while the program is executing.
____ 77. The close() method does not break the connection between a file’s external name and the file stream object.
____ 78. The open() call is a request to the operating system that can fail for a variety of reasons.
____ 79. Multiple files can be open at the same time.
Explanation / Answer
False____ 64. Other names for operations defined in a class implementation section are procedures, functions, services and methods. True____ 65. Every constructor must be declared with no return type (not even void). False____ 66. In an object-oriented environment, as long as the existing outside interface is maintained, the internal implementation of any and all operations can be changed without the user ever being aware that a change took place. True____ 67. A file is a collection of data that is stored together under a common name. True____ 68. A file is physically stored on an external medium such as a disk. False____ 69. Very long file names should be avoided because they take more time to type and can result in typing errors. True____ 70. Each file stream has its own mode, which determines the direction of data on the transmission path—that is, whether the path will move data from a file into a program or whether the path will move data from a program to a file. True____ 71. Using the DOS convention, the first eight characters of a file name describe the data, and an extension (the characters after the period) describes the application. False____ 72. File stream objects must be explicitly declared. True____ 73. The declaration ifstream inFile; declares an input file stream object named infile to be an object of the class ifstream. False____ 74. Stream object names, such as inFile and outFile are not programmer-selected. False____ 75. In using the open() method to connect the file’s external name to its internal object stream name, only one argument is required, which is the external file name. True____ 76. One of the problems associated with embedding a file name within program code is that there is no provision for a user to enter or change the desired file name while the program is executing. False____ 77. The close() method does not break the connection between a file’s external name and the file stream object. True____ 78. The open() call is a request to the operating system that can fail for a variety of reasons. True____ 79. Multiple files can be open at the same time.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.