Deck 10: Behind the Scenes: Software Programming
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/130
Play
Full screen (f)
Deck 10: Behind the Scenes: Software Programming
1
________ breaks down a problem into a series of high-level tasks and continues to break each task into successively more detailed subtasks.
A) Object-oriented analysis
B) Top-down design
C) Bottom-up design
D) Inheritance
A) Object-oriented analysis
B) Top-down design
C) Bottom-up design
D) Inheritance
B
2
In object-oriented programming, ________ allows a new class to automatically use all the data and methods of an existing class.
A) reusability
B) regression
C) scalability
D) inheritance
A) reusability
B) regression
C) scalability
D) inheritance
D
3
A loop decision point for an algorithm 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) documentation plan
A) class
B) operator
C) test condition
D) documentation plan
C
4
Division by zero is a ________ error that is caught when the program executes.
A) compiler
B) runtime
C) syntax
D) logical
A) compiler
B) runtime
C) syntax
D) logical
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
5
The set of specific, sequential steps that describe exactly what a computer program must do to complete the work is called a(n) ________.
A) Beta code
B) structure chart
C) algorithm
D) working plan
A) Beta code
B) structure chart
C) algorithm
D) working plan
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
6
Translating an algorithm into a programming language is called ________.
A) interpreting
B) coding
C) compiling
D) executing
A) interpreting
B) coding
C) compiling
D) executing
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
7
SQL is an example of a ________ category programming language.
A) 2GL
B) 3GL
C) 4GL
D) 5GL
A) 2GL
B) 3GL
C) 4GL
D) 5GL
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
8
Object-oriented ________ are defined by the information (data) and the actions (methods) associated with them.
A) blocks
B) classes
C) units
D) fields
A) blocks
B) classes
C) units
D) fields
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
9
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) portability
B) scalability
C) transferability
D) inheritance
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following is the final stage of the program development life cycle (PDLC)?
A) Making a Plan
B) Coding
C) Testing and Documentation
D) Debugging
A) Making a Plan
B) Coding
C) Testing and Documentation
D) Debugging
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
11
An example of a first-generation language is ________.
A) BASIC
B) machine language
C) COBOL
D) assembly language
A) BASIC
B) machine language
C) COBOL
D) assembly language
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
12
________ 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) Executable code
B) Base code
C) Compiled code
D) Source code
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
13
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 ADD) 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) They are the most "natural" of languages.
B) They use a set of short, English-based commands (such as ADD) 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.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
14
What is the first step of the system development life cycle (SDLC)?
A) Design
B) Analysis
C) Problem and Opportunity Identification
D) Development
A) Design
B) Analysis
C) Problem and Opportunity Identification
D) Development
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
15
________ 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) Debugging
B) Programming
C) Analyzing
D) Diagramming
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
16
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) Flowchart
B) Pseudocode
C) Gantt chart
D) Flow analysis
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
17
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) pseudocode
B) control structures
C) flowcharts
D) operators
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
18
The process that converts program code into machine language is called ________.
A) documentation
B) variable declaration
C) compilation
D) execution
A) documentation
B) variable declaration
C) compilation
D) execution
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
19
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) 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
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
20
A clearly stated objective of how a program should work and how it responds to errors is called the ________.
A) SDLC
B) problem statement
C) compilation
D) execution
A) SDLC
B) problem statement
C) compilation
D) execution
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
21
Which refers to a text-based approach to documenting an algorithm?
A) Syntax
B) Pseudocode
C) Keywords
D) Data types
A) Syntax
B) Pseudocode
C) Keywords
D) Data types
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
22
The program specification is a clear statement of the goals and objectives of the project.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
23
Which is not a key factor a programmer uses in selecting the language for a project?
A) Space available
B) Number of inputs required
C) Speed required
D) Type of target application
A) Space available
B) Number of inputs required
C) Speed required
D) Type of target application
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
24
How many times does code that is architecture neutral need to be compiled?
A) 0 (it does not need to be compiled)
B) 1
C) 2
D) Every time it is run
A) 0 (it does not need to be compiled)
B) 1
C) 2
D) Every time it is run
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following is not true about rapid application development (RAD)?
A) Documents are created before the prototype.
B) It is an alternative to the waterfall approach.
C) A prototype is developed before system documents.
D) Prototyping is an example of RAD.
A) Documents are created before the prototype.
B) It is an alternative to the waterfall approach.
C) A prototype is developed before system documents.
D) Prototyping is an example of RAD.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
26
Corona and App Inventor can be used to develop ________.
A) complex web applications
B) apps for mobile devices
C) Mac software
D) Web pages
A) complex web applications
B) apps for mobile devices
C) Mac software
D) Web pages
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following is not done by modern IDE editors to help the programmer?
A) Left indents all code
B) Provides auto-completion of code
C) Applies color to comments
D) Align sections of code appropriately
A) Left indents all code
B) Provides auto-completion of code
C) Applies color to comments
D) Align sections of code appropriately
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
28
Which programming language uses a combination of existing technologies like JavaScript, CSS, and XML?
A) AJAX
B) HTML5
C) VBScript
D) JSON
A) AJAX
B) HTML5
C) VBScript
D) JSON
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
29
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) gamma
B) release to manufacturers (RTM)
C) beta
D) general availability (GA)
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
30
If a client must wait too long for software that works, he might attempt to add requests for more and more features to be added to the program. This is known as ________.
A) scope creep
B) feature laden
C) feature overload
D) scope bloat
A) scope creep
B) feature laden
C) feature overload
D) scope bloat
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
31
Which language is the most popular language for writing Apple macOS applications?
A) C++
B) HTML
C) Objective C
D) Java
A) C++
B) HTML
C) Objective C
D) Java
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
32
________ 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) Visual Basic
B) PHP
C) BASIC
D) HTML
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
33
Special symbols called tags are used in which of the following languages?
A) C#
B) Java
C) HTML/XHTML
D) C++
A) C#
B) Java
C) HTML/XHTML
D) C++
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
34
The process of identifying all the categories of inputs that are part of the problem the program is meant to solve is known as ________.
A) object-oriented analysis
B) error handling
C) code editing
D) debugging
A) object-oriented analysis
B) error handling
C) code editing
D) debugging
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
35
________ enables users to define their own data-based tags and facilitates the exchange of information between websites.
A) HTML
B) XHTML
C) XML
D) PHP
A) HTML
B) XHTML
C) XML
D) PHP
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
36
Code ________ is the step in which a programmer physically types the code into the computer.
A) editing
B) creation
C) testing
D) compiling
A) editing
B) creation
C) testing
D) compiling
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
37
Which of the following would not be used to build websites with interactive capabilities?
A) Active Server Pages (ASP)
B) PHP (PHP: Hypertext Preprocessor)
C) FORTRAN
D) Java Server Pages (ISP)
A) Active Server Pages (ASP)
B) PHP (PHP: Hypertext Preprocessor)
C) FORTRAN
D) Java Server Pages (ISP)
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
38
A small Java-based program is called a ________.
A) Java class
B) JSP
C) JavaScript
D) Java applet
A) Java class
B) JSP
C) JavaScript
D) Java applet
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
39
Which category of programming languages use graphical blocks to represent control elements and variables?
A) visual programming
B) VBScript
C) Object oriented
D) Scripting
A) visual programming
B) VBScript
C) Object oriented
D) Scripting
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
40
Programming is necessary when the software needed to accomplish a task is not available.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
41
Second-generation languages are also known as assembly languages.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
42
Bottom-up design is a systematic approach in which a problem is broken into a series of high-level tasks.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
43
Part of a testing plan includes the precise output values that a perfect program would return for input values.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
44
Web applications are programs that a website uses to make information available to other websites.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
45
The standard set of vocabulary for pseudocode is specific and detailed.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
46
Service packs are also known as software updates.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
47
Data is the raw input that users have at the start of the job.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
48
Control commands are keywords in a programming language that allow the programmer to direct the flow of the program based on a decision.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
49
Prolog is an example of a fourth-generation programming language.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
50
A data-flow diagram provides a visual representation of an algorithm.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
51
Code that is architecture neutral can run on many CPUs.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
52
An Application Programming Interface is the documentation of the rules for the standard way for web services software to interact.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
53
Inheritance means that the data and methods of an existing class can be extended and customized to fit a new class.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
54
During the program debugging stage, the people who will use the program test the software.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
55
When programmers need to create several different examples of a class, each is known as an object.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
56
Java is architecture neutral.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
57
Eventually all programming languages will merge into one universal language.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
58
One IDE can often be configured to support many different languages.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
59
A compiler translates the source code into an intermediate form of code, line by line.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
60
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/C++.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
61
In a(n) ________ system, each step is dependent on the previous step being completed.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
62
________ is the part of the problem statement that describes what a program should do if the input data is invalid.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
63
The programming term IDE stands for ________.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
64
You can automate features in most modern software programs by using custom-built miniprograms called ________.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
65
In object-oriented terms, a new, modified class is called the ________ class.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
66
In the ________ phase of the SDLC, exploration of the depth of a problem and development of program specifications take place.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
67
A(n) ________ translates source code into an intermediate form of code, line by line.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
68
A(n) ________ is a visual diagram of a process that includes any decisions that are made along the way.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
69
The process of running a program over and over to find and repair errors and make sure the program behaves in the way it should is known as ________.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
70
In object-oriented terms, an original class is called the ________ class.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
71
The programming term SDLC stands for ________.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
72
A(n) ________ program is the binary sequence that has been translated from source code by a compiler for use by the CPU.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
73
________-generation languages use symbols and commands to help programmers tell the computer what to do.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
74
A(n) ________ error is caused by not following the strict, precise set of rules for a specific programming language.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
75
SQL stands for ________.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
76
A(n) ________ is a control structure that continues to be performed while a test condition is true.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
77
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.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
78
The flowchart shape for a binary decision is a(n) ________.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
79
Scratch and App Inventor are considered ________ programming languages.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck
80
The keywords For and Next are often used to create a loop.
Unlock Deck
Unlock for access to all 130 flashcards in this deck.
Unlock Deck
k this deck