Chapter 7 Secret You Would Type A Dir Secret

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 7: Files and File Attributes
TRUE/FALSE
1. A Fedora 13 filename requires an extension when you use a command to list, view, or execute the file.
2. Every file in DOS has four attributes.
3. The compression and encryption attributes for disk files are mutually exclusive.
4. The FINDSTR command offers more control over the search process than the FIND command.
5. The Fedora 13 find command returns a status of less than zero if an error occurs.
MULTIPLE CHOICE
1. When you use a virtual machine, you work with discrete sets of information called ____.
a.
groups
c.
containers
b.
collections
d.
files
2. A long file extension has more than ____ characters.
a.
three
c.
five
b.
four
d.
ten
3. Windows 7 uses file extensions to identify file ____.
a.
relationships
c.
sources
b.
associations
d.
attributes
4. In Windows 7, only one file extension is available for ____ files.
a.
text
c.
zip
b.
audio
d.
graphic
5. Unlike Windows 7, when you save a file in Fedora 13, the application stores file and directory
attributes in a(n) ____.
a.
matrix
c.
table
b.
vector
d.
inode
6. The Fedora 13 ____ command allows you to view file contents.
a.
file
c.
ls
b.
more
d.
cd
7. By default, the DIR command does not list files when the ____ attribute is set to on.
a.
read
c.
system
b.
archive
d.
hidden
8. To hide a directory named Secret, you would type: ____.
a.
DIR +H Secret
c.
ATTRIB +H Secret
b.
DIR -H Secret
d.
ATTRIB -H Secret
9. Which XCOPY command switch copies only files with the archive attribute set; and does not change
the attribute?
a.
/A
c.
/K
b.
/H
d.
/R
10. When you use the /M switch with the XCOPY command, the system will perform a(n) ____ backup.
a.
differential
c.
full
b.
incremental
d.
reverse
11. The administrator account is called a recovery agent because it has a global key that can ____ any file.
a.
encrypt
c.
lock
b.
hide
d.
decrypt
12. In Fedora 13, you cannot modify a directory or file that has the ____ attribute.
a.
a
c.
i
b.
d
d.
s
13. You can search for files using the DIR, FIND, and ____ commands in the Windows 7 CLI.
a.
FINDSTR
c.
DIRUSE
b.
locate
d.
CD
14. The DOS FIND command is case sensitive unless used with the ____ switch.
a.
/C
c.
/N
b.
/I
d.
/V
15. Use the ____ sign with the DOS FIND command to redirect the output of a program.
a.
>
c.
+
b.
<
d.
*
16. The FINDSTR command can find the exact text you are looking for in any ____ file or files.
a.
binary
c.
encrypted
b.
compressed
d.
ASCII
17. To find files containing words that start with the characters Work, use the following command: ____.
a.
FINDSTR /R "work."
c.
FINDSTR /R "\<Work" *.*
b.
FIND /R "work."
d.
FIND /R "Work.*" *.*
18. When using dates and date ranges with Windows Search, you can use ____ dates such as today,
tomorrow, or yesterday in a search.
a.
long
c.
absolute
b.
short
d.
relative
19. When using Windows search, if you know the approximate size of a file, you can include the file’s
size in your search by using the keyword ____.
a.
size:
c.
srchsize:
b.
size
d.
srchsize
20. The ____ operator is assumed when an operator is omitted in a search expression used with the Fedora
13 find command.
a.
!
c.
-or
b.
-and
d.
-not
21. Which Fedora 13 find command option indicates that the file’s status was last changed n minutes
ago?
a.
-ctimen
c.
-cminn
b.
-atimen
d.
-aminn
COMPLETION
1. When you save a file, you or a Windows 7 application appends a(n) ____________________ to the
end of the filename.
2. File ____________________ are restrictive labels attached to a file that describe and regulate its use.
3. ____________________ prohibits unauthorized users from viewing the contents of files.
4. Regular ____________________ are a notation for specifying patterns of text as opposed to exact
strings of characters.
5. The Fedora 13 ____________________ command searches the directory tree by evaluating a search
expression from left to right, according to the rules of precedence, and then lists the files that match
the test expression.
MATCHING
Match each item with a statement below.
a.
ATTRIB command
f.
cat command
b.
Encrypting File System (EFS)
g.
the < sign
c.
filename
h.
recovery agent
d.
short extensions
i.
XCOPY command
e.
lsattr command
1. Created when saving a document for subsequent identification and retrieval.
2. Adhere to the traditional limit of three characters.
3. Used to join two or more files and concatenate them into one file.
4. Used to view DOS file attributes and determine how to access a particular file.
5. Useful when you want to copy filenames with specified file attributes.
6. Provides encryption in a Windows 7 system.
7. Refers to an administrator account in Windows 7.
8. Fedora 13 utility used to list file attributes.
9. Redirects input to a command.
SHORT ANSWER
1. Identify three associations specified in Windows 7.
2. Describe the treatment of file extensions in Fedora 13 and Windows 7.
3. Describe the DOS archive file attribute.
4. Describe the Windows 7 index file attribute.
5. What are the consequences of compressing files and folders in Windows 7?
6. Identify and describe the two wildcard characters used with the DOS DIR command.
7. How do DOS redirection operators affect output and input?
8. Define the roles played by literal characters and metacharacters in regular expressions.
9. How is the Windows Search feature used in Windows 7?
10. Identify and describe the three elements of the search expression used in the Fedora 13 find
command.

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.