February 28, 2000
1. Create a batch file that will perform the following commands. Write the contents of the batch file in the space provided. You may use your computers for assistance with commands and to test the file, but it is not necessary to have me check the program on the PC. (20 points, 2 for each command. Extra Credit on this question is 5 points, 1 for each command.)
**Remember that if you do use the computer to test the file, you will need to create a text file named file1.txt in the root directory.
Suppress all characters, including this line, as the commands are executed
Change to the root directory
Change the prompt, so that it displays the path, your name, and the greater-than (>) sign
Create a directory named Subdir1 in the root directory
Change to the Subdir1 directory
Create a directory named Subdir2 in the Subdir1 directory
Change to the Subdir2 directory
Move a text file named file1.txt from the root directory to Subdir2
Display the contents (list the directory) of Subdir2
Display the following line: This is the end of my batch file
For an extra 5 points, include these functions at the end of the file:
Display the amount of installed and available memory
Display the current version of DOS
Set the last available drive as drive letter G
Specify the Temp file to be located at C:\Windows\Temp
Instruct DOS to search the following paths when executing a command;
C:\; C:\DOS; C:\Windows
2. A) What must be done to prepare a disk for read/write access? B) What are the four steps DOS follows when performing this function? (5 points)
3. A) What is the difference between a RISC and a CISC processor? B) Give one example of each. (4 points)
4. Describe the functions of the following:
(16 points, 2 points each)
Hard Drive / Floppy Drive Controller:
5. How do the following two filenames appear in the following operating systems?
These are my notes.txt
These are not my notes.txt
(6 points, 2 for each)
MacOS (Extra Credit, 1 point):
Fill in the blanks (1 point each):
6. The concepts of a single general purpose processor, use of stored programs / data, sequential processing of instructions, and alternating instruction and execution cycles, were defined by a mathematician named ___________________________.
7. Windows Millennium is based on the _________________________.
8. A computer component can recognize two things: The presence and absence of _______________________. These conditions are represented by the binary digits, 1 and 0, respectively. These bits are usually combined in groups of eight (bytes) to form what is known as a ____________. The number of these that a CPU can process (internally) at one time is known as the CPU’s ______________________. The number of these that the system bus can transfer into the CPU at one time is known as the _________________.
Note: These are notes from my lectures as an IT instructor. Notes are from 1999-2001, so there may be little relevance to contemporary technologies. Still, it seemed like a shame to delete all of this work, so here they are. I hope someone finds them helpful.