Chapter 10: Behind the Scenes: Software Programming

Chapter 10: Behind the Scenes: Software Programming

Chapter 10:
Behind the Scenes:
Software Programming

Multiple Choice:

1.  How many steps are in the systems development life cycle (SDLC)?

A.  4

B.  5

C.  6

D.  10

Answer: C Reference: System Development Life Cycle Difficulty: Easy

2.  The first step in the systems development life cycle (SDLC) is:

A.  Analysis.

B.  Design.

C.  Problem/Opportunity Identification.

D.  Development and Documentation.

Answer: C Reference: System Development Life Cycle Difficulty: Easy

3.  Most modern software applications enable you to customize and automate various features using small custom-built “miniprograms” called:

A.  macros.

B.  code.

C.  routines.

D.  subroutines.

Answer: A Reference: Understanding Software Programming Difficulty: Easy

4.  The organized process or set of steps that needs to be followed to develop an information system is known as the:

A.  analytical cycle.

B.  design cycle.

C.  program specification.

D.  system development life cycle.

Answer: D Reference: System Development Life Cycle Difficulty: Easy

5.  How many steps are in the program development life cycle (PDLC)?

A.  4

B.  5

C.  6

D.  10

Answer: B Reference: The Life Cycle of a Program Difficulty: Easy

6.  The make-or-buy decision is associated with the ______step in the SDLC.

A.  Problem/Opportunity Identification

B.  Design

C.  Analysis

D.  Development and Documentation

Answer: B Reference: System Development Life Cycle Difficulty: Easy

7.  In the Analysis phase, the development of the ______occurs, which is a clear statement of the goals and objectives of the project.

A.  documentation

B.  flowchart

C.  program specification

D.  design

Answer: C Reference: System Development Life Cycle Difficulty: Moderate

8.  Actual programming of software code is done during the ______step in the SDLC.

A.  Maintenance and Evaluation

B.  Design

C.  Analysis

D.  Development and Documentation

Answer: D Reference: System Development Life Cycle Difficulty: Moderate

9.  Enhancements, upgrades, and bug fixes are done during the ______step in the SDLC.

A.  Maintenance and Evaluation

B.  Problem/Opportunity Identification

C.  Design

D.  Development and Documentation

Answer: A Reference: System Development Life Cycle Difficulty: Moderate

10.  The ______determines whether the project should go forward.

A.  feasibility assessment

B.  opportunity identification

C.  system evaluation

D.  program specification

Answer: A Reference: System Development Life Cycle Difficulty: Challenging

11.  Technical writers generally provide the ______for the new system.

A.  programs

B.  network

C.  analysis

D.  documentation

Answer: D Reference: Trends in IT: Considering a Career in Systems Development? Difficulty: Easy

12.  ______design and implement database structures.

A.  Programmers

B.  Project managers

C.  Technical writers

D.  Database administrators

Answer: D Reference: Trends in IT: Considering a Career in Systems Development? Difficulty: Easy

13.  ______spend most of their time in the beginning stages of the SDLC, talking with end-users, gathering information, documenting systems, and proposing solutions.

A.  Systems analysts

B.  Project managers

C.  Network engineers

D.  Database administrators

Answer: A Reference: Trends in IT: Considering a Career in Systems Development? Difficulty: Moderate

14.  ______manage the system development, assign staff, manage the budget and reporting, and ensure that deadlines are met.

A.  Project managers

B.  Network engineers

C.  Graphic designers

D.  Systems analysts

Answer: A Reference: Trends in IT: Considering a Career in Systems Development? Difficulty: Moderate

15.  ______is the process of translating a task into a series of commands that a computer will use to perform that task.

A.  Project design

B.  Installation

C.  Systems analysis

D.  Programming

Answer: D Reference: The Life Cycle of a Program Difficulty: Easy

16.  Debugging is:

A.  creating program code.

B.  finding and correcting errors in the program code.

C.  identifying the task to be computerized.

D.  creating the algorithm.

Answer: B Reference: The Life Cycle of a Program Difficulty: Moderate

17.  Translating the problem statement into a series of sequential steps describing what the program must do is known as:

A.  coding.

B.  debugging.

C.  creating the algorithm.

D.  writing documentation.

Answer: C Reference: The Life Cycle of a Program Difficulty: Moderate

18.  Translating the algorithm into a programming language occurs at the ______step of the PDLC.

A.  Debugging

B.  Coding

C.  Testing and Documentation

D.  Algorithm Development

Answer: B Reference: The Life Cycle of a Program Difficulty: Easy

19.  The problem statement should include all of the following EXCEPT:

A.  input.

B.  output.

C.  processing.

D.  storage.

Answer: D Reference: Describing the Problem: The Problem Statement Difficulty: Moderate

20.  The problem statement includes the ______, which lists specific input numbers a program would typically expect the user to enter and precise output values that a perfect program would return for those input values.

A.  testing plan

B.  error handler

C.  IPO cycle

D.  input-output specification

Answer: A Reference: Describing the Problem: The Problem Statement Difficulty: Moderate

21.  The ______should include error-handling, which describes what a program would typically do if the input data is incorrect.

A.  algorithm

B.  problem statement

C.  flowchart

D.  programming language

Answer: B Reference: Describing the Problem: The Problem Statement Difficulty: Moderate

22.  An algorithm is a:

A.  computer program.

B.  programming language.

C.  set of steps.

D.  problem statement.

Answer: C Reference: Making a Plan: Algorithm Development Difficulty: Moderate

23.  Algorithms could be called:

A.  programs.

B.  problem-solving procedures.

C.  programming languages.

D.  input-output logic.

Answer: B Reference: Making a Plan: Algorithm Development Difficulty: Challenging

24.  When dealing with complex problems, there are choices involved in developing the algorithm. These are called:

A.  outputs.

B.  problem-solving procedures.

C.  decision points.

D.  sequential lists.

Answer: C Reference: Developing an Algorithm: Decision Making… Difficulty: Moderate

25.  A decision point in an algorithm that can be answered in only one of two ways is called a ______decision.

A.  sequential

B.  loop

C.  complex

D.  binary

Answer: D Reference: Developing an Algorithm: Decision Making… Difficulty: Moderate

26.  A decision structure in an algorithm that produces a certain set of actions if the answer to the question is “yes” is a:

A.  sequence.

B.  loop.

C.  decision.

D.  condition.

Answer: B Reference: Developing an Algorithm: Decision Making… Difficulty: Challenging

27.  In an algorithm, a check to see whether a(n) ______is completed is known as a test condition.

A.  loop

B.  process

C.  sequence

D.  binary decision

Answer: A Reference: Developing an Algorithm: Decision Making… Difficulty: Moderate

28.  ______is the general term used for keywords in a programming language that allow programmers to control, or redirect, the flow of a program based on a decision.

A.  Test conditions

B.  Control structures

C.  Looping

D.  Binary decision points

Answer: B Reference: Developing an Algorithm: Decision Making… Difficulty: Moderate

29.  Pseudocode refers to text, organized like an outline, used to document the ______.

A.  test condition.

B.  control structures.

C.  algorithm.

D.  flowchart.

Answer: C Reference: Developing an Algorithm: Decision Making… Difficulty: Easy

30.  A(n) ______provides a visual representation of the patterns in the algorithm.

A.  flowchart

B.  pseudocode diagram

C.  control structure

D.  initial value

Answer: A Reference: Developing an Algorithm: Decision Making… Difficulty: Easy

31.  ______is a systematic approach in which a problem is broken down into a series of tasks and subtasks.

A.  Object-oriented analysis

B.  Top-down design

C.  Problem definition

D.  Data processing.

Answer: B Reference: Top-Down Design Difficulty: Moderate

32.  In the object-oriented methodology, categories of objects are called:

A.  methods.

B.  classes.

C.  modes.

D.  deviations.

Answer: B Reference: Object-Oriented Analysis Difficulty: Challenging

33.  In the object-oriented analysis, categories of objects are identified as classes and classes are further defined by information or data and actions or:

A.  objects.

B.  inheritance.

C.  deviations.

D.  methods.

Answer: D Reference: Object-Oriented Analysis Difficulty: Challenging

34.  In a flowchart, diamonds indicate that a ______decision or branching action will be performed.

A.  process

B.  sequential

C.  binary

D.  direction of flow

Answer: C Reference: Figure 10.9: Standard Symbols Used in Flowcharts Difficulty: Moderate

35.  What generation of languages is the binary machine language of a CPU?

A.  first

B.  second

C.  third

D.  fourth

Answer: A Reference: Categories of Programming Languages Difficulty: Easy

36.  Which of the following is a second-generation language?

A.  COBOL

B.  Assembly

C.  Fortran

D.  Machine

Answer: B Reference: Categories of Programming Languages Difficulty: Moderate

37.  Which of the following is a third-generation language?

A.  COBOL

B.  Assembly

C.  SQL

D.  PROLOG

Answer: A Reference: Categories of Programming Languages Difficulty: Moderate

38.  ______languages are also called high-level languages.

A.  Second-generation

B.  Assembly

C.  Third-generation

D.  Natural

Answer: C Reference: Categories of Programming Languages Difficulty: Moderate

39.  ______is an example of a fourth-generation language.

A.  COBOL

B.  SQL

C.  Assembly

D.  Java

Answer: B Reference: Categories of Programming Languages Difficulty: Moderate

40.  The ability of programmers to build an application without specifying an algorithm is characteristic of ______-generation languages.

A.  second

B.  third

C.  fourth

D.  fifth

Answer: D Reference: Categories of Programming Languages Difficulty: Moderate

41.  First-generation languages depend on the type of CPU and are sometimes referred to as:

A.  machine-dependent.

B.  high-level.

C.  natural.

D.  2GL.

Answer: A Reference: Categories of Programming Languages Difficulty: Easy

42.  Input and output items that programs manipulate are also known as:

A.  keywords.

B.  variables.

C.  symbols.

D.  data types.

Answer: B Reference: Creating Code: Writing the Program Difficulty: Moderate

43.  Reusable components of a program are known as ALL of the following EXCEPT:

A.  procedures.

B.  subroutines.

C.  modules.

