COMP 2710 FINAL EXAM STUDY GUIDE
"make" utility program - Answers - utility that automatically builds executable
programs and libraries from source code by reading files called makefiles which
specify how to derive the target program
macros in a makefile - Answers - A makefile can contain definitions of ______.
usually referred to as variables when they hold simple string definitions, like
"CC=gcc"
class diagram - Answers - a type of static structure diagram that describes the
structure of a system by showing the system's classes, their attributes, operations (or
methods), and the relationships among the classes
system sequence diagram - Answers - a sequence diagram that shows, for a
particular scenario of a use case, the events that external actors generate, their
order, and possible inter-system events
assertion - Answers - statement specifies a condition that you expect to hold true at
some particular point in your program
interface file - Answers - The file that contains the interface
implementation file - Answers - the file that contains the implementation
problem that #ifndef in an interface file solves - Answers - You can avoid multiple
definitions of a class (or anything else) by using #ifndef in the header file (interface
file)
pointer - Answers - a variable storing the memory address of another variable
driver program (test drivers) - Answers - programs that call a function to be tested.
should be simple enough that their correctness is assured
stub - Answers - a small function that replaces another as yet untested function.
allows the caller to be tested without the added complexity of the untested function
constructor - Answers - a member function that is automatically called when an
object of that class is declared
destructor - Answers - usually used to deallocate memory and do other cleanup for a
class object and its class members when the object is destroyed
gdb - Answers - as an executable file, is the standard debugger running on Linux-like
systems
namespace - Answers - collection of names (definitions of constants, variables,
functions and classes) that can be made available in a scope by command
"make" utility program - Answers - utility that automatically builds executable
programs and libraries from source code by reading files called makefiles which
specify how to derive the target program
macros in a makefile - Answers - A makefile can contain definitions of ______.
usually referred to as variables when they hold simple string definitions, like
"CC=gcc"
class diagram - Answers - a type of static structure diagram that describes the
structure of a system by showing the system's classes, their attributes, operations (or
methods), and the relationships among the classes
system sequence diagram - Answers - a sequence diagram that shows, for a
particular scenario of a use case, the events that external actors generate, their
order, and possible inter-system events
assertion - Answers - statement specifies a condition that you expect to hold true at
some particular point in your program
interface file - Answers - The file that contains the interface
implementation file - Answers - the file that contains the implementation
problem that #ifndef in an interface file solves - Answers - You can avoid multiple
definitions of a class (or anything else) by using #ifndef in the header file (interface
file)
pointer - Answers - a variable storing the memory address of another variable
driver program (test drivers) - Answers - programs that call a function to be tested.
should be simple enough that their correctness is assured
stub - Answers - a small function that replaces another as yet untested function.
allows the caller to be tested without the added complexity of the untested function
constructor - Answers - a member function that is automatically called when an
object of that class is declared
destructor - Answers - usually used to deallocate memory and do other cleanup for a
class object and its class members when the object is destroyed
gdb - Answers - as an executable file, is the standard debugger running on Linux-like
systems
namespace - Answers - collection of names (definitions of constants, variables,
functions and classes) that can be made available in a scope by command