You are in /home/lee/projects. Which file does the relative path ../notes.txt name?
Filesystem Paths and Navigation Online Quiz Questions
Use this free practice quiz with 20 questions to review Filesystem Paths and Navigation, test your knowledge, and prepare for your next test or exam.
Select all statements that correctly describe paths and the special components . and ...
- A
An absolute path starts at the filesystem root.
- B
A relative path starts from the current working directory.
- C
In a path,
..refers to the current directory's parent. - D
In a path,
.refers to the current directory's parent. - E
A relative path always starts at the filesystem root.
True or false: On a Unix-like system, /home/lee/notes.txt is an absolute path because it starts at /.
- A
True
- B
False
What does the path component .. mean? Enter the directory relationship it represents.
In a path, . means and .. means .
Explain the difference between an absolute path and a relative path. Give an example of each and state what each path starts from.
If the current working directory is /home/lee, what does the relative path notes.txt refer to?
- A
/notes.txt - B
/home/notes.txt - C
/home/lee/notes.txt - D
/home/lee/notes.txt/notes.txt
Select all statements that correctly interpret paths or describe when paths with spaces should be quoted.
- A
/home/lee/notes.txtis an absolute path on a Unix-like system. - B
From
/home/lee, the relative pathnotes.txtrefers to/home/lee/notes.txt. - C
Every path containing spaces must always be quoted, regardless of how the command interpreter treats spaces.
- D
When spaces would otherwise be treated as separators, a path such as
Project Filesshould be quoted in the command.
True or false: The path component .. means the current directory.
- A
True
- B
False
If the current working directory is /home/lee, what absolute path does the relative path notes.txt refer to?
In a Unix-like path, means the parent directory.
What makes a path absolute?
- A
It starts from the current working directory.
- B
It starts at the filesystem's root.
- C
It names only a directory, not a file.
- D
It must contain a space.
A relative path starts from the current working directory.
- A
True
- B
False
If the current working directory is /home/lee, what complete path does the relative path notes.txt refer to?
Which is an example of an absolute path on Windows?
- A
notes.txt - B
Project Files - C
C:\Users\Lee\notes.txt - D
..\notes.txt
Windows paths commonly use / as the filesystem root in the same way Unix-like paths do.
- A
True
- B
False
In a path, what directory does . refer to?
When should you quote a path that contains spaces?
- A
Quote the path when the command interpreter would otherwise treat its spaces as separators.
- B
Replace every space with a backslash.
- C
Remove the spaces from the directory name.
- D
Use
..in place of the directory name.
Which Unix-like command prints the present working directory?
If the current working directory is /home/lee, what does the relative path drafts/plan.txt refer to?
- A
/drafts/plan.txt - B
/home/drafts/plan.txt - C
drafts/plan.txt - D
/home/lee/drafts/plan.txt
Related study packs and tools
3 Airway, Respiration, and Ventilation
Review EMT airway assessment, breathing mechanics, airway management, ventilation support, and priorities for common respiratory emergencies.
3 Airway, Respiration, and Ventilation
Learn how to assess airway and breathing, distinguish ventilation from oxygenation and respiration, provide appropriate support, and recognize common respiratory emergencies.
4 Cardiology and Resuscitation
Review cardiac assessment and emergencies, adult and pediatric CPR, AED use, and special resuscitation priorities for EMTs.
4 Cardiology and Resuscitation
A medium-difficulty quiz on EMT cardiovascular assessment, cardiac emergencies, CPR, AED use, and special resuscitation considerations.
4 Cardiology and Resuscitation
Learn how EMTs assess cardiac emergencies, recognize poor perfusion, and provide prompt care for cardiac arrest and other resuscitation situations.
6 Medical Emergencies
Review EMT priorities and key recognition and care principles for neurologic, metabolic, respiratory, toxicologic, behavioral, and environmental emergencies.
6 Medical Emergencies
A medium-difficulty quiz on recognizing and responding to medical emergencies within EMT scope and local protocols.
6 Medical Emergencies
Learn how EMTs approach medical emergencies, recognize time-sensitive conditions, provide care within their scope and local protocols, and arrange appropriate transport.
7 Obstetrics, Gynecology, and Pediatric Emergencies
A medium-difficulty quiz on practical assessment, treatment, and transport decisions in obstetric, gynecologic, neonatal, and pediatric emergencies.
8 EMS Operations
A medium-difficulty quiz on applying EMT operational principles to scene safety, communication, incident management, patient rights, and coordinated care.
9 Comprehensive EMT Practice Scenarios and Review
Review EMT exam domains and the priorities, interventions, and responsibilities that guide safe care in common emergency scenarios.
9 Comprehensive EMT Practice Scenarios and Review
Practice applying EMT scene safety, assessment, intervention, transport, and operational principles to realistic situations.