Question 11
EasyWhat is sequential access to a file?
- A.
Jumping directly to any block
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Operating Systems
What is sequential access to a file?
Jumping directly to any block
Accessing several files at once
Reading only the last byte
Reading or writing the data in order, from the beginning onwards
Sign up free to see the answer and a step-by-step explanation.
What is direct (random) access to a file?
Accessing files over the network
Reading or writing any block directly by its number
Reading files at random times
Reading only from the start
Sign up free to see the answer and a step-by-step explanation.
What is a path name?
The location of a file given by the sequence of directories leading to it
The name of the disk
A type of file system
The owner of a file
Sign up free to see the answer and a step-by-step explanation.
How does an absolute path differ from a relative path?
An absolute path starts from the root directory; a relative path starts from the current directory
A relative path includes the disk's serial number
An absolute path is always shorter
There is no difference
Sign up free to see the answer and a step-by-step explanation.
What is the root directory?
A directory that holds only programs
A deleted directory
The top-level directory from which all others branch
The directory of the administrator only
Sign up free to see the answer and a step-by-step explanation.
What is the main problem with a single-level directory?
It can hold only one file
It works only on SSDs
All files share one directory, so every file name must be unique across all users
It cannot be backed up
Sign up free to see the answer and a step-by-step explanation.
What is a two-level directory structure?
Every directory has exactly two files
Files are stored twice
Each user gets a separate directory under a master directory
Directories are stored on two disks
Sign up free to see the answer and a step-by-step explanation.
What is a tree-structured directory?
Directories can contain subdirectories, forming a hierarchy
Directories are arranged in a circle
Each file is its own directory
Files are stored in alphabetical order only
Sign up free to see the answer and a step-by-step explanation.
What does formatting a disk partition do?
Installs applications
Creates an empty file system structure on it
Speeds up the CPU
Makes the disk physically larger
Sign up free to see the answer and a step-by-step explanation.
What is a file descriptor in Unix-like systems?
A small integer that identifies an open file within a process
A description written by the user
The name of a file
The size of a file
Sign up free to see the answer and a step-by-step explanation.