Deck 1: An Overview of Computer Programming

Full screen (f)
exit full mode
Question
Writing a program includes planning the logic, coding the program, translating the program into machine language, and testing the program.
Use Space or
up arrow
down arrow
to flip the card.
Question
In a flowchart, decision symbols are represented by diamonds.
Question
Computer instructions are written in a computer programming language such as Visual Basic, C#, C++, or Java.
Question
The rules that govern a programming language are called ____.

A)syntax
C)structure
B)compilers
D)constructs
Question
The instruction Myanswer = Mynumber*2 is an example of a(n) ____ operation.

A)processing
C)data
B)numerical
D)input
Question
The two major techniques for developing programs are procedural programming and object-oriented programming (OOP).
Question
____ is the set of physical devices associated with a computer.

A)Software
C)Hardware
B)Input
D)Data
Question
Logical errors are sometimes referred to as structural errors.
Question
In a flowchart, processing symbols are represented by parallelograms.
Question
Language translation software for a computer is called a compiler or interpreter.
Question
Misuse of a language's grammar rules is called a(n) ____ error.

A)illegal
C)syntax
B)logical
D)semantic
Question
The programming statements you write in a programming language are known as the ____ code.

A)object
C)translated
B)source
D)external
Question
A program that is free of syntax errors is also free of logical errors.
Question
Data items enter the computer system through ____ devices.

A)software
C)output
B)input
D)storage
Question
All computers have temporary, ____ storage, also known as random access memory (RAM).

A)processing
C)internal
B)machine
D)external
Question
Machine language is also called ____ language.

A)volatile
C)binary
B)high-level
D)primary
Question
The two major components of any computer system are its hardware and its software.
Question
The set of instructions that tell the computer what to do are called ____.

A)software
C)hardware
B)input
D)data
Question
When writing pseudocode, you need to be careful about syntax.
Question
When you decide on the correct instructions for a program, you are developing the program's ____.

A)logic
C)data file
B)syntax
D)data entities
Question
The piece of hardware that performs processing tasks is the ____________________.
Question
A USB flash drive is an example of a(n) ____________________ device.
Question
One type of tool to aid the programmer during the planning stage is called a ____.

A)placeholder
C)desk-checker
B)flowchart
D)graphical user interface
Question
When using a flowchart, terminal symbols are represented by what geometric shape?

A)parallelogram
C)rectangle
B)lozenge
D)diamond
Question
____, the entire set of actions an organization must take to switch over to using a new program or set of programs, can sometimes take months or years to accomplish.

A)Duplication
C)Exchange
B)Conversion
D)Replication
Question
One of the components of object-oriented design is identifying ____.

A)detail
C)attributes
B)procedures
D)syntax
Question
____________________ software comprises all of the programs you apply to a task.
Question
Careful selection of ____ is an essential part of good programming.

A)pseudocode
C)user environment
B)output data
D)test data
Question
____________________ is the name for translated machine language statements.
Question
____________________ describes a language's correct word usage, spelling, and punctuation.
Question
Which language does a computer know?

A)Java
C)high-level
B)C++
D)machine language
Question
A ____ is an example of a user environment.

A)prompt
C)text line
B)command line
D)command box
Question
Some very experienced programmers can successfully combine the planning and the actual instruction writing, or ____ of the program, in one step.

A)directing
C)coding
B)tweaking
D)assigning
Question
A graphical ____ is one example of a user environment.

A)flowchart
C)user screen
B)keyboard
D)user interface
Question
What is a valid reason for program maintenance?

A)A new user enters the system.
C)The format of input data changes.
B)The program is over a year old.
D)The programmer needs more work.
Question
People have been writing modern computer programs since the ____.

A)1940s
C)1960s
B)1950s
D)1970s
Question
When using a flowchart, input is represented by what geometric shape?

A)rectangle
C)circle
B)diamond
D)parallelogram
Question
The type of software testing in which the tester does not look at the contents of the program is called ____ testing.

A)external
C)internal
B)white box
D)black box
Question
Which of the following is an advantage of using an integrated development environment?

A)Syntax errors do not occur.
B)Syntax errors are visually highlighted.
C)The program can run with syntax errors.
D)Logical errors do not occur.
Question
Syntax is important when using a programming language, but not when using ____.

A)pseudocode
C)high-level code
B)low-level code
D)a translator
Question
Program ____________________ are nonexecuting statements you add for the purposes of documentation.
Question
____________________ is the act of making required changes to programs after they are put into production.
Question
____________________ involves walking through a program's logic on paper.
Question
A(n) ____________________ is the sequence of steps necessary to solve a problem.
Question
A(n) ____________________ is a pictorial representation of a program, with logical steps contained within boxes and connected with symbols.
Question
A(n) ____________________ is a software package used for programming.
Question
The ____________________ of an object consists of the values of the attributes of an object.
Question
A computer ____________________ mimics real-world activities so that their processes can be improved.
Question
The description of how objects communicate with and react to each other is called the ____________________.
Question
In a flowchart, processing symbols are represented by ____________________.
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 1: An Overview of Computer Programming
1
Writing a program includes planning the logic, coding the program, translating the program into machine language, and testing the program.
True
2
In a flowchart, decision symbols are represented by diamonds.
True
3
Computer instructions are written in a computer programming language such as Visual Basic, C#, C++, or Java.
True
4
The rules that govern a programming language are called ____.

A)syntax
C)structure
B)compilers
D)constructs
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
The instruction Myanswer = Mynumber*2 is an example of a(n) ____ operation.

A)processing
C)data
B)numerical
D)input
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
The two major techniques for developing programs are procedural programming and object-oriented programming (OOP).
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
____ is the set of physical devices associated with a computer.

A)Software
C)Hardware
B)Input
D)Data
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Logical errors are sometimes referred to as structural errors.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
In a flowchart, processing symbols are represented by parallelograms.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
Language translation software for a computer is called a compiler or interpreter.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
Misuse of a language's grammar rules is called a(n) ____ error.

A)illegal
C)syntax
B)logical
D)semantic
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
The programming statements you write in a programming language are known as the ____ code.

A)object
C)translated
B)source
D)external
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
A program that is free of syntax errors is also free of logical errors.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
Data items enter the computer system through ____ devices.

A)software
C)output
B)input
D)storage
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
All computers have temporary, ____ storage, also known as random access memory (RAM).

A)processing
C)internal
B)machine
D)external
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Machine language is also called ____ language.

A)volatile
C)binary
B)high-level
D)primary
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
The two major components of any computer system are its hardware and its software.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
The set of instructions that tell the computer what to do are called ____.

A)software
C)hardware
B)input
D)data
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
When writing pseudocode, you need to be careful about syntax.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
When you decide on the correct instructions for a program, you are developing the program's ____.

A)logic
C)data file
B)syntax
D)data entities
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
The piece of hardware that performs processing tasks is the ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
A USB flash drive is an example of a(n) ____________________ device.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
One type of tool to aid the programmer during the planning stage is called a ____.

A)placeholder
C)desk-checker
B)flowchart
D)graphical user interface
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
When using a flowchart, terminal symbols are represented by what geometric shape?

A)parallelogram
C)rectangle
B)lozenge
D)diamond
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
____, the entire set of actions an organization must take to switch over to using a new program or set of programs, can sometimes take months or years to accomplish.

A)Duplication
C)Exchange
B)Conversion
D)Replication
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
One of the components of object-oriented design is identifying ____.

A)detail
C)attributes
B)procedures
D)syntax
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
____________________ software comprises all of the programs you apply to a task.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
Careful selection of ____ is an essential part of good programming.

A)pseudocode
C)user environment
B)output data
D)test data
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
____________________ is the name for translated machine language statements.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
____________________ describes a language's correct word usage, spelling, and punctuation.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Which language does a computer know?

A)Java
C)high-level
B)C++
D)machine language
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
A ____ is an example of a user environment.

A)prompt
C)text line
B)command line
D)command box
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Some very experienced programmers can successfully combine the planning and the actual instruction writing, or ____ of the program, in one step.

A)directing
C)coding
B)tweaking
D)assigning
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
A graphical ____ is one example of a user environment.

A)flowchart
C)user screen
B)keyboard
D)user interface
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
What is a valid reason for program maintenance?

A)A new user enters the system.
C)The format of input data changes.
B)The program is over a year old.
D)The programmer needs more work.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
People have been writing modern computer programs since the ____.

A)1940s
C)1960s
B)1950s
D)1970s
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
When using a flowchart, input is represented by what geometric shape?

A)rectangle
C)circle
B)diamond
D)parallelogram
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
The type of software testing in which the tester does not look at the contents of the program is called ____ testing.

A)external
C)internal
B)white box
D)black box
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Which of the following is an advantage of using an integrated development environment?

A)Syntax errors do not occur.
B)Syntax errors are visually highlighted.
C)The program can run with syntax errors.
D)Logical errors do not occur.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Syntax is important when using a programming language, but not when using ____.

A)pseudocode
C)high-level code
B)low-level code
D)a translator
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Program ____________________ are nonexecuting statements you add for the purposes of documentation.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
____________________ is the act of making required changes to programs after they are put into production.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
____________________ involves walking through a program's logic on paper.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
A(n) ____________________ is the sequence of steps necessary to solve a problem.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
A(n) ____________________ is a pictorial representation of a program, with logical steps contained within boxes and connected with symbols.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
A(n) ____________________ is a software package used for programming.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
The ____________________ of an object consists of the values of the attributes of an object.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
A computer ____________________ mimics real-world activities so that their processes can be improved.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
The description of how objects communicate with and react to each other is called the ____________________.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
In a flowchart, processing symbols are represented by ____________________.
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.