Command Line Review PCTS 2 Kamiakin H.S.
Review Questions • The command line interface tells you it’s ready to receive commands by displaying a specific set of characters called a... • Menu • Dialog • Prompt • CMD
Answer 1 C. Prompt
Review Questions • Which of the following is not an acceptable DOS filename? • JACKIE.DOC • JAMESDEAN.BMP • JOE • JASMINE.EX
Answer 2 B. JAMESDEAN.BMP • Too many characters in the filename (8.3)
Review Questions • The ASCII standard defines how many eight-bit characters? • 64 • 256 • 512 • 64,000
Answer 3 B. 256
Review Questions • What are the two parts of the name of a DOS file? • Name, program • Filename, doc • Name, type • Filename, extension
Answer 4 D. Filename, extension
Review Questions • Which of the following is the correct path for a file name YODA.TXT on the c: drive in a directory called JEDI that’s in a directory called REBELS that is in the root directory? • C:\ROOT\JEDI\YODA.TXT • C:\JEDI\REBELS\YODA.TXT • C:\REBELS\JEDI\YODA.TXT • C:\ROOT\REBELS\JEDI\YODA.TXT
Answer 5 C. C:\REBELS\JEDI\YODA.TXT
Review Questions • Extra text typed after a command to modify its operation is called a(n)… • Switch • Attribute • Extension • Virgule
Answer 6 A. Switch Virgule?!? Vir´guleNoun1.virgule - a punctuation mark (/) used to separate related items of information
Review Questions • Which command orders DOS to focus on a different directory? • DIR • DIR/CD • DIR/N • CHDIR
Answer 7 D. CHDIR (CD)
Review Questions • Which of the following is not a valid file attribute? • Protected • Hidden • System • Archive
Answer 8 A. Protected
Review Questions • Which of the following shows a typical DOS prompt? • c:\\ • C:/> • C:\> • C://
Answer 9 C. C:\>
Review Questions • Which command(s) can DOS use to remove files from a drive? (Select all that apply) • REMOVE • DEL • RD • ERASE
Answer 10 B. and D. DEL and ERASE
Review Questions 11. What command created this?
Answer 11 DIR
Review Questions 12. What DOS command created this?
Answer 12 DIR/W
Review Questions 13. What do you type after a command to get more information related to that command? a. /! b. /? c. ? d. *.*
Answer 13 B. /?
Review Questions 14. Explain each part the following command (4 parts) DIR /S/P *READ*.* result in?
Answer 14 • DIR gives a list of files in the directory of focus • /S directs DOS to search in all subdirectories of the directory of focus • /P directs DOS to pause after each full screen • *READ*.* directs DOS to list all files with “READ” in the filename