0% found this document useful (0 votes)
36 views7 pages

Đáp Án Chapter 10

Chapter 10 discusses key concepts in software programming, including the system development life cycle (SDLC) and program development life cycle (PDLC). It covers topics such as programming processes, algorithms, object-oriented programming, and various programming languages. Additionally, it addresses the importance of prototyping, error handling, and the role of integrated development environments (IDEs) in coding.

Uploaded by

lmhia6046
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views7 pages

Đáp Án Chapter 10

Chapter 10 discusses key concepts in software programming, including the system development life cycle (SDLC) and program development life cycle (PDLC). It covers topics such as programming processes, algorithms, object-oriented programming, and various programming languages. Additionally, it addresses the importance of prototyping, error handling, and the role of integrated development environments (IDEs) in coding.

Uploaded by

lmhia6046
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Chapter 10 Behind the Scenes: Software Programming

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

2) ________ 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

3) 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

4) 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

5) Translating an algorithm into a programming language is called ________.


A) interpreting
B) coding
C) compiling
D) executing

6) 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
7) Which of the following provides a visual representation of the patterns of an algorithm?
A) Flowchart
B) Pseudocode
C) Gantt chart
D) Flow analysis

8) 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

9) Which type of decision point acts as a fork in the road?


A) Loop
B) Cascade
C) Binary
D) Tertiary

10) ________ 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

11) Object-oriented ________ are defined by the information (data) and the actions (methods)
associated with them.
A) blocks
B) classes
C) units
D) fields

12) 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
13) An example of a first-generation language is ________.
A) BASIC
B) machine language
C) COBOL
D) assembly language

14) 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

15) SQL is an example of a ________ category programming language.


A) 2GL
B) 3GL
C) 4GL
D) 5GL

16) 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.

17) The process that converts program code into machine language is called ________.
A) documentation
B) variable declaration
C) compilation
D) execution

18) ________ is the set of instructions programmers have written in a higher-level language.
A) Executable code
B) Base code
C) Compiled code
D) Source code

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

20) Division by zero is a ________ error that is caught when the program executes.
A) compiler
B) runtime
C) syntax
D) logical

21) Before its final commercial release, a ________ 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)

22) Which refers to a text-based approach to documenting an algorithm?


A) Syntax
B) Pseudocode
C) Keywords
D) Data types

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

24) Students interested in the arts often use the ________ language as a first experience with
coding.
A) Processing
B) COBOL
C) FORTRAN
D) Assembly

25) Which language is the most popular language for writing Apple macOS applications?
A) C++
B) HTML
C) Objective C
D) Java

26) A small Java-based program is called a ________.


A) Java class
B) JSP
C) JavaScript
D) Java applet

27) Special symbols called tags are used in which of the following languages?
A) C#
B) Java
C) HTML/XHTML
D) C++

28) 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)

29) ________ 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

30) Corona and App Inventor can be used to develop ________.


A) complex web applications
B) apps for mobile devices
C) Mac software
D) Web pages

31) Which programming language uses a combination of existing technologies like JavaScript,
CSS, and XML?
A) AJAX
B) HTML5
C) VBScript
D) JSON
32) 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

33) Code ________ is the step in which a programmer physically types the code into the
computer.
A) editing
B) creation
C) testing
D) compiling

34) 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) Aligns sections of code appropriately

35) Which category of programming languages use graphical blocks to represent control
elements and variables?
A) Visual programming
B) VBScript
C) Object-oriented
D) Scripting

36) 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

37) 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
38) 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.

Choosing TRUE or FALSE:

39) Programming is necessary when the software needed to accomplish a task is not available.
True

40) The program specification is a clear statement of the goals and objectives of the project.
True

41) Data is the raw input that users have at the start of the job. True

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

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

44) Bottom-up design is a systematic approach in which a problem is broken into a series of
high-level tasks. False

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

46) Inheritance means that the data and methods of an existing class can be extended and
customized to fit a new class. True

47) Prolog is an example of a fourth-generation programming language. False

48) Second-generation languages are also known as assembly languages. True

49) A compiler translates the source code into an intermediate form of code, line by line. False

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

You might also like