FILE, INPUT, AND OUTPUT

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/50

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:04 PM on 3/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

51 Terms

1
New cards
Computer File
"A collection of data stored on a permanent storage device such as a hard disk
2
New cards
Text File
"A file containing data encoded in ASCII or Unicode that can be read using a text editor."
3
New cards
Binary File
"A file containing data stored in binary format (0s and 1s) that is not readable in a text editor."
4
New cards
Root Directory
"The main directory of a storage device."
5
New cards
Folder (Directory)
"A container used to organize files within a storage device."
6
New cards
Hierarchy
"The structure formed by folders within folders."
7
New cards
Path
"The complete list of directories and drive information that specifies the location of a file."
8
New cards
Absolute Path
"A complete file path that provides the full location of a file starting from the root directory."
9
New cards
Relative Path
"A file path that depends on the current working directory for its location."
10
New cards
Path Delimiter (Windows)
"The backslash (\) used to separate directory names in Windows."
11
New cards
Path Delimiter (UNIX/Solaris)
"The forward slash (/) used to separate directory names in UNIX-based systems."
12
New cards
toAbsolutePath()
"A method that converts a relative path into an absolute path."
13
New cards
java.nio.file Package
"A package that provides classes for handling files and directories in Java."
14
New cards
Path Class
"A class that represents the location of a file or directory and stores information about it."
15
New cards
Files Class
"A class that performs operations on files and directories
16
New cards
FileSystem Class
"A class used to create objects that represent the file system of the host computer."
17
New cards
FileSystems Class
"A factory class that provides methods for creating FileSystem objects."
18
New cards
Paths Class
"A helper class that provides methods to create Path objects without explicitly creating a FileSystem object."
19
New cards
Factory Method
"A method that creates and returns objects."
20
New cards
toString()
"Returns the string representation of a Path."
21
New cards
getFileName()
"Returns the last element in a path
22
New cards
getNameCount()
"Returns the number of name elements in a Path."
23
New cards
getName(int index)
"Returns the path element at the specified index."
24
New cards
checkAccess()
"A method used to verify that a file exists and that the program has the required permissions."
25
New cards
Files.exists(Path)
"A method used to determine whether a file exists."
26
New cards
AccessMode.READ
"Checks if a file can be read."
27
New cards
AccessMode.WRITE
"Checks if a file can be written to."
28
New cards
AccessMode.EXECUTE
"Checks if a file can be executed."
29
New cards
readAttributes()
"A method in the Files class that retrieves information about a file."
30
New cards
BasicFileAttributes
"A class that stores file attribute information such as size and timestamps."
31
New cards
size()
"Returns the size of a file in bytes."
32
New cards
creationTime()
"Returns the time a file was created."
33
New cards
lastModifiedTime()
"Returns the time a file was last modified."
34
New cards
FileTime
"An object representing file time in the format yyyy-mm-ddThh:mm:ss."
35
New cards
InputStream
"An abstract class used for reading byte data."
36
New cards
FileInputStream
"A subclass of InputStream used to read data from disk files."
37
New cards
BufferedInputStream
"A subclass that buffers input data for efficient reading."
38
New cards
OutputStream
"An abstract class used for writing byte data."
39
New cards
FileOutputStream
"A subclass of OutputStream used to write data to disk files."
40
New cards
BufferedOutputStream
"A subclass that buffers output data for efficient writing."
41
New cards
PrintStream
"A subclass of FilterOutputStream used for output
42
New cards
Reader
"An abstract class used for reading character streams."
43
New cards
BufferedReader
"A class used to efficiently read text from a character-input stream."
44
New cards
BufferedWriter
"A class used to efficiently write text to a character-output stream."
45
New cards
close()
"Closes the output stream and releases system resources."
46
New cards
flush()
"Forces any buffered output bytes to be written."
47
New cards
write(byte[])
"Writes all bytes from a specified byte array to the output stream."
48
New cards
write(byte[]
int off
49
New cards
getBytes()
"A method that converts a String into a byte array."
50
New cards
System.out
"A PrintStream object used for displaying output to the standard output device."
51
New cards
IOException
"An exception thrown when input or output operations fail."

Explore top notes

note
Diseases: Cause and Control
Updated 1079d ago
0.0(0)
note
Group 16 elements
Updated 1339d ago
0.0(0)
note
APUSH Unit 2
Updated 684d ago
0.0(0)
note
Physics 3.6
Updated 561d ago
0.0(0)
note
Chapter 15- Electrolysis
Updated 1271d ago
0.0(0)
note
Diseases: Cause and Control
Updated 1079d ago
0.0(0)
note
Group 16 elements
Updated 1339d ago
0.0(0)
note
APUSH Unit 2
Updated 684d ago
0.0(0)
note
Physics 3.6
Updated 561d ago
0.0(0)
note
Chapter 15- Electrolysis
Updated 1271d ago
0.0(0)

Explore top flashcards

flashcards
deelsteppen
87
Updated 1101d ago
0.0(0)
flashcards
지혜쓰 몇살이시조
198
Updated 865d ago
0.0(0)
flashcards
Lesson 12 vocab
48
Updated 435d ago
0.0(0)
flashcards
Atmosphere and Pollutants
53
Updated 689d ago
0.0(0)
flashcards
Unit 3 - Grade 9
32
Updated 371d ago
0.0(0)
flashcards
IAC Science Study Guide
51
Updated 355d ago
0.0(0)
flashcards
AP Psych Unit 5
55
Updated 1203d ago
0.0(0)
flashcards
history study guide #1 !!!
28
Updated 355d ago
0.0(0)
flashcards
deelsteppen
87
Updated 1101d ago
0.0(0)
flashcards
지혜쓰 몇살이시조
198
Updated 865d ago
0.0(0)
flashcards
Lesson 12 vocab
48
Updated 435d ago
0.0(0)
flashcards
Atmosphere and Pollutants
53
Updated 689d ago
0.0(0)
flashcards
Unit 3 - Grade 9
32
Updated 371d ago
0.0(0)
flashcards
IAC Science Study Guide
51
Updated 355d ago
0.0(0)
flashcards
AP Psych Unit 5
55
Updated 1203d ago
0.0(0)
flashcards
history study guide #1 !!!
28
Updated 355d ago
0.0(0)