Computers in the real world Objectives

Slides:



Advertisements
Similar presentations
FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
Advertisements

Chapter 8: Operating Systems and Utility Programs
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
Professor Michael J. Losacco CIS 1110 – Using Computers Operating Systems & Utility Programs Chapter 7.
Operating Systems: Software in the Background
IT Systems Operating System EN230-1 Justin Champion C208 –
55 CHAPTER SYSTEM SOFTWARE. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 5-2 Competencies Describe the differences between system software.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
System Software, functions of an operating system
Chapter 3 Software Two major types of software
Systems Software Operating Systems.
The Operating System. Operating Systems (F) What you need to know about –operating system as a program; –directory/folder.
Operating Systems Chapter 4.
Computer for Health Sciences
Operating Systems What do you have left on your computer after you strip away all of the games and application programs you bought and installed? Name.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
SOFTWARE.
Chapter 4 System Software.
1 ITSK 2611 Welcome. 2 Operating System 3 What is an OS Resource Manager –Disk –Memory –CPU Device Manager –Printers –Video Card –Sound Card Utility.
Software Software essential is coded programs that perform a serious of algorithms. Instructions loaded into primary memory (RAM) from secondary storage.
Software GCSE COMPUTING.
University of Management & Technology 1 Operating Systems & Utility Programs.
11.10 Human Computer Interface www. ICT-Teacher.com.
CSE 101 Spring 2000 Operating Systems. The Tasks of the Operating System Single Task Multitasking.
Computing and the Web Operating Systems. Overview n What is an Operating System n Booting the Computer n User Interfaces n Files and File Management n.
Operating Systems. Without an operating system your computer would be useless! A computer contains an Operating System on its Hard Drive. This is loaded.
Chapter 8: Operating Systems and Utility Programs Catherine Gifford Dan Falgares.
Operating System (OS) Basics. Operating System Basics Software (applications) Operating System (OS) Hardware.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
System Software Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
Foundation year Lec.3: Computer SoftwareLec.3: Computer Software Lecturer: Dalia Mirghani Year: 2014/2015.
OPERATING SYSTEM - program that is loaded into the computer and coordinates all the activities among computer hardware devices. -controls the hardware.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
Windows 8 A touch screen computer on a desktop. Windows Metro.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
Chapter 3: Software Explain the difference between systems software and application software
Types of Software Chapter 2.
Software - Utilities Objectives Understand what is meant by utility software and application software Look at common utilities – Security – Disk organisation.
Hardware/Software Basics Test Get out your DIY Test Review.
What is O.S Introduction to an Operating System OS Done by: Hani Al-Mohair.
GCSE Computing: A451 Computer Systems & Programming Topic 3 Software System Software (1) The Operating System.
System Software (1) The Operating System
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
OPERATING SYSTEMS (OS) By the end of this lesson you will be able to explain: 1. What an OS is 2. The relationship between the OS & application programs.
CHAPTER 2 COMPUTER SOFTWARE. LEARNING OUTCOMES At the end of this class, students should be able to:  Explain the significance of software  Define and.
System SOFTWARE.
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
Computer Organisation
Nat 4/5 Computing Science Software
Nature & Types of Software
Operating System Review
Resource Management IB Computer Science.
Computer Software Digital Literacy.
Lesson Objectives Aims You should be able to:
Chapter 5: Using System Software
Computer Software Digital Literacy.
Operating Systems Overview
Operating Systems What are they and why do we need them?
5 SYSTEM SOFTWARE CHAPTER
Operating System Review
Systems Software Keywords Operating Systems
Chapter 4.
OPERATING SYSTEMS.
Nat 4/5 Computing Science Operating Systems
Operating System Review
5 SYSTEM SOFTWARE CHAPTER
5 SYSTEM SOFTWARE CHAPTER
Software - Operating Systems
Presentation transcript:

Computers in the real world Objectives Understand the key ideas of the operating system Look at standard utility software and be able to describe them Explore the terms Custom built Open source Off the shelf Proprietary software

Computers in the real world The operating system Apple Linux Windows A operating system is known as system software. It is responsible for Managing all connected devices (like keyboards) Managing RAM and virtual memory Managing running programs Managing the file system Managing security Managing network and internet connections

