Deck 9: Introduction to High-Level Language Programming

Full screen (f)
exit full mode
Question
Even though a high-level programming language allows the programmer to think of memory locations in abstract rather than physical terms, the programmer is still directing, via program instructions, every change in the value of a memory location.
Use Space or
up arrow
down arrow
to flip the card.
Question
Individual assembly language statements, though easier to read, can be no more powerful than the underlying ____________________.
Question
In assembly language, the programmer need not manage the details of the movement of data items within memory.
Question
If anything is changed on an already-tested module, update testing is done to be sure that this change hasn't introduced a new error into code that was previously correct.
Question
Maintenance should be viewed as a separate step in the software development life cycle. _________________________
Question
Each assembly language statement corresponds to, at most, one ____________________ language statement.
Question
A program written in a(n) procedural language consists of sequences of statements that manipulate data items. _________________________
Question
In a high-level language, the programmer's only responsibilities for managing data items are to declare (or in the case of Python, create) all constants and variables the program will use.
Question
The problem identification document commits the final and complete problem specification to paper and guides the software developers in all subsequent decisions.
Question
Machine language can use the notation --, //, or # to denote a program comment.
Question
The programmer's task is to devise the appropriate step-by-step sequence of "imperative commands" that, when carried out by the computer, accomplish the desired task.
Question
When we moved from machine language to assembly language, we needed a piece of system software-a(n) ____________________-to translate assembly language instructions into machine language.
Question
The availability of the appropriate compiler guarantees that a program developed on one type of machine can be compiled on a different type of machine.
Question
The program implementation phase is the time to plan how it is to be done. _________________________
Question
A modern programming EXE provides a text editor, a file manager, a compiler, a linker and loader, and tools for debugging, all within this one piece of software. _________________________
Question
In early programming languages, conserving machine resources was not an issue.
Question
Program maintenance, the process of adapting an existing software product, may consume as much as 85% of the total software development life cycle budget.
Question
Newer languages such as Java and C# were developed specifically to run on a variety of hardware platforms without the need for a separate ____________________ for each type of machine.
Question
Each low-level language supports if statements and while loops. _________________________
Question
The ____________________ computer architecture is characterized by sequential fetch-decode-execute cycles.
Question
Machine language is also known as ____ code.

A) object
B) source
C) link
D) reloadable
Question
____ is the rules for exactly how statements must be written in a programming language.

A) Order
B) Precedence
C) Syntax
D) Context
Question
____ a program means running it on many data sets to be sure its performance falls within those required limits.

A) Debugging
B) Benchmarking
C) Configuring
D) Coding
Question
Assembly language programs are ____ specific.

A) language
B) compiler
C) architecture
D) machine
Question
A ____ involves developing a clear, concise, and unambiguous statement of the exact problem the software is to solve.

A) problem statement
B) design statement
C) program overview
D) problem specification
Question
Most programming languages are now presented within an ____.

A) Integrated Development Environment
B) Integrated Deployment Environment
C) Implementation Development Environment
D) Interactive Development Environment
Question
In assembly language, the programmer must take a microscopic view of a task, breaking it down into tiny subtasks at the level of what is going on in individual ____.

A) memory locations
B) programs
C) subtasks
D) tasks
Question
The high-level language instructions are known as ____ code.

A) object
B) link
C) source
D) reloadable
Question
Ada, Java, C++ and C# require a ____ to terminate an executable program statement.

A) semicolon
B) period
C) blank space
D) comma
Question
The software translator used to convert our high-level language instructions into machine language instructions is called a(n) ____.

A) linker
B) editor
C) loader
D) compiler
Question
____ are instructions in the programming language.

A) Immediate commands
B) Imperative commands
C) Intrinsic commands
D) Internal commands
Question
A ____ stores and fetches values to and from memory cells.

A) random access memory
B) read-only memory
C) flash memory
D) memory cache encoder
Question
____ takes place on each module (subtask code) as it is completed.

A) Regression testing
B) System testing
C) Unit testing
D) Integration testing
Question
____ is the process of translating the detailed designs into computer code.

A) Translating
B) Interpreting
C) Coding
D) Configuring
Question
The ____ evaluates a proposed project and compares the costs and benefits of various solutions.

A) design study
B) feasibility study
C) specification study
D) work breakdown study
Question
____ were created to overcome the deficiencies of assembly language.

A) Compilers
B) Low-level programming languages
C) High-level programming languages
D) Linkers
Question
____ allows miscommunications between the user and the programmer to be identified and corrected early in the development process.

A) Rapid deployment
B) Rapid configuration
C) Rapid prototyping
D) Rapid interfacing
Question
Procedural languages are also called ____ languages.

A) immediate
B) translated
C) interpreted
D) imperative
Question
____ includes online tutorials or help systems that the user can bring up while the program is running, and (less often) written user's manuals.

A) Technical documentation
B) Rough documentation
C) First-level documentation
D) User documentation
Question
The object code for a task that needs to be performed often can be stored in a(n) ____.

