Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
Application Software (Computer Languages) แบ่งออกเป็น 3 ประเภท คือ 1. Machine language ภาษาเครื่องประกอบด้วย กลุ่มของเลขฐานสองและเป็นภาษาเดียวที่คอมพิวเตอร์ เข้าใจ แต่ละคำสั่งประกอบด้วย 2 ส่วน คือ - operation code or “op code” - operand Example ADD 0184 000100000000000000000000000010111000
2. Low-Level language เป็นภาษาที่พัฒนามาจาก ภาษาเครื่อง มีภาษาเดียวเท่านั้น คือ Assembly language โดยการใช้สัญลักษณ์ (Symbols) แทนเลขฐานสอง Example S CREDIT, TOTAL 011111 011111111111 000000111111 op code 2047 0063 (S) (CREDIT) (TOTAL)
Software ที่ใช้กับงานด้านการจัดการฐานข้อมูล - DBMS (Data Base Management System) - dBASE II, dBASE III PLUS, dBASE IV - FoxBase, FoxPro - ACCESS - Oracle - Delphi, VB, SQL - etc.
Operating System (OS) Operating System : เป็น Program modules ที่ใช้ในการควบคุมการทำงานของอุปกรณ์คอมพิวเตอร์ ต่าง ๆ เช่น Processor, main storage, I/O devices และ files ต่าง ๆ เป็นต้น Program modules เหล่านี้จะช่วย เพิ่มประสิทธิภาพของระบบคอมพิวเตอร์และช่วยให้การ ทำงานง่ายขึ้นสำหรับผู้ใช้ โดยทำหน้าที่เป็นสื่อกลาง ระหว่างโปรแกรม, ผู้ใช้(users) กับ Hardware
Operating System Operating System Abbreviated OS; sometimes called the executive. The software responsible for controlling the allocation and usage of hardware resources such as memory, central processing unit (CPU) time, disk space, and peripheral devices. The operating system is the foundation on which applications, such as word-processing and spreadsheet programs, are built. Popular operating system include CP/M, MS-DOS, the Macintosh OS, OS/2, Windows, Windows NT, and UNIX.
UNIX A multiuser, multitasking operating system originally developed by Ken Thompson and Dennis Ritchie at AT&T Bell Laboratories in 1969 for use on minicomputers.UNIX exists in various forms and implementations; among these are version developed at the University of California at Berkeley and versions released by AT&T, the most recent being AT&T System V. UNIX is considered a powerful operating system that, because it is written in the C language, is more portable-that is, less machine-specific--than other operating system. UNIX is available in several related forms, including AIX, a version of UNIX adapted by IBM (to run on RISC-based workstations), A/UX (a graphical version for the Apple Macintosh), and Mach (a rewritten but essentially UNIX-compatible operating system for the NeXT computer).
Overview of Function of an Operating System: • INTRODUCTION • Operating System is a very complex program • Its primary task is to manage system resources • Tasks include: • Load application for execution • Provide services (I/O services…) • Time sharing • Handle virtual memory • Maintain file system
Overview of Function of an Operating System: SYSTEM BOOTUP • When a computer is powered up, the boot loader program, which is stored in the ROM, will be executed • The task of the boot loader is to load OS from disk into memory and transfer the control to the OS when completed • Question: How can the boot loader know where on the disk it’s supposed to read? • Answer: On the disk, there is a special sector, called boot sector, boot record, or boot block. This contains executable code, which instructs computer hardware how to load the OS into the memory
Overview of Function of an Operating System: APPLICATION PROGRAM LOADING • Suppose we want to executing a.out at the Unix prompt. • Here is what will happen: • Hardware interrupts will occur. The OS steps in to service interrupt • The loader will look in the disk directory to see if the file exists. If it does, the loader will read a.out program to determine how much memory a.out needs • Enough memory will be allocated for a.out program • Loader will load a.out into memory. • Loader will determine the entry point of the a.out program
Overview of Function of an Operating System: APPLICATION PROGRAM LOADING (cont.) • The OS is now ready to execute a.out. It will execute a jump to the entry point of the a.out program. • The a.out program is executed as usual, according to its content • When a.out finishes execution, it initiates a call to the OS (exit() function, which was inserted by the compiler). The OS will step in, clean things up and prepare the system for the next waiting process on the running queue (if there any).
Overview of Function of an Operating System: Hardware Interrupt • Here is a brief summary what will happen when an interrupt • occurs. • An electrical signal is being sent to the CPU • CPU will try to complete executing the current instruction • Save the program state such as PC, stack pointer, register • values,… • Jump to the location of the interrupt service routine • (interrupt handler) and execute the interrupt handler • Interrupt handler will determine the nature of the • interrupt and act accordingly. • When the interrupt handler completes its task, it will • execute an IRET (interrupt return) • The original program state will be restored and run
The booting process Bootstrap ส่วนของคอมพิวเตอร์โปรแกรมที่ใช้สำหรับเรียกโปรแกรมอื่นเข้ามาในหน่วยความจำ เช่น ส่วนของโปรแกรมในหน่วยความจำรอมที่ใช้เรียกโปรแกรมควบคุมการทำงานของระบบ จากแผ่นจานแม่เหล็ก เป็นต้น ความหมายเดียวกับ loading program
Booting System • Booting Process • Loading first sector of diskette/disk into memory • Initializing system • Checking system • Testing peripheral • Loading basic OS into memory
Disk Components User data area contains the data grouped in files File directory contains entries describing files, volume names, and sub-directory First sector of Disk Boot area Second File Allocation Table copy of the first FAT First File Allocation Table contains information on space used in the user data area Jump Code BIOS Parameter Block Boot Code Vendor Identification
องค์ประกอบของ OS สามารถแบ่งออกเป็น 2 ประเภท คือ 1. Control programs 2. Processing programs CONTROL PROGRAMS in an Operating System - Supervisor, Monitor, or Executive program เป็นโปรแกรมที่สำคัญใช้ในการควบคุม (control) และประสาน งาน (coordinates) กับส่วนต่างๆของ OS ซึ่งโปรแกรมส่วนนี้ จะถูก load เก็บไว้ในหน่วยความจำหลักตลอดเวลาการใช้งาน ส่วนโปรแกรมอื่นๆ ของ OS จะถูกจัดเก็บไว้ในหน่วยความจำ สำรอง เช่น Disk เมื่อต้องการใช้งาน Supervisor จะทำหน้าที่ เรียกโปรแกรมเข้าสู่หน่วยความจำหลัก
Card reader Printer Channel 1 Channel 2 OS supervisor Job A program Job B program Channel 4 Display Channel 3 Dish drive Channels control the execution of I/O instruction
PROCESSING PROGRAMS in an Operating System - Translator programs เป็นโปรแกรมที่ทำหน้าที่ใน การแปลโปรแกรมที่ถูกเขียนด้วยภาษาคอมพิวเตอร์ต่างๆ ให้อยู่ในภาษาที่เครื่องคอมพิวเตอร์เข้าใจ คือ ภาษาเครื่อง บางครั้งจะเรียกว่า Compilers ภาษาคอมพิวเตอร์แต่ละภาษา จะมีตัวแปลภาษาเฉพาะตัว เช่น Assembler ใช้แปลภาษา Assembly Interpreter ใช้แปลภาษา BASIC FORTRAN Compiler