Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

ELECTRICAL ENGINEERING DEPARTMENT

DEC50103: OPERATING SYSTEM

PRACTICAL WORK 1 :
VIRTUAL OPERATING SYSTEM & COMMAND LINE INTERFACE

PROGRAM: DTK

CLO2: Perform installation for workstation and domain server using MS Windows server or Open Source
server operating system. (P4, PLO5)

CLO3: Demonstrate awareness of professionalism and computer ethics during practical work to comply with
professional’s bodies such as ACM or IEEE. (A3, PLO8)

______________________________________________________________________________

Prepared by: Checked by: Verified by

Date: Date: 03.02.2023


Date: 3 Feb 2023 3 Februari 2023
1 LEARNING OUTCOMES (LO):

CLO2 : Perform installation for workstation and domain server using MS Windows server
or Open Source server operating system

CLO3 : Demonstrate awareness of professionalism and computer ethics during practical


work to comply with professionals bodies such as ACM or IEEE

2 OBJECTIVES
Upon completion lab session, student should be able to:
1. Prepare and check minimum requirement and install virtual machine for
operating system
2. Access the command prompt interface
3. Use command prompt to manage files and folder
4. Use command prompt to perform basic operating system function

3 THEORY

PART ONE
Originally, a Virtual PC is a program for APPLE/MAC computer that emulates Windows
95, Windows 98, Windows NT, as well as IBM OS/2, or Linux on a Macintosh personal
computer, assuming it's equipped with a sufficiently fast microprocessor. With Virtual
PC installed, a Mac can show the desktop for the emulated operating system on one
part of the display or it can take up the entire screen.

Any program that will run under the other operating systems on "regular" (Intel
microprocessor-based) PCs can be run inside a virtual PC. Now Virtual PC is also
available for Microsoft Windows. This allow user to run multiple OS inside a single PC
for testing or for solving software compatibility.

PART TWO
Operating system (OS) existed long before PCs were invented. Ancient, massive
computers called mainframes and minicomputers employed sophisticated OSs. When
IBM roll out their PC in 1970 and looking for an OS to operate the PC, that was the time MS-
DOS were release.

MS-DOS used command line interface to accept user command. All of it function is done
base on the command typed by the user.

Within today Windows operating system, the command line interface still exists and plays
a very important role. When a windows OS unable to boot-up, the command line is critical
to perform system recovery and such.
4 EQUIPMENT / TOOLS

1. Personal Computer/Laptop running Windows 7


2. WMWare Installer Package 16 Pro and above

PART ONE

ACTIVITY 1A : INSTALLATION OF VMWARE PLAYER

THEORY

VMware Player is a free version of VMware Workstation from VM. It can create virtual
machine and run them but with limited functionality compare to the full version workstation.
It’s provide simple installation of OS for virtual machine compare to Virtual Box which
requirement a bit more of technical knowledge to use. It is also well documented compared to
virtual box.

PROCEDURE

1. Install the VMware Player using the installer.

2. Follow the installation instruction carefully.

3. Use default configuration.

ACTIVITY 1B : USING VMWARE PLAYER

THEORY

Virtual machine acts as a computer. It has similar basic capacities as a physical computer.
Usually a virtual machine will have the exact same physical hardware as the computer its
run on. Optical drive, network interface card, USB drive, all will be duplicate it the virtual
machine. However, to access these physical hardware is different since everything is only in
virtual form.

In this activity, student will learn to use 2 main functions, the optical drive and the network
properties. These 2 functions will be use heavily during all Operating System course practical
work.

PROCEDURE
1. Run the VMware application.

2. At the welcome screen choose Home (House symbol) and then choose Open a
Virtual Machine. Search for Windows XP Professional inside c:\Iso
Image\Windows XP Professional folder.
3. Now play the Windows XP Professional virtual machine. When windows appears,
choose I copied it.
4. Let windows load until you can the windows desktop.

