Chapter 10 - Behind the Scenes: Software Programming Flashcards

1
Q

What is the first step of the system development life cycle (SDLC)?
A) Design
B) Analysis
C) Problem and Opportunity Identification
D) Development and documentation

A

C) Problem and Opportunity Identification

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
The final step of the system development life cycle (SDLC) is \_\_\_\_\_\_\_\_.
A) testing and installation
B) maintenance and evaluation
C) analysis
D) design
A

B) Maintenance and evaluation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
\_\_\_\_\_\_\_ is the process of translating a task into a series of commands that a computer will use to perform the task.
A) Debugging
B) Programming
C) Analyzing
D) Diagramming
A

B) Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
Which of the following is the final stage of the program development life cycle (PDLC)?
A) Making the plan
B) Coding
C) Testing and Documentation
D) Debugging the code
A

C) Testing and Documentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
The set of specific, sequential steps that describe exactly what a computer program must do to complete the work is called a(n) \_\_\_\_\_\_\_\_.
A) flowchart
B) structure chart
C) algorithm
D) pseudocode
A

C) algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
Which of the following provides a visual representation of the patterns of an algorithm?
A) Flowchart
B) Pseudocode
C) Gantt chart
D) Flow analysis
A

A) Flowchart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
\_\_\_\_\_\_\_\_ is a combination of natural language and programming language that is used to document an algorithm.
A) Flowcharting
B) Pseudocode
C) Diagramming
D) Debugging
A

B) Pseudocode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
The keywords used in programming languages that use decisions to redirect the flow of a program are called \_\_\_\_\_\_\_\_.
A) pseudocode
B) control structures
C) flowcharts
D) operators
A

B) control structures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A loop decision point consists of three features: an initial value, a set of actions to be performed, and a(n) \_\_\_\_\_\_\_\_.
A) class
B) operator
C) test condition
D) testing plan
A

C) test condition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
The flowchart shape for a process is a(n) \_\_\_\_\_\_\_\_.
A) parallelogram
B) rectangle
C) diamond
D) oval
A

B) rectangle

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

________ breaks down a problem into a series of high-level tasks and continues to break each task into successively more detailed subtasks.

A

B) Top-down design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
Object-oriented \_\_\_\_\_\_\_\_ are defined by the information (data) and the actions (methods) associated with them.
A) blocks
B) classes
C) units
D) fields
A

B) classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
In object-oriented programming, \_\_\_\_\_\_\_\_ allows a new class to automatically use all the data and methods of its parent class.
A) reusability
B) regression
C) scalability
D) inheritance
A

D) inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
An example of a first-generation language is \_\_\_\_\_\_\_\_.
A) BASIC
B) machine language
C) COBOL
D) assembly language
A

B) machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q
The capability of moving a completed programming solution easily from one type of computer to another is known as \_\_\_\_\_\_\_\_.
A) portability
B) scalability
C) transferability
D) inheritance
A

A) portability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
SQL is an example of a \_\_\_\_\_\_\_\_ style of programming language.
A) 2GL
B) 3GL
C) 4GL
D) 5GL
A

C) 4GL

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

Which statement does NOT describe fifth-generation languages?
A) They are the most “natural” of languages.
B) They use a set of short, English-based commands (such as SUB) that speak directly to the CPU.
C) Problems are presented as a series of facts or constraints rather than as a specific algorithm.
D) The system of facts can be queried.

A

B) They use a set of short, English-based commands (such as SUB) that speak directly to the CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q
Translating an algorithm into a programming language is called \_\_\_\_\_\_\_\_.
A) interpreting
B) coding
C) compiling
D) executing
A

B) coding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q
The process that converts program code into machine language is called \_\_\_\_\_\_\_\_.
A) documentation
B) variable declaration
C) compilation
D) execution
A

C) compilation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
\_\_\_\_\_\_\_\_ is the set of instructions that programmers have written in a higher-level language.
A) Executable code
B) Base code
C) Compiled code
D) Source code
A

D) Source code

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

An integrated development environment (IDE) is a ________.
A) program that helps interpret code
B) tool that converts one programming language into a different programming language
C) collection of tools that helps programmers write and test their programs
D) program that translates code into binary 1s and 0s and ignores comments

A

C) collection of tools that helps programmers write and test their programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q
Division by zero is a \_\_\_\_\_\_\_\_ error that is caught when the program executes.
A) compiler
B) runtime
C) syntax
D) logical
A

B) runtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q
Before its final commercial release, a(n) \_\_\_\_\_\_\_\_ version of software may be offered to certain test sites or to interested users free or at a reduced cost.
A) gamma
B) release to manufacturers (RTM)
C) beta
D) general availability (GA)
A

C) beta

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q
\_\_\_\_\_\_\_\_ is a programming language that can be used to create a wide range of Windows applications.
A) Visual Basic
B) PHP
C) BASIC
D) HTML
A

A) Visual Basic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q
Which language is the most popular language for writing Apple OS X applications?
A) C++
B) HTML
C) Objective C
D) Java
A

C) Objective C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q
A small Java-based program is called a \_\_\_\_\_\_\_\_.
A) Java class
B) JSP
C) JavaScript
D) Java applet
A

D) Java applet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q
Special symbols called tags are used in which of the following languages?
A) C#
B) Java
C) HTML/XHTML
D) C++
A

