Prelims Reviewer Flashcards

(39 cards)

1
Q

These are the basic run-time entities in an object-oriented system; may represent a person, place, bank account, or user-defined data

A

Objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

This is a type of programming which uses objects and classes

A

OOP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or false: Objects can interact without having to know details of each other data or code

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

This represents a set of related objects; defines what attributes an object has; blueprint for an object

A

Classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

True or False: Classes are user-defined data types that behave like built-in types of a programming language

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

These are declarations that are accessible from outside the class to anyone who can access an object of this class

A

public

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

these are declarations that are accessible within the class they are declared in, and also in subclasses (derived classes)

A

Protected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

These are declarations that are accessible only from within the class itself

A

Private

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

this is the concept of hiding data and showing only relevant data to the final user

A

Data Abstraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

this is the concept of wrapping together of data and information in a single unit; binding together the data and related function that can manipulate the data

A

data encapsulation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

this is the class’s capacity to inherit or derive attributes or characteristics from other classes, allowing for reusability

A

inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what types of inheritance does c++ support

A

single
multiple
multi-level
hierarchical
hybrid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

this is the ability to take more than one form; an operation may exhibit different behavior in different instances

A

polymorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

in c++, polymorphism is achieved in two ways

A

operator overloading and function overloading

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

this refers to the process of converting identifiers (variable and performance names) into addresses

A

dynamic bindings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

objects communicate with one another by sending and receiving information to each other; involves specifying the name of the object, the name of the function and the information to be sent

A

message passing

17
Q

True or False: Languages that support programming with objects are said to be object-based programming languages

18
Q

What languages support object-oriented programming

A

C++
.NET
Java
PHP
C#
Python
Ruby

19
Q

Procedural or OOP:

Programming language that is derived from structure programming and based upon the concept of calling procedures

20
Q

Procedural or OOP:

Computer programming design that organizes/models software design around data or objects rather than functions and logic

A

Object-Oriented Programming

21
Q

Procedural or OOP:

Follows a top-down approach

22
Q

Procedural or OOP:

Follows a bottom-up approach

23
Q

Procedural or OOP:

Gives importance to functions over data

24
Q

Procedural or OOP:

Gives importance to data over functions

25
Procedural or OOP: There is a possibility of data hiding
OOP
26
Procedural or OOP: Program is divided into small programs that are referred to as functions
Procedural
27
Procedural or OOP: A program is divided into small parts that are referred to as objects
OOP
28
What languages are used in procedural programming?
C, COBOL, FORTRAN
29
this provides the IT infrastructure, creating Object-Oriented Client-Server Internet (OCSI) applications
Client-Server Systems
30
A system that gives output at a given instant and its parameters change at every time; similar to dynamic system
Real-Time System
31
Also called Object Database Management Systems; store objects instead of data such as real numbers and integers
Object-Oriented Databases
32
These are data that define the traits of an object, such as simple integers and real numbers
Attributes
33
Define the behavior and are also called functions or procedures
Methods
34
Computer applications that are developed to solve complex problems pertaining to a specific domain, far beyond the reach of a human brain
AI and expert systems
35
What are the characteristics of AI
Reliable Highly responsive Understandable High-performance
36
Addresses the problem of prediction and approximation of complex time-varying systems
Neural networks and parallel programming
37
This is defined outside the class using the ::(double colon symbol)
Class member function
38
True or False: Software is not manufactured. It is evolved or developed after passing through various developmental phases, including study, analysis, design, implementation, and maintenance
True
39