Operating systems and utility software
แนะนำใหม่
19:11
ระบบปฏิบัติการ
คุณไม่เคยเห็นมัน และคุณจะไม่มีวันเห็น — แต่มันก็อยู่ตรงนั้นเสมอ ด้านหลังแอปที่คุณเปิด ไฟล์ที่คุณบันทึก และการแตะหน้าจอทุกครั้ง มีสิ่งที่ไม่อาจมองเห็นได้…
บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้
ในบทเรียนนี้
| English | ความหมาย |
|---|---|
| guidance computer | A computer that calculates and controls the direction of a spacecraft or vehicle. |
| operating system/ˈɒpəreɪtɪŋ ˈsɪstəm/ | ระบบปฏิบัติการ |
| priority/praɪˈɒrɪti/ | The level of importance that decides which task or interrupt is handled first. |
| scheduler/ˈʃedjʊlə/ | The part of an operating system that decides which process runs next. |
| Utility programs/juːˈtɪlɪti ˈprəʊɡræmz/ | System programs that maintain, repair or improve the performance of a computer. |
| Hardware/ˈhɑːdweə/ | The physical parts of a computer system that can be touched. |
| instructions/ɪnˈstrʌkʃnz/ | Commands that tell a computer what actions to perform. |
| networks/ˈnetwɜːks/ | A set of connected devices or nodes that can exchange information. |
| interface/ˈɪntəfeɪs/ | A way for users or programs to communicate with the computer's hardware. |
| application programs | Programs designed to help users carry out particular tasks. |
| processor time | The time a processor spends carrying out instructions for a process. |
| memory/ˈmeməri/ | The part of a computer that holds data and programs currently in use. |
| storage/ˈstɔːrɪdʒ/ | Keeping data or programs on a storage medium for later access. |
| input/output | The movement of data into and out of a computer. |
| application software/ˌæplɪˈkeɪʃn ˈsɒftweə/ | Programs designed to help users carry out particular tasks. |
| device driver/dɪˈvaɪs ˈdraɪvə/ | ไดรเวอร์อุปกรณ์ |
| Memory management/ˈmeməri ˈmænɪdʒmənt/ | The operating system's control of how memory is shared, protected and freed. |
| memory protection/ˈmeməri prəˈtekʃn/ | การป้องกันหน่วยความจำ |
| pages/ˈpeɪdʒɪz/ | Fixed-size blocks of a process's virtual address space used in a paging memory system. |
| RAM/ræm/ | Random-access memory used for working data and instructions, usually losing its contents when power is removed. |
| disk/dɪsk/ | A storage device that holds programs and data even when power is off. |
| virtual memory/ˈvɜːtʃuːəl ˈmeməri/ | หน่วยความจำเสมือน |
| paging/ˈpeɪdʒɪŋ/ | การแบ่งหน้า |
| physical memory | The actual memory hardware that holds data and programs currently in use. |
| process/ˈprəʊses/ | โปรเซส |
| Process management/ˈprəʊses ˈmænɪdʒmənt/ | The operating system's control of processes, including creating, scheduling and ending them. |
| CPU/ˌsiː piː ˈjuː/ | The part of a computer that carries out program instructions. |
| scheduling/ˈʃedjuːlɪŋ/ | การจัดตาราง |
| time slice/taɪm slaɪs/ | ช่วงเวลา |
| state/steɪt/ | The saved information needed to continue a program from its current point. |
| multitasking/ˈmʌltitæskɪŋ/ | Managing multiple tasks during the same period, by sharing processor time or using multiple processors. |
| addresses | Numbers that identify specific locations in a computer's memory. |
| interrupt/ˈɪntərʌpt/ | A signal or event that causes the processor to suspend normal execution and run an appropriate service routine. |
| hardware interrupt/ˈhɑːdweə ˈɪntərʌpt/ | ฮาร์ดแวร์อินเตอร์รัปต์ |
| software interrupt/ˈsɒftweə ˈɪntərʌpt/ | ซอฟต์แวร์อินเตอร์รัปต์ |
| interrupt handler/ˈɪntərʌpt ˈhændlə/ | ตัวจัดการอินเตอร์รัปต์ |
| File management | Creates, names, copies, moves and deletes files and folders. |
| Security management | User accounts and passwords , access rights, encryption of stored data, a firewall , automatic security updates , and a log of who did what. |
| folders | Containers used to organise files and other folders in a file system. |
| directory/daɪˈrektəri/ | ไดเร็กทอรี |
| access rights/ˈækses raɪts/ | สิทธิ์การเข้าถึง |
| user accounts/ˈjuːzə əˈkaʊnts/ | Records identifying users and associating them with access settings, permissions and other system information. |
| passwords | Secret strings of characters used to check a user's identity. |
| encryption/enˈkrɪpʃn/ | Transforming information using an algorithm and key so that unauthorised readers cannot readily understand it. |
| firewall/ˈfaɪəwɔːl/ | A security system that filters network traffic according to rules. |
| security updates | Changes to software that fix known weaknesses and help protect the computer. |
| log/lɒɡ/ | A record of events and actions on a computer system. |
| system software/ˈsɪstəm ˈsɒftweə/ | Software that runs and maintains a computer and supports its application programs. |
| Disk formatter | A utility that prepares a disk for use by setting up a file system. |
| file system | The method used to organise, store and find files on a storage device. |
| Virus checker | A program that finds and separates viruses and other harmful software. |
| database/ˈdeɪtəbeɪs/ | An organised collection of data that can be accessed and managed. |
| signatures/ˈsɪɡnɪtʃəz/ | ลายเซ็น |
| Defragmentation software | Gathers the scattered blocks of each file together. Disk contents analysis and repair : shows what uses the space. |
| blocks | Groups of memory locations that flash memory can erase together. |
| Disk contents analysis and repair | Utility functions that examine disk space and find and fix storage problems. |
| bad sectors | Areas of a disk that cannot safely store or return data. |
| file-system errors | Problems in the records used to organise and locate files on a disk. |
| File compression | Shrinks files for storage and transfer. Back-up software : copies files to another medium on a schedule. |
| Back-up software | A utility that copies data so it can be restored after loss or damage. |
| incremental backups/ˌɪŋkrɪˈmentl ˈbækʌps/ | การสำรองข้อมูลแบบเพิ่มทีละส่วน |
| hard disk/hɑːd dɪsk/ | A storage device that records data magnetically on rotating platters and accesses it with moving heads. |
| fragmented/fræɡˈmentɪd/ | การ fragmented (การกระจายของข้อมูล) |
| platter/ˈplætə/ | A flat, circular disk inside a hard drive that stores data. |
| read/write head/riːd raɪt hed/ | The part of a hard disk drive that reads and writes data on a platter. |
| SSD | A storage device that keeps data without power using electronic memory. |
| temporary files | Files created for short-term use that may no longer be needed later. |
| malware/ˈmælweə/ | Software designed to damage, disrupt, exploit or gain unauthorised access to computer systems. |
| ransomware/ˈrænsəmweə/ | Malicious software that blocks access to data or systems and demands payment, often by encrypting files. |
สัญญาณเตือน 1202
- Three minutes before the first Moon landing, the Apollo 11 guidance computer flashed a code the crew had never seen in training: 1202. A misconfigured radar was flooding it with work it could not finish.
- ระบบปฏิบัติการ ขนาดเล็กของคอมพิวเตอร์ทำงานตามที่ระบบปฏิบัติการควรทำ. มันจัดลำดับงานทุกชิ้นตามความสำคัญ, ตัดงานที่ไม่สำคัญทิ้ง, และรักษาการคำนวณการลงจอดให้ทำงานต่อไป. การลงจอดดำเนินต่อไป.
- หากไม่มีตัวจัดการงานนี้ คอมพิวเตอร์จะหยุดทำงานและการลงจอดจะถูกยกเลิก. โทรศัพท์และแล็ปท็อปทุกเครื่องในปัจจุบันตัดสินใจสิ่งเดียวกันนี้หลายพันครั้งต่อวินาที.
- บทเรียนนี้คือเหตุผลว่าทำไมคอมพิวเตอร์จึงต้องการ OS, งานห้าประการของการบริหารจัดการที่หลักสูตรระบุ, และโปรแกรมutilityที่รวมอยู่กับมัน.

ทำไมคอมพิวเตอร์จึงต้องมีระบบปฏิบัติการ
- ฮาร์ดแวร์เพียงอย่างเดียวสามารถดึงและดำเนินการคำสั่งได้เท่านั้น. มันไม่รู้จักไฟล์ โปรแกรม เครือข่าย หรือผู้ใช้เลย.
- OS จัดหา อินเทอร์เฟซ ระหว่างผู้ใช้กับฮาร์ดแวร์, และ ซ่อนความซับซ้อน ของฮาร์ดแวร์จากผู้ใช้และโปรแกรมแอปพลิเคชัน.
- มัน จัดการทรัพยากรฮาร์ดแวร์, เวลาของโปรเซสเซอร์ ความจำ พื้นที่เก็บข้อมูล และอินพุต/เอาต์พุต, และ แบ่งปัน ระหว่างโปรแกรม; มัน โหลดซอฟต์แวร์แอปพลิเคชัน เข้าความจำและรันมัน; และมันให้ความปลอดภัยและ utility programs.
- หากไม่มีสิ่งนี้ ทุกโปรแกรมจะต้องมีไดรเวอร์อุปกรณ์ของตัวเอง และจะมีได้เพียงโปรแกรมเดียวที่รันได้อย่างปลอดภัยในขณะเดียวกัน