C) HTML/XHTML

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q
Which of the following would NOT be used to build websites with interactive capabilities?
A) Active Server Pages
B) PHP (Hypertext Preprocessor)
C) Fortran
D) Java Server Pages
A

C) Fortran

29
Q
\_\_\_\_\_\_\_\_ enables users to define their own data-based tags and facilitates exchange of information between websites.
A) HTML
B) XHTML
C) XML
D) PHP
A

C) XML

30
Q

SDLC stands for ________.

A

System Development Life Cycle

31
Q

In a(n) ________ system, each step is dependent on the previous step.

A

waterfall

32
Q

A(n) ________ is a visual diagram of a process that includes any decisions that are made along the way.

A

flowchart

33
Q

In the ________ phase of the SDLC, exploration of the depth of a problem and development of program specifications take place.

A

analysis

34
Q

In the “Making a Plan” step of the PDLC, a(n) ________ is written in natural, ordinary language describing exactly what the computer program is to do.

A

algorithm

35
Q

________ is the part of the problem statement that describes what a program should do if the input data is invalid.

A

error handling

36
Q

________ is not actual programming code but uses words to describe the algorithm.

A

pseudocode

37
Q

The flowchart shape for a binary decision is a(n) ________.

A

diamond

38
Q

A(n) ________ is a control structure that continues to be performed while a test condition is true.

A

loop

39
Q

________ design is a systematic approach that is used to break down a problem into a series of high-level tasks.

A

top-down

40
Q

In object-oriented terms, an original class is called the ________ class.

A

base

41
Q

In object-oriented terms, a new, modified class is called the ________ class.

A

derived

42
Q

SQL stands for ________.

A

Structured Query Language

43
Q

________-generation languages use symbols and commands to tell the computer what to do.

A

Third

44
Q

A(n) ________ translates source code into an intermediate form, line by line.

A

interpreter

45
Q

A(n) ________ program is the binary sequence that has been translated from source code by a compiler for use by the CPU.

A

executable

46
Q

A(n) ________ error is caused by not following the strict, precise set of rules for a specific programming language.

A

syntax

47
Q

IDE stands for ________.

A

integrated development environment

48
Q

The process of running a program over and over to find errors and make sure the program behaves in the way it should is known as ________.

A

debugging

49
Q

________ and runtime errors are caught only when a program executes.

A

logical

50
Q

Most browsers can execute Java ________, which are small Java-based programs.

A

applets

51
Q

When a large project begins, a programmer can build a(n) ________, which is a small model of what the final program will look like when it is finished.

A

prototype

52
Q

The acronym HTML stands for ________.

A

HyperText Markup Language

53
Q

HTML uses special symbols called ________ to control how information is displayed on the web.

A

tags

54
Q

A Windows application which demands a lot of raw processing power to execute repetitive complex calculations is a good candidate for the object oriented programming language C++.

A

TRUE

55
Q

Data-flow diagrams trace all data in an information system from the point at which data enter the system to their final resting places.

A

TRUE

56
Q

During the program debugging stage, the people who will use the program test the software.

A

FALSE

57
Q

The standard set of vocabulary for pseudocode is specific and detailed.

A

FALSE

58
Q

A data-flow diagram provides a visual representation of an algorithm.

A

FALSE

59
Q

When programmers need to create several different examples of a class, each is known as an object.

A

TRUE

60
Q

PROLOG is an example of a fourth-generation programming language.

A

FALSE

61
Q

Second-generation languages are also known as assembly languages.

A

TRUE

62
Q

A compiler translates the source code into an intermediate form, line by line.

A

FALSE

63
Q

One IDE can often be configured to support many different languages.

A

TRUE

64
Q

Syntax errors are caught only when a program executes.

A

FALSE

65
Q
Match each of the following generations to its language:
I.	1GL
II.	2GL
III.	3GL
IV.	4GL
V.	5GL
A.	assembly language
B.	SQL
C.	machine language
D.	PROLOG
E.	COBOL
A

C, A, E, B, D

66
Q
Match each of the following terms to its definition:
I.	portability
II.	reusability
III.	inheritance
IV.	method
V.	data
A.	a new class can automatically pick up data and methods of an existing class
B.	the capability to move a completed solution easily from one type of computer to another
C.	the ability to apply classes from other projects to a new project
D.	an object oriented function or behavior
E.	raw input
A

B, C, A, D, E

67
Q
Match each of the following terms to its definition:
I.	source code
II.	syntax
III.	compiler
IV.	interpreter
V.	operator

A. program that translates code into binary 0s and 1s and ignores comments
B. agreed-on set of rules defining how the language must be structured
C. translates source code line by line into an intermediate form
D. coding symbol that represents a fundamental action of a language
E. programmers’ instructions written in a higher-level language

A

E, B, A, C, D

68
Q
Match each of the following steps of SDLC development to its position in the development process.
I.	development 
II.	design
III.	analysis
IV.	testing and installation
V.	problem/opportunity identification
A.	first step
B.	second step
C.	third step
D.	fourth step
E.	fifth step
A

D, C, B, E, A

69
Q
Match each of the following terms to its definition:
I.	pseudocode
II.	error handling
III.	source code
IV.	binary decision
V.	variable

A. program instructions written in a higher-level language
B. text-based approach to documenting an algorithm
C. items allocated storage space in RAM
D. managing what a program should do if input data are invalid
E. can be answered in only two ways (for example, yes/no)

A

B, D, A, E, C