CSC3300 - Lab Activity 1
CSC3300 - Lab Activity 1
1 2023/2024
LAB 1 – Individual
OBJECTIVE:
The main objective of this lab is to introduce the students to the Windows operating
system. Students will also be introduced to the Command Prompt.
DURATION:
1 week / 3 hours
RUBRIC:
QUESTIONS:
Part A (Knowing about your computer)
1. Answer the following questions about the computer that you are using in this lab.
1
CSC3300 Sem. 1 2023/2024
2. On the computer which you are working, perform and list down a hardware and
software inventory of at least three hardware devices and three application
programs on the computer. List the vendor and product.
Objectives:
• use DOS commands to view, navigate, create and delete directories
• use DOS commands to copy, rename, and delete files
2
CSC3300 Sem. 1 2023/2024
When you only specify a source or target without the parent directory name (e.g.
file.txt), the command will search the source/target in current directory. This is known
as relative path. But you may specify source/target located outside the current
directory by providing the absolute path (e.g. c:mydir\mysubdir\file.txt).
Absolute path will allow you to specify to any source/target when you run a command
from any location in the system/directory structure. There are also special sub
directories named ‘.’ and ‘..’ provided in all directories.
• Find out the content of your current directory (use DIR command)
Find out the content of the root/base directory e.g. c:\ (use DIR command)
• Type the following command -> dir . don’t ignore the dot !
What is displayed on the screen? So what is the purpose of the dot (‘.’)?
_________________________
• Type the following command -> dir .. don’t ignore the dots !
What is displayed on the screen? So what is the purpose of the dots (‘..’)?
_________________________
• What is the command to determine the existence of a file named ‘file1.txt’ in the
current directory?
__________________________________________________________
3
CSC3300 Sem. 1 2023/2024
• type: dir
Is the IT directory in the list? _______________________________
6. Delete a directory
To delete a directory in DOS, use the rd directory_name or rmdir directory_name
command.
4
CSC3300 Sem. 1 2023/2024
• type Y to confirm the removal of the it directory and all its subdirectories
Verify directory removal
• type: dir
Is the directory still exists? _________
Questions end. However students are encouraged to search and practice other commands
that are provided by the command prompt shell to have more exposure to the shell.