5. To insert an optical disc (CD or DVD) into the virtual machine is done by inserting
the ISO image of the optical disk into the virtual machine ODD drive. To do this click
the Player menu on top left of the virtual machine windows and select Manage then
Virtual Machine Settings… (or press Ctrl D). A new windows opens, choose the
Hardware Tab and select CD/DVD (IDE).
6. To insert a particular CD ISO, in Connection box, tick Use ISO image file and
browse the location of the ISO image. If you are using a physical disc, choose Use
physical drive and select the ODD containing the disc. To confirm the disc is
inserted, close the Virtual Machine Settings windows and open My Computer to
confirm the content of the virtual machine ODD.
7. Next, to change the Virtual Machine network hardware characteristic reopen the
Virtual Machine Settings windows. In Hardware tab choose Network Adapter. In
the Network connection box, tick Bridged: Connected directly to the physical
network. This will be the default setting we will use in all of our lab exercise (Please
remember this). To change the network IP address or properties, this can be done
through the operating system. Try changing the network address to 10.122.34.21.

ACTIVITY 1C : PREPARING A VMWARE PLAYER VIRTUAL HARD DISK

THEORY

Before a user can use a virtual machine, the user need to install the operating system in the
virtual machine. To do that, first the user must prepare the virtual machine hardware
specification (setup up hard drive size, memory size, name, setting etc). A user can configure
his/ her own virtual machine hardware specification as needed. The virtual machine software
will suggest certain value in order for the installed operating software to work properly. So
basically, a user can set a higher specification than the suggested by software but must not
go below as this will affect the virtual machine performance.

PROCEDURE
1. Run VMware player.

2. Create a new virtual machine.

3. Choose ‘I will install the operating system later’.

4. Select the appropriate OS to be install. Choose any window OS.

5. In the virtual machine name box type in the name for your virtual machine, for
example Win7_Amirul_Lab1D. (Name must contain OS product, Student name
and lab no/activity). Change the location to your work directory.

6. Click NEXT. Choose to store the virtual OS as a split file.

7. Finish the configuration.

8. Repeat step 1 to 6 to create another virtual OS for a Ubuntu/Linux OS.


PART TWO – MS DOS AND COMMAND PROMPT

ACTIVITY 1D : ACCESSING AND CONFIGURING THE COMMAND


PROMPT WINDOWS

THEORY
Operating system (OS) existed long before PCs were invented. Ancient, massive computers
called mainframes and minicomputers employed sophisticated OSs. When IBM roll out their
PC in 1970 and looking for an OS to operate the PC, that was the time MS-DOS were release.

MS-DOS use command line interface to accept user command. All of it function is done base
on the command typed by the user.

Within today Windows operating system, the command line interface still exists and plays a
very important role. When a windows OS unable to boot-up, the command line is critical to
perform system recovery and such.

PROCEDURE

1. Turn on the PC and wait until it enters windows.

2. In windows click start button and then select Run. A small Run window will appear.
You can also access this window by pressing the WINDOW key on the keyboard
together with the letter R.

3. Inside the open box type cmd or command and press ENTER. Another small window
will appear. This is the command prompt window. By default, the background of this
window is black. Now type cd\ and press ENTER. Next type cls and press ENTER.
The windows will be cleared and show the command prompt C:\ only

4. Now type help and press ENTER. This command will display all the commands that
can be use by typing it at the command prompt following certain arrangement.
5. To learn how to use any of the command type HELP follow by the command. For
example, to see how the command del is use type help del and press ENTER.

6. Now find the command to change the command prompt window background and text
color. The default color should be black background and white letters.

7. Using available command, change the background color to white and the letters to
light blue.
ACTIVITY 1E: MANAGING FOLDER USING THE COMMAND PROMPT

THEORY

Using the windows explorer make file and folder management fast and easy. However, the
command prompt is a powerful to manage file and folder. Sometime window will not allow
any change to be made to a folder or file while window is running. This happen because
window may be using that particular file/folder. So, the only way to access this file/folder
directly without loading window it through the command prompt in recovery console.

PROCEDURE

1. Open a new command prompt window. Open another command prompt window and
name it as ‘FOLDER MANAGER your name’. Use the START command to perform
this task. Close the first command prompt window

2. Change to root directory and clear the windows so that only the command prompt
C:\> is showing.

3. Using help, find the command to create a directory. Create a directory in the
computer second partition root directory. Name the directory as your using your
short name Example: AMRUL.

4. Again, using help, find the command to change your current prompt so that the
windows is now showing the new directory you create above as the command prompt.
Example F:\AMRUL>

5. Create a directory and name it as 001. Create 4 more directories and use 002, 003,
004 and 005 as their name respectively.

6. Inside each from 001 to 005 directories, create 2 directories and name them as AoE
and PvP respectively.

7. Now return the command prompt to the first directory you create (using your class
name). For example. F:\AMRUL>

8. Next type tree and press enter. Record /screenshot /draw the result. (At the end of
this lab sheet).
ACTIVITY 1F: MANAGING FILE USING THE COMMAND PROMPT

THEORY

Using the windows explorer, copy/create the entire LAB1J (Figure 1.1) into your folder. Use
the mouse to drag and copy the folder.

Figure 1.1 Content in LAB1J folder

PROCEDURE
1. Open a new command prompt window. Open another command prompt window and
name it as ‘FOLDER MANAGER your name’. Use the START command to perform
this task. Close the first command prompt window

2. Make the necessary changes so that your command prompt will display the folder
you copied into your folder previously example F:\AMRUL\LAB1J> as the
command prompt.

3. Now perform this task by using the appropriate command.

I. Copy all three files into the COPY folder. (Answer Question 4)

II. Rename the three original files to myfile1, myfile2 and myfile3 respectively.
Make sure the file type (.txt) remains the same.

III. Move the rename file into the MOVE folder.

6 RESULT
Make a screenshot with the description.

(5 marks)
7 DISCUSSION
Make a discussion based on the questions below.

1. Based on Activity 1C, explain why the virtual machine installer package options is best
left as default (memory size, hard disk size) when preparing for the installation?

(4 marks)

2. From Activity 1C, state 6 (SIX) features of VMware player.

(6 marks)

3. From observation Activity 1D, fill in the Table 1.1 below.

COMMAND DESCRIPTION

HELP
Change the volume label of a disk

PRINT

Searches for a text string in a file or files.


(4 marks)

4. From Activity 1F, write down ALL 3 (THREE) commands to accomplish task.

Task Command

i. Copy all three files


into the COPY folder

ii. Rename all files.

iii. Move all three


files to MOVE folder

(6 marks)
8 CONCLUSION
Write conclusion based on your work in this practical session.

(5 marks)
PRACTICAL WORK 1.0 : PRACTICAL SKILL ASSESSMENT RUBRIC (PART A)
DEC50103 OPERATING SYSTEMS
Student Name :

Class :
Student ID :
Date :
SCORE DESCRIPTION
ASPECTS SCALE SCORE
EXCELLENT VERY GOOD GOOD FAIR UNSATISFACTORY
5 4 3 2 1
Able to install VMWare Player Able to install VMWare Player Able to install VMWare Unable to install VirtualBox
Install VMWare Player successfully without assist by successfully with assist by Player after second attempt/ although with assist by
A. Unable to install VirtualBox x2
( Activity 1A) lecturer. lecturer. Solve trouble shoot lecturer.
problems.
Able to fully utilize VMWare Able to fully utilize VMWare Able to utilize VMWare Unable to utilize VMWare
Utilize VMWare Player Player ODD and basic Player ODD and basic Network Player ODD and basic Player ODD and basic Unable to Utilize VMWare
B. ODD and basic Network Network Setting correctly Setting correctly with assist by Network Setting after second Network Setting although Player ODD and basic x2
Setting ( Activity 1B) without assist by lecturer. lecturer. attempt/ Solve trouble shoot with assist by lecturer. Network Setting.
problems.
Able to prepare VMWare virtual Able to prepare VMWare Able to prepare VMWare Unable to prepare VMWare Unable to prepare VMWare
Prepare VMWare virtual hard disk - without assist by virtual hard disk with assist by virtual hard disk at a time virtual hard disk although virtual hard disk
C. hard disk lecturer. x2
lecturer. after second attempt / trouble with assist by lecturer.
( Activity 1C)
shoot problems
Able to take initiative to identify Able to identify and solve Unable to identify and solve Unable to identify problem
and solve unexpected problem Able to identify and solve unexpected problem after unexpected problem. and solve it.
D. Troubleshooting problem using their own creativity unexpected problem with second attempt/ trouble x1
without being assist by assist by lecturer. shoot problems
lecturer.

