Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

PRINCIPLES OF COMPUTER SCIENCE II- TEST BANK QUESTIONS WITH DETAILED VERIFIED ANSWERS;

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
09-03-2025
Written in
2024/2025

This exam gives a comprehensive revision summary for scholar to achieve great heights in COMPUTER SCIENCE courses

Institution
COMPUTER SCIENCE
Course
COMPUTER SCIENCE

Content preview

PRINCIPLES OF COMPUTER SCIENCE II- TEST BANK
QUESTIONS WITH DETAILED VERIFIED ANSWERS;
ALREADY GRADED A; 2025




Some text files are ____ files that contain facts and figures, such as a payroll file that contains
employee numbers, names, and salaries.
a. Application
b. Volatile
c. data
d. program - ANS-data

Placing a file in the ____ directory of your storage device is equivalent to tossing a loose
document into a drawer.
a. root
b. path
c. back
d. loose - ANS-root

You can use Java's ____ class to create objects that contain information about files or
directories, such as their locations, sizes, creation dates, and whether they even exist.
a. Directory
b. Property
c. Path
d. File - ANS-path

FileSystems is a class that contains ____ methods, which assist in object creation.
a. factory
b. file
c. abstract
d. system - ANS-factory

After you create a FileSystem object, you can define a Path using the ____ method with it.

a. getPath()
b. createPath()

, c. setPath()
d. getDefault() - ANS-getPath()

A ____ is a group of characters that has some meaning.
a. record
b. file
c. byte
d. field - ANS-field

A data file can be used as a(n) ____ file when each record is accessed one after another in the order in
which it was stored.
a. Application
b. sequential
c. accessstream
d. field - ANS-sequential

InputStream and OutputStream are subclasses of the ____ class.
a. IO
b. Object
c. Stream
d. IOStream - ANS-Object

__________ is an abstract class for reading character streams.
a. System.out
b. Reader
c. System.err
d. OutStream - ANS-Reader

Java lets you assign a file to a(n) ____ object so that screen output and file output work in
exactly the same manner.
a. Stream
b. Input
c. Output
d. File - ANS-Stream

You can create a writeable file by using the Files class ____ method.
a. getOutputStream()
b. newOutputStream()
c. newFileOutputStream()
d. fileOutputStream() - ANS-newOutputStream()

When you use the BufferedReader class, you must import the ____ package into your program.
a. java.nio.file
b. java.io
c. java.nio
d. java.io.input - ANS-java.io

The BufferedWriter class contains a ____ method that uses the current platform's line

Written for

Institution
COMPUTER SCIENCE
Course
COMPUTER SCIENCE

Document information

Uploaded on
March 9, 2025
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$16.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
COMPUTER SCIENCE PACKAGE DEAL EXAMS QUESTIONS WITH 100% COMPLETE SOLUTIONS; GRADED A
-
49 2025
$ 725.81 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Delmahubcham Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
48
Member since
1 year
Number of followers
0
Documents
3796
Last sold
1 day ago
NURSING : testbanks, study guides, study questions, sammary and many others

Welcome to Delmahubcham – Your Nursing Exam Hub! At Delmahubcham, we specialize in high-quality nursing exam materials, study guides, and past papers designed to help you excel with confidence. Whether you’re preparing for clinical assessments, pharmacology, or fundamental nursing exams, you’ll find everything you need to succeed. ✨ Special Offer: Buy any two exams and get one exam FREE!

4.4

12 reviews

5
8
4
1
3
3
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions