Programming Logic and Design Ninth Edition Flashcards

Combination of all the components required to process and store data using a computer

1
Q

Combination of all the components required to process
and store data using a computer

A

Computer system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Equipment associated with a computer

A

Hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Computer instructions that tells the hardware what to do

A

Software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Instructions written by programmers

A

Programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Writing software instructions

A

Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

such as word processing,
spreadsheets, payroll and inventory, even games, app

A

Application software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

such as operating systems like Windows,
Linux, or UNIX, Google Android and Apple IOS

A

System softwares

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Data items such as text, numbers, images, and sound

A

Input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Calculations and comparisons performed by the central processing
unit (CPU)

A

Processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  • Resulting information that is sent to a printer,
    a monitor, or storage devices after processing
  • A cloud based device is accessed through the Internet
A

Output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Used to write computer instructions called program code
– Writing instructions is called coding the program
– Examples
* Visual Basic, C#, C++, or Java

A

Programming language–

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

– Rules governing word usage and punctuation
– Mistakes in a language’s usage are syntax errors

A

Syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

– Computer’s temporary, internal storage – random access memory (RAM)
– Volatile memory – lost when the power is off

A

Computer memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

– Nonvolatile memory

A

Permanent storage devices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Translates source code into machine language (binary language)
statements called object code
– Checks for syntax errors

A

Compiler or interpreter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

– Input will be accepted, some processing will occur, and results will be
output

A

Program executes or runs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Understanding Simple Program Logic
* cannot execute

A

Programs with syntax errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

– Errors in program logic produce incorrect output

A

Logical errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

– Sequence of specific instructions in specific order

A

Logic of the computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

– Named memory location whose value can vary

A

Variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

People for whom a program is written

A

Users or end users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

– All supporting paperwork for a program

A

Documentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

is the sequence of steps or rules you
follow to solve a problem

A

algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Most common planning tools

A

Flowcharts
– Pseudocode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Walking through a program’s logic on paper before you actually write the program
Desk-checking
25
Plan the steps of the program and what they include
Planning the Logic
26
One of the most difficult aspects of programming
Understanding the Problem
27
is easier than the planning step
Coding
28
Compiler or interpreter – Changes the programmer’s English-like high-level programming language into the low-level machine language
Translator program
29
Misuse of a language’s grammar rules – Programmer corrects listed syntax errors – Might need to recompile the code several times
Syntax error
30
Hundreds of programming languages available – Choose based on features – Similar in their basic capabilities
Coding the Program
31
Execute the program with some sample data to see whether the results are logically correct
Test
32
is the process of finding and correcting program errors
Debugging
33
Programs should be tested with many sets of data
Testing the Program
34
Process depends on program’s purpose – May take several months
Putting the Program into Production
35
The entire set of actions an organization must take to switch over to using a new program or set of programs
Conversion
36
Making changes after the program is put into production
Maintenance
37
Maintaining previously written programs
Common first programming job
38
Repeat the development cycle
Make changes to existing programs
39
English-like representation of the logical steps it takes to solve a problem
Pseudocode
40
Pictorial representation of the logical steps it takes to solve a problem
Flowchart
41
representation of a number-doubling problem start input myNumber set myAnswer = myNumber * 2 output myAnswer stop
Pseudocode
42
repetition of a series of steps
loop
43
repeating flow of logic that never ends
infinite loop
44
Data-entry value that the user will never need – Sentinel value
Dummy value
45
Marker at the end of a file that automatically acts as a sentinel
eof (“end of file”)
46
Testing a value
Making a decision
47
Diamond shape
Decision symbol
48
Arrows that connect steps
Flowlines
49
Start/stop symbols – Shaped like a racetrack – Also called lozenges
Terminal symbols
50
Represents output statements – Parallelogram
Output symbol
51
Indicates input operation – Parallelogram
Input symbol
52
Contains processing statements such as arithmetic – Rectangle
Processing symbol
53
Draw geometric shapes that contain the individual statements – Connect shapes with arrows
Drawing Flowcharts
54
is used to create simple text files
Text Editor
55
provides an editor, compiler, and other programming tools * Microsoft Visual Studio IDE
– Integrated development environment (IDE)
56
is a location on your computer screen at which you type text entries to communicate with the computer’s operating system
Command line
57
allows users to interact with a program in a graphical environment
A graphical user interface, or GUI (pronounced gooey)
58
Major models or paradigms used by programmers
Understanding the Evolution of Programming Models
59
Focuses on the procedures that programmers create
Procedural programming
60
Focuses on objects, or “things,” and describes their features (or attributes) and their behaviors
Object-oriented programming