D.  data types.

Answer: D Reference: Creating Code: Writing the Program Difficulty: Moderate

44.  ______refer(s) to the instructions programmers write in higher-level languages.

A.  Source code

B.  Subroutines

C.  Modules

D.  Procedures

Answer: A Reference: Compilation Difficulty: Moderate

45.  The ______is the program that translates the source code directly into machine language.

A.  algorithm

B.  operating system

C.  RAM modeler

D.  compiler

Answer: D Reference: Compilation Difficulty: Easy

46.  Files stored as *.com or *.exe on Windows systems are called ______programs.

A.  object code

B.  operating system

C.  executable

D.  interpreted

Answer: C Reference: Compilation Difficulty: Moderate

47.  The ______translates source code into an intermediate form, line by line.

A.  interpreter

B.  operating system

C.  code editor

D.  debugger

Answer: A Reference: Compilation Difficulty: Challenging

48.  If and else are keywords that represent a:

A.  binary decision.

B.  sequence.

C.  syntax rule.

D.  data type.

Answer: A Reference: Dig Deeper: The Building Blocks of Programming… Difficulty: Moderate

49.  ______are the specific words that have predefined meanings for a particular programming language.

A.  Keywords

B.  Data types

C.  Syntax rules

D.  Operators

Answer: A Reference: Dig Deeper: The Building Blocks of Programming… Difficulty: Moderate

50.  ______is the precise set of rules that define a particular programming language.

A.  Sequencing

B.  Object inheritance

C.  Syntax

D.  Compilation

Answer: C Reference: Dig Deeper: The Building Blocks of Programming… Difficulty: Moderate

Fill in the Blank:

51.  Hiring someone outside the organization to develop a customized software product is referred to as ______.

Answer: outsourcing Reference: System Development Life Cycle Difficulty: Moderate

52.  The three components of Step 1 (The Problem Statement) of the Program Development Life Cycle are ______, ______, and ______.

Answer: Input/Output/Processing Reference: Describing the Problem: The Problem…Difficulty: Moderate

53.  ______are visual diagrams of a process.

Answer: Flowcharts Reference: System Development Life Cycle Difficulty: Challenging

54.  A flowchart is a graphical representation of the steps and decision points in a(n) ______.

Answer: algorithm Reference: Developing an Algorithm: Decision Making… Difficulty: Moderate

55.  A(n) ______continues to be performed until the test condition is no longer true.

Answer: loop Reference: Developing an Algorithm: Decision Making… Difficulty: Moderate

56.  ______are input and output items that the program will manipulate.

Answer: Variables Reference: Creating Code: Writing the Program Difficulty: Moderate

57.  The keywords For and Next are used in a(n)______.

Answer: loop Reference: Dig Deeper: The Building Blocks of Programming… Difficulty: Challenging

58.  ______are the coding symbols that represent the fundamental actions of the language, such as common algebraic/mathematic operations (+, -, *, /).

Answer: Operators Reference: Dig Deeper: The Building Blocks of Programming… Difficulty: Moderate

59.  ______describe the kind of data that is stored at each memory location.

Answer: Data types Reference: Dig Deeper: The Building Blocks of Programming… Difficulty: Challenging

60.  Programmers often insert ______into program code to explain the purpose of sections of code.

Answer: comments (remarks) Reference: Creating Code: Writing the Program Difficulty: Easy

61.  Compilers translate source code directly into ______.

Answer: machine language Reference: Compilation Difficulty: Moderate

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

Answer: executable Reference: Compilation Difficulty: Moderate

63.  ______are violations of the strict, precise rules that define the programming language.

Answer: Syntax errors Reference: Coding Tools: Integrated Development… Difficulty: Moderate

64.  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 ______.

Answer: Debugging Reference: Debugging: Getting Rid of Errors Difficulty: Easy

65.  Prototyping is a form of ______.

Answer: rapid application development (RAD) Reference: Visual Basic Difficulty: Challenging

66.  A small model of what the final product will look like when it is finished is a(n) ______.

Answer: prototype Reference: Visual Basic Difficulty: Moderate

67.  A powerful programming language used for prototyping is ______.

Answer: Microsoft Visual Basic (VB) Reference: Visual Basic Difficulty: Moderate

68.  The ______introduces a standard way for software to interact through Web services.

Answer: .NET Framework Reference: Visual Basic Difficulty: Challenging

69.  Hypertext Markup Language (HTML) uses special symbols called ______to present information on the Web.

Answer: tags Reference: Web Applications: HTML/XHTML and Beyond Difficulty: Easy

70.  Active Server Pages (ASP) and Java Server Pages (JSP) are used to give Web sites ______capabilities.

Answer: interactive Reference: Flash and XML Difficulty: Moderate

71.  ______is a language that, due to its object-oriented model, allows programmers to benefit from its large set of existing classes.

Answer: Java Reference: Java Difficulty: Moderate

72.  ______is a markup language that enables designers to define their own data-based tags.

Answer: Extensible Markup Language (XML) Reference: Flash and XML Difficulty: Moderate

73.  A(n) ______version of a product is what is distributed before commercial release to provide widespread testing opportunities.