100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

Big C++, Horstmann - Exam Preparation Test Bank (Downloadable Doc)

Beoordeling
-
Verkocht
1
Pagina's
604
Cijfer
A+
Geüpload op
07-05-2022
Geschreven in
2021/2022

Description: Test Bank for Big C++, Horstmann, 2e prepares you efficiently for your upcoming exams. It contains practice test questions tailored for your textbook. Big C++, Horstmann, 2e Test bank allow you to access quizzes and multiple choice questions written specifically for your course. The test bank will most likely cover the entire textbook. Thus, you will get exams for each chapter in the book. You can still take advatange of the test bank even though you are using newer or older edition of the book. Simply because the textbook content will not significantly change in ne editions. In fact, some test banks remain identical for all editions. Disclaimer: We take copyright seriously. While we do our best to adhere to all IP laws mistakes sometimes happen. Therefore, if you believe the document contains infringed material, please get in touch with us and provide your electronic signature. and upon verification the doc will be deleted.

Meer zien Lees minder
Instelling
Vak











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Gekoppeld boek

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
7 mei 2022
Aantal pagina's
604
Geschreven in
2021/2022
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

Chapter: Chapter01: Introduction



Import Settings:
Base Settings: Brownstone Default
Information Field: Difficulty
Information Field: Section Ref
Information Field: Title



Multiple Choice



1. Which one of the following options refers to a collection of programs that a computer
executes?
a) Software
b) Assembler
c) Instructions
d) Source code

Ans: a
Title: TB 1.1 Which (term) refers to a collection of programs?
Difficulty: Easy
Section Ref: 1.1



2. How can you use a computer to accomplish different tasks?
a) Use several different computer programs, each one of which provides support for one of the
tasks.
b) You must use one program that provides support for all of the tasks.
c) You must use several computers, each of which supports one task.
d) None of the listed items.

Ans: a
Title: TB 1.2 How can you use a computer to accomplish different tasks?
Difficulty: Easy
Section Ref: 1.1



3. Which of the following statements is correct about computer programs?
a) Computer programs can quickly complete complex tasks.
b) Large and complex computer programs are generally written by programmers.
c) Computer programs are composed of extremely primitive operations.
d) All of the listed options.

Ans: d

,Title: TB 1.3 Which statements regarding computer programs are correct?
Difficulty: Easy
Section Ref: 1.2



4. A computer chip is primarily made from which of the following elements?
a) Iron
b) Silver
c) Silicon
d) Lead

Ans: c
Title: TB 1.4 A computer chip is primarily made from which element?
Difficulty: Easy
Section Ref: 1.3



5. What is the function of a CPU?
a) Processing data and controlling programs
b) Performing arithmetic operations
c) Fetching and storing data
d) All of the listed options

Ans: d
Title: TB 1.5 What is the function of a CPU?
Difficulty: Easy
Section Ref: 1.3



6. Which one of the following memory types provides storage that persists without electricity?
a) RAM
b) Secondary storage
c) ROM
d) All of the listed options

Ans: b
Title: TB 1.6 Which memory type provides storage that persists without electricity?
Difficulty: Easy
Section Ref: 1.3



7. Consider a scenario in which you develop a C++ program on a computer with a Pentium
processor and compile the program into the corresponding machine language. Which of the
following points are true while running the same program on a computer that has an alpha
processor?
a) The machine code from the Pentium processor runs fine on the alpha processor.
b) You need different source code for the alpha processor.

,c) You need to recompile the C++ program on the computer with an alpha processor.
d) You cannot run the program on a computer with an alpha processor because C++, being a
high-level programming language, is machine dependent.

Ans: c
Title: TB 1.7 Which is true about running a C++ program on a different processor?
Difficulty: Medium
Section Ref: 1.4



8. Which one of the following translates high-level descriptions into machine code?
a) Assembler
b) Linker
c) Compiler
d) Interpreter

Ans: c
Title: TB 1.8 Which translates high-level descriptions into machine code?
Difficulty: Easy
Section Ref: 1.4



9. What name do you use for small computers that are programmed to control automobile
engines and cell phones?
a) Micro computers
b) Mini computers
c) Embedded systems
d) Virtual systems

Ans: c
Title: TB 1.9 What are small computers programmed to control engines and phones called?
Difficulty: Easy
Section Ref: 1.6



10. Suppose that a computer virus infects your computer and corrupts the files you were going to
submit for your current homework assignment. What precaution could have saved you from a
disastrously bad grade for this assignment?
a) Purchase an anti-virus program to remove the virus from your computer.
b) Defragment the hard drive.
c) Purchase an extended warranty for your computer.
d) Make regular backups of all your important files.

Ans: d
Title: TB 1.10 What can prevent you from losing files that get corrupted?
Difficulty: Easy
Section Ref: 1.7

, 11. Which one of the following statements regarding backup strategies for C++ files is correct?
a) You should regularly back up the object code files to prevent loss of valuable work.
b) You should regularly print out your work so you can retype it in case of data loss.
c) You should check your backups only in case of loss of data.
d) Your compiler automatically makes backups of your source files.

Ans: c
Title: TB 1.11 Which statement regarding backup strategies for C++ files is correct?
Difficulty: Medium
Section Ref: 1.7



12. Which of the following statements should you include in a C++ program to perform an input
or output operation?
a) using namespace std;
b) #include <iostream>
c) int main()
d) All of the listed options

Ans: d
Title: TB 1.12 Which statements should you include to perform an input or output operation?
Difficulty: Easy
Section Ref: 1.8



13. What is the output of the following code snippet?
#include <iostream>
using namespace std;

int main()
{
cout << "Goodbye" << endl << "Come again" << endl;
return 0;
}
a) Goodbye Come again
b) Goodbye
Come again
c) Goodbye
Come
again
d) No output due to compilation errors

Ans: b
Title: TB 1.13 What is output of snippet (with cout and endl)?
Difficulty: Easy
Section Ref: 1.8
€35,42
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
tb4u City University New York
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
971
Lid sinds
3 jaar
Aantal volgers
776
Documenten
2374
Laatst verkocht
1 week geleden

4,0

158 beoordelingen

5
87
4
27
3
19
2
6
1
19

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen