100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

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

Puntuación
-
Vendido
-
Páginas
21
Grado
A+
Subido en
15-05-2025
Escrito 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.

Mostrar más Leer menos
Institución
NSG 3370
Grado
NSG 3370










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
NSG 3370
Grado
NSG 3370

Información del documento

Subido en
15 de mayo de 2025
Número de páginas
21
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

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
$16.49
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
TestSolver9 Webster University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
751
Miembro desde
2 año
Número de seguidores
124
Documentos
24586
Última venta
4 horas hace
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

130 reseñas

5
58
4
19
3
22
2
9
1
22

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes