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

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

Note
-
Vendu
-
Pages
21
Qualité
A+
Publié le
15-05-2025
Écrit en
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.

Montrer plus Lire moins
Établissement
NSG 3370
Cours
NSG 3370










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

École, étude et sujet

Établissement
NSG 3370
Cours
NSG 3370

Infos sur le Document

Publié le
15 mai 2025
Nombre de pages
21
Écrit en
2024/2025
Type
Examen
Contenu
Questions et réponses

Sujets

Aperçu du contenu

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,43 €
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


Document également disponible en groupe

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.
TestSolver9 Webster University
S'abonner Vous devez être connecté afin de pouvoir suivre les étudiants ou les formations
Vendu
751
Membre depuis
2 année
Nombre de followers
124
Documents
24586
Dernière vente
9 heures de cela
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 revues

5
59
4
19
3
22
2
9
1
22

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