Module 2 TEACHINGICTEXPLORATORY
Module 2 TEACHINGICTEXPLORATORY
MODULE NO. 2
II. Topics:
2.1. Definition of Operating System
2.2. Types Of Operating Systems
2.3. Functions of an Operating System
2.4. Working With Windows Operating System
IV. Introduction:
A computer system has many resources (hardware and software), which may be require to
complete a task. The commonly required resources are input/output devices, memory, file
storage space, CPU etc. The operating system acts as a manager of the above resources
and allocates them to specific programs and users, whenever necessary to perform a
particular task. Therefore operating system is the resource manager i.e. it can manage the
resource of a computer system internally. The resources are processor, memory, files, and
I/O devices. In simple terms, an operating system is the interface between the user and the
machine.
An operating system acts as an intermediary between the user of a computer and computer
hardware. The purpose of an operating system is to provide an environment in which a user
can execute programs conveniently and efficiently.
An OS is software that manages the computer hardware. The hardware must provide
appropriate mechanisms to ensure the correct operation of the computer system and to
prevent user programs from interfering with the proper operation of the system.
V. Objectives:
At the end of this module, the students should be able to:
1. Discuss introduction to the basic components of a modern operating system.
2. Describe various operating system concepts as they are applied to memory, process,
file system, and I/O device management.
3. Demonstrate how applications are dependent on the facilities provided by the
operating system
VI. Pre-Test:
An Operating system is concerned with the allocation of resources and services, such as
memory, processors, devices and information. The Operating System correspondingly
includes programs to manage these resources, such as a traffic controller, a scheduler,
memory management module, I/O programs, and a file system.
Multiple jobs are executed by the CPU by switching between them, but the switches occur
so frequently. Thus, the user can receive an immediate response. For example, in a
transaction processing, processor execute each user program in a short burst or quantum of
computation.
That is if n users are present, each user can get time quantum. When the user
submits the command, the response time is in few seconds at most.
Operating system uses CPU scheduling and multiprogramming to provide each user with a
small portion of a time. Computer systems that were designed primarily as batch systems
have been modified to time-sharing systems.
Real-time systems are used when there are rigid time requirements on the operation of a
processor or the flow of data and real-time systems can be used as a control device in a
dedicated application. Real-time operating system has well-defined, fixed time constraints
otherwise system will fail. For example Scientific experiments, medical imaging systems,
industrial control systems, weapon systems, robots, and home-appliance controllers, Air
traffic control system etc.
1) Memory Management
Memory management refers to management of Primary Memory or Main Memory. Main
memory is a large array of words or bytes where each word or byte has its own address.
Main memory provides a fast storage that can be access directly by the CPU. So for a
program to be executed, it must in the main memory. Operating System does the following
activities for memory management.
• Keeps tracks of primary memory i.e. what part of it are in use by whom, what part
are
not in use.
• In multiprogramming, OS decides which process will get memory when and how
much.
• Allocates the memory when the process requests it to do so.
• De-allocates the memory when the process no longer needs it or has been
terminated.
2) Processor Management
In multiprogramming environment, OS decides which process gets the processor when and
how much time. This function is called process scheduling. Operating System does the
following activities for processor management.
• Keeps tracks of processor and status of process. Program responsible for this task
is
known as traffic controller.
• Allocates the processor (CPU) to a process.
• De-allocates processor when processor is no longer required.
3) Device Management
OS manages device communication via their respective drivers. Operating System does the
following activities for device management.
• Keeps tracks of all devices. Program responsible for this task is known as the I/O
controller.
• Decides which process gets the device when and for how much time.
• Allocates the device in the efficient way.
• De-allocates devices.
4)File Management
A file system is normally organized into directories for easy navigation and usage. These
directories may contain files and other directions. Operating System does the following
activities for file management.
• Keeps track of information, location, uses, status etc. The collective facilities are
often
known as file system.
• Decides who gets the resources.
• Allocates the resources.
• De-allocates the resources
• Control over system performance -- Recording delays between request for a service
and response from the system.
• Job accounting -- Keeping track of time and resources used by various jobs and
users.
• Error detecting aids -- Production of dumps, traces, error messages and other
debugging and error detecting aids.
• Coordination between other software and users -- Coordination and assignment of
compilers, interpreters, assemblers and other software to the various users of the
computer systems.
Common desktop icons include Computer, your personal folder, the Recycle Bin, and
Control Panel.
1. Right-click an empty area of the desktop, and then click Personalize.
2. In the left pane, click Change desktop icons.
3. Under Desktop icons, select the check box for each icon that you want to add to the
desktop, or clear the check box for each icon that you want to remove from the desktop, and
then click OK.
You can also have Windows automatically arrange your icons. Right-click an empty area of
the desktop, click View, and then clickAuto arrange icons. Windows stacks your icons in the
upper-left corner and locks them in place. To unlock the icons so that you can move them
again, click Auto arrange icons again, clearing the check mark next to it.
Windows Explorer:
Windows Explorer is the file management application in windows. Windows explorer can be
used to navigate your hard drive and display the contents of the folders and subfolders you
use to organize your files on your hard drive. Windows Explorer is automatically launched
any time you open a folder in windows XP.
If you won't need the deleted items again, you can empty the Recycle Bin. Doing that will
permanently delete the items and reclaim any disk space they were using.
Start Menu:
The Start menu is the main gateway to your
computer's programs, folders, and settings.
It's called a menu because it provides a list
of choices.
• The large left pane shows a short list of programs on your computer. Clicking All
Programs displays a complete list of programs.
• At the bottom of the left pane is the search box, which allows you to look for
programs and files on your computer by typing in search terms.
• The right pane provides access to commonly used folders, files, settings, and
features.
It's also where you go to log off from Windows or turn off your computer.
doesn't matter. It will also search your e-mail messages, saved instant messages,
appointments, and contacts.
To use the search box, open the Start menu and start typing. You don't need to click inside
the box first. As you type, the search results appear above the search box in the left pane of
the Start menu.
Click any search result to open it. Or, click the Clear button to clear the search results and
return to the main programs list. You can also click See more results to search your entire
computer.
Search box also searches your Internet favorites and the history of websites you've visited. If
any of these webpages include the search term, they appear under a heading called "Files."
Taskbar:
The taskbar is the long horizontal bar at the bottom of your screen. It has three main
sections:
• The Start button , which opens the Start menu.
• The middle section, which shows you which programs & files you have open & allows you
to quickly switch between them.
• The notification area, which includes a clock and icons (small pictures) that
communicate the status of certain programs and computer settings.
The button shows an icon that represents the open program. In the picture below, two
programs are open—Calculator and Minesweeper—and each has its own button on the
taskbar. It also highlights the icon whose window is active. Click a taskbar button to switch to
that window
When you move your pointer to a particular icon, you will see that icon's name or the status
of a setting. Double-clicking an icon in the notification area usually opens the program or
setting associated with it. For example, double-clicking the volume icon opens the volume
controls.
Click the Show hidden icons button to display all icons in the notification area
Menus:
Most programs contain hundreds of commands that you use to work the program. Many of
these commands are organized under menus. A program menu shows you a list of choices.
To choose one of the commands listed in a menu, click it. Sometimes menus show
submenus.
When a document, webpage, or picture exceeds the size of its window, scroll bars appear to
allow you to see the information that is currently out of view. The following picture shows the
parts of a scroll bar.
Command buttons
A command button performs a command
when you click it. You'll most often see
them in dialog boxes, which are small
windows that contain options for
completing a task. For example, if you
close a Paint picture without saving it first,
you might see a dialog box like this.
Option buttons
allow you to make one choice among two or more options. They
frequently appear in dialog boxes. The following picture shows two
option buttons. The "Color" option is selected.
To print a Notepad document, you can locate the document with Explorer or My Computer.
Open the file. Print file by using:
• File/Print command from the menu bar.
• Select Print from the shortcut menu that comes up when you right-click the file.
• Can also drag and drop to a printer shortcut.
You can also open Notepad first and then open the document from
Notepad’s File/Open command. Once the document is opened you can print it. Advantage of
opening Notepad prior to locating file:
• Can apply page formatting before you print.
• Can add a header or footer.
• Can adjust the margins.
Features of Notepad:
1. Notepad has minimal editing features.
2. Notepad has word wrap which prevents text from running over into the margins and
automatically moves text to the next line.
3. Used to create/save/open/edit file.
4. Can create time log.
5. Within Notepad – cut, copy, and paste text.
6. Copy data to Notepad from other files.
7. Copy Notepad text to other word processing text or database document.
WordPad
WordPad is a simple word processor.
WordPad allows simple formatting:
• Change fonts.
• Character level formatting.
• Margins can be changed/created.
• Insert bulleted charts/graphic and sound files.
Paragraphs:
Traditional English style paragraph includes a topic sentence, supporting sentences, and a
concluding sentence. Indented by one tab.
A paragraph, in word processing terms, is all the text between paragraph marks (¶). It can
be one character, one page, or several pages of text.
To indent a paragraph you use the <Tab> key.
Features of WordPad:
Title bar/Name of document first (docucentric approach)
Menu Bar
Toolbar
Format Bar
Document Ruler
Selection Bar: unmarked column along left edge of document window.
Insertion Point: is where you begin keying in text. 2 modes – Insert mode (Default) and
Typeover -Press Insert to toggle between modes.
Status Bar: tells you the status of the document.
WordPad and Microsoft Word both claim .RTF extension.
Rich text format (RTF) allows the exchange of text files between different word processors in
different OS.
Problems can occur when any registered file extension is claimed by more than one
program.
The default extension for WordPad documents is .doc. This extension is also used by Word
for Windows, so if Word is installed, a document you create in WordPad might not open with
WordPad when you double-click it.
Paint
Paint is a graphics application program used to create drawings or images.
Can only create/edit bitmap graphics (.bmp)
Bitmap Graphics:
• Screen divided into pixels (pels)
• Drawing = turning pixels on or off in different colors
• Detailed
• Take up lots of disk space
• Resolution is fixed
If installed programs (such as Office) have correct graphic filters, Paint can read TIFF,
JPEG,
GIF, PCX, Targa and Kodak Photo CD files. Save Paint files in GIF and JPEG format.
Images created can stand alone or be copied to other documents.
Graphics files are identified by file extensions.
Paint Window
The Paint window has many components, some are common to all windows programs,
others are not.
1. Menu Bar – location of choices consistent:
• Choices available depend on program’s purpose.
• Paint choices different than word processing – task different.
• New choice – Image.
2. Tool Box - is actually a toolbar that you select your drawing tools from.
Below the Tool Box is an area called the Tool Options box where the options available for
the selected tool are displayed.
3. Color Box - contains the colors you can use in Paint. The foreground color is the color
you
draw with. The background color is the color of your drawing area.
4. Drawing area - is like a canvas and is the area where you draw. Default drawing tool –
pencil. Cursor assumes shape of selected drawing tool.
The Tools:
1. Free-Form Select – Selects a free form cutout in a drawing.
2. Select – Selects a rectangular cutout.
3. Erase/Color Eraser – Changes the foreground color to the background color.
4. Fill With Color – Fills a bordered area with the selected foreground color.
5. Pick Color – Picks a color in your drawing and uses it as your foreground color
or background color.
6. Magnifier – Magnifies a selected area.
7. Pencil – Creates a free-form line.
8. Brush – Draws a free-form brush stroke.
9. Airbrush – Creates a spray can effect.
10. Text – Places text in the drawing.
11. Line – Draws a straight line.
12. Curve – Draws a straight line, then curves it.
13. Rectangle – Creates a rectangle or square.
14. Polygon – Draws a shape with an unlimited number of sides.
15. Ellipse – Creates a circle or ellipse.
16. Rounded Rectangle – Creates a round-cornered rectangle or square.
Fill Styles:
When you select a shape tool, three choices appear in the Tool Options area. Each of these
choices is a fill style.
The effect of each of the fill styles depends on the mouse button used to draw the shape.
Picture Characteristics
Paint used to view existing picture.
Paint can be used to create a new picture.
• Standard settings for new picture.
• Creates picture with default settings.
You can change these default settings.
Printing in Paint
You can print any picture that you create or view in Paint.
Graphics take much longer to print than text and the quality of the printout will depend on the
quality of the printer.
If the printer is not a color printer, the picture will print in shades of gray.
To display the Calculator, open the Start menu and choose Programs, Accessories,
Calculator. The Calculator opens in the same view (Standard or Scientific) in which it was
displayed the last time it was used.
To close the Calculator, click the Close button in the title bar. If you use the Calculator
frequently, however, don't close it; click the Minimize button to minimize the Calculator to a
button on the taskbar.
The Calculator has only three menus: Edit, View, and Help. The Edit menu contains two
simple commands for copying and pasting; the View menu switches between the Standard
and Scientific views; and the Help menu is the same as in all Windows accessories.
VIII. Self-Evaluation:
Direction: Answer the following questions to evaluate your knowledge and understanding of
this module.
X. Post-Test:
XI. Reference:
Caoili-tayuan. R R., & Eleazar, M V. (2019). Living in the Information Technology Era.
Quezon City: C&E Publishing, Inc.
ASCII – American Standard Code for Information Interchange (May 08, 2019). Retrieved
from https://www.ionos.com/-digitalguide/server/know-how/ascii-codes-overview-of-all-
characters-on-the-ascii-table/
Thornton, Scott (December 29, 2016). The Internal Processor Bus: Data, Address and
Control bus. Retrieved from https://www.microcontrollertips.com/internal-processor-bus-
data-address-control-bus-faq/
McCauley, Gary (May 21, 2019). What is a Computer Network? Retrieved from
https://www.fieldengineer.com/what-is-a-computer-network