Computer Science Illuminated
Computer Science Illuminated
7th Edition
ISBN: 9781284155617
Author: Nell Dale, John Lewis
Publisher: Jones & Bartlett Learning
Question
Book Icon
Chapter 11, Problem 43E

a.

Program Plan Intro

Directories:

  • A file system or a directory system is observed as a directory tree.
    • A tree structure which shows the directories and files in one more directory is called directory tree.
  • A directory system is used to manage the list of files in a computer.
  • The directory tree contains directories, files, and subdirectories. They are as follows:
    • The topmost level of the directory system is called root directory.
    • The directory which contains another directory is called the parent directory.
    • The directory which is contained within another directory is called sub directory.
    • The directory that is currently active (working) of all other directories is referred to as working directory.
  • The directory contains the information such as file name, location of the file, extension of the file, the size of the file, date created, and last modified date.
  • The diagrammatic representation shows the directory tree structure on windows environment as follows:

Computer Science Illuminated, Chapter 11, Problem 43E

Explanation of Solution

b.

Represent the name of the directory which is within another directory:

  • From the above directory tree structure, it clearly specifies that under the root directory “C:/”, there are two directories:
    • Windows
    • Program Files
  • The above two directories “Windows” and “Program Files” are called parent directories because they each contain another directory.
  • Under the parent directory “Windows”, the directories “Test” and “Downloads” are located...

Explanation of Solution

c.

Represent the name of the directory that is under any other directory:

  • From the above directory tree structure, it clearly specifies
    • “C:\” is the directory which acts as root for all the files, directories, and subdirectories...

Explanation of Solution

d.

Represent the name that shows the nested directory organization:

  • From the above diagram, it clearly specifies that under the root directory “C:/”, there are two directories:
    • Windows
    • Program Files
  • The above two directories “Windows” and “Program Files” are called parent directories because it contains another directory.
  • Under the parent directory “Windows”, the directories “Test” and “Downloads” are located. They are called subdirectories. Because it is located within the parent directory.
    • Under the subdirectory “Downloads”, the files are located...

Explanation of Solution

e.

Similarities of binary tree and directory tree structure:

  • The representation of directory tree and binary tree follows the hierarchical model...

Blurred answer
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education