A) code template
B) code library
C) code container
D) object library
Question
What is pair programming?
Question
Discuss documentation at length, including definitions of all the different types.
Question
Define coding.
Question
What question should a feasibility study address, and what are some of the possible answers?
Question
Explain the following statement at length: Programs written in a high-level language will be portable rather than machine specific.
Question
What is the purpose of the feasibility study?
Question
List four disadvantages of assembly language.
Question
With regard to imperative languages, what is the programmer's task?
Question
List four expectations of a program written in a high-level language.
Question
Briefly present the function of the following components of an IDE: text editor, file system, language translator, and debugger.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 9: Introduction to High-Level Language Programming
1
Even though a high-level programming language allows the programmer to think of memory locations in abstract rather than physical terms, the programmer is still directing, via program instructions, every change in the value of a memory location.
True
2
Individual assembly language statements, though easier to read, can be no more powerful than the underlying ____________________.
instruction set
3
In assembly language, the programmer need not manage the details of the movement of data items within memory.
False
4
If anything is changed on an already-tested module, update testing is done to be sure that this change hasn't introduced a new error into code that was previously correct.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Maintenance should be viewed as a separate step in the software development life cycle. _________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Each assembly language statement corresponds to, at most, one ____________________ language statement.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
A program written in a(n) procedural language consists of sequences of statements that manipulate data items. _________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
In a high-level language, the programmer's only responsibilities for managing data items are to declare (or in the case of Python, create) all constants and variables the program will use.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
The problem identification document commits the final and complete problem specification to paper and guides the software developers in all subsequent decisions.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Machine language can use the notation --, //, or # to denote a program comment.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
The programmer's task is to devise the appropriate step-by-step sequence of "imperative commands" that, when carried out by the computer, accomplish the desired task.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
When we moved from machine language to assembly language, we needed a piece of system software-a(n) ____________________-to translate assembly language instructions into machine language.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
The availability of the appropriate compiler guarantees that a program developed on one type of machine can be compiled on a different type of machine.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
The program implementation phase is the time to plan how it is to be done. _________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
A modern programming EXE provides a text editor, a file manager, a compiler, a linker and loader, and tools for debugging, all within this one piece of software. _________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
In early programming languages, conserving machine resources was not an issue.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
Program maintenance, the process of adapting an existing software product, may consume as much as 85% of the total software development life cycle budget.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
Newer languages such as Java and C# were developed specifically to run on a variety of hardware platforms without the need for a separate ____________________ for each type of machine.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
Each low-level language supports if statements and while loops. _________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
The ____________________ computer architecture is characterized by sequential fetch-decode-execute cycles.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
Machine language is also known as ____ code.

A) object
B) source
C) link
D) reloadable
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
____ is the rules for exactly how statements must be written in a programming language.

A) Order
B) Precedence
C) Syntax
D) Context
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
____ a program means running it on many data sets to be sure its performance falls within those required limits.

A) Debugging
B) Benchmarking
C) Configuring
D) Coding
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
Assembly language programs are ____ specific.

A) language
B) compiler
C) architecture
D) machine
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
A ____ involves developing a clear, concise, and unambiguous statement of the exact problem the software is to solve.

A) problem statement
B) design statement
C) program overview
D) problem specification
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Most programming languages are now presented within an ____.

A) Integrated Development Environment
B) Integrated Deployment Environment
C) Implementation Development Environment
D) Interactive Development Environment
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
In assembly language, the programmer must take a microscopic view of a task, breaking it down into tiny subtasks at the level of what is going on in individual ____.

A) memory locations
B) programs
C) subtasks
D) tasks
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
The high-level language instructions are known as ____ code.

A) object
B) link
C) source
D) reloadable
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Ada, Java, C++ and C# require a ____ to terminate an executable program statement.

A) semicolon
B) period
C) blank space
D) comma
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
The software translator used to convert our high-level language instructions into machine language instructions is called a(n) ____.

A) linker
B) editor
C) loader
D) compiler
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
____ are instructions in the programming language.

A) Immediate commands
B) Imperative commands
C) Intrinsic commands
D) Internal commands
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
A ____ stores and fetches values to and from memory cells.

A) random access memory
B) read-only memory
C) flash memory
D) memory cache encoder
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
____ takes place on each module (subtask code) as it is completed.

A) Regression testing
B) System testing
C) Unit testing
D) Integration testing
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
____ is the process of translating the detailed designs into computer code.

A) Translating
B) Interpreting
C) Coding
D) Configuring
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
The ____ evaluates a proposed project and compares the costs and benefits of various solutions.

A) design study
B) feasibility study
C) specification study
D) work breakdown study
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
____ were created to overcome the deficiencies of assembly language.

A) Compilers
B) Low-level programming languages
C) High-level programming languages
D) Linkers
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
____ allows miscommunications between the user and the programmer to be identified and corrected early in the development process.

A) Rapid deployment
B) Rapid configuration
C) Rapid prototyping
D) Rapid interfacing
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Procedural languages are also called ____ languages.

A) immediate
B) translated
C) interpreted
D) imperative
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
____ includes online tutorials or help systems that the user can bring up while the program is running, and (less often) written user's manuals.

A) Technical documentation
B) Rough documentation
C) First-level documentation
D) User documentation
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
The object code for a task that needs to be performed often can be stored in a(n) ____.

A) code template
B) code library
C) code container
D) object library
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
What is pair programming?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Discuss documentation at length, including definitions of all the different types.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Define coding.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What question should a feasibility study address, and what are some of the possible answers?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
Explain the following statement at length: Programs written in a high-level language will be portable rather than machine specific.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
What is the purpose of the feasibility study?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
List four disadvantages of assembly language.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
With regard to imperative languages, what is the programmer's task?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
List four expectations of a program written in a high-level language.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Briefly present the function of the following components of an IDE: text editor, file system, language translator, and debugger.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.