Search Header Logo

Java 2 Unit 13

Authored by Lynn Hadley

Computers

10th - 12th Grade

Used 4+ times

Java 2 Unit 13
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Some text files are ____ files that contain facts and figures, such as a payroll file that contains employee numbers, names, and salaries.

application

volatile

data

program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Placing a file in the ____ directory of your storage device is equivalent to tossing a loose document into a drawer.

root

path

back

loose

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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.

Directory

Property

Path

File

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

FileSystems is a class that contains ____ methods, which assist in object creation.

factory

file

abstract

system

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

getPath()

createPath()

setPath()

getDefault()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ____ is a group of characters that has some meaning.

record

file

byte

field

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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.

application

sequential access

stream

field

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?