Starting out with Programming Logic
and Design - Ch 1 & 2 Correct Answers
1.11 In what numbering system are all numeric values written as sequences of 0s
and 1s? - ANSWER-the binary numbering system
1.12 What is the purpose of ASCII? - ANSWER-it's an encoding scheme that uses a
set of 128 numeric codes to represent the English letters, various punctuation marks,
and other characters. these numeric codes are used to store characters in a
computer's memory
1.12b What does ASCII stand for? - ANSWER-American Standard Code for
Information Exchange
1.13 What encoding scheme is extensive to represent all the characters of all the
languages in the world? - ANSWER-unicode
1.14 What do the terms "digital data" and "digital device" mean? - ANSWER-data
that is stored in binary, and any device that works with binary data
1.15 A CPU understand instructions that are written only in what language? -
ANSWER-machine language
1.16 A program has to be copied into what type of memory each time the CPU
executes it? - ANSWER-main memory, or RAM
1.17 When a CPU executes the instructions in a program, it is engaged in what
process? - ANSWER-the fetch-decode-execute style
1.18 What is assembly language? - ANSWER-it is an alternative to machine
language. instead of using binary numbers for instructions, assembly language uses
short words that are known as mnemonics.
1.19 What type of programming language allows you to create powerful and complex
programs without knowing how the CPU works? - ANSWER-a high-level language
1.20 Each language has a set of rules that must be strictly followed when writing a
program. What is this set of rules called? - ANSWER-syntax
1.21 What do you call a program that translates a high-level language program into a
separate machine language program? - ANSWER-a compiler
1.22 What do you call a program that both translates and executes the instructions in
a high-level language program? - ANSWER-an interpreter
, 1.23 What type of mistake is usually caused by a misspelled key word, a missing
punctuation character, or the incorrect use of an operator? - ANSWER-a syntax error
1.24 What fundamental set of program controls the internal operations of the
computer's hardware? - ANSWER-the operating system
1.25 What do you call a program that performs a specialized task, such as a virus
scanner, a file compression program, or a data backup program? - ANSWER-a utility
program
1.26 Word processing programs, spreadsheet programs, email programs, Web
browsers, and game programs belong to what category of software? - ANSWER-
application software
2.1 Who is a programmer's customer? - ANSWER-any person, group, or
organization that is asking you to write a program
2.2 What is a software requirement? - ANSWER-a single function that the program
must perform in order to satisfy the customer
2.3 What is an algorithm? - ANSWER-a set of well-defined logical steps that must be
taken to perform a task
2.4 What is pseudocode? - ANSWER-an informal language that has no syntax rules,
and is not meant to be compiled or executed. programmers use pseudocode to
create models, or "mock-ups" of programs.
2.5 What is a flowchart? - ANSWER-a diagram that graphically depicts the steps that
take place in a program
2.6 What are each of the following symbols in a flowchart?
-Oval
-Parallelogram
-Rectangle - ANSWER-ovals are terminal symbols. parallelograms are either output
or input symbols. rectangles are processing symbols
2.7 What are three operations that programs typically perform? - ANSWER-input,
output, processing
2.8 What is an IPO chart? - ANSWER-a chart, or table, that describes a program's
input, processing, and output
2.9 What is a sequence structure? - ANSWER-a set of statements that execute in
the order they appear
2.10 What is a string? What is a string literal? - ANSWER-a string is a sequence of
characters that is used as data. a string literal is a string that appears in the actual
code of a program
and Design - Ch 1 & 2 Correct Answers
1.11 In what numbering system are all numeric values written as sequences of 0s
and 1s? - ANSWER-the binary numbering system
1.12 What is the purpose of ASCII? - ANSWER-it's an encoding scheme that uses a
set of 128 numeric codes to represent the English letters, various punctuation marks,
and other characters. these numeric codes are used to store characters in a
computer's memory
1.12b What does ASCII stand for? - ANSWER-American Standard Code for
Information Exchange
1.13 What encoding scheme is extensive to represent all the characters of all the
languages in the world? - ANSWER-unicode
1.14 What do the terms "digital data" and "digital device" mean? - ANSWER-data
that is stored in binary, and any device that works with binary data
1.15 A CPU understand instructions that are written only in what language? -
ANSWER-machine language
1.16 A program has to be copied into what type of memory each time the CPU
executes it? - ANSWER-main memory, or RAM
1.17 When a CPU executes the instructions in a program, it is engaged in what
process? - ANSWER-the fetch-decode-execute style
1.18 What is assembly language? - ANSWER-it is an alternative to machine
language. instead of using binary numbers for instructions, assembly language uses
short words that are known as mnemonics.
1.19 What type of programming language allows you to create powerful and complex
programs without knowing how the CPU works? - ANSWER-a high-level language
1.20 Each language has a set of rules that must be strictly followed when writing a
program. What is this set of rules called? - ANSWER-syntax
1.21 What do you call a program that translates a high-level language program into a
separate machine language program? - ANSWER-a compiler
1.22 What do you call a program that both translates and executes the instructions in
a high-level language program? - ANSWER-an interpreter
, 1.23 What type of mistake is usually caused by a misspelled key word, a missing
punctuation character, or the incorrect use of an operator? - ANSWER-a syntax error
1.24 What fundamental set of program controls the internal operations of the
computer's hardware? - ANSWER-the operating system
1.25 What do you call a program that performs a specialized task, such as a virus
scanner, a file compression program, or a data backup program? - ANSWER-a utility
program
1.26 Word processing programs, spreadsheet programs, email programs, Web
browsers, and game programs belong to what category of software? - ANSWER-
application software
2.1 Who is a programmer's customer? - ANSWER-any person, group, or
organization that is asking you to write a program
2.2 What is a software requirement? - ANSWER-a single function that the program
must perform in order to satisfy the customer
2.3 What is an algorithm? - ANSWER-a set of well-defined logical steps that must be
taken to perform a task
2.4 What is pseudocode? - ANSWER-an informal language that has no syntax rules,
and is not meant to be compiled or executed. programmers use pseudocode to
create models, or "mock-ups" of programs.
2.5 What is a flowchart? - ANSWER-a diagram that graphically depicts the steps that
take place in a program
2.6 What are each of the following symbols in a flowchart?
-Oval
-Parallelogram
-Rectangle - ANSWER-ovals are terminal symbols. parallelograms are either output
or input symbols. rectangles are processing symbols
2.7 What are three operations that programs typically perform? - ANSWER-input,
output, processing
2.8 What is an IPO chart? - ANSWER-a chart, or table, that describes a program's
input, processing, and output
2.9 What is a sequence structure? - ANSWER-a set of statements that execute in
the order they appear
2.10 What is a string? What is a string literal? - ANSWER-a string is a sequence of
characters that is used as data. a string literal is a string that appears in the actual
code of a program