Computers in the real world The operating system Apple Linux Windows There is more than one operating system (or OS). The three main types are Apple, Linux and windows. Most people use windows but Apple and linux also have a large number of users. There are some major differences between the three different types and it is important to know the advantages and disadvantages of each.

Computers in the real world The operating system Fast and responsive. Has innovative design and interface Apple software is well integrated making standard tasks such as burning a DVD really easy Very few viruses are aimed at Mac’s and it is more secure than windows. Software and hardware tend to be very expensive Integrating non-apple hardware is very difficult. You tend to be tied into apple Have to emulate windows software meaning that the software available for Apple is limited. Contrary to popular belief mac’s are not easy to use if you want to do anything which is not basic.

Computers in the real world The operating system Will run on any hardware, regardless of how old No other operating system offers as much choice and configurability as Linux. Not even close! There are very few viruses aimed at Linux and it is much more secure than windows. It is free!!!! Software is regularly updated meaning you get the latest features and bug fixes. Uses a repository system meaning installing new software is very easy. Uses virtual desktops and advanced visual effects. Both windows and mac are far behind on this front! It is not easy to use. It is designed and used by people who know what they are doing Software sometimes has to be compiled to run which is very difficult. Sometimes bugs occur which mean you have to wait a while before someone fixes them. It is very weak on video editing!

Computers in the real world The operating system The most common OS and as such has the most software available. Hardware tends to be designed with windows in mind which means you have less problems getting hardware to work in windows. There is no real viable contender for office products which means that windows is the main choice for companies. Windows is very insecure. Most viruses and hacking occurs due to issues in windows It is too simple for it’s own good! Users feel safe when in truth their details are very vulnerable. Windows uses old legacy technology which causes issues. For example defragging is only needed on windows! Uses a vast amount of system resources. Will use about 2Gb of RAM!

Computers in the real world A quick look at Linux The video below shows a Linux desktop. This shows you just how much you can mess about with the settings! <TODO add video>

Computers in the real world Activity Load up the Linux Virtual machine. Do the following – Write hello world in size 48 font and make it red! Draw a smiley face in a graphics package Try and change the background and some of the desktop settings Note – internet is disabled in the virtual machine. Sorry!

Computers in the real world OS split into sections The operating system is split into the following sections. The desktop offers a graphical interface to hide the details of what the OS is REALLY doing! OS interface (desktop) RAM Memory manager Process manager File manager Device drivers Hardware

Computers in the real world WIMP! OS offer a interface for the user to use. This allows the user to run other software such as a word processor, a game or a file browser. They offer a GUI interface which uses WIMP. Or a graphical user interface which offers windows, icons, menus and pointers! The interface then uses human interface devices (like a mouse) to allow manipulation of the OS.

Computers in the real world Windows! Do not confuse a “window” with “windows” the OS! Each application will open up in a new windows. This can be dragged, resized or closed by the user. The image to the right shows two windows open with different applications running. The user interface of the OS controls these windows. It will send messages to the applications to inform them of things such as keyboard presses or mouse clicks. In the world of programming these are known as events! It is why when you hit a key the letter appears in the right window. The OS is controlling where the message gets sent to!

Computers in the real world Icons Icons are small images which represent a action or task within a application or OS. When the user clicks on a icon an event is sent to the application so it can deal with that event.

Computers in the real world Menus Menu’s are used to access features which may not be as well used as the ones represented by icons. A menu is split into sections (such as File, Edit, View etc) which can be further split up. The OS handles the drawing of the menu while the application handles the contents and the action associated with the menu item.

Computers in the real world Activity Research the following “Windows Areo” “compiz desktop effects” What do they both do? Consider what the advantage / disadvantages are of this type of software.

Computers in the real world Memory management Photoshop Word OS Excel Memory is shared amongst all of the programs running on your system. The diagram above shows how memory may be split up. The OS has the responsibility to manage which program has what part of memory. This is known as memory management. The memory manager is a small piece of code within the OS which will – Allocate memory to a program Will reclaim it when it is not in use Will swap memory blocks in and out of virtual memory Will prevent programs from accessing each others memory.

Computers in the real world Preventing hacking The memory manager must stop a program from accessing other parts of memory. Spyware Photoshop Word OS Web browser Consider spyware running on a system. If it could have access to the web browser memory it could read all of your sensitive information. It could also over write it and even control your web browser!

