stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
CMPE FINAL QUIZ Flashcards | StudBud
Explore
/
CMPE FINAL QUIZ
CMPE FINAL QUIZ
22 terms
·
StudBud Administration
·
22 plays
Let's Defy the Odds!
Flashcards
22 cards
F
Practice quiz
P
Host live
L
Questions
22
Answers
1
5. It only displays essential information and hides the details.
Abstraction
Encapsulation
Polymorphism
Inheritance
2
In opening a file in OOP, you can utilize more than one of the modes in which the file should be opened.
True
False
3
12. A type of overloading C++ supports
File Overloading
Computer Overloading
Code Overloading
Operator Overloading
4
15. It is a statement that allows you to define a block of code to be executed, if an error occurs in the try block.
Try
Throw
Hold
Catch
5
6. It is the capability of a class to derive properties and characteristics from another class.
Inheritance
Polymorphism
Encapsulation
Abstraction
6
16. It is a statement that allows you to define a block of code to be tested for errors while it is being executed.
Try
Hold
Throw
Catch
7
19. It is the "Stream Insertion Operator"P stand for?
(==)
(>>)
(---)
(<<)
8
4. It is the binding of data and functions that manipulate them.
Abstraction
Inheritance
Polymorphism
Encapsulation
9
The main difference when programming displays is that an ofstream or fstream object is used instead of a cout object.
False
True
10
1. What does OOP stand for?
Oriented-object Programming
Object-ordered Programming
Object-Oriented Programming
Ordered-object Programming
11
14. A data type that represents the input file stream, it is used to read information from files.
OFStream
IFStream
FStream
ONStream
12
2. All are concepts of OOP except one.
Encapsulation
Formation
Inheritance
Abstraction
13
18. A data type that represents the File Stream generally.
IFStream
FStream
ONStream
OFStream
14
11. A data type that represents the output file stream, it is also use to create files and to write information into it.
FStream
IFStream
INStream
OFStream
15
13. When an error occurs, C++ will normally stop and generate an error message. Therefore, C++ will throw an _____
Abstraction
Exception
Inspection
Objection
16
3. The building block of C++ that leads to object-oriented programming is a ______.
Class
Object
Concept
Method
17
10. All are exception handling in C++ except one:
Throw
Hold
Catch
Try
18
7. All are classes included in "fstream" library except one:
IFStream
FStream
OFStream
ONStream
19
8. It is an instance of a class
code
method
ornaments
object
20
9. It is the ability of the message to be displayed in more than one form
Polymorphism
Abstraction
Encapsulation
Inheritance
21
17. You can use this inside the catch block to handle any type of exception
(....)
(..)
(.)
(...)
22
By default, when a C++ application exits, it will close any open files, free any allocated memory, and flush any streams
False
True