One layer between every program and the hardware
Where the operating system sits
Tap each layer. The OS is the middle layer — it sits between your applications and the hardware, sharing the machine safely so programs never touch the hardware directly.
Which is a core job of an operating system?
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The OS manages hardware and provides services and a UI, letting multiple programs run safely on shared hardware.
The operating system lets several programs share the same hardware safely, so they don't interfere with each other.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Sharing the CPU, memory and devices safely between many programs is exactly what the OS is for.
Which are purposes of an operating system? Select ทั้งหมด that apply.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Interface, hiding complexity, managing and sharing resources are the OS's jobs. Translation is a compiler's or interpreter's.
การจัดการความจำ
- Memory management allocates memory to each program when it is loaded and frees it when the program ends.
- It keeps every program's memory separate, memory protection, so one program cannot overwrite another's data.
- It swaps pages between RAM and disk, virtual memory through paging, so more programs can be open than physical memory allows.

Each process gets its own fenced block
Virtual memory (paging) lets the OS:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Paging moves blocks between RAM and disk so programs can use more memory than is physically installed.
การจัดการโปรเซส
- A running program is a process. Process management creates and ends processes.
- It decides which process gets the CPU next, scheduling, and for how long, a time slice, then saves the process's state and switches to the next.
- It resolves conflicts when two processes want the same resource, and can end one that stops responding.
A running program is called a:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Process management loads, schedules and switches between processes (running programs).
ตัวอย่างวิธีทำ: วิธีที่ OS ทำให้ multitasking เป็นไปได้
- อธิบายว่า memory management และ process managementอนุญาตให้หลายโปรแกรมรันพร้อมกันได้. [4]
- Memory management โหลดหลายโปรแกรมเข้าความจำพร้อมกัน แต่ละโปรแกรมอยู่ในพื้นที่ป้องกันของตัวเอง, และติดตามว่าที่อยู่ไหนเป็นของโปรแกรมไหน.
- Process management แบ่งปันโปรเซสเซอร์ระหว่างพวกเขา: Each process runs for a time slice, the OS saves its state and switches to the next.
- The switching is so fast that all the programs appear to run at the same time, though the processor executes only one at any instant.

Put the steps that let several programs appear to run at once in order.
ความยาก 3/5 · 200 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Memory management does the first step; process management does the rest.
การจัดการฮาร์ดแวร์และการขัดจังหวะ
- The OS talks to each device through its device driver, queues and buffers data going to slow devices such as a printer, and shares one device between several programs.
- A hardware interrupt comes from a device: a key pressed, a printer out of paper, a disk transfer finished, a power failure. A software interrupt comes from a program: division by zero, an invalid instruction, a request for an OS service.
- The interrupt handler saves the state of the current process, deals with the interrupt, then restores the process and continues.