Computers in the real world Allocating memory When a program needs memory it must ask the memory manger to allocate it. The memory manager will need to decide if anything will need to into virtual memory or not. Web browser Word processor Memory manager Photoshop Word Word OS Web browser

Computers in the real world Allocating memory and virtual memory Web browser Word processor Memory manager Photoshop Word Word OS Word Web browser

Computers in the real world Greedy program Sometimes a program may use up more memory than it should. The OS should prevent a single program from accessing ALL of the memory as this would prevent other processes from running. Web browser Word processor Memory manager Word Word Word OS Web browser Word

Computers in the real world Memory and task manager! You can monitor how much memory is being used on your computer. Each running program will say how much memory has been allocated to it. The image to the right shows that a program called “iexplore.exe” is using 160Mb of RAM. If your system is always running slow it may be worth looking to see what memory is being used and see if there is a memory hog!

Computers in the real world Activity Make notes on what memory management is and why it is needed. Also make notes on user interface of the OS.

Computers in the real world Multi-tasking Multi-tasking is how the OS can run more than one program at once. It gives the illusion that programs are running concurrently while in reality they are simply taking turns on the CPU. EACH CORE CAN ONLY RUN ONE PROGRAM AT A TIME!!!!

Computers in the real world Illusion of concurrency EACH CORE CAN ONLY RUN ONE PROGRAM AT A TIME!!!! So how does the OS allow us to have as many programs running at the same time? The OS will run one program at a time but swap them around so each program has a chance to run. It does this so fast that the user is not aware that it is happening. Multi-tasking is the term we use to explain the idea that a CPU can run many programs at once by quickly swapping them about.

Computers in the real world How it works Word processor Web browser running Waiting The CPU will be running a program in the normal way. Another program will be waiting for access to the CPU.

Computers in the real world How it works Word processor Web browser running Waiting After a while (a few milliseconds) the running program is “swapped” out and placed in the waiting queue.

Computers in the real world How it works Web browser Word processor running Waiting The new program will then get a chance to run by swapping it into the running state.

Computers in the real world How it works Web browser Word processor running Waiting This continues until the programs are closed.

Computers in the real world How it works Word processor Web browser running Waiting This continues until the programs are closed.

Computers in the real world How it works Web browser Word processor running Waiting This continues until the programs are closed.

Computers in the real world How it works Word processor Web browser running Waiting This continues until the programs are closed.

Computers in the real world How it works Web browser Word processor running Waiting This continues until the programs are closed.

Computers in the real world How it works Word processor Web browser running Waiting This continues until the programs are closed.

Computers in the real world Issues with multitasking Swapping programs around takes time. If it is done too often then the system will slow down as too much time will be spent doing the swap! If programs are not swapped often enough then the user will notice “freezes” where the screen stops responding. This is when the running program is waiting for CPU time or another device such as the hard drive. Multi-tasking also makes programming harder as it can cause bugs which are unpredictable!

Computers in the real world Activity Make notes on multi-tasking How would multi-tasking work if you had two cores? Update the animation in this PowerPoint to show how this would work. You can copy the slides out to get you started.

Computers in the real world Peripheral management Peripheral device – A device plugged externally into the PC. Many different devices can be plugged into a PC. These will perform input, output and storage functions and are made by many different vendors. The OS needs to be able to communicate and manage all of these devices! No easy feat! In order to communicate with hardware the OS will use device drivers. These are small programs written by the vendor to allow the OS a generic way of communicating with the hardware.

Computers in the real world Device drivers The device driver converts what the OS wants to do into messages that the devices understand. Consider different printers.... OS interface (desktop) Memory manager Process manager File manager Device drivers Hardware

Computers in the real world Device drivers When the user clicks print they expect it to , errr, print  The OS will use the device driver of the printer the user selected. This will then translate the print request into something the printer will understand. Device drivers Hardware This then gets sent to the printer by the device driver. The printers will then dutifully print!

Computers in the real world Peripheral management Peripheral device – A device plugged externally into the PC. As well as communicating with the device the OS needs to be able to register the device so it can be recognised by other programs. It also needs to deal with the fact that they can be unplugged. This “registration” will link the device with a device driver. You can see this by going to “device settings” or “device manager”. Or you can type in lspci or lsusb under Linux!

Computers in the real world Device manager – Windows 7

Computers in the real world Device manager – Linux