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

Mis3370 Practice Exam 2 Final Questions And 100% Well Answered Solutions.

Beoordeling
-
Verkocht
-
Pagina's
21
Cijfer
A+
Geüpload op
15-05-2025
Geschreven in
2024/2025

With the DataInputStream class: a) the read method can only read one character at a time. b) the read method can read only one record at a time. c) the read method can read more than one record at a time. d) the read method can read only one field at a time. - Answer D Which of the following is true? a) You open a file by creating the appropriate object. b) You close a file by deleting the appropriate object. c) Two of these answers are correct. d) The DataOutputStream class is used to write to a printer. e) The BufferedInputStream class is used to read characters from a file. - Answer A An object of the File class is required a) in order to read data from or write data to files. b) in order to get information about files. c) in order to read data from but NOT write data to files.

Meer zien Lees minder
Instelling
NSG 3370
Vak
NSG 3370










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

Geschreven voor

Instelling
NSG 3370
Vak
NSG 3370

Documentinformatie

Geüpload op
15 mei 2025
Aantal pagina's
21
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

Mis3370 Practice Exam 2 Final
Questions And 100% Well Answered
Solutions.
With the DataInputStream class:



a) the read method can only read one character at a time.



b) the read method can read only one record at a time.



c) the read method can read more than one record at a time.



d) the read method can read only one field at a time. - Answer D



Which of the following is true?



a) You open a file by creating the appropriate object.



b) You close a file by deleting the appropriate object.



c) Two of these answers are correct.



d) The DataOutputStream class is used to write to a printer.



e) The BufferedInputStream class is used to read characters from a file. - Answer A



An object of the File class is required



a) in order to read data from or write data to files.



b) in order to get information about files.

,d) in order to write data to but NOT read data from files.



e) two of these answers are correct. - Answer B



With the following code:

filePosition = employeeID%100;

employeeFile.seek(filePosition * RECORDSIZE);



a) The maximum random access record size is 100 characters.



b) The maximum number of random access records depends on the values of filePosition and
RECORDSIZE.



c) The maximum number of random access records depends on the value of RECORDSIZE.



d) The maximum number of random access records is 100.



e) The maximum number of random access records cannot be determined with this code. -
Answer D



How many records will be written to the newMasterFile?



a) Cannot calculate this based on the code.



b) The same as that in the oldMasterFile.



c) An amount equal to that in the oldMasterFile plus the transaction file.



d) The same as that in the transactionFile. - Answer B



How many fields are there in each transactionFile record?

, c) There are one to three fields, depending on the record.



d) There are zero to two fields. - Answer B



What would happen if you replaced



payRate = oldMasterFile.readFloat();

ytdGrossPay = oldMasterFile.readFloat();

with

ytdGrossPay = oldMasterFile.readFloat();

payRate = oldMasterFile.readFloat();



a) Everything would work OK.



b) There would be a compile error.



c) The program would run but calculations would be wrong.



d) The program would stop with an error when

ytdGrossPay = oldMasterFile.readFloat(); was executed - Answer C



If you opened the oldMasterFile in TextPad, which fields would you be able to understand?



a) payRate and ytdGrossPay only



b) you would not be able to understand any fields.



c) oldMastKey and address only.



d) All fields - Answer C
€14,42
Krijg toegang tot het volledige document:

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


Ook beschikbaar in voordeelbundel

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.
TestSolver9 Webster University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
751
Lid sinds
2 jaar
Aantal volgers
124
Documenten
24586
Laatst verkocht
11 uur geleden
TESTSOLVER9 STORE

TOPNOTCH IN LEARNING MATERIALS,(EXAMS,STUDYGUIDES NOTES ,REVIEWS,FLASHCARDS ,ALL SOLVED AND PACKAGED.OUR STORE MAKE YOUR EDUCATION JOURNEY EFFICIENT AND EASY.WE ARE HERE FOR YOU FEEL FREE TO REACH US OUT .

3,6

131 beoordelingen

5
59
4
19
3
22
2
9
1
22

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