Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

Test Bank For An Object-Oriented Approach to Programming Logic and Design - 4th - 2013 All Chapters - 9781133188223

Note
-
Vendu
1
Pages
84
Grade
A+
Publié le
12-08-2024
Écrit en
2022/2023

Test Bank For An Object-Oriented Approach to Programming Logic and Design - 4th - 2013 All Chapters

Établissement
Unknown
Cours
Unknown











Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

Livre connecté

École, étude et sujet

Établissement
Unknown
Cours
Unknown

Infos sur le Document

Publié le
12 août 2024
Nombre de pages
84
Écrit en
2022/2023
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

Test Bank For An Object-Oriented Approach to Programming Logic and Design
Chapter 1




Chapter 1: An Overview of Computer Programming

TRUE/FALSE

1. The two major components of any computer system are its hardware and its software.

ANS: T PTS: 1 REF: 2

2. Computer instructions are written in a computer programming language such as Visual Basic, C#,
C++, or Java.

ANS: T PTS: 1 REF: 3

3. Language translation software for a computer is called a compiler or interpreter.

ANS: T PTS: 1 REF: 3

4. Logical errors are sometimes referred to as structural errors.

ANS: F PTS: 1 REF: 4

5. A program that is free of syntax errors is also free of logical errors.

ANS: F PTS: 1 REF: 4

6. The two major techniques for developing programs are procedural programming and object-oriented
programming (OOP).

ANS: T PTS: 1 REF: 6

7. Writing a program includes planning the logic, coding the program, translating the program into
machine language, and testing the program.

ANS: T PTS: 1 REF: 9

8. When writing pseudocode, you need to be careful about syntax.

ANS: F PTS: 1 REF: 14

9. In a flowchart, processing symbols are represented by parallelograms.

ANS: F PTS: 1 REF: 15

10. In a flowchart, decision symbols are represented by diamonds.




1

, Test Bank For An Object-Oriented Approach to Programming Logic and Design
Chapter 1


ANS: T PTS: 1 REF: 16


MULTIPLE CHOICE

1. ____ is the set of physical devices associated with a computer.
a. Software c. Hardware
b. Input d. Data
ANS: C PTS: 1 REF: 2

2. The set of instructions that tell the computer what to do are called ____.
a. software c. hardware
b. input d. data
ANS: A PTS: 1 REF: 2

3. Data items enter the computer system through ____ devices.
a. software c. output
b. input d. storage
ANS: B PTS: 1 REF: 2

4. The rules that govern a programming language are called ____.
a. syntax c. structure
b. compilers d. constructs
ANS: A PTS: 1 REF: 3

5. All computers have temporary, ____ storage, also known as random access memory (RAM).
a. processing c. internal
b. machine d. external
ANS: C PTS: 1 REF: 3

6. The programming statements you write in a programming language are known as the ____ code.
a. object c. translated
b. source d. external
ANS: B PTS: 1 REF: 3

7. Machine language is also called ____ language.
a. volatile c. binary
b. high-level d. primary
ANS: C PTS: 1 REF: 3

8. Misuse of a language’s grammar rules is called a(n) ____ error.
a. illegal c. syntax
b. logical d. semantic



2

, Test Bank For An Object-Oriented Approach to Programming Logic and Design
Chapter 1


ANS: C PTS: 1 REF: 3

9. 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
ANS: A PTS: 1 REF: 4

10. The instruction Myanswer = Mynumber*2 is an example of a(n) ____ operation.
a. processing c. data
b. numerical d. input
ANS: A PTS: 1 REF: 5

11. People have been writing modern computer programs since the ____.
a. 1940s c. 1960s
b. 1950s d. 1970s
ANS: A PTS: 1 REF: 6

12. 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
ANS: D PTS: 1 REF: 8

13. One of the components of object-oriented design is identifying ____.
a. detail c. attributes
b. procedures d. syntax
ANS: C PTS: 1 REF: 9

14. 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
ANS: C PTS: 1 REF: 10

15. Which language does a computer know?
a. Java c. high-level
b. C++ d. machine language
ANS: D PTS: 1 REF: 10-11

16. ____, 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



3

, Test Bank For An Object-Oriented Approach to Programming Logic and Design
Chapter 1



ANS: B PTS: 1 REF: 13

17. Careful selection of ____ is an essential part of good programming.
a. pseudocode c. user environment
b. output data d. test data
ANS: D PTS: 1 REF: 13

18. 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.
ANS: C PTS: 1 REF: 13

19. 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
ANS: B PTS: 1 REF: 14

20. 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
ANS: A PTS: 1 REF: 14-15

21. When using a flowchart, input is represented by what geometric shape?
a. rectangle c. circle
b. diamond d. parallelogram
ANS: D PTS: 1 REF: 15

22. When using a flowchart, terminal symbols are represented by what geometric shape?
a. parallelogram c. rectangle
b. lozenge d. diamond
ANS: B PTS: 1 REF: 16

23. 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.
ANS: B PTS: 1 REF: 20

24. A ____ is an example of a user environment.
a. prompt c. text line
b. command line d. command box




4
€25,44
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
HIUPRO HIU
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
262
Membre depuis
2 année
Nombre de followers
184
Documents
545
Dernière vente
1 mois de cela

4,8

19 revues

5
15
4
4
3
0
2
0
1
0

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions