C++ chapter 1 and 2

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

(IDE) Integrated development environment

consist of a text editor, debugger, compiler and other utilities integrated into a package with a single set of menus.

run time error

an attempt to perform an invalid operation, detected during program execution.

\" double quotation

causes a double quotation mark to be printed.

\' single quote

causes a single quotation mark to be printed.

Procedural Programming

collections of statements that perform a certain task.

executable code

The code that is a result of the compile process translated from source code.

object code

The output of the compiler after it translates the program.

}

right brace or closing brace

input-output stream library

the header file iostream contains information describing iostream objects without it you can not use cout.

cout

An output statement to standard output starts with what word in C++? also known as a stream object because it works with streams of data.

\t

Horizontal Tab (TAB) causes the cursor to skip over to the next tab stop.

\n

newline (escape sequence) used to start a new line.

\r

Carriage Return (CR) causes the cursor to go to the beginning of the current line not the next line.

Flowcharts

Diagrams that show how various elements of a system relate to each other.

source code

The programming code used to build a software product.

\\ backslash

causes a backslash to be printed.

<iostream>

header file. it allows output and input to be used in a program.

punctuation​

punctuation marks that mark the beginning or ending of a statement, or separate a items in a list.

syntax

rules that must be followed when constructing a program. syntax dictates how key words and operators must be used and where punctuation marks must appear.

programmer-defined identifiers

words or names defined by the programmer. they are symbolic names that refer to variable names or program routines.

key words

words that have a special meaning. key words may only be used for there intended purpose. key words are also known as reserved words.

#include

preprocessor directive. reads the program before it's compiled and only executes linea beginning with the # sign.

variable definition

(example) double, rate, pay; variable declaration

cpu

Central Processing Unit consists of two parts: the control unit and the arithmetic and logic unit.

statements

a complete instruction that causes the computer to perform some action

hierarchy chart

a diagram that graphically depicts the structure of a program.

variable

a named storage location in the computers memory for storing information

Object Oriented Programming

a object that contains data and the procedures that operate that data.

endl

a stream manipulator that instructs cout to start a new line.

c++

a superset of the c language that uses object oriented programming. also known for its portability.

namespace std;

declares that the program will be accessing entities whose name are part of the namespace std.

< > opening and closing brackets

encloses a filename when used with the #include directive.

{

left brace or opening brace.

logical errors

mistakes that cause a program to produce erroneous results.

Desk-checking

step through each statement of a portion of the program.

<<

stream insertion point


संबंधित स्टडी सेट्स

Political Geography - Colonialism and post-colonialism

View Set

CHAPTER 1: CALIFORNIA REAL ESTATE LICENSE VOCAB

View Set

Chapter 2.7 Visual Communication Design Art 1301

View Set

Academic Foundations Seminar Final Exam

View Set

IB EXAM II: Ch. 8 Foreign Direct Investment

View Set

Pediatric/Child Health Nursing - Infants - Exam 1

View Set