Deck 18: Working With the Command-Line Interface
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/115
Play
Full screen (f)
Deck 18: Working With the Command-Line Interface
1
Which of the following was the first universal file format?
A) ASCII
B) DOS
C) EXE
D) JPEG
A) ASCII
B) DOS
C) EXE
D) JPEG
A
2
What separates the filename and extension?
A) Colon
B) Comma
C) Hyphen
D) Period
A) Colon
B) Comma
C) Hyphen
D) Period
D
3
What command can be used to copy entire directories,including subdirectories?
A) xcompact
B) xcomp
C) xcmd
D) xcopy
A) xcompact
B) xcomp
C) xcmd
D) xcopy
D
4
Which command deletes a directory?
A) deldir
B) delfile
C) delroot
D) rd
A) deldir
B) delfile
C) delroot
D) rd
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
5
What is another name for a folder?
A) Directory
B) Program
C) System
D) Tree
A) Directory
B) Program
C) System
D) Tree
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
6
Which key in the command-line interface brings back the previous command,one letter at a time?
A) F1
B) F3
C) F10
D) F12
A) F1
B) F3
C) F10
D) F12
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
7
Which command always navigates the command-line interface back to the root directory?
A) cd..
B) cd \
C) cd/
D) cd \ ..
A) cd..
B) cd \
C) cd/
D) cd \ ..
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
8
Which command shows the contents of the current directory?
A) dir
B) directory
C) list
D) show
A) dir
B) directory
C) list
D) show
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
9
Which command is used to create a new directory?
A) newdir
B) md \
C) md
D) mfolder
A) newdir
B) md \
C) md
D) mfolder
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
10
In Windows XP and Vista,the ____ command displays or alters the encryption of directories on NTFS partitions.
A) cipher
B) color
C) compact
D) convert
A) cipher
B) color
C) compact
D) convert
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
11
Current versions of Windows allow filenames of up to ____ characters.
A) 8
B) 155
C) 255
D) 355
A) 8
B) 155
C) 255
D) 355
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
12
In older Windows versions,the filename was restricted to ____ characters.
A) two
B) six
C) eight
D) ten
A) two
B) six
C) eight
D) ten
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
13
The text-based,DOS-like user interface is also known as the ____ interface.
A) command-line
B) graphical user
C) mouse
D) windows
A) command-line
B) graphical user
C) mouse
D) windows
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
14
To add an attribute to a file,the attribute letter is preceded by a(n)____ sign.
A) asterisk (*)
B) minus (-)
C) percentage (%)
D) plus (+)
A) asterisk (*)
B) minus (-)
C) percentage (%)
D) plus (+)
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
15
Which attribute specifies that a file cannot be modified or deleted?
A) Hidden
B) Read-only
C) Read-write
D) System
A) Hidden
B) Read-only
C) Read-write
D) System
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
16
The ASCII standard defines ____ 8-bit characters.
A) 8
B) 255
C) 256
D) 257
A) 8
B) 255
C) 256
D) 257
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
17
The location of a file is called its ____.
A) file
B) folder
C) path
D) root
A) file
B) folder
C) path
D) root
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
18
Which attribute is used by backup software to identify files that have been changed since their last backup?
A) Archive
B) Hidden
C) Read-only
D) System
A) Archive
B) Hidden
C) Read-only
D) System
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
19
Windows uses a (n)____ to organize the contents in drives.
A) folder system
B) hierarchical directory tree
C) hierarchical file tree
D) linear directory tree
A) folder system
B) hierarchical directory tree
C) hierarchical file tree
D) linear directory tree
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
20
Which wildcard character replaces a single character in the command-line interface?
A) *
B) %
C) +
D) ?
A) *
B) %
C) +
D) ?
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
21
The command-line interface can be accessed by using the ____ dialog box in Windows.
A) DOS
B) Echo
C) Settings
D) Run
A) DOS
B) Echo
C) Settings
D) Run
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
22
Which command sets a file to "read only"?
A) attrib /R
B) attrib /r
C) attrib -h
D) attrib +r
A) attrib /R
B) attrib /r
C) attrib -h
D) attrib +r
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
23
What command in Windows XP/Vista displays or alters the compression of files on NTFS partitions?
A) compact
B) cipher
C) doskey
D) xpntfs
A) compact
B) cipher
C) doskey
D) xpntfs
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
24
Which of the following gives you all possible switches for a command?
A) /?
B) /H
C) /S
D) /P
A) /?
B) /H
C) /S
D) /P
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following commands will power down a local or remote computer?
A) restart
B) poweroff
C) shutdown
D) reboot
A) restart
B) poweroff
C) shutdown
D) reboot
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
26
The command-line interface tells a user it's ready to receive commands by displaying a specific set of characters called a(n)____.
A) command
B) key
C) prompt
D) signal
A) command
B) key
C) prompt
D) signal
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
27
A folder inside another folder is called a(n)____.
A) root folder
B) root file
C) subfolder
D) sub-system
A) root folder
B) root file
C) subfolder
D) sub-system
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
28
Which of the following is an example of an external command?
A) dir
B) attrib
C) md
D) rd
A) dir
B) attrib
C) md
D) rd
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
29
The standard copy/move commands can work on only one ____ at a time.
A) directory
B) file
C) program
D) prompt
A) directory
B) file
C) program
D) prompt
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
30
What is the code used to display characters?
A) ASCII
B) Basic
C) C#
D) Directory Services
A) ASCII
B) Basic
C) C#
D) Directory Services
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
31
A file not within a subfolder is said to be in the ____.
A) current directory
B) Disk folder
C) root directory
D) window
A) current directory
B) Disk folder
C) root directory
D) window
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
32
In the command-line syntax,a directory is referred to by which character(s)?
A) /
B) \
C) :
D) ..
A) /
B) \
C) :
D) ..
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
33
A command switch is expressed by using which character?
A) -
B) :
C) \
D) /
A) -
B) :
C) \
D) /
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
34
Which of the following is not a valid Microsoft Office file extension?
A) .docx
B) .pptx
C) .wpdx
D) .doc
A) .docx
B) .pptx
C) .wpdx
D) .doc
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following will allow you to go up a single directory level at a time?
A) cd SPACE
B) cd \
C) cd ..
D) cd ENTER
A) cd SPACE
B) cd \
C) cd ..
D) cd ENTER
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
36
All files have ____ attributes that determine the behavior of the file in special situations.
A) three
B) four
C) five
D) six
A) three
B) four
C) five
D) six
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
37
Which of the following is an unacceptable system filename under DOS 8.3 naming conventions?
A) FRED.EXE
B) SYSTEM.INI
C) AUTOEXEC.BAT
D) COMPTIAEXAM.TXT
A) FRED.EXE
B) SYSTEM.INI
C) AUTOEXEC.BAT
D) COMPTIAEXAM.TXT
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
38
The cipher command works on ____.
A) attributes
B) directories
C) disk drives
D) tables
A) attributes
B) directories
C) disk drives
D) tables
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
39
Which command will copy encrypted files?
A) copy
B) robocopy
C) xcopy
D) move
A) copy
B) robocopy
C) xcopy
D) move
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
40
Hard drives are assigned starting with the letter ____.
A) A:
B) B:
C) c:
D) D:
A) A:
B) B:
C) c:
D) D:
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
41
The first ____________________ ASCII values are commands.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
42
The ____________________ command will not delete a directory if it contains files or subdirectories.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
43
A command-line program that enables the user to inspect and change file attributes is ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
44
All files have four ____________________,which determine how the file will behave in special situations.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
45
The ____________________ command shows only filenames and arranges them in five columns across the screen.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
46
If you attempt to enter a command and receive the "Windows needs your permission to continue" dialog box,you should right-click a command-prompt shortcut and select ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
47
The command to find every file that starts with the letter C is ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
48
In Windows,the user should type ____________________ in the Run/Search dialog box and press the Enter key to access the command-line interface.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
49
Program filenames use the extension ____________________ or ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
50
An easy way to access the ____________________ is by opening the Run dialog box and typing cmd.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
51
The user can delete all the files in a directory by typing ____________________ at the Command Prompt.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
52
In the command-line interface,there are two ____________________ characters: the asterisk (*)and question mark (?).
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
53
Entering the command ____________________ at a Command Prompt will scan,detect,and repair hard drive volume- and sector-related issues.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
54
The top level directory is also known as the __________ directory.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
55
If the TEST directory in the c: drive had a subdirectory called SYSTEM,it would be shown as ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
56
Entering the command ____________________ at a Command Prompt will scan,detect,and restore important Windows system files,folders,and paths.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
57
Windows comes with a tool called ____________________ that enables a user to copy entire folders and subfolders.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
58
The current version of Windows can be discovered with the ____________________ command.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
59
The Windows System File Checker,or simply _____ .exe,scans,detects,and restores important Windows system files,folders,and paths.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
60
The command to rename files in the command-line interface is ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
61
If a file is hidden,it will not be displayed when the ____________________ command is executed.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
62
A file cannot be modified or deleted if the ____________________ attribute is set.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
63
The xcopy command with the ____________________ switch is used to copy all subdirectories except for empty ones.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
64
The ____________________ of a filename informs the computer of the type or function of the file.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
65
The prompt is pointed at the c: drive.To change the focus to the D: drive,you would type ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
66
The cd \ command always navigates back to the ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
67
The archive attribute is used by backup software to identify the files that have been ____________________ since their last backup.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
68
The cd command is also known as the __________ command.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
69
If you want to go up a single directory level,you can type cd followed immediately by __________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
70
____________________ is a 16-bit code that covers every character for the most common languages,plus a few symbols.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
71
The command-line interface tells a user it is ready to receive commands by displaying a specific set of characters called a(n)____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
72
The ____________________ command followed immediately by two periods is used to navigate up a single directory level.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
73
Extra text typed after a command to modify its operation,such as /w or /p after dir,is called a __________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
74
To make a directory,the command ____________________ or ____________________ is used.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
75
The ____________________ command is used to change a file's attributes.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
76
If a command has its own executable file,it is called a(n)__________ command.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
77
The dir,cd,and md commands are called __________ commands,because they are "wrapped" in a single executable file,cmd.exe.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
78
A tool similar to copy,but with extra capabilities that enable it to work with multiple directories,is ____________________.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
79
The __________ command will display the name of your computer.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck
80
__________ is a "newer" file copy command,previously offered only as an add-on tool,is now included in Windows Vista and 7.
Unlock Deck
Unlock for access to all 115 flashcards in this deck.
Unlock Deck
k this deck