Chapter 10 (multiple answers)
Which of the following is the final stage of the program development life cycle (PDLC)? Debugging Making a Plan Coding Testing and Documentation
Testing and Documentation
Eventually all programming languages will merge into one universal language. True False
false
Prolog is an example of a fourth-generation programming language. True False
false
Syntax errors are caught only when a program executes. True False
false
The standard set of vocabulary for pseudocode is specific and detailed. True False
false
An example of a first-generation language is ________. machine language assembly language BASIC COBOL
machine language
Which refers to a text-based approach to documenting an algorithm? Keywords Pseudocode Data types Syntax
pseudocode
Which of the following would NOT be used to build websites with interactive capabilities? FORTRAN Java Server Pages (ISP) PHP (PHP: Hypertext Preprocessor) Active Server Pages (ASP)
FORTRAN
A loop decision point for an algorithm consists of three features: an initial value, a set of actions to be performed, and a(n) ________. documentation plan operator class test condition
test condition
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++. True False
true
Data is the raw input that users have at the start of the job. True False
true
Inheritance means that the data and methods of an existing class can be extended and customized to fit a new class. True False
true
One IDE can often be configured to support many different languages. True False
true
Programming is necessary when the software needed to accomplish a task is not available. True False
true
Second-generation languages are also known as assembly languages. True False
true
The program specification is a clear statement of the goals and objectives of the project. True False
true
When programmers need to create several different examples of a class, each is known as an object. True False
true
________ is a programming language that can be used to create a wide range of Windows applications. Visual Basic PHP HTML BASIC
visual basic
________ enables users to define their own data-based tags and facilitates the exchange of information between websites. PHP XML HTML XHTML
xml
which of the following provides a visual representation of the patterns of an algorithm?
Flowchart
Special symbols called tags are used in which of the following languages? HTML/XHTML C++ C# Java
HTML/XHTML
The set of specific, sequential steps that describe exactly what a computer program must do to complete the work is called a(n) ________. Beta code algorithm structure chart working plan
algorithm
Corona and App Inventor can be used to develop ________. Web pages complex web applications apps for mobile devices Mac software
apps for mobile devices
The keywords used in programming languages that use decisions to redirect the flow of a program are called ________. pseudocode operators flowcharts control structures
control structures
A compiler translates the source code into an intermediate form of code, line by line. True False
false
A data-flow diagram provides a visual representation of an algorithm. True False
false
Bottom-up design is a systematic approach in which a problem is broken into a series of high-level tasks. True False
false
During the program debugging stage, the people who will use the program test the software. True False
false
in object-oriented programming ________ allows a new class to automatically use all the data and methods of an existing class.
inheritance
A small Java-based program is called a ________. Java applet Java class JavaScript JSP
java applet
Which is NOT a key factor a programmer uses in selecting the language for a project? Space available Number of inputs required Type of target application speed required
number of inputs required
Which language is the most popular language for writing Apple macOS applications? C++ Objective C Java HTML
objective c
The capability of moving a completed programming solution easily from one type of computer to another is known as ________. transferability inheritance scalability portability
portability
What is the first step of the system development life cycle (SDLC)? Development Design Analysis Problem and Opportunity Identification
problem and opportunity identification
A clearly stated objective of how a program should work and how it responds to errors is called the ________. problem statement compilation SDLC execution
problem statement
______________ is the process of translating a task into a series of commands that a computer will use to perform the task.
programming
Division by zero is a ________ error that is caught when the program executes. logical compiler runtime syntax
runtime
________ is the set of instructions that programmers have written in a higher-level language. Compiled code Base code Source code Executable code
source code
SQL is an example of a ________ category programming language. 4GL 2GL 3GL 5GL
4gl
Which statement does NOT describe fifth-generation languages? Problems are presented as a series of facts or constraints rather than as a specific algorithm. The system of facts can be queried. They are the most "natural" of languages. They use a set of short, English-based commands (such as ADD) that speak directly to the CPU.
They use a set of short, English-based commands (such as ADD) that speak directly to the CPU.
_____________ breaks down a problem into a series of high-level tasks and continues to break each task into successively more detailed subtasks.
Top-Down Design
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. release to manufacturers (RTM) beta general availability (GA) gamma
beta
Object-oriented ________ are defined by the information (data) and the actions (methods) associated with them. blocks fields units classes
classes
Translating an algorithm into a programming language is called ________. executing interpreting coding compiling
coding
An integrated development environment (IDE) is a ________. collection of tools that helps programmers write and test their programs tool that converts one programming language into a different programming language program that helps interpret code program that translates code into binary 1s and 0s and ignores comments
collection of tools that helps programmers write and test their programs
The process that converts program code into machine language is called ________. variable declaration execution documentation compilation
compilation