A printer runs out of paper and signals the processor. This is:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
It comes from a device. A software interrupt comes from a program, such as a division by zero.
การจัดการไฟล์และการจัดการความปลอดภัย
- การจัดการไฟล์: สร้าง ตั้งชื่อ คัดลอก ย้าย และลบไฟล์และโฟลเดอร์; รักษาระบบโครงสร้างของ ไดเร็กทอรี และบันทึกตำแหน่งที่แต่ละไฟล์อยู่บนดิสก์; จัดสรรพื้นที่ดิสก์; กำหนด สิทธิ์การเข้าถึง สำหรับผู้ใช้แต่ละคน
- การจัดการความปลอดภัย: บัญชีผู้ใช้และรหัสผ่าน สิทธิ์การเข้าถึง การเข้ารหัสข้อมูลที่จัดเก็บ ไฟร์วอลล์ การอัปเดตความปลอดภัยอัตโนมัติ และบันทึกกิจกรรมของผู้ใช้
- คำถามแบบ "อธิบาย" ต้องการสิ่งที่ระบบปฏิบัติการ กระทำ จริงๆ ภายใต้หัวข้อต่างๆ โดยให้หนึ่งการกระทำต่อหนึ่งคะแนน
Match each OS management task to what it does.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
The OS juggles four core resources — the CPU (processes), RAM (memory), storage (files) and peripherals (devices).
ซอฟต์แวร์เสริม
- โปรแกรมเสริม เป็นซอฟต์แวร์ระบบที่ทำหน้าที่บำรุงรักษา ซ่อมแซม หรือปรับปรุงประสิทธิภาพคอมพิวเตอร์ แทนที่จะทำงานตามความต้องการของผู้ใช้
- โปรแกรมฟอร์แมตดิสก์: เตรียมพร้อมใช้งานดิสก์โดยสร้างระบบไฟล์ และลบข้อมูลเดิมที่มีอยู่ โปรแกรมสแกนไวรัส: เปรียบเทียบไฟล์กับฐานข้อมูล ลายเซ็น ที่รู้จัก ตรวจสอบพฤติกรรม แยกไฟล์ที่พบออกไว้ และต้องมีการอัปเดตเสมอ
- ซอฟต์แวร์จัดระเบียบดิสก์ (Defragmentation): รวบรวมบล็อคกระจายตัวของไฟล์แต่ละตัวเข้าด้วยกัน การวิเคราะห์และซ่อมแซมเนื้อหาในดิสก์: แสดงการใช้พื้นที่ พบและแก้ไขบล็อคเสียและข้อผิดพลาดในระบบไฟล์
- การบีบอัดไฟล์: ลดขนาดไฟล์เพื่อการจัดเก็บและการส่งต่อ ซอฟต์แวร์สำรองข้อมูล: คัดลอกไฟล์ไปยังสื่ออื่นตามกำหนดเวลา ทำการสำรองข้อมูลเต็มรูปแบบ แล้วทำ การสำรองข้อมูลแบบเพิ่มทีละส่วน (Incremental backups) ของสิ่งที่เปลี่ยนแปลงไป

แต่ละโปรแกรมทำหน้าที่บำรุงรักษาเพียงงานเดียว

System-maintenance programs such as antivirus, backup and defragmenter are called ______ software.
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Utility software maintains the system; word processors and browsers are application software.
ตัวอย่างวิธีทำ: การจัดระเบียบดิสก์ช่วยเพิ่มประสิทธิภาพได้อย่างไร
- อธิบายว่าการจัดระเบียบดิสก์สามารถช่วยเพิ่มประสิทธิภาพของคอมพิวเตอร์ได้อย่างไร [3]
- ดิสก์แข็งจัดเก็บไฟล์ในบล็อคว่างที่หาเจอ ดังนั้นเมื่อเวลาผ่านไป ไฟล์จะกลายเป็น ** fragmented (กระจัดกระจาย)** กระจายอยู่บนแผ่นดิสก์ และการอ่านไฟล์ต้องใช้หัวอ่าน/เขียนเคลื่อนที่หลายครั้ง
- โปรแกรมจัดระเบียบดิสก์จะย้ายบล็อคของแต่ละไฟล์มาเรียงติดกัน เพื่อให้จัดเก็บเป็น ต่อเนื่อง (Contiguous) และรวบรวมพื้นที่ว่างให้เป็นบริเวณเดียว
- จากนั้นสามารถอ่านไฟล์ด้วยจำนวนครั้งที่หัวอ่านเคลื่อนที่น้อยลงโหลดเร็วขึ้น และไฟล์ใหม่สามารถเขียนลงในพื้นที่ต่อเนื่องได้ SSD ไม่มีหัวเคลื่อนที่จึงไม่ได้รับประโยชน์จากสิ่งนี้

A disk defragmenter is useful on a hard disk but NOT on an SSD because:
ความยาก 1/5 · 100 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
Defragmenting reduces head-movement (seek) time on a spinning disk; an SSD has no heads, so it gains nothing (and the extra writes wear it).
ตัวอย่างวิธีทำ: เขียนบรรทัดเดียวจากโปรแกรมเสริมไปยังวัตถุประสงค์
| โปรแกรมเสริม | วัตถุประสงค์ |
|---|---|
| การจัดระเบียบดิสก์ | ไฟล์โหลดเร็วขึ้นเพราะบล็อคของไฟล์อยู่ติดกัน |
| ซ่อมแซมดิสก์ | ดิสก์ที่มีบล็อคเสียหรือข้อผิดพลาดในระบบไฟล์สามารถใช้งานได้อีกครั้ง |
| วิเคราะห์เนื้อหาในดิสก์ | ปลดปล่อยพื้นที่โดยการค้นหาไฟล์ขนาดใหญ่ ไฟล์ซ้ำซ้อน และไฟล์ชั่วคราว |
| บีบอัดไฟล์ | เก็บข้อมูลได้มากขึ้นบนดิสก์และส่งต่อได้เร็วขึ้น |
| สแกนไวรัส | ค้นพบมัลแวร์และแยกออกไว้ |
| ซอฟต์แวร์สำรองข้อมูล | ฟื้นฟูข้อมูลหลังสูญเสีย เสียหาย หรือถูกโจมตีด้วย ransomware |
- ประสิทธิภาพอยู่ที่ด้านซ้าย ความปลอดภัยอยู่ที่ด้านขวา แต่ละโปรแกรมเสริมจับคู่กับวัตถุประสงค์ได้เพียงอย่างใดอย่างหนึ่งเท่านั้น
Match each utility to its purpose.
ความยาก 2/5 · 140 เหรียญ + บอนัสน้อยๆ เมื่อทำสำเร็จครั้งแรกในวันนี้
One utility, one purpose. The examiner's line-drawing questions are marked exactly this way.
การ์ดนี้ได้รับการแก้ไขแล้ว จึงแสดงเป็นภาษาอังกฤษจนกว่าคำแปลจะได้รับการอัปเดต
Marks that slip away
- "Manages memory" is the heading, not the answer. Say what it does: allocates, protects, frees, pages to disk.
- A utility is not the OS and not an application. It performs one maintenance task.
- Defragmentation helps a hard disk 硬盘; it does nothing for an SSD.
- A virus checker should receive regular updates; a clean backup can help recover data after ransomware.
คุณเข้าใจแล้ว
- ระบบปฏิบัติการคืออินเทอร์เฟซระหว่างผู้ใช้กับฮาร์ดแวร์: ล่องซ่อนความซับซ้อน จัดการและแบ่งปันโปรเซสเซอร์ หน่วยความจำ พื้นที่จัดเก็บและ I/O รวมถึงโหลดและรันโปรแกรม
- 5 หน้าที่การจัดการ: หน่วยความจำ (จัดสรร ปกป้อง จัดหน้า), กระบวนการ (ตั้งเวลาตาม slice สลับ), ฮาร์ดแวร์ (ไดรเวอร์ บัฟเฟอร์ อินเตอร์รัปต์), ไฟล์ (ไดเร็กทอรี พื้นที่ สิทธิ์การเข้าถึง), ความปลอดภัย (บัญชี เข้ารหัส ไฟร์วอลล์ บันทึก)
- Multitasking = พื้นที่หน่วยความจำที่ป้องกัน + การสลับแบบแบ่งเวลาเร็วพอจนดูเหมือนเกิดขึ้นพร้อมกัน
- โปรแกรมเสริม: ฟอร์แมต, สแกนไวรัส, จัดระเบียบดิสก์, วิเคราะห์และซ่อมแซมดิสก์, บีบอัด, สำรองข้อมูล แต่ละตัวมีวัตถุประสงค์เดียว
เกิดปัญหาอะไรขึ้น? เฉพาะทีมเว็บไซต์เท่านั้นที่เห็นข้อมูลนี้