Chapter 6 Windows That Provides Graphical User Interface For

Document Type
Test Prep
Book Title
Guide to Parallel Operating Systems with Windows 7 and Linux (Networking) 2nd Edition
Authors
Ron Carswell, Shen Jiang, Terrill Freese
Chapter 6: Directory Commands
TRUE/FALSE
1. In the Windows 7 CLI, if you omit the path in the TREE command, the command displays an error
message.
2. As a Fedora 13 superuser, you can arrange information anywhere in the directory structure.
3. Directories cannot be removed using the Windows 7 CLI.
4. The RENAME and REN commands do not allow you to specify a new drive or path for your destination
file.
5. Windows 7 requires quotation marks to enclose filenames that contain spaces.
MULTIPLE CHOICE
1. In Windows 7, you can open the command prompt console by clicking Start, pointing to All Programs,
clicking Accessories, and clicking ____.
a.
Command Prompt
c.
Console
b.
Cmd
d.
Command
2. In Windows 7, to view a graphical representation of the directories on a disk, you use the ____
command.
a.
DIRUSE
c.
DSQUERY
b.
TREE
d.
DELTREE
3. To include filenames in the structure shown by the Windows 7 TREE command, you can add the ____
switch.
a.
/A
c.
/F
b.
/D
d.
/T
4. In Windows 7, when you are entering commands, you can use two wildcard characters to identify
groups of files: the ____ and the asterisk (*, or star).
a.
exclamation mark (!)
c.
dollar sign ($)
b.
question mark (?)
d.
ampersand (&)
5. The Navigation pane in Windows Explorer, which can display the directory structure of one or more
drives, is the ____.
a.
The top pane.
c.
The right pane.
b.
The bottom pane
d.
The left pane.
6. ____ space is any blank area of a window.
a.
Input
c.
Open
b.
White
d.
Restricted
7. To page through a list of Fedora 13 directories and files on a disk (or any list that is too long for a one-
screen display), use the ____ command.
a.
chroot
c.
dirname
b.
dirs
d.
more
8. In Fedora 13, to control the order in which items appear in a list, you pipe the output of the ls
command to a ____ command.
a.
sort
c.
select
b.
pwd
d.
find
9. In Fedora Core 4, the command ls ____ would match the filename host1234.
a.
host!!!!
c.
host????
b.
!!!!
d.
$$$$
10. Which command specifies that you want to change to the parent directory?
a.
cd /d
c.
CD
b.
cd /p
d.
CD ..
11. A(n) ____ path does not begin with a backward slash, and its starting address is the current directory.
a.
absolute
c.
short
b.
relative
d.
long
12. In the Windows 7 CLI, you can create a subdirectory using the ____ command.
a.
TREE
c.
CD
b.
MD
d.
DIR
13. In the Fedora 13 CLI, you create a directory using the ____ command.
a.
mkdir
c.
MD
b.
CHDIR
d.
cd
14. In the Windows 7 CLI, use the ____ switch with the RD command to remove all directories and files in
the specified directory and the directory itself.
a.
/Q
c.
/S
b.
/R
d.
/T
15. In Windows 7, you can use the ____ command to copy one or more files to an alternative location.
a.
DIR
c.
CD
b.
TREE
d.
COPY
16. When the Windows 7 XCOPY command is used with the ____ switch, the operating system does not
display filenames while copying.
a.
/E
c.
/S
b.
/Q
d.
/V
17. To copy files or directories in the Fedora 13 directory tree, use the ____ command.
a.
cp
c.
XCOPY
b.
COPY
d.
MOVE
18. To remove files and directories in the Fedora 13 directory tree, use the ____ command.
a.
mv
c.
DEL
b.
rm
d.
ERASE
19. When using the FORMAT command in Windows 7 to format a disk, you can specify a volume label of
up to ____ characters by adding the /V the switch.
a.
3
c.
11
b.
5
d.
16
20. Before using a disk in Fedora 13, you must ____ and format it.
a.
mount
c.
expand
b.
partition
d.
unmount
21. In Fedora 13, you can copy files to a formatted disk or a USB drive with the ____ command.
a.
ren
c.
cp
b.
floppy
d.
cd
COMPLETION
1. From the ____________________, you can issue commands to view the directory structure and
execute other tasks.
2. Every operating system has a general logic, or ____________________, for entering commands.
3. To navigate to a(n) ____________________ path, you must provide the drive and the full path name,
beginning with a backward slash ( \ ).
4. In the Windows 7 CLI, use the ____________________ command to move the contents of a file to a
new location and to rename files and directories.
5. In the Windows 7 GUI, you use Windows ____________________ to work with files.
MATCHING
Match each item with a statement below.
a.
ls command
f.
long filename
b.
FORMAT command
g.
mv command
c.
floppy command
h.
REN command
d.
Windows Explorer
i.
cd command
e.
Recycle Bin
1. A name that can contain lowercase, uppercase, spaces, and more than 200 characters.
2. The part of Windows 7 that provides a graphical user interface for accessing file systems.
3. Used in Fedora 13 to view a list of directories and files on a disk.
4. Used in Fedora 13 to change the location of the working (current) directory.
5. Area where Windows 7 places files deleted from your hard drive.
6. Used in the Windows 7 CLI to rename a file.
7. Used in Fedora 13 to move the contents of a file or directory to a new location.
8. Used in the Windows 7 CLI to format a disk.
9. Used in Fedora 13 to perform a low-level format of a disk.
SHORT ANSWER
1. Describe how the command-line interface is used in Windows 7.
2. Assuming you are a regular user, where are you positioned when you first log on to Fedora 13 and
what permissions do you have?
3. What happens to the working directory when you execute a CD command in Windows 7?
4. Provide an explanation for MD (make directory) command syntax:
MD [drive:]path
5. How do you remove a directory using the Windows 7 GUI?
6. What are four tasks you can perform to keep your files up to date?
7. Under what circumstances would you use the XCOPY command in the Windows 7 CLI?
8. Compare the mv and cp commands used in the Fedora 13 CLI.
9. How do you prepare a removable drive in the Windows 7 CLI?
10. How do you format a removable drive in the Windows 7 GUI?

Trusted by Thousands of
Students

Here are what students say about us.

Copyright ©2022 All rights reserved. | CoursePaper is not sponsored or endorsed by any college or university.