Latest Version |Already Graded A+
C++ ✔Correct Answer-computer programming language
GUI ✔Correct Answer-graphical user interface
CAD/CAM ✔Correct Answer-computer-aided design & computer aided manufacture
Programming process ✔Correct Answer-Analysis
Design
Programming
Testing
Types ✔Correct Answer-int (basic integer), string (text) color () , etc
IOS ✔Correct Answer-input/output
string literals ✔Correct Answer-denoted by double quotes " "
ex. "Hello World"
'\n' ✔Correct Answer-special character denoting new line between statements
cout ✔Correct Answer-standard output stream "character output stream"
<< ✔Correct Answer-output operator
// ✔Correct Answer-a token, anything written after is a comment in the program so human can
understand what program is supposed to do
int main () ✔Correct Answer-is the header of the program, followed by {} which have inside them
the body of the program
#include ✔Correct Answer-is a header to access functions already available in C++ and instructs
the computer to make available the facilities from the standard file library
.h ✔Correct Answer-header file
Int main() ✔Correct Answer-every C++ program must have a main to tell it where to start executing
function ✔Correct Answer-a named sequence of instructions for the computer to execute in the
order in which they are written
A function has 4 Parts ✔Correct Answer-1. A RETURN TYPE, in hello world program it was (int)
2. a NAME, in hello world it was (main)
3. a PARAMETER LIST enclosed by parenthesis, in hello world it was empty
4. a FUNCTION BODY enclosed by a set of "curly brackets" {} which list the actions (called statements)
Minimal C++ Program ✔Correct Answer-int main () {}
, does not do anything though
statement ✔Correct Answer-a part of a C++ program that specifies an action and isn't an #include
directive
compile language ✔Correct Answer-that means to get a program to run you must first translate it
from the human-readable form to something a machine can "understand". The translation is done by
a COMPILER.
Source code or program text ✔Correct Answer-what you read and write
executable, object code, or machine code ✔Correct Answer-what the computer executes
.cpp ✔Correct Answer-C++ source code files are given this suffix and object code files are given the
suffix .obj (on windows) or .o (on Unix)
code ✔Correct Answer-use to mean "source code" or even "source code except the comments"
compiler complains ✔Correct Answer-no spelling errors, must define all functions or include
headers that do, must terminate strings with " , must use correct abbreviations, must use << out put
operator rather than < which is the less-than operator
; ✔Correct Answer-terminates a statement, compiler needs those to tell it where one statement
ends and the other begins (for now just copy the patterns of semicolons, there is no short or fully
correct way to tell where semicolons are needed)
object code ✔Correct Answer-what the compiler produces from your source code
linker ✔Correct Answer-links together translation units, or the two parts.. the parts of the program
we wrote and the parts of the C++ standard library
library ✔Correct Answer-is simply some code - usually written by others -we access using
declarations found in an #include file
declaration ✔Correct Answer-is a program statement specifying how a piece of code can be used
compile-time errors ✔Correct Answer-errors found by the complier... easiest to fix
run-time errors or logic errors ✔Correct Answer-errors not found until the program is run... most
difficult to fix
link-time errors ✔Correct Answer-errors found by the linker... second easiest to fix
debugging ✔Correct Answer-the activity of finding errors in a program and removing them
IDE ✔Correct Answer-interactive development environment, used if you work from a command-
line window, usually include an editor with helpful features like color coding to help distinguish
between comments, keywords, and other parts of the source code
object ✔Correct Answer-a region of memory with a type that specifies what kind of information
can be placed in it