Total Practical Skill : / 35

……..……………………………………….….
Supervisor Name and Signature
PRACTICAL WORK 1.0 : PRACTICAL SKILL ASSESSMENT RUBRIC (PART B)
DEC50103 OPERATING SYSTEMS
Student Name :
Class :
Student ID :
Date :
SCORE DESCRIPTION
ASPECTS SCALE SCORE
EXCELLENT VERY GOOD GOOD FAIR UNSATISFACTORY
5 4 3 2 1
Able to access command Able to access command Able to access command Unable to access command
Access command prompt
prompt and use HELP prompt and use HELP prompt after second attempt/ prompt although with assist Unable to access command
A. and use HELP command x1
command without assist by command with assist by Solve trouble shoot problems. by lecturer. prompt
(Activity 1D)
lecturer. lecturer.
Able to change MS DOS Able to change MS DOS Able to change MS DOS Unable to change MS DOS
Change MS DOS environment successfully environment successfully with environment after second environment although with Unable to change MS DOS
B. environment without assist by lecturer. assist by lecturer. x1
attempt/ Solve trouble shoot assist by lecturer. environment
(Activity 1D)
problems.
Able to type correct command Able to use command to Able to use command to Unable to use correct
Change directory, create
to change directory/create change directory/create change directory/create command to change Unable to use command to
new directory and use
C. directory and clear screen directory and clear screen directory and clear screen directory/create directory change directory/create x1
command to clear screen
without assist by lecturer. correctly with assist by lecturer. after second attempt/ Solve and clear screen although directory and clear screen
(Activity 1E)
trouble shoot problems. with assist by lecturer.
Able to type correct command Able to type correct command Able to type correct command Unable to type correct
Change file name and to change file name and copy to change file name and copy to change file name and copy command to change file Unable to type correct
D. copy files using without assist by lecturer. correctly with assist by lecturer. after second attempt/ Solve name and copy although command to change file x1
command (Activity 1F) trouble shoot problems. with assist by lecturer. name and copy

Able to type correct command to Able to type correct command Able to type correct command Unable to type correct Unable to type correct
Rename file name using rename a file- without assist by to rename a file with assist by to rename a file after second command to rename a file command to rename a file
E. lecturer. x1
command (Activity 1F) lecturer. attempt / trouble shoot although with assist by
problems lecturer.
Able to type correct command to Able to type correct command Able to type correct command Unable to type correct Unable to type correct
Move files using move file - without assist by to move file with assist by to move file after second command to move file command to move file
F. lecturer. x1
command ( Activity 1F) lecturer. attempt / trouble shoot although with assist by
problems lecturer.
Able to take initiative to identify Able to identify and solve Unable to identify and solve Unable to identify problem
Able to identify and solve
and solve unexpected problem unexpected problem after unexpected problem. and solve it.
G Troubleshooting problem unexpected problem with x1
using their own creativity second attempt/ trouble shoot
assist by lecturer.
without being assist by lecturer. problems

Total Practical Skill : / 35

……..……………………………………….….
Supervisor Name and Signature

You might also like