Computer 3

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Function

A block of code that preforms a task.

Explict type conversion

The explicit conversation of data from one data type to another; usually performed with the static cast operator; also called a type cast.

Function header

The first line in a function; marks the beginning of the function.

User-defined data type

a data type added to the C++ language through the use of a class.

Variable

a memory location whose value can change ,vary, while a program is running.

end|

a stream manipulator that can be used to advance the cursor to the next line of the somputer screen.

Logic error

an error bug that occurs when you neglect to enter a program instruction or enter the instructions in the wrong order; also occurs as a result of calculation statements that are correct syntactically but incorrect mathematically.

#include directive

an instruction that tells the computer to merge the source code from one file with the sorce code from another file

Object code

another name for machine code.

Arithmetic assignment operator

operators compromised of an arithmetic operator and the assignment operator, allow you to abbreviate an assignment that follows a specific format.

cout

the standard output stream object in C++; used with the insertation operator to display information on the computer screen.

Extraction operator

two greater than signs (>>); extracts ,removes, characters from the cin object and sends them "in" to the compiuter memory.

Insertion operation

two less-than signs (<<); used with the cout object to display information on the computer screen.

Function body

The code contained between a function's opening and closing braces.

Executable file

A file that contains all of the machine code necessary to run a program ; executable files have a .exe filename extension

Object file

A file that contains the object code associated with a program; automatically generated by the complier.

Text

A group of characters treated as one unit and not used in a calculation.

Prompt

A message displayed on the computer screen indicating the type of data the user should enter at the keyboard

comment

A message used to document a program internally; begins with two forward slashes (//) in C++

Linker

A program that combines the code contained in a C++ programs's object file with other machine code necessary to run the C++ program.

Integrated Development Enviroment

A system that includes both an editor and a complier

IDE

An acronym of Integrated Development enviroment

Modulus operator

The percentage sign (%); divides two integers and returns the remainder as an integer

Debugging

The process of locatiog and correcting any errors in a program

Cin

The standard input system object in C++ tell the computer to pause program exclusion with the user enters one or more characters at the keyboard;temporarily stores the characters entered at the keyboard.

Assignment operator

The=symbol in an assignment statement

the insertion operation

in C++ >>

%

modulus operator divides two integers and returns the remainder as an integer.


Set pelajaran terkait

Unit 6: Respecting Other Roadway Users

View Set

CITI - Biomedical/Clinical Research

View Set

Ch 2 A Closer Look: Differences Among the Nutrition Standards and Guidelines and When to Use Them

View Set

Chapter 8: Race and Intelligence-Science's Last Taboo

View Set

Chapter 30: Procedures and Treatments Maternal Prep - U

View Set