Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

NOS 120 Final Chap sol 6-10 Questions and Answers

Beoordeling
-
Verkocht
-
Pagina's
22
Cijfer
A+
Geüpload op
26-03-2026
Geschreven in
2025/2026

NOS 120 Final Chap sol 6-10 Questions and Answers

Instelling
NOS 120
Vak
NOS 120

Voorbeeld van de inhoud

NOS 120 Final Chap sol 6-10 Questions and Answers
A new programmer whom you are training is writing a C program and he wants to
place comment lines in

the program. Which of the following characters should be used at the beginning
and end of the comments? ✔✔Use /* at the beginning of the comments and */ at
the end.



You've written a C program, but are now getting an error message about the use
of standard input and

output statements when you compile the program. Which of the following might
be the cause? ✔✔You omitted the preprocessor directive for the file stdio.h



Which of the following is in the proper format for a character constant? ✔✔'C'
and 'c'



Which of the following are performed by functions in the C library? ✔✔a. screen
operations, b. memory allocation operations, c. file operations, and d. math

operations



A daemon is a _ ✔✔specialized system process that runs in the background



A colleague of yours is just learning to use the C compiler in Linux. When she tries
to compile a program

,called firststart.c using gcc firststart.c she is expecting the executable file to have
the name firststart, but

there is no firststart file. What is the executable file's name? ✔✔a.out



You have written a C program using the variables num, enum, sum, and long.
When you compile the

program you get an error message about using a variable the compiler finds
unacceptable. Which of the

following is likely to be the problem? ✔✔enum and long are keywords and cannot
be used as variables



Which of the following are examples of data types in the C language? ✔✔int,
double, float



Which of the following is the right way to use the string constant, Enter your ID:,
in the C language? ✔✔"Enter your ID:"



Which of the following functions must be in a C program? ✔✔main()



Which of the following statements enables you to print File updated on the screen
when a C++ program is

finished? ✔✔cout << "File updated.\n";

, Which of the following are important characteristics of C++ programming?
✔✔object-oriented programming and c. use of classes for specialized
programming needs



Your program to calculate values in physics requires working with positive and
negative whole numbers

between -14,242 and 12,528. What data types would you use to work with these
numbers in a C program? ✔✔short int



In your C program, you want to use a while loop and decrement the value,
counter, each time the program

goes through the while loop. Which of the following operators enables you to
decrement the value in

counter? ✔✔counter--;



Which of the following functions is used to open a file in the C language?
✔✔fopen()



What started as a simple C program has now turned into several program modules
as you have refined it

over the past several months. The problem is that now you do not always
remember which modules you

have changed at what time. What should you do? ✔✔Use the make utility and
create makefiles.

Geschreven voor

Instelling
NOS 120
Vak
NOS 120

Documentinformatie

Geüpload op
26 maart 2026
Aantal pagina's
22
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$8.39
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
jaysankok

Maak kennis met de verkoper

Seller avatar
jaysankok Stanford University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1
Lid sinds
1 maand
Aantal volgers
0
Documenten
498
Laatst verkocht
3 weken geleden

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

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 iDeal of creditcard en download je PDF-document meteen.

Student with book image

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

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen