100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
Test Bank For An Object-Oriented Approach to Programming Logic and Design - 4th - 2013 All Chapters - 9781133188223 €28,39   In winkelwagen

Tentamen (uitwerkingen)

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

 13 keer bekeken  1 keer verkocht
  • Vak
  • Unknown
  • Instelling
  • Unknown
  • Boek

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

Voorbeeld 4 van de 84  pagina's

  • 12 augustus 2024
  • 84
  • 2022/2023
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
  • Unknown
  • Unknown
avatar-seller
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

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper HIUPRO. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €28,39. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 67163 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€28,39  1x  verkocht
  • (0)
  Kopen