Chapter 4 Objectives ✓ Describe three fundamental categories of software and their relationships ✓ Explain the relationship of algorithms to software ✓ Compare and contrast PC applications and Web applications ✓ Describe the role of the operating system in a modern computer system
Objectives (cont.) ✓ Explain how file systems are organized ✓ Outline the evolution of user interfaces from machine-language programming to futuristic interfaces ✓ Describe some challenges of applying intellectual property laws to software
Computer System Components ✓Hardware : Equipment associated with system ✓Software : instructions tell the computer what to do (programs). ✓Users: oProgrammers. oEnd-users.
A Fast, Stupid Machine ✓ Typical computer is only capable of: • Performing basic arithmetic operations()عمليات حسابية • Such as 7 + 3 and 15 – 8 • Performing simple logical comparisons ()عمليات منطقية • Is this number less than that number? • 5 >? 3 230 <? 150
• Are these two values identical? 200 =? 200 60=?70
Consumer Applications (cont.) ✓ Documentation: Instructions for installing and using software—may be printed manuals or digital files ✓ Updating (fix bug) ✓ Upgrading (add new feature) software. ✓ Compatibility: Read system requirements
✓ System software ()برمجيات النظام: Class of software that
includes: 1-operating system 2-utility programs ✓ Handles low-level details and hundreds of other tasks behind the scenes ✓ User does not need to be concerned about details.
وغبها ر،HardDisk نظام اعادة ترتيب ال،نظام ادارة الملفات: مثل
✓ Serve as tools for doing system maintenance ()صيانة
and repairs ( )اصالحnot handled by operating system ✓ Utilities make it easier for users to: • Copy files between storage devices ()نسخ ملفات • Repair damaged data files ()اصالح اعطال • Translate files so different programs can read them • Guard against viruses and other harmful programs • Compress files so they take up less space
Such as OS for smart phones or game machines. ✓ Handheld devices may store operating system in flash memory ✓ Most modern PCs hold only a small portion of the operating system in ROM, rest is hold in Hard disk. ✓ Remainder of operating system is loaded during booting, when computer is turned on.
The Operating System When you turn on the computer, the CPU automatically begins executing instructions stored in ROM. The operating system (OS) loads from the disk into part of the system’s memory. وتكون،(ROM) (بتنفيذ التعليمات المخزنة ب الCPU) يبدأ المعالج الرئيسي،عند تشغيل الجهاز ومن ثم يقوم الجهاز بينفيذ،(الى الذاكرةharddisk) هذه التعليمات هي احضار نظام التشغيل من تعليمات نظام التشغيل
The Operating System (cont.) The OS loads the application program into memory and remains in memory, so it can provide services to the application program—display on-screen menus, communicate with the printer, and perform other common actions.
The Operating System (cont.) To avoid losing your data file when the system is turned off, save it to the disk. When you reopen the file, the OS locates it on the disk and copies it into memory.
The User Interface: The Human–Machine Connection ✓ User interface ()واجه المستخدم: Critically important component of software ✓ Early users spent tedious hours writing and debugging machine-language instructions. ✓ Later users programmed using easier languages that were still challenging. ✓ Now, most users work with preprogrammed applications.
✓ Linux, Sun Solaris, and other Unix variations ✓ Google Chrome OS: Linux based OS for low-cost PCs, netbooks, and tablet devices ✓ Google Android: Designed for smart phones ✓ Blackberry OS: Proprietary multitasking OS ✓ Palm WebOS: Proprietary smart phone OS
Compatibility Issues • Operating systems are designed to run on particular hardware platforms. • Applications are designed to run on particular operating systems. • Most cloud applications are designed to run on multiple platforms.
Software Piracy and Intellectual Property Laws ✓ Software piracy ()قرصنة: Illegal duplication of copyrighted software—is rampant. متفش ✓ Few software companies use physical copy protection methods and that makes copying easy ✓ Many people unaware of laws ✓ Others simply look the other way