Operating System & Application Software

Total Page:16

File Type:pdf, Size:1020Kb

Operating System & Application Software Lecture 4 Operating System & Application Software OS & Application Software OS & Application Software Application Software Operating System Driver Driver Hardware Introduction to Operating Systems Software Component Software Component Applications Operating System – API: application program interface – File management – I/O Drivers – Network MoDule – Kernel • Memory management • Resource scheDuling • Program communication • Security Linux Kernel MoDule Programming - 01 (If interesteD in Kernel programming, see the complete series) Operating System What is an Operating System Operating System hanDles Process & Task Management Interrupt & Exception Handling Memory ADDressing & Management Process ScheDuling & Synchronization File System Examples of Operating Systems Single-user, Single-task: PalmOS Single-user, Multi-task: MS WinDows anD MacOS Multi-user, Multi-task: UNIX, LINUX, WinDows Server 2008/2012 Device Drivers Device Drivers A device driver is a computer program which allows higher-level computer programs to interact with a hardware device. Drivers are hardware-dependent anD operating-system- specific. They usually provide the interrupt handling requireD for any necessary asynchronous time-dependent harDware interface. A device driver simplifies programming by acting as an abstraction layer between a harDware device anD the operating systems that use it. Drivers are usually written by the companies that develop the hardware or by others for free operating systems like Linux. Disk Operating System DOS IBM IntroduceD DOS (Disk Operating System) in 1981. Later many versions like MS-DOS (1982) by Microsoft were introduceD. Text baseD OS All DOS-type operating systems run on machines with the Intel x86 or compatible CPUs, mainly the IBM PC anD compatibles. DOS is a single-user, single-task operating system with basic kernel functions that are non-reentrant: only one program at a time can use them. Disk Operating System DOS DOS consists of two parts, the kernel anD the commanD.com which is the commanD interface. The DOS kernel provides various functions for programs, like displaying characters on-screen, reading a character from the keyboard, accessing disk files anD memory etc. CommanD.com provides the shell or the user anD system commanDs The new Windows versions provide emulated DOS commanD interface (cmD). Windows Operating System WinDows Operating System Microsoft Windows has a significant majority of market share in the desktop anD notebook computer markets Microsoft first introduceD an operating environment nameD Windows in November 1985 as an adD-on to MS-DOS in response to the growing interest in graphical user interfaces (GUIs). It was a 16 Bit OS running on top of DOS providing Multitasking anD GUI Windows 3.0 (1990) anD Windows Workgroup 3.11 (1992) improveD the design anD were 16/32 Bit OS. Windows 3.11 haD Internet Explorer browser as a part of the OS. Later came Windows 95 (1995), Windows 98 (1998) anD Windows ME (2000) which were 32 Bit OS anD useD FAT File System anD supported DOS also. Windows Operating System WinDows Operating System NTFS was introduceD in 1993 as the file system for Windows NT server anD it was later adopted as default File system for all later releases of Windows client anD server OS. Windows NT 4.0 (1996) was a popular server OS which was later replaced by Windows 2000 (2000). NT was the true Multi-User anD Multi-Tasking OS baseD on NTFS File System. Windows XP (2001), Vista (2006), Windows 7 (2010), Windows 8 (2012), Windows Server 2003 (2003), 2008 (2008) anD 2012 (2012) are all available in 32 bit anD 64 bit versions. The most recent client version of Windows is Windows 8; the most recent server version is Windows Server 2012. UNIX Operating System UNIX Operating System Servers generally run on Linux or other Unix-like systems UNIX was designeD as a Multi-User anD Multi- Tasking OS First Version was created in Bell Labs in 1969 Various Proprietary UNIX OS like IBM AIX, SUN Solaris, SGI IRIX, HP HP-UX etc anD public domain OS like various variants of LINUX anD BSD are available Today most of the proprietary OS are also available free anD for x86 platforms also Apple OS Apple Operating System Apple introduceD the Macintosh OS (Mac OS) in 1984 which haD a graphical user interface Various versions have come since then anD the latest version is OS X v10.9 called “Mavericks” Apple OS was baseD on Unix (much like BSD Unix) anD so it has always been more robust anD faster than windows. The processor useD in Apple computers was PowerPC until 2006 when they switched over to Intel platform. Now they are planning to use ARM processors. Multi OS System Multiple Operating System Multi-Boot system Combination of Windows anD Linux is the most popular Generally multi-boot system boots into any one OS at a time. Virtualization software like VMware can be useD to run multiple instances of OS simultaneously on the same physical machine. Boot Loader Boot LoaDer Booting is a process that starts operating systems when the user turns on a computer system. A boot sequence is the initial set of operations that the computer performs when it is switched on. The bootloader typically loads the main operating system for the computer. The bootloader may be multistage In Desktop Computers, the boot process involve running of system BIOS followeD by the seconD stage bootloader like GRUB, BOOTMGR, LILO or NTLDR which is locateD in the boot sector of the boot device or the harD disk. File System File System File system is a methoD for storing anD organizing computer files anD the data they contain to make it easy to finD anD access them. Most file systems make use of an underlying data storage device such as HarD Disks that offers access to an array of fixeD-size blocks which is the smallest logical amount of disk space that can be allocated to hold a file. File systems typically have directories which associate file names with files, usually by connecting the file name to an inDex in a file allocation table of some sort, such as the FAT in a DOS file system, or an inode in a Unix-like file system. File System File System File names are simple strings, anD per-file MetaData is maintained which is the bookkeeping information, typically associated with each file within a file system. MetaData coulD contain file attributes such as file size, data anD time of creation or moDification of the file, owner of the file, access permissions etc. File System Types of File System File system types can be classified into disk file systems, network file systems anD flash file systems. A disk file system is a file system designeD for the storage of files on a data storage device, most commonly a disk drive e.g. FAT, NTFS, ext3, ext4 etc. A network file system is a file system that acts as a client for a remote file access protocol, providing access to files on a server e.g. NFS, SMB etc. A flash file system is a file system designeD for storing files on flash memory devices. File System File System and OS Operating systems provide a file system, as a file system is an integral part of any moDern operating system. Windows Operating system supports FAT anD NTFS File Systems Linux popularly supports ext3 anD ext4 File Systems Other flavors of Operating Systems may support other File Systems like UFS in many UNIX Operating Systems anD HFS in MAC OS X. All Operating Systems provide a user interface like CommanD Line (CLI) or File Browser to access anD manage File System information. DOS/Windows File System FAT The File Allocation Table (FAT) file system was initially developeD for DOS Operating System anD was later useD anD supported by all versions of Microsoft Windows. It was an evolution of Microsoft's earlier operating system MS-DOS anD was the predominant File System in Windows versions like 95, 98, ME etc. All the latest versions of Windows still support FAT file system although it may not be popular. FAT haD various versions like FAT12, FAT16 anD FAT32. Successive versions of FAT were nameD after the number of bits in the table: 12, 16 anD 32. Windows File System NTFS NTFS or the NT File System was introduceD with the Windows NT operating system. NTFS allows ACL-baseD permission control which was the most important feature missing in FAT File System. Later versions of Windows like Windows 2000, Windows XP – Windows 8, Windows Server 2003 - , Windows Server 2008 also use NTFS. NTFS has several improvements over FAT such as security access control lists (ACL) anD file system journaling. Linux File System File System in Linux Linux supports many different file systems, but common choices for the system disk include the ext family (such as ext3 anD ext4), XFS, JFS anD ReiserFS. The ext3/ext4 or thirD/fourth extenDed file system is a journaleD file system anD is the default file system for many popular Linux distributions . It is an upgrade of its predecessor ext2 file system anD among other things it has adDed the journaling feature. A journaling file system is a file system that logs changes to a journal (usually a circular log in a dedicateD area) before committing them to the main file system. Such file systems are less likely to become corrupted in the event of power failure or system crash. References References Operating Systems: http://en.wikipedia.org/wiki/Operating_system Kernel: http://en.wikipeDia.org/wiki/Kernel_%28computing %29 Device Drivers: http://en.wikipedia.org/wiki/Device_driver File Systems: http://en.wikipedia.org/wiki/File_system Assignment 4 Assignment 4 1. If you install Windows and Linux on the same machine, first Windows needs to be installed and then Linux.
Recommended publications
  • Project Log 2 2 LPC2148 USB Bootloader
    Project Log 2 Project Title: USB MicroSD Card Reader EEE G512 Embedded System Design October 2018 Submitted by: Submitted to: Joy Parikh j 2016A3PS0136P Dr. Devesh Samaiya Rutwik Narendra Jain j 2015A3PS0726P 2 LPC2148 USB Bootloader The LPC2148 USB bootloader performs three steps: 1. The bootloader checks to see if a USB cable has been plugged in. If the LPC2148 detects the presence of a USB cable then it initiates a USB Mass Storage system. This will cause the target board to appear on any computer platform as a removable flash drive. The user can then seamlessly transfer files to the flash drive. In the background, the LPC2148 moves the user's files onto the SD card using the FAT16 file system. 2. The next thing the bootloader does is look for a firmware file (a file named FW.SFE). This file contains the desired operating firmware (in a binary file format) for the LPC2148 mi- croprocessor. If the bootloader finds this file on the FAT16 system then it programs the contents of this file to the flash memory of the LPC2148. In this way, the bootloader acts as a \programmer" for the LPC2148; and we can upgrade the firmware on the LPC2148 simply by loading a new file onto the micro SD card. 3. After performing the first two checks, the bootloader calls the main firmware. The main code should not even know that the bootloader was used and will run normally. 2.1 Details The USB device class used is MSCD (Mass Storage Class Device). The MSCD presents easy integration with PC's operating systems.
    [Show full text]
  • Since Sliced Bread?
    Douglas A. Hamilton WINDOWS NT NT: The Greatest Thing Since Sliced Bread? T'S OFFICIAL. Windows unlike OS/2, is not the only product in the family. Right around the corner is the NT is finally out of the Chicago technology that Microsoft will be using in DOS 7.0 and Windows 4.0. Earli­ oven. The pricing has est betas for software developers are I scheduled for early fall and products been set and delivery dates based on it should be out in 1994. Chicago is a rewrite of the same Win32 have been promised. Those API (application programming interface) seen on NT. Compared with NT, it leaves promises (back in May) out the security (how many of us need government-certified C2 security on our were that the base system personal machines?), portability to RISC processors and the OS/2 character-mode would ship within 60 days and POSIX subsystems. And it wouldn't surprise me if Unicode support were trimmed out or if the networking were and the Advanced Server version would ship 30 days unbundled. What Chicago leaves in is 32- bit flat virtual memory, preemptive multi­ later. So there's every chance that by the time you read tasking, threads, pipes and semaphores­ all the really good stuff in Win32. That be­ this, there'll be piles of Windows NT packages at your comes Windows 4.0. Subtract the graphi­ cal user interface and you get DOS 7.0. local computer store. Is there anyone left who wonders why developers are so excited about NT? It's After a false rumor that Microsoft might price NT at not just because NT is expected to do ex­ tremely well.
    [Show full text]
  • Chapter 1: Introduction What Is an Operating System?
    Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments Operating System Concepts 1.1 Silberschatz, Galvin and Gagne 2002 What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals: ) Execute user programs and make solving user problems easier. ) Make the computer system convenient to use. Use the computer hardware in an efficient manner. Operating System Concepts 1.2 Silberschatz, Galvin and Gagne 2002 1 Computer System Components 1. Hardware – provides basic computing resources (CPU, memory, I/O devices). 2. Operating system – controls and coordinates the use of the hardware among the various application programs for the various users. 3. Applications programs – define the ways in which the system resources are used to solve the computing problems of the users (compilers, database systems, video games, business programs). 4. Users (people, machines, other computers). Operating System Concepts 1.3 Silberschatz, Galvin and Gagne 2002 Abstract View of System Components Operating System Concepts 1.4 Silberschatz, Galvin and Gagne 2002 2 Operating System Definitions Resource allocator – manages and allocates resources. Control program – controls the execution of user programs and operations of I/O devices . Kernel – the one program running at all times (all else being application programs).
    [Show full text]
  • Windows Command Prompt Cheatsheet
    Windows Command Prompt Cheatsheet - Command line interface (as opposed to a GUI - graphical user interface) - Used to execute programs - Commands are small programs that do something useful - There are many commands already included with Windows, but we will use a few. - A filepath is where you are in the filesystem • C: is the C drive • C:\user\Documents is the Documents folder • C:\user\Documents\hello.c is a file in the Documents folder Command What it Does Usage dir Displays a list of a folder’s files dir (shows current folder) and subfolders dir myfolder cd Displays the name of the current cd filepath chdir directory or changes the current chdir filepath folder. cd .. (goes one directory up) md Creates a folder (directory) md folder-name mkdir mkdir folder-name rm Deletes a folder (directory) rm folder-name rmdir rmdir folder-name rm /s folder-name rmdir /s folder-name Note: if the folder isn’t empty, you must add the /s. copy Copies a file from one location to copy filepath-from filepath-to another move Moves file from one folder to move folder1\file.txt folder2\ another ren Changes the name of a file ren file1 file2 rename del Deletes one or more files del filename exit Exits batch script or current exit command control echo Used to display a message or to echo message turn off/on messages in batch scripts type Displays contents of a text file type myfile.txt fc Compares two files and displays fc file1 file2 the difference between them cls Clears the screen cls help Provides more details about help (lists all commands) DOS/Command Prompt help command commands Source: https://technet.microsoft.com/en-us/library/cc754340.aspx.
    [Show full text]
  • Why Os/2 Failed: Business Mistakes Compounded by Memory Prices
    Mountain Plains Journal of Business and Economics Volume 10 Issue 1 Article 4 Date Published: 10-1-2009 Why Os/2 Failed: Business Mistakes Compounded By Memory Prices Eric G. Swedin Weber State University Davis Follow this and additional works at: https://openspaces.unk.edu/mpjbt Part of the Business Commons Recommended Citation Swedin, E. G. (2009). Why Os/2 Failed: Business Mistakes Compounded By Memory Prices. Mountain Plains Journal of Business and Economics, 10(1). Retrieved from https://openspaces.unk.edu/mpjbt/ vol10/iss1/4 This Case Study is brought to you for free and open access by OpenSPACES@UNK: Scholarship, Preservation, and Creative Endeavors. It has been accepted for inclusion in Mountain Plains Journal of Business and Economics by an authorized editor of OpenSPACES@UNK: Scholarship, Preservation, and Creative Endeavors. For more information, please contact [email protected]. 36 WHY OS/2 FAILED: BUSINESS MISTAKES COMPOUNDED BY MEMORY PRICES ERIC G. SWEDIN WEBER STATE UNIVERSITY DAVIS ABSTRACT In 2006, IBM ended their support of OS/2, closing the book on an ambitious effort to create a modern operating system for the personal computer. IBM and Microsoft released the OS/2 operating system in December 1987 to replace the primitive DOS with a more sophisticated, preemptive multitasking operating system for personal computers. This article argues that OS/2 failed because of the U.S.-Japan Semiconductor Trade Agreement of 1986, subsequent accusations of DRAM chip dumping by the United States, and the resulting tariffs on Japanese memory chips, led to a memory chip shortage that drove up memory prices.
    [Show full text]
  • Software Requirements Specification
    Software Requirements Specification for Connectome Version 3.0 Prepared by: 1. Jon Schuck 2. Kennan Meyer 3. Nate Bender 4. Sheik Hassan 5. Khaled Alhendi 6. Bairavi Venkatesh 7. Kevin Garrone Senior Design Project Advisor: Mr. Jeff Salvage Fall 2016 to Spring 2017 1 Table of Contents Revision History.............................................................................................................................. 4 1. Introduction ............................................................................................................................. 5 1.1. Purpose ............................................................................................................................. 5 1.2. Overview .......................................................................................................................... 5 1.3. Product Scope ................................................................................................................... 6 1.3.1. In Scope .................................................................................................................... 6 1.3.2. Out of Scope ............................................................................................................. 7 1.4. Definitions ........................................................................................................................ 7 2. Overall Description ................................................................................................................. 9 2.1. Hardware Functions
    [Show full text]
  • Guidelines for Tools Development and Operating Environments
    Managing social, behavioral and economic data and metadata Guidelines for Tools Development and Operating Environments Author/Maintainer Pascal Heus, Open Data Foundation Contributors Jack Gager(Metadata Technology), Jannick Jensen (Danish Data Archive), Herve Lhours (UKDA) Version 2010-08-03 Table of Contents Overview....................................................................................................................................................2 Product Development.................................................................................................................................3 Environment.......................................................................................................................................... 3 Collaborative environment.................................................................................................................... 4 Licensing............................................................................................................................................... 5 Products Guide...........................................................................................................................................8 Overview............................................................................................................................................... 8 Web server software.............................................................................................................................. 8 Rich client Platforms...........................................................................................................................10
    [Show full text]
  • Windows NT Architecture Previous Screen Gilbert Held Payoff Windows NT Is a Sophisticated Operating System for Workstations and Network Servers
    50-30-19 Windows NT Architecture Previous screen Gilbert Held Payoff Windows NT is a sophisticated operating system for workstations and network servers. This article helps network managers to understand the communications capability of workstations and servers running on Windows NT, and data base administrators to determine the suitability of this platform for a structured query language (SQL) data base server. Introduction Windows NT is a 32-bit, preemptive multitasking operating system that includes comprehensive networking capabilities and several levels of security. Microsoft markets two version of Windows NT: one for workstations—appropriately named Windows NT Workstation—and a second for servers—Windows NT Server. This article, which describes the workings of the NT architecture, collectively references both versions as Windows NT when information is applicable to both versions of the operating system. Similarly, it references a specific version of the operating system when the information presented is specific to either Windows NT Workstation or Windows NT Server. Architecture Windows NT consists of nine basic modules. The relationship of those modules to one another, as well as to the hardware platform on which the operating system runs, is illustrated in Exhibit 1. Windows NT Core Modules Hardware Abstraction Layer The hardware abstraction layer (HAL) is located directly above the hardware on which Windows NT operates. HAL actually represents a software module developed by hardware manufacturers that is bundled into Windows NT to allow it to operate on a specific hardware platform, such as Intel X86, DEC Alpha, or IBM PowerPC. HAL hides the specifics of the hardware platform from the rest of the operating system and represents the lowest level of Windows NT.
    [Show full text]
  • Microsoft Office Application Specialist, Short-Term Certificate 1
    Microsoft Office Application Specialist, Short-Term Certificate 1 MICROSOFT OFFICE Suggested Semester Sequence Course Title Credit APPLICATION SPECIALIST, Hours Summer Start SHORT-TERM CERTIFICATE Select one of the following: 3 ACCT-1011 Business Math Applications ACCT-1020 Applied Accounting This short-term certificate provides knowledge and skills in preparation Select one of the following: 3 for the Word, Excel, Access, PowerPoint, and Outlook MOS (Microsoft IT-1010 Introduction to Microcomputer Office Specialist) exams. Students enrolled in this certificate program will Applications acquire competencies in advanced word processing, spreadsheet design IT-101H Honors Introduction to Microcomputer and use, presentation software, email application features including Applications calendaring, and database maintenance. Credit Hours 6 Program contact: Learn more (http://www.tri-c.edu/programs/business- First Semester management/business-technology/microsoft-office-specialist-short- BT-1201 Word Processing 3 term-certificate.html) BT-2040 Emerging Workplace Technology 3 This certificate will be automatically awarded when the certificate BT-2210 Presentation Software 2 requirements are completed. If you do not want to receive the certificate, BT-2300 Business Database Systems (Access) 3 please notify the Office of the Registrar at [email protected]. Credit Hours 11 Learn more (http://catalog.tri-c.edu/archives/2017-2018/pathways/ Second Semester business/business-technology) about how certificate credits apply to the BT-2200 Advanced Word Processing 3 related degree. BT-2220 Business Spreadsheet Applications (Excel) 3 Credit Hours 6 Gainful Employment Disclosure (http://www.tri-c.edu/about/disclosure/ Microsoft_Office_Specialist/Gedt.html) Total Credit Hours 23 Students must be able to touch type at a combined speed and accuracy rate of 25 wpm.
    [Show full text]
  • Accessing Windows Applications from Unix and Vice Versa
    50-20-42 DATA COMMUNICATIONS MANAGEMENT ACCESSING WINDOWS APPLICATIONS FROM UNIX AND VICE VERSA Raj Rajagopal INSIDE Accessing Windows Applications from an X-Station, Coexistence Options, Windows in an X-Station, Accessing Windows Applications, Accessing UNIX Applications from Windows Desktops, Emulators Migrating from one environment to another takes planning, resources and, most importantly, time (except in very trivial cases). This implies that even if eventually migrating to another environment, one still has to deal with coexistence among environments in the interim. In many com- panies it would make good business sense not to migrate legacy systems at all. Instead, it may be better to develop new systems in the desired en- vironment and phase out the legacy applications. The data created by the legacy applications is important and one must ensure that data can be ac- cessed from a new environment. Coexistence considerations are very im- portant in this case. Coexistence between Windows PAYOFF IDEA NT, UNIX, and NetWare deals with a Some users want applications they develop in number of related issues. One may one environment to execute in other environ- need to access Windows applications ments with very little change. With this approach, they can continue to develop applications with from a UNIX machine or need to ac- the confidence that they will execute in another cess UNIX applications from Win- environment even if the environments change in dows desktops. One may prefer to the future. In applications that can run in both have the same type of desktop (Òan Windows NT and UNIX, this can be accomplished enterprise desktopÓ) for all users and in several ways: be able to access different environ- •use APIs — there are three flavors of this ap- ments.
    [Show full text]
  • Introduction to MS-DOS
    1.Introduction to MS-DOS : MS-DOS (Microsoft Disk Operating System) was the Microsoft-marketed version of the first widely-installed operating system in personal computers. It was essentially the same operating system that (Bill Gates's) young company developed for IBM as Personal Computer - Disk Operating System in 1981. Most users of either DOS system simply referred to their system as Disk Operating System. Like PC-DOS, MS-DOS was (and still is) a non-graphical line-oriented command- driven operating system, with a relatively simple interface but not overly "friendly" user interface. Its prompt to enter a command looks like this: C:\> MS-DOS does not care about anything called an icon, wallpaper or screen saver. Rather than being considered as a Graphical User Interface (GUI) MS-DOS is what is known as a command-line interface. You type commands on what is called the command line. MS-DOS is a single-user, single-tasking computer operating system. In spite of its very small size and relative simplicity, it is one of the most successful operating systems that has been developed to date. In DOS, a file name consists of eight character followed by a 3 character file extension. The size of a file is restricted to a 4 byte file descriptor, which limits a file’s maximum size to approximately 4 billion characters. The first release of DOS could not read or write to disk drives so users could only read and write to a floppy disc. DOS was not a state of the art operating system, even for its time.
    [Show full text]
  • Chapter 1. Origins of Mac OS X
    1 Chapter 1. Origins of Mac OS X "Most ideas come from previous ideas." Alan Curtis Kay The Mac OS X operating system represents a rather successful coming together of paradigms, ideologies, and technologies that have often resisted each other in the past. A good example is the cordial relationship that exists between the command-line and graphical interfaces in Mac OS X. The system is a result of the trials and tribulations of Apple and NeXT, as well as their user and developer communities. Mac OS X exemplifies how a capable system can result from the direct or indirect efforts of corporations, academic and research communities, the Open Source and Free Software movements, and, of course, individuals. Apple has been around since 1976, and many accounts of its history have been told. If the story of Apple as a company is fascinating, so is the technical history of Apple's operating systems. In this chapter,[1] we will trace the history of Mac OS X, discussing several technologies whose confluence eventually led to the modern-day Apple operating system. [1] This book's accompanying web site (www.osxbook.com) provides a more detailed technical history of all of Apple's operating systems. 1 2 2 1 1.1. Apple's Quest for the[2] Operating System [2] Whereas the word "the" is used here to designate prominence and desirability, it is an interesting coincidence that "THE" was the name of a multiprogramming system described by Edsger W. Dijkstra in a 1968 paper. It was March 1988. The Macintosh had been around for four years.
    [Show full text]