Você está na página 1de 4

1.

A software object's state is stored in______


A. Object Name
B. Class Name
C. Methods
D. Fields
2. A software object's behavior is exposed through ___.
A. Method
B. Fields
C. Class
D. None of These
3. Data Hiding is not possible in _____Language
A. JAVA
B. C
C. C++
D. NONE OF THESE
4. What is a dangling pointer?
A. A dangling pointer arises when you use the address of an object after its lifetime is over.
B. A dangling pointer arises when a Pointer variable is defined.
C. A dangling pointer arises when a Pointer variable is deleted.
D. NONE of these
5. What are proxy objects?
A. Objects that stand for other objects are called proxy objects
B. Objects that are defined by the user.
C. Objects that are out of Scope.
D. None of these.
6. A blueprint for a software object is called a ___.
A. STRUCTURE
B. CLASS
C. PACKAGE
D. NONE OF THESE
7. Hiding internal data from the outside world, and accessing it only through publicly exposed
methods is known as
A. INHERITANCE
B. POLYMORHISM
C. DATA ENCAPSULATION
D. A&B
8. A collection of methods with no implementation is called _______
A. PACKAGE
B. CLASS
C. INTERFACE
D. ABSTRACT CLASS

9. The term API stands for ________


A. Application Programming Interface.
B. Automatic Programming Interface.
C. Application Performance Integration
D. NONE OF THESE.
10. Encapsulation combines?
A. METHODS AND STRUCTURES
B. METHODS AND FIELDS
C. FIELDS AND STRUCTURES
D. NONE OF THESE
11. Inheritance is _______
A. AQURING THE PROPERTIES OF A STRUCTURE
B. AQURING THE PROPERTIES OF A CLASS
C. COMBINING FIELDS AND METHODS INTO ONE UNIT
D. NONE OF THESE
12. In C++ which of the following operators below allow to define the member functions of a class
outside the class?
A. .
B. ->
C. ::
D. #
13. An abstract class can be instantiated.
A. NO
B. YES

14. IN C++ The default access level assigned to members of a class is ____
A. PUBLIC
B. PRIVATE
C. PUBLIC AND PRIVATE
D. NONE OF THESE
15. Which of the following below is/are valid C keywords?
A. INTEGER
B. INT
C. NULL
D. A and C above
16. In C language we use \r for the purpose of \t?
A. Used to insert a tab
B. Places cursor in start of line
C. Used to insert a vertical tab
D. A and C above

17. The return type you code for all constructors is _____
A. Void
B. The class type
C. the same type as the first data member defined in the class
D. No Type
18. The compiler converts your C++ instructions into _____
A. Edited code
B. Object code
C. Source code
D. Translated code
19. A base class may also be called a
A. Child class
B. Subclass
C. Derived class
D. Parent class
20. Overloaded functions are required to
A. Has the same return type
B. Have the same number of parameters
C. Perform the same basic functions
D. None of the above
21. Which of the following statements is false?
A. A function is a block of code that performs a specific task
B. Functions allow programmers to break large and complex problems into small and
manageable tasks
C. Functions allow programmers to use existing code to perform common tasks
D. Functions can be called, or invoked, only once in a program
22. When the compiler cannot differentiate between two overloaded constructors, they are called
A. Overloaded
B. Destructed
C. Ambiguous
D. Dubious
23. You must provide a constructor for a derived class
A. Always
B. If the base class constructor required arguments
C. If the base class constructor does not required arguments
D. Never
24. When an object-oriented program detects an error within a function, the function _________
A. Throws an exception
B. Throws a fit
C. Catches a message
D. Catches an exception

25. Periodically adding, changing and deleting file records is called file
A. Updating
B. Upgrading
C. Restructuring
D. Renewing
26. The files stored on a secondary stage device are composed of a hierarchy of data. What does a
record in a file contain?
A. Bits
B. Characters
C. Data field
D. Schema
27. A database management system
A. Allows simultaneous access to multiple files
B. Can do more than a record management system
C. Is a collection of programs for managing data in a single file
D. Both (a) and (b)
28. Which of the following hardware components is the most important to the operation of a
database management system?
A. High-resolution video display
B. Printer
C. High speed, large-capacity disk
D. Plotter
29. Which command is used to remove a table from the database in SQL?
A. DELETE TABLE
B. DROP TABLE
C. ERASE TABLE
D. UNATTACH TABLE
30. In a relational schema, each tuple is divided into fields called
A. Relations
B. Domains
C. Queries
D. All of the above

Você também pode gostar