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
Q

Walking through a program’s logic on paper before you
actually write the program

A

Desk-checking

25
Q

Plan the steps of the program and what they include

A

Planning the Logic

26
Q

One of the most difficult aspects of programming

A

Understanding the Problem

27
Q

is easier than the planning step

A

Coding

28
Q

Compiler or interpreter
– Changes the programmer’s English-like high-level
programming language into the low-level machine
language

A

Translator program

29
Q

Misuse of a language’s grammar rules
– Programmer corrects listed syntax errors
– Might need to recompile the code several times

A

Syntax error

30
Q

Hundreds of programming languages available
– Choose based on features
– Similar in their basic capabilities

A

Coding the Program

31
Q

Execute the program with some sample data to see
whether the results are logically correct

A

Test

32
Q

is the process of finding and correcting
program errors

A

Debugging

33
Q

Programs should be tested with many sets of data

A

Testing the Program

34
Q

Process depends on program’s purpose
– May take several months

A

Putting the Program into Production

35
Q

The entire set of actions an organization must take to
switch over to using a new program or set of programs

A

Conversion

36
Q

Making changes after the program is put into production

A

Maintenance

37
Q

Maintaining previously written programs

A

Common first programming job

38
Q

Repeat the development cycle

A

Make changes to existing programs

39
Q

English-like representation of the logical steps it takes to
solve a problem

A

Pseudocode

40
Q

Pictorial representation of the logical steps it takes to solve
a problem

A

Flowchart

41
Q

representation of a number-doubling
problem
start
input myNumber
set myAnswer = myNumber * 2
output myAnswer
stop

A

Pseudocode

42
Q

repetition of a series of steps

A

loop

43
Q

repeating flow of logic that
never ends

A

infinite loop

44
Q

Data-entry value that the user will never need
– Sentinel value

A

Dummy value

45
Q

Marker at the end of a file that automatically acts as a
sentinel

A

eof (“end of file”)

46
Q

Testing a value

A

Making a decision

47
Q

Diamond shape

A

Decision symbol

48
Q

Arrows that connect steps

A

Flowlines

49
Q

Start/stop symbols
– Shaped like a racetrack
– Also called lozenges

A

Terminal symbols

50
Q

Represents output statements
– Parallelogram

A

Output symbol

51
Q

Indicates input operation
– Parallelogram

A

Input symbol

52
Q

Contains processing statements
such as arithmetic
– Rectangle

A

Processing symbol

53
Q

Draw geometric shapes that contain the individual
statements
– Connect shapes with arrows

A

Drawing Flowcharts

54
Q

is used to create simple text files

A

Text Editor

55
Q

provides an
editor, compiler, and other programming tools
* Microsoft Visual Studio IDE

A

– Integrated development environment (IDE)

56
Q

is a location on your computer screen at
which you type text entries to communicate with the
computer’s operating system

A

Command line

57
Q

allows users to interact with a program in a graphical
environment

A

A graphical user interface, or GUI (pronounced gooey)

58
Q

Major models or paradigms used by programmers

A

Understanding the Evolution
of Programming Models

59
Q

Focuses on the procedures that programmers
create

A

Procedural programming

60
Q

Focuses on objects, or “things,” and describes
their features (or attributes) and their
behaviors

A

Object-oriented programming