Exam1 Flashcards
(174 cards)
What does ALU stand for ?
Arithmetic and logic unit
What is the F D E cycle called?
Fetch Decode Execute
A machine language program consists of a sequence of ____ which the CPU interprets as commands
Binary Numbers
A ___ is close to the level of the computer, which means it resembles
the numeric machine language of the computer more than the natural language of humans.
The easiest languages for people to learn are high-level languages. They are called “high
low-level language
C was created by whom?
Bell Laboratories
When a C++ program is written, it must be typed into the computer and saved to a file…True/False
True
C++ is written in a _____
text editor
The statements written by the programmer are called ____________
source code
File saved by C++ is called _________
source file
After the source code is saved to a file, the process of translating it to machine language
can begin. During the first phase of this process, a program _______ reads the source code
preprocessor
IDE’s consist of what main components?
text editor, compiler, debugger
Programming Cycle is composed of 7 items
source code, preprocessor, modified source code, compiler, object code, linker, executable code
Programming Langues include 5 language elements
key words, programmer defined identifiers, operators, punctuation, syntax
= is an ____
operator
a semicolon is part of what programming language element
punctuation
A __ is a complete instruction that causes the computer to perform some action.
statement
A ___ is a named storage location in the computer’s memory for holding a piece of data.
variable
variables are stored in computer’s _____
RAM
variables are usually _____ and _____
characters and numbers
A ____ is a diagram that graphically depicts the structure of a program
hierarchy chart
A ____ is a diagram that shows the logical flow of a program.
flowchart
______is a cross between human language and a programming language.
pseudocode
____, also called logic errors, are mistakes that cause a program to produce erroneous results.
logical errors
// means
comment