COP3330, FSU: Myers Exam 1 Actual Updated Questions And
Answers
1.
Program
a list of instructions for a computer to execute
2.
Machine Language
what is necessary for the computer, but hard for people to read
3.
Assembly Language
symbolic translations of machine code, easier for people to read
4.
High Level Procedural
Allow the writing of procedures and functions for code modularity, dividing
Languages
5.
Object Oriented Lan-
guages
the work into separate actions
Ex: Pascal, Fortran, C
Encapsulate their data and procedures together in units called objects,
make items modular, more readable for people and need to be translated
by the machine
C++, Java, Smalltalk
6.
Object
an encapsulation of data and functions that act upon that data
7.
3 aspects of an object
Name (variable we give it), Attributes (member data that describe what the
object is), Behavior (member functions describe what the object does)
8.
Class
a blueprint for objects, user defined type that describes what a certain type
of object will look like, consists of a declaration and a definition
9.
Difference between a
class and a struct
classes include the member functions because in c++ you can build objects
that encapsulate data and functions together
10.
DDU
Declare, Define, Use
11.
Class declaration
shows what an object will look like and what its available functions are, gives
an interface
12.
Class definition
implementation details, doesn't need to be seen by the user of the interface,
consists definitions of its members