Lab Handout 2
Lab Handout 2
Lab Handout 2
Note: Submit this lab hand-out in the next lab with attached solved
activities and exercises
Submission Profile
Comments:
________________________________________________________________________________
Instructor Signature
Lab Learning Objectives:
After going through this lab student would be able to:
1. explain the structure and functions of an operating system,
2. Installation basics for installing any OS like Windows 10, Ubuntu etc
3. To give an overview of the many types of OS computing
environments like Windows 10, Linux(Ubuntu), Mac OS
Lab Hardware and Software Required:
Background Theory:
2
In the first clock cycle the processor gets the instruction from
memory and decodes it. In the next clock cycle the required data is
taken from memory. For each instruction this cycle repeats and
hence needs two cycles to complete an instruction.
This is a relatively older architecture and was replaced by Harvard
architecture e.g. it was used in ENIAC, EDVAC etc.
Harvard Architecture:
The name is originated from "Harvard Mark I" a relay based old
computer.
The computer has two separate memories for storing data and
program.
Processor can complete an instruction in one cycle if appropriate
pipelining strategies are implemented.
In the first stage of pipeline the instruction to be executed can be
taken from program memory. In the second stage of pipeline data
is taken from the data memory using the decoded instruction or
address.
Most of the modern computing architectures are based on Harvard
architecture e.g. AVR by Atmel Corp
2. Operating system
Controls and coordinates use of hardware among various applications
and users
3
3. Application programs – define the ways in which the system
resources are used to solve the computing problems of the users
Word processors, compilers, web browsers, database systems, video
games
4. Users
People, machines, other computers
User Interface is the term used for specifying how a user interacts with
an electronic device, particularly computer. CLI and GUI are the different
types of user interfaces. Mainly they differ in the graphics employed in
the operating system.
To perform an operation on the CLI system one has to write a command
e.g. MS DOS (Microsoft Disk Operating System). On the other hand, in
GUI users provided the visual aids (graphics) that include images and
icons, which facilitates users to perform a task directly e.g. Windows.
KERNEL
The lowest level of any operating system is its kernel. This is the first
layer of software loaded into memory when a system boots or starts up.
Virtual memory
A computer can address more memory than the amount physically
installed on the system. This extra memory is actually called virtual
memory and it is a section of a hard disk that's set up to emulate the
computer's RAM.
4
1. Power up; computer runs POST (power-on self-test -- one of the
first processes that a computer undergoes when booting)
2. Boot sequence governed by BIOS ROM (Basic input/output system:
BIOS software stored permanently(*) on a CMOS(Complementary
Metal-Oxide Semiconductor) chip on the motherboard)
o BIOS parameters stored in CMOS
o BIOS ROM may be password protected
3. Control passes to the MBR (Master Boot Record is the information
in the first sector of any hard disk or diskette that identifies how
and where an operating system is located so that it can be boot
(loaded) into the computer's main storage or random access
memory) of the first bootable device detected
4. MBR points to boot record of selected operating system
5. Operating system takes control
Lab Activities:
To launch Command Prompt select Start -> Run and type cmd in the box.
The Command Prompt shows up as a black terminal window. The command prompt should
look something like:
5
This is where you type commands. Windows does not care if you use upper or lower case.
That means that command cd is the same as CD.
Command Description
Ver Displays MS-DOS installed version
Dir Displays the Contents of a Directory
cd changes directory e.g. C:\WINDOWS>
ren “oldname” Renames a file e.g ren notpad.exe padnote.txt
“newname”
md makes directory
Rd Deletes directory
Del Deletes a file e.g. del PADNOTE.TXT
copy “source” Copies a file from source to destination e.g. copy c:\windows\
“destination” notepad.exe c:\fruit
Step 1: Use/Download the ISO image of Windows 10 or create a bootable Windows 10 DVD
(if available)
Step 2: Run/Download and install the Virtual Box program for Windows available at
oracle.com. If you have been using an older version of Virtual Box, please upgrade to the
latest version of VM VirtualBox as it includes support for Windows 10
Step 3: Launch the Oracle VM Virtual Box program from the Windows Programs Menu and
click the “New” button (or press Ctrl+N) to create a new Windows 10 Virtual Machine. Click
the “Hide Description” button to get started.
Step 4: Give your virtual machine a name (like Windows 10). Set the Operating System as
Windows and pick Windows 10 for the Version. Next you need to allocate RAM to your new
6
Windows 10 VM. The minimum that you should allocate is 1024 MB (or 1 GB) though you
can always move that slider further right to 2 GB for improved performance. Click Create
Step 5: Next choose the file location where you would like to save the Windows 10 virtual
hard disk. If you just want to try Windows 10 and don’t plan to install any additional apps,
the recommended size is 25 GB.
Step 6: You are all set to create new hard disk for Windows 10. VirtualBox will create a large
physical file now (for storing the Windows 10 OS) and it might take anywhere between 3-4
minutes to finish the process.
Step 7: Your Windows 10 virtual hard disk is now ready but before you can use it, you need
to make a few modifications. While you are inside the VirtualBox Manager windows, select
the Windows 10 VM and press Ctrl + S to open the settings window.
7
Step 8: Click OK to save all the settings and double-click the Virtual Machine labeled
Windows 10 to launch the program. You can either insert the Windows 10 installer DVD or
click the folder icon and browse to the folder where the Windows 10 ISO file is stored.
Click the Next button and this will initiate the actual Windows 10 setup routine. You can the
Windows 10 serial number and it should take about 20-30 minutes to complete the
installation process.
Sign in to Windows
1. Start your Windows 10 computer.
1. From the taskbar search box, search for desktop. Filter the search results list to display
only folders, and then open the Desktop folder for your user account.
2. Search for taskbar. Filter the search results list to display only settings. Then display the
settings pane in which you can specify which icons appear on the taskbar.
3. In the notification area of the taskbar, right-click the Speakers icon, and then select
Sounds to open the Sound dialog box.
4. Display Task View to view all active apps and dialog boxes in your computing session.
From Task View, close the Sound dialog box and then go to the Settings window.
8
5. Display the hidden icons in the notification area of the taskbar. Point to each icon in the
window to display a ScreenTip that identifies the app. Then right-click any icon to display the
available commands for that app.
6. From the notification area of the taskbar, display the Action Center.
7. If the Action Center contains messages, preview the content of a message, and then
remove that message from the Action Center.
1. Display the Start menu, and then display your user account menu.
2. From the user account menu, lock the computer. Then sign in to Windows again.
3. Display the Start menu. Examine the app list for apps that have jump lists, and notice
the recent files and common actions for those apps.
3. Within the selected category, display the settings for a specific feature.
5. Leave the Settings window and Control Panel open for later use.
1. Activate the Settings window. Change only the width of the window so it is
approximately half the width of the screen. Then drag the window to the approximate
center of the screen.
2. Use the mouse or pointer to resize the Settings window in the following ways:
9
c. Snap the window to the left side of the screen, and select Control Panel to fill the right
side of the screen.
3. Activate Control Panel, and then use keyboard shortcuts to resize it in the following ways:
7. Activate the Settings window, and then minimize all windows other than the active
window.
8. Close the Settings window. Then activate and close Control Panel (and any other
windows that you opened earlier).
1. From the user account menu at the top of the Start menu, lock the computer. Then
sign in to Windows again.
2. From the Power button at the bottom of the Start menu, put the computer to sleep.
Then sign in to Windows again.
3. From the Start shortcut menu, sign out of Windows to end your computing session.
1. Open the Start menu or Start screen and display the app list.
2. Manually scroll the list to display apps that begin with the letter G. Along the way, notice
the apps that are installed on your computer.
3. Display the alphabetic index of the app list. From the index, jump to the apps that begin
with the letter M.
10
5. In the taskbar search box, enter weather. Locate and start the Weather app.
2. Enter your address in the search box. If the app locates an address match, select the
address to display it on the map.
3. On the button bar in the right pane, select the Map views button to display the
available views of the location.
4. Display each of the available views of the map. Experiment with zooming in and out in
each view, and note the details that are available in each view.
5. Switch to the Weather app. In the search box, enter the name of the nearest large city
to you. Experiment to find out what types of information are available in this app.
6. In the app list, scroll or jump to the W section. Open and browse the contents of the
folders in that section to familiarize yourself with the apps, accessories, and tools that are
available.
2. Locate a free app that interests you, and install it. Then locate another free app that you
don’t want to keep and install that, too.
3. Display your library of recent apps and games, and then display the list of apps associated
with your account.
4. In the Your Apps pane, look for an app that has an Install icon. If you find one, install
the app on your computer.
5. From the Store, display your Microsoft account information. Locate your list of purchases
and identify the apps you installed in steps 2 and 4.
6. If you’ve had a Microsoft account for a while, identify the first year for which your
account has a record of transactions.
11
7. In the app list, locate the apps that you installed in step 2. (Hint: If you display the
Recently Added section on the Start menu, it will be easy to find the new apps.)
2. In the Settings window, on the System settings page, display the Notifications
& actions pane. Review your current notification settings.
3. Review the list of apps installed on your computer that can generate notifications.
4. Display the notification options for the Calendar app. Turn off audio notifications for
Calendar. Then return to the list of apps and note the change.
6. Turn on the Quiet Hours feature and note that the Action Center icon changes. Then
turn off Quiet Hours.
Windows 10 designates this first account as an Administrator account so that the account
can be used to manage the computer. It isn’t possible to sign in to the computer without a
user account.
A Microsoft account, which is any email address that has been registered with the
Microsoft account service.
A local account that exists only on a single computer and is not associated with a specific
email address.
You can use your Microsoft account to sign in to multiple computers, websites, and services
by using the same email address and password. By signing in with your Microsoft account
credentials, you can share settings and files among all your devices. Any device you sign in
12
to with this account has access to the same settings and information. Signing in with a local
account places limits on the applications you can purchase or download from the Store, and
might limit your access to Microsoft OneDrive. Because almost any email account can also
be set up to be a Microsoft account, it’s a good idea to take advantage of the extra benefits
that allows.
An Administrator account
This classification provides a specific level of permission to manage system actions on the
computer. The next section of this topic explains what each of these types of accounts can
do.
An Adult account that can manage Family Safety settings for Child accounts
These are optional designations that make the user account holder part of your family
group. The sidebar “Manage and monitor family safety settings” contains theses settings.
Select your new virtual machine. Once you've done this, click the “Settings” button.
13
Click the “CD/DVD icon" having "+" on it and select ISO to mount
Click on the system tab on the left. Choose boot order and keep CD/DVD on the top as first
priority.
Machine will boot from selected ISO and you will see language option. Choose your
preferred language and press Enter.
In next window you will see "Install Options". You can choose to try ubuntu without
installing, you can choose install ubuntu option, you can also check for disk and memory for
defects and problems and you can also choose to boot from existing hard disk. Choose to
INSTALL ubuntu option here.
Once ubuntu has loaded, Choose your language and Click “Continue".
On next screen, ubuntu will give you a checklist and you will be asked if you need to update
during install. Choose your required option and click "Continue".
Next option will ask you if you want to delete all data and install or you can also choose or
create your own partitions from option "Something Else".
Select your time zone from the map, then click “Continue.”
Click “Continue” to keep the default keyboard layout or choose your desired one.
Type your username in the first text box. This will automatically fill in the login name and
computer name. Type your password and confirm your password and click "Continue".
Machine will restart and Installed Ubuntu will load from hard disk, provide password to
username and login to main window of ubuntu.
Once you have logged in to Ubuntu, click on the "Devices" tab in virtualbox. Select "Insert
Guest Additions CD Image...
When Ubuntu asks to install a program and it needs a password, type your user password.
Click "Install Now."
Let the terminal program run, and when it has finished, press Enter.
14
Reboot your VM and once it has booted, click on the "View" menu, and click "Auto-resize
Guest Display" and you will now have a full-resolution Ubuntu VM on your computer.
Lab Exercises:
Exercise 2.1. Which computer architecture does most modern computers employ?
Exercise 2.2. Intel is famous for manufacturing processors for general purpose computers.
Which is the leading company for manufacturing Smartphone processors?
Exercise 2.4. Write steps to create child and guest account in Windows 10.
Note: Students are encouraged to read and practice Windows 10, Step by Step, Second
Edition by Joan Lambert available at “elearning Sukkur IBA University portal”
15