click below
click below
Normal Size Small Size show me how
SDLC Unit 2
Systems Analysis & Design Unit 2
Term | Definition |
---|---|
'\n' | escape sequence for new line |
'\t' | escape sequence for tab |
.cpp | C++ Source code |
/ | comment |
// Program code goes here. | line comment |
<< | the stream insertion operator |
<iostream> | Reads and writes to the console. |
\" | syntax to print double quote |
\' | syntax to print single quote |
\\ | syntax to print backslash (\) |
algorithm | a step-by-step procedure for solving a problem in a finite amount of time |
assembly language | instructions made up of mnemonic codes |
Block Comments | Start with a forward slash and an asterisk and end with an asterisk and a forward slash ( |
compiler | a program that translates instructions written in a high-level language into the equivalent machine code |
computer instructions written in 1's and 0's | Binary or Machine language |
concatenate | join them together |
console output | the simplest type of screen output that a program can display, merely text to a command line |
cout << "Hello World!: << endl | Produces "Hello World!" in cmd |
cout << fixed << showpoint << setprecision(2) | controls output of floating-point numbers |
cout << right << ... | syntax that allows the programmer to specify whether contents of field will be left or right justified |
cout << setfill('?') << ... | allows programmer to fill blank columns in a field with a character |
cout | a filestream variable that represents the default output device |
cout.unsetf(ios::fixed) | syntax to disable the fixed manipulator |
endl (same as '\n') | strean manipulator that causes the insertion point (cursor) to move to the beginning of the next line, ending the current line |
escape sequence | starts with a backslash character (\) and is followed by one or more control characters |
fixed:: | format output to use decimals |
flowchart | a diagram that shows the logical flow of a program |
Flowlines | Connect the steps. Show the sequence of statements. Have arrows to show the direction |
Formula | Mathematical relationship between numbers |
function | a group of one or more programming statements that collectively has a name. reusable. |
hand tracing | debugging process where you pretend that you are the computer executing a program |
high-level language | instructions are closer to natural language, use familiar English words and symbols |
Identifier | The name of a program component such as a variable, class, or method |
IDEs (Integrated Development Environments) | text editor, compiler, debugger, and other utilities integrated into a package with a single set of menus |
Interpreters | Translates the program line by line as the program is running |
iomanip | header file that contains commonly used manipulators used to format output |
key words | words that have a special meaning and can only be used for their intended purpose |
Line Comments | Start with two forward slashes (//) and continue to the end of the current line. Line comments can appear on a line by themselves, or at the end of a line following executable code. |
Linkers | Add in additional code to make the program self-executable |
Literal | a series of characters that is used exactly as entered. |
machine language | instructions made up of sequences of 0s and 1s |
multi-line comments | start with a /(asterick) and end with a (asterick)/, program ignores everything between these markers |
Namespace | identifies groups of library files or entities |
object | programming element that contains data and the procedures that operate on the data |
Object-oriented program | Programming methodology focused on creating objects with behaviors and values to accomplish its goal |
operator | symbol that denotes an action to be performed on one or more operand |
output | any information the computer produces |
preprocessor directive | a program that finds and attaches to your program the indicated libraries for compilation |
procedural programming | the programmer constructs procedures (or functions), the major tasks to be performed |
program | a set of instructions that a computer follows to perform a task |
programmer (or software developer) | a person with the training and skills necessary to design, create and test computer programs |
programming language | a set of rules, symbols, and special words used to tell a computer how to accomplish a task |
programming style | the way a programmer uses identifiers, spaces, tabs, blank lines, and punctuation characters to visually arrange a program's source code |
psuedocode | a cross between human language and programming language |
reserved keywords | words that are used for special purposes in a program |
setprecision:: | format output to use specified number of decimals |
setw(x) | print a column or field of data that is x spaces long |
showpoint | format output to always show decimals |
statement | a complete instruction that causes the computer to perform some action |
std::cout << "Hello World!" | qualified C++ statement identifying the library, the object, and the value to be inserted. |
string literal / constant | the group of characters inside the quotation marks |
syntax | computer language rules that must be followed when constructing a program |