Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

Hardware

IGCSE Computer Science · ⁨Computer Science IGCSE⁩ · Topic 3 · ⁨หัวข้อ 3⁩

Video lesson for this topic · ⁨บทเรียนวิดีโอสำหรับหัวข้อนี้⁩ Open the video page · ⁨เปิดหน้าวิดีโอ⁩
18:08

ซีพียู

โปรเซสเซอร์ในโทรศัพท์ของคุณกำลังทำอะไรบางอย่างที่ง่ายจนแทบจะโง่เขลา ดึงคำสั่งหนึ่งมา คำนวณว่ามันหมายถึงอะไร ทำมันให้เสร็จ แล้วดึงคำสั่งถัดไป That is…

English narration · English + 中文 subtitles burned in · ⁨การบรรยายภาษาอังกฤษ · คำบรรยายภาษาอังกฤษ + 中文 ลอยตัวบนภาพ⁩

3.1

The central processing unit (CPU) · ⁨หน่วยประมวลผลกลาง (CPU)⁩

Syllabus · ⁨หลักสูตร⁩
English
Candidates should be able to: Notes and guidance
1 (a) Understand the role of the central processing unit (CPU) in a computer • The CPU processes instructions and data that are input into the computer so that the result can be output
(b) Understand what is meant by a microprocessor • A microprocessor is a type of integrated circuit on a single chip
2 (a) Understand the purpose of the components in a CPU, in a computer that has a Von Neumann architecture • Including: – units: arithmetic logic unit (ALU) and control unit (CU) – registers: program counter (PC), memory address register (MAR), memory data register (MDR), current instruction register (CIR) and accumulator (ACC) – buses: address bus, data bus and control bus
(b) Describe the process of the fetch–decode–execute (FDE) cycle, including the role of each component in the process • How instructions and data are fetched from random access memory (RAM) into the CPU, how they are processed using each component and how they are then executed • Storing data and addresses into specific registers • Using buses to transmit data, addresses and signals • Using units to fetch, decode and execute data and instructions
3 Understand what is meant by a core, cache and clock in a CPU and explain how they can affect the performance of a CPU • The number of cores, size of the cache and speed of the clock can affect the performance of a CPU
4 Understand the purpose and use of an instruction set for a CPU • An instruction set is a list of all the commands that can be processed by a CPU, and the commands are machine code
5 Describe the purpose and characteristics of an embedded system and identify devices in which they are commonly used • An embedded system is used to perform a dedicated functions. For example in, domestic appliances, cars, security systems, lighting systems or vending machines. This is different to a general purpose computer that is used to perform many different functions. For example in, a personal computer (PC) or a laptop
ไทย
ผู้เข้าสอบควรสามารถ: หมายเหตุและคำแนะนำ
1 (a) เข้าใจบทบาทของ central processing unit (CPU) ในคอมพิวเตอร์ • CPU ประมวลผลคำสั่งและข้อมูลที่ป้อนเข้าในคอมพิวเตอร์เพื่อให้ผลลัพธ์สามารถ output ได้
(b) เข้าใจความหมายของ microprocessor • Microprocessorคือประเภทหนึ่งของ integrated circuit บนชิปเดียว
2 (a) เข้าใจวัตถุประสงค์ของส่วนประกอบในหน่วยประมวลผลกลาง (CPU) ในคอมพิวเตอร์ที่มี สถาปัตยกรรม Von Neumann • รวมถึง: – หน่วย: หน่วยคำนวณและตรรกะ (ALU) และหน่วยควบคุม (CU) – รีจิสเตอร์: ตัวนับโปรแกรม (PC), รีจิสเตอร์ที่อยู่หน่วยความจำ (MAR), รีจิสเตอร์ข้อมูลหน่วยความจำ (MDR), รีจิสเตอร์คำสั่งปัจจุบัน (CIR) และแอคเคอมูลเลเตอร์ (ACC) – บัส: บัสที่อยู่, บัสข้อมูล และบัสควบคุม
(b) อธิบายกระบวนการ fetch–decode–execute (FDE cycle) รวมถึงบทบาทของแต่ละส่วนประกอบในกระบวนการนั้น • วิธีการดึงคำสั่งและข้อมูลจากหน่วยความจำเข้าถึงแบบสุ่ม (RAM) เข้าสู่ CPU, การประมวลผลโดยใช้แต่ละส่วนประกอบ และการดำเนินการตามคำสั่ง • การจัดเก็บข้อมูลและที่อยู่ลงในรีจิสเตอร์เฉพาะ • การใช้บัสในการส่งต่อข้อมูล ที่อยู่ และสัญญาณ • การใช้หน่วยเพื่อดึง คัดลอก และดำเนินการตามคำสั่งและข้อมูล
3 เข้าใจความหมายของ คอร์, แคช และ นาฬิกา (clock) ใน CPU และอธิบายว่าสามารถส่งผลต่อประสิทธิภาพของ CPUได้อย่างไร • จำนวนคอร์ ขนาดของแคช และความเร็วของนาฬิกา สามารถส่งผลต่อประสิทธิภาพของ CPU ได้
4 เข้าใจวัตถุประสงค์และการใช้งานของ ชุดคำสั่ง (instruction set) สำหรับ CPU • ชุดคำสั่งคือรายการของคำสั่งทั้งหมดที่ CPU สามารถประมวลผลได้ และคำสั่งเหล่านั้นคือรหัสเครื่อง (machine code)
5 อธิบายวัตถุประสงค์และลักษณะของ ระบบฝังตัว (embedded system) และระบุอุปกรณ์ที่ใช้ระบบเหล่านี้บ่อยครั้ง • ระบบฝังตัวถูกใช้เพื่อทำหน้าที่เฉพาะเจาะจง ตัวอย่างเช่น ในเครื่องใช้ไฟฟ้าในบ้าน รถยนต์ ระบบรักษาความปลอดภัย ระบบไฟส่องสว่าง หรือเครื่องขายอัตโนมัติ สิ่งนี้แตกต่างจากคอมพิวเตอร์อเนกประสงค์ที่ใช้งานเพื่อทำงานหลากหลายประเภท ตัวอย่างเช่น คอมพิวเตอร์ส่วนบุคคล (PC) หรือแล็ปท็อป

Source: Cambridge International syllabus · ⁨แหล่งที่มา: หลักสูตร Cambridge International⁩

English
The fetch-decode-execute cycle

The central processing unit 中央处理器 (CPU) is the part of the computer that processes data and carries out instructions 指令. It runs programs by repeating a cycle, millions of times each second.

Parts of the CPU

Part What it does
arithmetic logic unit 算术逻辑单元 (ALU) does calculations (add, subtract) and logical operations (compare)
control unit 控制单元 (CU) sends control signals to manage all the parts and tell them what to do
registers 寄存器 very small, very fast stores that hold one piece of data at a time

The parts are joined by buses 总线 — sets of wires that carry information:

  • the address bus 地址总线 carries memory addresses (one direction);
  • the data bus 数据总线 carries data and instructions (both directions);
  • the control bus 控制总线 carries control signals.

Special registers

These registers are used during the fetch–execute cycle.

Register Purpose
program counter 程序计数器 (PC) holds the address of the next instruction
memory address register 内存地址寄存器 (MAR) holds the address to read from or write to
memory data register 内存数据寄存器 (MDR) holds the data or instruction just fetched
current instruction register 当前指令寄存器 (CIR) holds the instruction now being carried out
accumulator 累加器 (ACC) holds the result of the ALU's calculations

The fetch–execute cycle

The fetch–execute cycle 取指执行周期 has three stages, repeated again and again:

  1. Fetch — the instruction is copied from memory 内存 into the CPU (using the PC, MAR and MDR). The PC then increases by 1.
  2. Decode — the control unit works out what the instruction means.
  3. Execute — the instruction is carried out (the ALU may do a calculation, with the result going to the accumulator).

Cache memory

Cache 高速缓存 is a small amount of very fast memory inside or close to the CPU. It stores data and instructions that the CPU uses often. The CPU can read from cache much faster than from main memory, so the computer runs faster.

What affects CPU performance

Feature Effect
number of cores 核心 each core can run instructions on its own, so more cores can do more work at the same time
cache size a larger cache holds more data ready for the CPU, so it waits less
clock speed 时钟速度 the number of cycles per second; a higher clock speed runs more instructions per second

Worked example. Two computers are identical except that A has a 3.0 GHz single-core CPU with 2 MB of cache, and B has a 2.4 GHz quad-core CPU with 8 MB of cache. Which is better for video editing, and why? Video editing splits into many tasks that can run at the same time, so B's four cores can process several streams in parallel while A can only work on one at a time. B's larger cache also keeps more frequently used data close to the CPU, so it has to fetch from RAM less often. B is the better choice, even though A has the higher clock speed. Never answer on clock speed alone: weigh cores, cache and clock speed together, and tie each one to the job being done.

Embedded systems

An embedded system 嵌入式系统 is a small computer built inside a larger device to do one fixed job. It is dedicated to that task, is usually small and low-cost, and has no general operating system. Examples: a washing machine, a microwave, a set-top box.

ไทย
วัฏจักร fetching-decoding-executing

หน่วยประมวลผลกลาง (CPU) คือส่วนของคอมพิวเตอร์ที่ประมวลผลข้อมูลและดำเนินการตาม คำสั่ง โดยจะทำงานโปรแกรมด้วยการซ้ำวงจรนั้นหลายล้านครั้งต่อวินาที

ชิปคอมพิวเตอร์สี่เหลี่ยมที่มีด้านบนเป็นโลหะเงางามและมีชื่อรุ่นพิมพ์อยู่บนมัน
หน่วยประมวลผลกลาง (CPU): ชิปที่ทำหน้าที่ประมวลผลข้อมูลและรันคำสั่ง

ส่วนประกอบของ CPU

ส่วน ทำหน้าที่อะไร
หน่วยคำนวณตรรกะ (ALU) ทำการคำนวณ (บวก, ลบ) และการดำเนินการทางตรรกะ (เปรียบเทียบ)
หน่วยควบคุม (CU) ส่งสัญญาณควบคุมเพื่อจัดการส่วนต่างๆ ทั้งหมดและบอกให้ทำสิ่งที่กำหนด
รีจิสเตอร์ ที่เก็บข้อมูลขนาดเล็กมากและเร็วมาก ซึ่งสามารถเก็บข้อมูลได้เพียงหนึ่งชิ้นในแต่ละครั้ง

ส่วนประกอบเหล่านี้เชื่อมต่อกันด้วย บัส — กลุ่มสายไฟที่ใช้ส่งข้อมูล:

  • บัสที่อยู่ ส่งที่อยู่หน่วยความจำ (ทางเดียว);
  • บัสข้อมูล ส่งข้อมูลและคำสั่ง (สองทาง);
  • บัสควบคุม ส่งสัญญาณควบคุม
แผนภาพบล็อกของ CPU ที่มีหน่วยควบคุม ALU และรีจิสเตอร์ เชื่อมต่อกับหน่วยความจำหลักผ่านบัสที่อยู่ ข้อมูล และควบคุม
CPU มีหน่วยควบคุม ALU และรีจิสเตอร์; บัสสามเส้นเชื่อมโยงมันเข้ากับหน่วยความจำหลัก

รีจิสเตอร์พิเศษ

รีจิสเตอร์เหล่านี้ถูกใช้ในช่วงรอบ fetch–execute

รีจิสเตอร์ วัตถุประสงค์
เคาน์เตอร์โปรแกรม (PC) เก็บที่อยู่ของคำสั่งถัดไป
รีจิสเตอร์ที่อยู่หน่วยความจำ (MAR) เก็บที่อยู่ที่จะอ่านหรือเขียนข้อมูล
รีจิสเตอร์ข้อมูลหน่วยความจำ (MDR) เก็บข้อมูลหรือคำสั่งที่ดึงมาใหม่ล่าสุด
รีจิสเตอร์คำสั่งปัจจุบัน (CIR) เก็บคำสั่งที่กำลังดำเนินการอยู่
แอมพลีฟายเออร์/ตัวสะสม (ACC) เก็บผลลัพธ์จากการคำนวณของ ALU

รอบ fetch–execute

รอบ fetch–execute มีสามขั้นตอน ซึ่งจะถูกทำซ้ำอีกครั้งและอีกครั้ง:

  1. Fetch — คัดลอกคำสั่งจากหน่วยความจำเข้าสู่ CPU (โดยใช้ PC, MAR และ MDR) จากนั้น PC จะเพิ่มขึ้น 1
  2. Decode — หน่วยควบคุมวิเคราะห์ว่าคำสั่งนี้มีความหมายอย่างไร
  3. Execute — ดำเนินการตามคำสั่ง (ALU อาจทำการคำนวณ โดยผลลัพธ์จะถูกส่งไปยัง ACC)
รอบ fetch-decode-execute แสดงเป็นกล่องสามกล่องที่เชื่อมต่อกันในวงกลม
โปรเซสเซอร์จะวนซ้ำสามขั้นตอน: ดึงคำสั่ง มาถอดรหัส แล้วจึงดำเนินการตามคำสั่ง

หน่วยความจำแคช

แคช เป็นหน่วยความจำขนาดเล็กแต่เร็วมาก ที่อยู่ภายในหรือใกล้กับ CPU ใช้สำหรับเก็บข้อมูลที่และคำสั่งที่ CPU มักจะใช้งาน CPU สามารถอ่านข้อมูลจากแคชได้เร็วกว่าหน่วยความจำหลักมาก ทำให้คอมพิวเตอร์ทำงานได้เร็วขึ้น

ปัจจัยที่มีผลต่อประสิทธิภาพของ CPU

คุณสมบัติ ผลกระทบ
จำนวน คอร์ แต่ละคอร์สามารถรันคำสั่งได้ด้วยตนเอง ดังนั้นยิ่งมีคอร์มากก็ยิ่งทำงานได้มากขึ้นในเวลาเดียวกัน
ขนาดแคช แคชที่ใหญ่กว่าสามารถเก็บข้อมูลได้มากขึ้นพร้อมสำหรับ CPU จึงต้องรอใช้น้อยลง
ความเร็วนาฬิกา (clock speed) จำนวนรอบต่อวินาที; ความเร็วนาฬิกาที่สูงกว่าสามารถรันคำสั่งได้มากกว่าต่อวินาที

ตัวอย่างแบบฝึกหัด. คอมพิวเตอร์สองเครื่องเหมือนกันทุกประการยกเว้น A มี CPU แบบคอร์เดียวความเร็ว 3.0 GHz พร้อมแคช 2 MB และ B มี CPU แบบ quad-core ความเร็ว 2.4 GHz พร้อมแคช 8 MB เครื่องใดดีกว่าสำหรับการตัดต่อวิดีโอ และเพราะเหตุใด? การตัดต่อวิดีโอแบ่งออกเป็นงานย่อยจำนวนมากที่รันได้พร้อมกัน ดังนั้น สี่คอร์ ของ B สามารถประมวลผลหลายสตรีมได้แบบขนาน ในขณะที่ A ทำงานได้เพียงอย่างละหนึ่งงานเท่านั้น Additionally แคช ที่ใหญ่กว่าของ B ช่วยเก็บข้อมูลที่นิยมใช้ไว้ใกล้กับ CPU มากขึ้น ทำให้ต้องดึงข้อมูลจาก RAM น้อยลง B จึงเป็นตัวเลือกที่ดีกว่า แม้ว่าจะมีความเร็วนาฬิกาต่ำกว่า A ก็ตาม อย่าตอบโดยอ้างอิงแค่ความเร็วนาฬิกาเพียงอย่างเดียว: ให้พิจารณา คอร์, แคช และความเร็วนาฬิกา together และเชื่อมโยงแต่ละสิ่งเข้ากับงานที่ต้องทำ

ระบบฝังตัว

ระบบฝังตัว คือคอมพิวเตอร์ขนาดเล็กที่ถูกสร้างอยู่ในอุปกรณ์ขนาดใหญ่เพื่อทำหน้าที่เฉพาะอย่างหนึ่ง มีความ專注ต่อภารกิจนั้นๆ โดยทั่วไปจะมีขนาดเล็ก ราคาถูก และไม่มีการใช้งานระบบปฏิบัติการทั่วไป ตัวอย่าง: เครื่องซักผ้า เตาไมโครเวฟ กล่องรับสัญญาณทีวี

แผงวงจรสีเขียวที่บรรจุชิป หน่วยความจำ และขั้วต่ออย่างหนาแน่น นำมาจากภายในระบบนำทาง satnav
เมนบอร์ดภายใน satnav: ระบบฝังตัวคือคอมพิวเตอร์ขนาดเล็กรุ่นเฉพาะเช่นนี้ที่ถูกฝังอยู่ในอุปกรณ์เพื่อทำหน้าที่เฉพาะอย่างหนึ่ง
Explore · ⁨สำรวจ⁩

The fetch-execute cycle · ⁨รอบ fetch-execute⁩

Tap round the loop the CPU repeats billions of times a second — fetch the instruction, decode what it means, execute it, then do it all again. · ⁨วนลูปที่ CPU ทำซ้ำหลายพันล้านครั้งต่อวินาที — ดึงคำสั่ง, ตีความความหมาย, ประมวลผล, แล้วทำทั้งหมดนี้อีกครั้ง⁩

Vocabulary · ⁨คำศัพท์⁩ Train · ⁨ฝึกฝน⁩
English ไทย
embedded system/emˈbedɪd ˈsɪstəm/ ระบบฝังตัว
Watch lesson · ⁨ดูบทเรียน⁩
3.2

Input devices · ⁨อุปกรณ์อินพุต⁩

Syllabus · ⁨หลักสูตร⁩
English
Candidates should be able to: Notes and guidance
1 Understand what is meant by an input device and why it is required • Including: – barcode scanner – digital camera – keyboard – microphone – optical mouse – QR code scanner – touch screen (resistive, capacitive and infra-red) – two-dimensional (2D) and three-dimensional (3D) scanners
2 Understand what is meant by an output device and why it is required • Including: – actuator – digital light processing (DLP) projector – inkjet printer – laser printer – light emitting diode (LED) screen – liquid crystal display (LCD) projector – liquid crystal display (LCD) screen – speaker – 3D printer
3 (a) Understand what is meant by a sensor and the purposes of sensors • Limited to: – acoustic – accelerometer – flow – gas – humidity – infra-red – level – light – magnetic field – moisture – pH – pressure – proximity – temperature
(b) Identify the type of data captured by each sensor and understand when each sensor would be used, including selecting the most suitable sensor for a given context
ไทย
ผู้เข้าสอบควรสามารถ: หมายเหตุและคำแนะนำ
1 เข้าใจความหมายของ อุปกรณ์อินพุต และเหตุผลที่ต้องมี • รวมถึง: – เครื่องสแกนบาร์โค้ด – กล้องดิจิทัล – คีย์บอร์ด – ไมโครโฟน – เมาส์เชิงแสง – เครื่องสแกน QR Code – จอสัมผัส (แบบต้านทาน, แบบจุลประจุ และอินฟราเรด) – เครื่องสแกนสองมิติ (2D) และสามมิติ (3D)
2 เข้าใจความหมายของ อุปกรณ์เอาต์พุต และเหตุผลที่ต้องมี • รวมถึง: – แอค추เอเตอร์ – โปรเจคเตอร์ DLP – เครื่องพิมพ์หมึกพ่น – เครื่องพิมพ์เลเซอร์ – หน้าจอ LED – โปรเจคเตอร์ LCD – หน้าจอ LCD – ลำโพง – เครื่องพิมพ์ 3 มิติ
3 (a) เข้าใจความหมายของ เซนเซอร์ และวัตถุประสงค์ของเซนเซอร์ • จำกัดอยู่เพียง: – เสียง – เอคเซลิโรมิเตอร์ – กระแสไหล – ก๊าซ – ความชื้น – อินฟราเรด – ระดับ – แสง – สนามแม่เหล็ก – ความชุ่มชื้น – ค่า pH – ความดัน – ระยะใกล้ – อุณหภูมิ
(b) ระบุประเภทข้อมูลที่จับได้โดยเซนเซอร์แต่ละชนิด และเข้าใจเวลาที่เหมาะสมในการใช้เซนเซอร์แต่ละชนิด รวมถึงการเลือกเซนเซอร์ที่เหมาะสมที่สุดสำหรับสถานการณ์ที่กำหนด

Source: Cambridge International syllabus · ⁨แหล่งที่มา: หลักสูตร Cambridge International⁩

English

An input device sends data into the computer.

Device How it works
barcode scanner 条形码扫描器 shines light at the bars and reads the pattern reflected back
QR code scanner 二维码扫描器 a camera reads a square pattern of black-and-white blocks
keyboard pressing a key sends a code for that character
optical mouse 光电鼠标 a light and a sensor track movement across a surface
microphone turns sound waves into an electrical signal
digital camera a lens focuses light onto a sensor that records pixels
sensors 传感器 measure a physical quantity (such as temperature or light) and send it as data
touch screen 触摸屏 detects where your finger touches the screen

A touch screen can work in three ways:

  • resistive 电阻式 — two layers are pressed together where you touch;
  • capacitive 电容式 — it senses the tiny electric charge of your finger;
  • infrared 红外线 — your finger breaks a grid of light beams.
ไทย

อุปกรณ์อินพุตส่งข้อมูล เข้า สู่คอมพิวเตอร์

อุปกรณ์ วิธีทำงาน
เครื่องสแกนบาร์โค้ด ส่องแสงไปที่แถบและอ่านรูปแบบที่สะท้อนกลับมา
เครื่องสแกน QR code กล้องอ่านรูปแบบสี่เหลี่ยมของบล็อกสีดำ-ขาว
คีย์บอร์ด การกดปุ่มจะส่งรหัสสำหรับตัวอักษรนั้น
เมาส์ออปติคอล ใช้แสงและเซนเซอร์ติดตามการเคลื่อนที่บนพื้นผิว
ไมค์ แปลงคลื่นเสียงให้เป็นสัญญาณไฟฟ้า
กล้องดิจิทัล เลนส์รวมแสง onto เซนเซอร์ที่บันทึกพิกเซล
เซนเซอร์ วัดปริมาณทางกายภาพ (เช่น อุณหภูมิหรือแสง) และส่งค่าเหล่านั้นเป็นข้อมูล
จอสัมผัส ตรวจจับตำแหน่งที่นิ้วสัมผัสหน้าจอ
คีย์บอร์ดคอมพิวเตอร์สีดำแบบ close-up ที่มีปุ่มตัวอักษร QWERTY
คีย์บอร์ด: ทุกครั้งที่กดปุ่มจะส่งรหัสสำหรับตัวอักษรนั้น
เมาส์ออปติคอลสีขาวบนโต๊ะ มีแสงออปติคอลส่องอยู่ด้านล่าง
เมาส์ออปติคอล: แสงและเซนเซอร์ติดตามการเคลื่อนที่บนโต๊ะ
สแกนเนอร์ทรงกล่องแบนสีขาว ฝาปิดที่ยกขึ้นเพื่อสแกนเอกสาร
สแกนเนอร์แบบแบน: ส่องแสงข้ามหน้ากระดาษเพื่อคัดลอกเข้าสู่คอมพิวเตอร์
สแกนเนอร์มือถือตั้งอยู่บนฐาน เชื่อมต่อกับคอมพิวเตอร์ด้วยสาย USB
เครื่องสแกนบาร์โค้ดอ่านรูปแบบแถบและส่งข้อมูลนั้นไปยังคอมพิวเตอร์
ด้านหน้าของกล้องดิจิทัลขนาดเล็กสีแดง แสดงเลนส์และแฟลช
กล้องดิจิทัล: เลนส์รวมแสง onto เซนเซอร์ที่บันทึกพิกเซล
ไมโครโฟนมือถือที่มีหัวตาข่ายโลหะทรงกลม
ไมค์แปลงคลื่นเสียงให้เป็นสัญญาณไฟฟ้า
เซ็นเซอร์วัดอุณหภูมิสีน้ำเงินและดำขนาดเล็กบนแผงวงจรขนาดเล็กที่มีขาสองขา
เซ็นเซอร์วัดปริมาณทางกายภาพ (ในที่นี้คืออุณหภูมิ) และส่งค่า tersebutเป็นข้อมูล

หน้าจอสัมผัสสามารถทำงานได้สามรูปแบบ:

  • แบบต้านทาน — มีชั้นสองชั้นที่กดเข้าหากันบริเวณที่คุณสัมผัส;
  • แบบความจุไฟฟ้า —它 detects the微小 electric charge of your finger;
  • อินฟราเรด — นิ้วของคุณจะตัดผ่านกริดของลำแสง
นิ้วมือสัมผัสหน้าจอสมาร์ทโฟนเพื่อเลื่อนหน้าเว็บ
หน้าจอสัมผัสตรวจจับตำแหน่งที่คุณสัมผัสนั้น
Explore · ⁨สำรวจ⁩

Device and storage lab · ⁨ห้องปฏิบัติการอุปกรณ์และจัดเก็บข้อมูล⁩

Classify computing examples by what job they do in a system. · ⁨จำแนกตัวอย่างงานคอมพิวเตอร์ตามหน้าที่它们在ระบบ⁩

Vocabulary · ⁨คำศัพท์⁩ Train · ⁨ฝึกฝน⁩
English ไทย
barcode scanner/ˈbɑːkəʊd ˈskænə/ เครื่องสแกนบาร์โค้ด
QR code scanner/ˌkjuː ˈɑː kəʊd ˈskænə/ เครื่องสแกน QR โค้ด
sensors/ˈsensəz/ เซนเซอร์
touch screen/tʌtʃ skriːn/ หน้าจอสัมผัส
resistive/rɪˈzɪstɪv/ แบบต้านทาน
capacitive/kəˈpæsɪtɪv/ แบบจุลไฟฟ้า
infrared/ˌɪnfrəˈred/ อินฟราเรด
3.2

Output devices · ⁨อุปกรณ์เอาต์พุต⁩

English

An output device sends data out of the computer to the user.

Device How it works
actuator 执行器 turns an electrical signal into movement (e.g. a motor or valve)
LCD/LED screen shows images using a grid of tiny coloured dots
projector 投影仪 shines an enlarged image onto a wall or screen
inkjet printer 喷墨打印机 sprays tiny drops of ink onto paper
laser printer 激光打印机 uses a laser and powder (toner) fixed onto paper by heat
3D printer builds a solid object layer by layer
speaker 扬声器 turns an electrical signal into sound
ไทย

อุปกรณ์เอาต์พุตส่งข้อมูล ออกจาก คอมพิวเตอร์ไปยังผู้ใช้

อุปกรณ์ วิธีทำงาน
แอก추เอเตอร์ เปลี่ยนสัญญาณไฟฟ้าเป็นการเคลื่อนไหว (เช่น มอเตอร์หรือวาล์ว)
หน้าจอ LCD/LED แสดงภาพโดยใช้ตารางจุดสีเล็กๆ
โปรเจคเตอร์ ส่องภาพขยายลงบนผนังหรือจอรับภาพ
เครื่องพิมพ์หมึกพ่น พ่นหยดหมึกขนาดเล็กลงบนกระดาษ
เครื่องพิมพ์เลเซอร์ ใช้เลเซอร์และผงหมึก (โทเนอร์) ที่ยึดติดกับกระดาษด้วยความร้อน
เครื่องพิมพ์ 3 มิติ สร้างวัตถุแข็งชั้นต่อชั้น
ลำโพง เปลี่ยนสัญญาณไฟฟ้าเป็นเสียง
เครื่องพิมพ์หมึกพ่นตั้งโต๊ะที่มีถาดกระดาษเปิดอยู่ด้านบน
เครื่องพิมพ์อินค์เจ็ทพ่นหมึกหยดเล็กๆ ลงบนกระดาษ
เครื่องพิมพ์เลเซอร์ตั้งโต๊ะสีขาว-เทาที่มีถาดกระดาษกางออก
เครื่องพิมพ์เลเซอร์ใช้ลำแสงเลเซอร์และผงหมึก (โทนเนอร์) ที่ถูกยึดติดกับกระดาษด้วยความร้อน
เครื่องพิมพ์ 3 มิติ: โครงโลหะสีดำที่ยึดฐานพิมพ์แบนและหัวพิมพ์เคลื่อนที่ได้
เครื่องพิมพ์ 3 มิติสร้างวัตถุแข็งชั้นต่อชั้น
จอมอนิเตอร์คอมพิวเตอร์จอแบนกว้างตั้งอยู่บนฐานกลม
จอมอนิเตอร์ LCD/LED แสดงภาพโดยใช้ตารางจุดสีเล็กๆ
ลำโพงคอมพิวเตอร์สีดำคู่เล็ก ๆ บนโต๊ะทำงาน
ลำโพงเปลี่ยนสัญญาณไฟฟ้าเป็นเสียง
หูฟังแบบครอบหูสีฟ้าคู่
หูฟังเปลี่ยนสัญญาณไฟฟ้าเป็นเสียงสำหรับผู้ฟังคนเดียว
มอเตอร์ไฟฟ้าหลายขนาดวางข้างแบตเตอรี่ 9 โวลต์เพื่อเปรียบเทียบขนาด
แอก추เอเตอร์อย่างมอเตอร์เปลี่ยนสัญญาณไฟฟ้าเป็นการเคลื่อนไหว
Vocabulary · ⁨คำศัพท์⁩ Train · ⁨ฝึกฝน⁩
English ไทย
actuator/ˈæktʃuːeɪtə/ actuator
projector/prəˈdʒektə/ โปรเจคเตอร์
inkjet printer/ɪŋkˈdʒet ˈprɪntə/ เครื่องพิมพ์อินค์เจ็ท
laser printer/ˈleɪzə ˈprɪntə/ เครื่องพิมพ์เลเซอร์
speaker/ˈspiːkə/ ลำโพง
Primary storage/ˈpraɪməri ˈstɔːrɪdʒ/ หน่วยเก็บข้อมูลหลัก
random access memory/ˈrændəm ˈækses ˈmeməri/ หน่วยความจำเข้าถึงแบบสุ่ม
read only memory/riːd ˈəʊnli ˈmeməri/ หน่วยความจำอ่านได้เพียงอย่างเดียว
volatile/ˈvɒlətaɪl/ ไม่ถาวร ( volatile )
non-volatile/nɒn ˈvɒlətaɪl/ ไม่หาย ( non-volatile )
Secondary storage/ˈsekəndəri ˈstɔːrɪdʒ/ การจัดเก็บรอง
magnetic storage/mæɡˈnetɪk ˈstɔːrɪdʒ/ ที่เก็บข้อมูลแม่เหล็ก
optical storage/ˈɒptɪkl ˈstɔːrɪdʒ/ ที่เก็บข้อมูลแสง
solid state storage/ˈsɒlɪd steɪt ˈstɔːrɪdʒ/ ที่เก็บข้อมูลแบบแข็ง
3.3

Primary storage: RAM and ROM · ⁨หน่วยความจำหลัก: RAM และ ROM⁩

Syllabus · ⁨หลักสูตร⁩
English
Candidates should be able to: Notes and guidance
1 Understand what is meant by primary storage • Primary storage is directly accessed by the CPU • Including the role of: – random access memory (RAM) – read only memory (ROM) • Including why a computer needs both RAM and ROM, and the difference between them
2 Understand what is meant by secondary storage • Secondary storage is not directly accessed by the CPU and is necessary for more permanent storage of data
3 Describe the operation of magnetic, optical and solid-state (flash memory) storage and give examples of each • Magnetic storage uses platters which are divided into tracks and sectors. Data is read and written using electromagnets. Including hard disk drive (HDD) • Optical storage uses lasers to create and read pits and lands. Including: CD, DVD and Blu-ray • Solid-state (flash memory) uses NAND or NOR technology. Transistors are used as control gates and floating gates. Including: solid-state drive (SSD), SD card and USB drive
4 Describe what is meant by virtual memory, how it is created and used and why it is necessary • Pages of data are transferred between RAM and virtual memory when needed
5 Understand what is meant by cloud storage • Cloud storage can be accessed remotely in comparison to storing data locally
6 Explain the advantages and disadvantages of storing data on the cloud in comparison to storing it locally • Physical servers and storage are needed to store data in cloud storage
ไทย
ผู้เข้าสอบควรสามารถ: หมายเหตุและคำแนะนำ
1 เข้าใจความหมายของ หน่วยความจำหลัก • หน่วยความจำหลักถูกเข้าถึงโดยตรงโดย CPU • รวมถึงบทบาทของ: – หน่วยความจำเข้าถึงแบบสุ่ม (RAM) – หน่วยความจำอ่านเพียงอย่างเดียว (ROM) • รวมถึงเหตุผลที่คอมพิวเตอร์จำเป็นต้องมีทั้ง RAM และ ROM และความแตกต่างระหว่างทั้งสอง
2 เข้าใจความหมายของ หน่วยความจำรอง • หน่วยความจำรองไม่ถูกเข้าถึงโดยตรงโดย CPU และเป็นสิ่งจำเป็นสำหรับการจัดเก็บข้อมูลอย่างถาวรมากขึ้น
3 อธิบายการทำงานของสื่อจัดเก็บข้อมูลแบบ แม่เหล็ก, แสง และ โซลิดสเตต (แฟลชเมมโมรี่) พร้อมยกตัวอย่างของแต่ละชนิด • สื่อจัดเก็บข้อมูลแบบแม่เหล็กใช้จานดิสก์ which แบ่งเป็นเทร็กและเซกเตอร์ ข้อมูลถูกอ่านและเขียนด้วยแม่เหล็กไฟฟ้า รวมถึงฮาร์ดไดรฟ์ (HDD) • สื่อจัดเก็บข้อมูลแบบแสงใช้เลเซอร์ในการสร้างและอ่านพิตส์และแลนด์ รวมถึง: CD, DVD และ Blu-ray • โซลิดสเตต (แฟลชเมมโมรี่) ใช้เทคโนโลยี NAND หรือ NOR ทรานซิสเตอร์ถูกใช้เป็นเกตควบคุมและเกตลอย รวมถึง: SSD, การ์ด SD และแฟลชไดรฟ์
4 อธิบายความหมายของ หน่วยความจำเสมือน (virtual memory), วิธีสร้างและการใช้งาน และเหตุผลที่จำเป็น • หน้าของข้อมูลจะถูกถ่ายโอนระหว่าง RAM และหน่วยความจำเสมือนเมื่อต้องการ
5 เข้าใจความหมายของ พื้นที่จัดเก็บบนคลาวด์ • พื้นที่จัดเก็บบนคลาวด์สามารถเข้าถึงได้จากทางไกล เมื่อเทียบกับการจัดเก็บข้อมูลในพื้นที่
6 อธิบายข้อดีและข้อเสียของการจัดเก็บข้อมูลบนคลาวด์เมื่อเทียบกับการจัดเก็บในพื้นที่ • จำเป็นต้องมีเซิร์ฟเวอร์และอุปกรณ์จัดเก็บข้อมูลทางกายภาพเพื่อจัดเก็บข้อมูลบนคลาวด์

Source: Cambridge International syllabus · ⁨แหล่งที่มา: หลักสูตร Cambridge International⁩

English

Primary storage 主存储器 is memory the CPU can use directly. There are two kinds.

RAM ROM
Full name random access memory 随机存取存储器 read only memory 只读存储器
Read/write read and write read only
Keeps data without power? no — it is volatile 易失性 yes — it is non-volatile 非易失性
Holds programs and data in use now start-up instructions (how to boot the computer)

Both are needed: ROM tells the computer how to start, then RAM holds the programs you run.

ไทย

หน่วยความจำหลัก คือหน่วยความจำที่ CPU สามารถใช้งานโดยตรงได้ มีสองประเภท

RAM: ความจำแบบผันแปร, เปลี่ยนแปลงได้, เก็บโปรแกรมที่กำลังทำงาน; ROM: ความจำถาวร, ไม่เปลี่ยนแปลง, เก็บคำสั่งสตาร์ท
RAM เป็นความจำแบบผันแปรและเก็บโปรแกรมที่กำลังทำงาน; ROM เป็นความจำถาวรและอ่านได้เพียงอย่างเดียว
RAM ROM
ชื่อเต็ม หน่วยความจำเข้าถึงสุ่ม หน่วยความจำอ่านได้เพียงอย่างเดียว
อ่าน/เขียน อ่านและเขียน อ่านได้เพียงอย่างเดียว
เก็บข้อมูลเมื่อไม่มีไฟ? ไม่ใช่ — เป็น ความจำแบบผันแปร ใช่ — เป็น ความจำถาวร
เก็บไว้ โปรแกรมและข้อมูลที่ใช้ในปัจจุบัน คำสั่งสตาร์ท (วิธีการบูทคอมพิวเตอร์)

ทั้งสองจำเป็นต้องใช้: ROM บอกให้คอมพิวเตอร์เริ่มทำงาน จากนั้น RAM จะเก็บโปรแกรมที่คุณใช้งาน

โมดูล RAM สีเขียวยาวบางๆ ที่มีชิปหน่วยความจำสีดำเรียงกันและขั้วทองคำด้านหนึ่ง
โมดูล RAM (หน่วยความจำเข้าถึงสุ่ม): เก็บโปรแกรมและข้อมูลที่ใช้ในปัจจุบัน
3.3

Secondary storage · ⁨หน่วยความจำรอง⁩

English

Secondary storage 辅助存储器 keeps data permanently, even when the power is off. It is non-volatile and is used for long-term storage. There are three types.

Type How it stores data Examples
magnetic storage 磁存储 data is stored as magnetised spots on spinning disks hard disk drive (HDD), magnetic tape
optical storage 光存储 data is stored as marks read by a laser CD, DVD, Blu-ray
solid state storage 固态存储 data is stored in flash memory 闪存, with no moving parts SSD, USB flash drive, memory card
ไทย

หน่วยความจำรอง เก็บข้อมูลไว้อย่างถาวร แม้เมื่อปิดเครื่องก็ตาม เป็นความจำถาวรและใช้สำหรับการจัดเก็บระยะยาว มีสามประเภท

ประเภท วิธีการเก็บข้อมูล ตัวอย่าง
ความจำแม่เหล็ก ข้อมูลถูกเก็บในรูปจุดแม่เหล็กบนดิสก์หมุน ฮาร์ดดิสก์ไดรฟ์ (HDD), เทปแม่เหล็ก
ความจำออปติคอล ข้อมูลถูกเก็บในรูปเครื่องหมายที่อ่านด้วยเลเซอร์ CD, DVD, Blu-ray
ความจำโซลิดสเตต ข้อมูลถูกเก็บใน แฟลชเมมโมรี่, ไม่มีชิ้นส่วนเคลื่อนที่ SSD, แฟลชไดรฟ์ USB, การ์ดหน่วยความจำ
ภายในฮาร์ดดิสก์ไดรฟ์ที่เปิดออก แสดงดิสก์วงกลมสีเงิน (พลัตเตอร์) และแขนอ่าน/เขียน resting on it
ภายในฮาร์ดดิสก์ไดรฟ์ (HDD): จดหมายที่เงางามหมุนอยู่และหัวอ่านอ่านข้อมูลที่ถูกแม่เหล็ก化了
กล่องเทปแม่เหล็กสี่เหลี่ยมสี่กล่อง แต่ละกล่องมีม้วนเทปแม่เหล็กบางๆ อยู่ภายใน
เทปแม่เหล็กเก็บข้อมูลบนแถบแม่เหล็กยาว; มีราคาถูกสำหรับการสำรองข้อมูลขนาดใหญ่
แผ่นดิสก์วงกลมเงางามสะท้อนแสงสีรุ้งจากพื้นผิวข้อมูล
แผ่นดิสก์ออปติคอลเช่น CD หรือ DVD: เลเซอร์อ่านเครื่องหมายบนพื้นผิวเงางาม
SSD Samsung ขนาด 2.5 นิ้ว กล่องโลหะสีเทาแบนไร้ชิ้นส่วนเคลื่อนที่ที่มองเห็นได้
ไดรฟ์สถานะแข็ง (SSD) จัดเก็บข้อมูลในชิปแฟลชเมมโมรี่และไม่มีส่วนเคลื่อนที่
แฟลชไดรฟ์ USB สีขาวขนาดเล็กพร้อมห่วงสีแดง ระบุขนาด 32 GB
แฟลชไดรฟ์ USB เก็บข้อมูลใน Flash memory และไม่มีชิ้นส่วนเคลื่อนที่
พีระมิดที่มีรีจิสเตอร์อยู่ด้านบน ตามด้วยแคช, RAM, และหน่วยความจำรองอยู่ที่ฐาน พร้อมลูกศรชี้จากเร็ว-เล็ก ไปยังช้า-ใหญ่
หน่วยความจำมีลำดับชั้น: รีจิสเตอร์และแคชเร็วที่สุดแต่เล็กที่สุด; หน่วยความจำรองช้าที่สุดแต่ใหญ่ที่สุด
Explore · ⁨สำรวจ⁩

Device and storage lab · ⁨ห้องปฏิบัติการอุปกรณ์และจัดเก็บข้อมูล⁩

Classify computing examples by what job they do in a system. · ⁨จำแนกตัวอย่างงานคอมพิวเตอร์ตามหน้าที่它们在ระบบ⁩

Vocabulary · ⁨คำศัพท์⁩ Train · ⁨ฝึกฝน⁩
English ไทย
flash memory/flæʃ ˈmeməri/ แฟลชเมมโมรี่
memory/ˈmeməri/ memory
optical mouse/ˈɒptɪkl maʊs/ เมาส์ออปติคอล
3.3

Virtual memory · ⁨ความจำเสมือน⁩

English

When the RAM becomes full, the computer can use part of the secondary storage as extra, pretend RAM. This is called virtual memory 虚拟内存.

Data that is not needed right now is moved out of RAM onto the disk, which frees space in RAM for other programs. This lets you run more programs than the RAM alone could hold. It is slower, because secondary storage is much slower than RAM.

ไทย

เมื่อ RAM เต็ม คอมพิวเตอร์สามารถใช้ส่วนหนึ่งของหน่วยความจำรองเป็น RAM จำลองเพิ่มได้ สิ่งนี้เรียกว่า ความจำเสมือน

ข้อมูลที่จำเป็นไม่ตอนนี้จะถูกย้ายออกจาก RAM ลงบนดิสก์ เพื่อปล่อยพื้นที่ใน RAM สำหรับโปรแกรมอื่น ทำให้คุณสามารถรันโปรแกรมได้มากกว่าที่ RAM เพียงอย่างเดียวจะรองรับได้ ซึ่งช้ากว่า เพราะหน่วยความจำรองช้ากว่า RAM มาก

RAM เก็บโปรแกรมสองตัวที่กำลังทำงานและช่องว่างที่ถูกปล่อย出来, พร้อมลูกศรย้ายโปรแกรมที่ไม่ได้ใช้งานออกไปยังดิสก์
เมื่อ RAM เต็ม ข้อมูลที่ไม่ได้ใช้งานจะถูกย้ายไปดิสก์เพื่อปล่อย RAM — ช้ากว่า แต่ช่วยให้รันโปรแกรมได้มากขึ้น
Vocabulary · ⁨คำศัพท์⁩ Train · ⁨ฝึกฝน⁩
English ไทย
virtual memory/ˈvɜːtʃuːəl ˈmeməri/ หน่วยความจำเสมือน
Cloud storage/klaʊd ˈstɔːrɪdʒ/ คลาวด์สตอเรจ
network interface card/ˈnetwɜːk ˈɪntəfeɪs kɑːd/ การ์ดอินเทอร์เฟซเครือข่าย
3.3

Cloud storage · ⁨การจัดเก็บข้อมูลบนคลาวด์⁩

Syllabus · ⁨หลักสูตร⁩
English
Candidates should be able to: Notes and guidance
1 Understand what is meant by primary storage • Primary storage is directly accessed by the CPU • Including the role of: – random access memory (RAM) – read only memory (ROM) • Including why a computer needs both RAM and ROM, and the difference between them
2 Understand what is meant by secondary storage • Secondary storage is not directly accessed by the CPU and is necessary for more permanent storage of data
3 Describe the operation of magnetic, optical and solid-state (flash memory) storage and give examples of each • Magnetic storage uses platters which are divided into tracks and sectors. Data is read and written using electromagnets. Including hard disk drive (HDD) • Optical storage uses lasers to create and read pits and lands. Including: CD, DVD and Blu-ray • Solid-state (flash memory) uses NAND or NOR technology. Transistors are used as control gates and floating gates. Including: solid-state drive (SSD), SD card and USB drive
4 Describe what is meant by virtual memory, how it is created and used and why it is necessary • Pages of data are transferred between RAM and virtual memory when needed
5 Understand what is meant by cloud storage • Cloud storage can be accessed remotely in comparison to storing data locally
6 Explain the advantages and disadvantages of storing data on the cloud in comparison to storing it locally • Physical servers and storage are needed to store data in cloud storage
ไทย
ผู้เข้าสอบควรสามารถ: หมายเหตุและคำแนะนำ
1 เข้าใจความหมายของ หน่วยความจำหลัก • หน่วยความจำหลักถูกเข้าถึงโดยตรงโดย CPU • รวมถึงบทบาทของ: – หน่วยความจำเข้าถึงแบบสุ่ม (RAM) – หน่วยความจำอ่านเพียงอย่างเดียว (ROM) • รวมถึงเหตุผลที่คอมพิวเตอร์จำเป็นต้องมีทั้ง RAM และ ROM และความแตกต่างระหว่างทั้งสอง
2 เข้าใจความหมายของ หน่วยความจำรอง • หน่วยความจำรองไม่ถูกเข้าถึงโดยตรงโดย CPU และเป็นสิ่งจำเป็นสำหรับการจัดเก็บข้อมูลอย่างถาวรมากขึ้น
3 อธิบายการทำงานของสื่อจัดเก็บข้อมูลแบบ แม่เหล็ก, แสง และ โซลิดสเตต (แฟลชเมมโมรี่) พร้อมยกตัวอย่างของแต่ละชนิด • สื่อจัดเก็บข้อมูลแบบแม่เหล็กใช้จานดิสก์ which แบ่งเป็นเทร็กและเซกเตอร์ ข้อมูลถูกอ่านและเขียนด้วยแม่เหล็กไฟฟ้า รวมถึงฮาร์ดไดรฟ์ (HDD) • สื่อจัดเก็บข้อมูลแบบแสงใช้เลเซอร์ในการสร้างและอ่านพิตส์และแลนด์ รวมถึง: CD, DVD และ Blu-ray • โซลิดสเตต (แฟลชเมมโมรี่) ใช้เทคโนโลยี NAND หรือ NOR ทรานซิสเตอร์ถูกใช้เป็นเกตควบคุมและเกตลอย รวมถึง: SSD, การ์ด SD และแฟลชไดรฟ์
4 อธิบายความหมายของ หน่วยความจำเสมือน (virtual memory), วิธีสร้างและการใช้งาน และเหตุผลที่จำเป็น • หน้าของข้อมูลจะถูกถ่ายโอนระหว่าง RAM และหน่วยความจำเสมือนเมื่อต้องการ
5 เข้าใจความหมายของ พื้นที่จัดเก็บบนคลาวด์ • พื้นที่จัดเก็บบนคลาวด์สามารถเข้าถึงได้จากทางไกล เมื่อเทียบกับการจัดเก็บข้อมูลในพื้นที่
6 อธิบายข้อดีและข้อเสียของการจัดเก็บข้อมูลบนคลาวด์เมื่อเทียบกับการจัดเก็บในพื้นที่ • จำเป็นต้องมีเซิร์ฟเวอร์และอุปกรณ์จัดเก็บข้อมูลทางกายภาพเพื่อจัดเก็บข้อมูลบนคลาวด์

Source: Cambridge International syllabus · ⁨แหล่งที่มา: หลักสูตร Cambridge International⁩

English

Cloud storage 云存储 keeps your data on remote physical servers, reached over the internet, instead of on your own device.

  • Advantages: reach it from anywhere on any device; no local storage hardware to buy or maintain; easy to share files and to back up automatically.
  • Disadvantages: needs a working internet connection; an ongoing subscription cost; security and privacy depend on the provider; you rely on that provider staying available and in business.
ไทย

การจัดเก็บข้อมูลบนคลาวด์ เก็บข้อมูลของคุณบนเซิร์ฟเวอร์ฟิสิกส์ระยะไกล เข้าถึงผ่านอินเทอร์เน็ต แทนที่จะอยู่ในอุปกรณ์ของคุณเอง

  • ข้อดี: เข้าถึงได้จากทุกที่บนอุปกรณ์ใดก็ได้; ไม่ต้องซื้อหรือดูแลรักษาฮาร์ดแวร์จัดเก็บข้อมูลในท้องถิ่น; แชร์ไฟล์และสำรองข้อมูลอัตโนมัติได้ง่าย
  • ข้อเสีย: ต้องการการเชื่อมต่ออินเทอร์เน็ตที่ทำงานได้; ค่าสมาชิกต่อเนื่อง; ความปลอดภัยและความเป็นส่วนตัวขึ้นอยู่กับผู้ให้บริการ; คุณพึ่งพาผู้ให้บริการนั้นให้ยังคงเปิดบริการและดำเนินธุรกิจอยู่
ตู้เซิร์ฟเวอร์ศูนย์ข้อมูล: การจัดเก็บข้อมูลบนคลาวด์เก็บไฟล์ของคุณบนเซิร์ฟเวอร์ระยะไกลที่คุณเข้าถึงผ่านเครือข่าย
ตู้เซิร์ฟเวอร์ของศูนย์ข้อมูล: คลาวด์สตอเรจเก็บไฟล์ของคุณไว้บนเซิร์ฟเวอร์ระยะไกลที่เข้าถึงผ่านเครือข่าย
3.4

Network hardware · ⁨ฮาร์ดแวร์เครือข่าย⁩

Syllabus · ⁨หลักสูตร⁩
English
Candidates should be able to: Notes and guidance
1 Understand that a computer needs a network interface card (NIC) to access a network
2 Understand what is meant by, and the purpose of, a media access control (MAC) address, including its structure • A network interface card is given a MAC address at the point of manufacture • MAC addresses are usually written as hexadecimal • MAC addresses are created using the manufacturer code and the serial code
3 (a) Understand what is meant by, and the purpose of, an internet protocol (IP) address (b) Understand that there are different types of IP address • An IP address is allocated by the network and it can be static or dynamic • Including the characteristics of, and differences between, IPv4 and IPv6
4 Describe the role of a router in a network • A router sends data to a specific destination on a network • A router can assign IP addresses • A router can connect a local network to the internet
ไทย
ผู้เข้าสอบควรสามารถ: หมายเหตุและคำแนะนำ
1 เข้าใจว่าคอมพิวเตอร์จำเป็นต้องมี การ์ดอินเตอร์เฟซเครือข่าย (NIC) เพื่อเข้าถึงเครือข่าย
2 เข้าใจความหมายและวัตถุประสงค์ของ MAC address (media access control address) รวมถึงโครงสร้างของมัน • การ์ดอินเตอร์เฟซเครือข่ายจะได้รับ MAC address ที่จุดการผลิต • MAC addresses มักเขียนในรูปแบบเลขหกสิบ进制 • MAC addresses ถูกสร้างโดยใช้รหัสผู้ผลิตและรหัสserial
3 (a) เข้าใจความหมายและวัตถุประสงค์ของ IP address (internet protocol address) (b) เข้าใจว่ามี IP address ประเภทต่างๆ • IP address ถูกกำหนดโดยเครือข่ายและอาจเป็นแบบคงที่หรือแบบพลวัต • รวมถึงลักษณะและความแตกต่างระหว่าง IPv4 และ IPv6
4 อธิบายบทบาทของ เราเตอร์ (router) ในเครือข่าย • เราเตอร์ส่งข้อมูลไปยังเป้าหมายเฉพาะในเครือข่าย • เราเตอร์สามารถมอบ IP address ได้ • เราเตอร์สามารถเชื่อมต่อเครือข่ายท้องถิ่นเข้ากับอินเทอร์เน็ต

Source: Cambridge International syllabus · ⁨แหล่งที่มา: หลักสูตร Cambridge International⁩

English

Network interface card (NIC)

A network interface card 网络接口卡 (NIC) is the hardware that lets a device join a network and send and receive data. Each NIC has a built-in MAC address.

MAC address and IP address

  • A MAC address (media access control 介质访问控制 address) is a number that identifies one physical device. The maker sets it, and it does not normally change. It is written in hexadecimal.
  • An IP address (internet protocol 网际协议 address) is a number that identifies a device on a network. It is given by the network and can change.

So a MAC address stays with the device, while an IP address depends on the network the device is using.

There are two versions of IP address. IPv4 is 32-bit, written as four denary numbers 0–255 (for example 192.168.0.1); the newer IPv6 is 128-bit, written as eight groups of hexadecimal separated by colons, giving vastly more addresses. An address is also either static 静态 (fixed, set by hand and never changing) or dynamic 动态 (handed out by the router/network each time the device connects, so it can change).

Router

A router 路由器 connects different networks together — for example, your home network to the internet. It reads the IP address in each packet and forwards it towards the right network.

ไทย

บัตรอินเทอร์เฟซเครือข่าย (NIC)

บัตรอินเทอร์เฟซเครือข่าย (NIC) คือฮาร์ดแวร์ที่ทำให้อุปกรณ์สามารถเชื่อมต่อกับเครือข่ายและส่งและรับข้อมูลได้ แต่ละ NIC จะมี MAC Address ในตัว

MAC Address และ IP Address

  • MAC Address (Media Access Control Address) คือหมายเลขที่ใช้ระบุอุปกรณ์ทางกายภาพหนึ่งเครื่อง ผู้ผลิตเป็นผู้กำหนดและโดยปกติจะไม่เปลี่ยน เขียนในรูปแบบเฮกซาดิมอล
  • IP Address (Internet Protocol Address) คือหมายเลขที่ใช้ระบุอุปกรณ์บนเครือข่าย ถูกมอบโดยเครือข่ายและสามารถเปลี่ยนแปลงได้

ดังนั้น MAC Address จะติดอยู่กับอุปกรณ์เสมอ ในขณะที่ IP Address ขึ้นอยู่กับเครือข่ายที่ใช้อุปกรณ์นั้นอยู่

มี IP Address สองรุ่น IPv4 เป็น 32 บิต เขียนเป็นตัวเลขฐานสิบสี่ตัว 0–255 (เช่น 192.168.0.1); ส่วน IPv6 รุ่นใหม่เป็น 128 บิต เขียนเป็นแปดกลุ่มของเลขเฮกซาดิมอลคั่นด้วยเครื่องหมายจุดสองจุด ทำให้มีที่อยู่ได้มากกว่ามาก ที่อยู่อาจจะเป็นแบบ static (คงที่ ตั้งค่าเองและไม่เปลี่ยน) หรือ dynamic (ROUTER/เครือข่ายมอบให้ทุกครั้งที่อุปกรณ์เชื่อมต่อ จึงอาจเปลี่ยนแปลงได้)

เราเตอร์

ROUTER เชื่อมต่อเครือข่ายที่แตกต่างกันเข้าด้วยกัน เช่น เครือข่ายในบ้านกับอินเทอร์เน็ต มันอ่าน IP Address ในแต่ละแพ็กเก็ตแล้วส่งต่อไปยังเครือข่ายที่เหมาะสม

ROUTER Wi-Fi: ฮาร์ดแวร์เครือข่ายส่งต่อแพ็กเก็ตระหว่างอุปกรณ์และอินเทอร์เน็ตวงกว้าง
ROUTER Wi-Fi: ฮาร์ดแวร์เครือข่ายส่งต่อแพ็กเก็ตระหว่างอุปกรณ์และอินเทอร์เน็ตวงกว้าง
Explore · ⁨สำรวจ⁩

Network route lab · ⁨ห้องปฏิบัติการเส้นทางเครือข่าย⁩

Follow data from a device through network hardware and protocols. · ⁨ติดตามข้อมูลจากอุปกรณ์ผ่านฮาร์ดแวร์และโปรโตคอลเครือข่าย⁩

Vocabulary · ⁨คำศัพท์⁩ Train · ⁨ฝึกฝน⁩
English ไทย
static/ˈstætɪk/ นิ่ง不動
dynamic/daɪˈnæmɪk/ ไดนามิก
router/ˈruːtə/ เราเตอร์
fetch-execute cycle/fetʃ ˈeksɪkjuːt ˈsaɪkl/ fetch-execute cycle
media access control/ˈmiːdiːə ˈækses kənˈtrəʊl/ การควบคุมการเข้าถึงสื่อ
internet protocol/ˈɪntənet ˈprəʊtəkɒl/ โปรโตคอลอินเทอร์เน็ต
3.4

Exam tips · ⁨ข้อแนะนำสำหรับการสอบ⁩

English
  • Learn the fetch–decode–execute cycle and the special registers: the program counter holds the address of the next instruction, the MAR/MDR carry the address/data, and the accumulator holds the ALU's result.
  • CPU performance improves with more cores, a larger cache, and a higher clock speed.
  • RAM is volatile (it loses its data with no power) and holds programs in use; ROM is non-volatile and read-only (the start-up instructions).
  • Match the secondary-storage types: magnetic (HDD, tape), optical (CD/DVD, read by a laser), solid state (SSD, USB, flash — no moving parts).
  • A MAC address identifies the physical device and does not normally change; an IP address is given by the network and can change.
ไทย
  • เรียนรู้วงจร fetch–decode–execute และรีจิสเตอร์พิเศษ: program counter เก็บที่อยู่ของคำสั่ง ถัดไป, MAR/MDR搬运ที่อยู่/ข้อมูล, และ accumulator เก็บผลลัพธ์ของ ALU
  • ประสิทธิภาพ CPU ดีขึ้นเมื่อมี cores越多, cache越大, และ clock speed越高
  • RAM เป็นข้อมูลชั่วคราว (สูญเสียข้อมูลเมื่อไม่มีไฟ) เก็บโปรแกรมที่กำลังใช้งาน; ROM เป็นข้อมูลถาวรและอ่านได้เท่านั้น (คำสั่งเริ่มต้น)
  • จับคู่ประเภทการเก็บข้อมูลรอง: magnetic (HDD, เทป), optical (CD/DVD, อ่านด้วยเลเซอร์), solid state (SSD, USB, Flash — ไม่มีชิ้นส่วนเคลื่อนที่)
  • MAC Address ระบุอุปกรณ์ทางกายภาพและไม่เปลี่ยน; IP Address มอบโดยเครือข่ายและอาจเปลี่ยนได้
Vocabulary · ⁨คำศัพท์⁩ Train · ⁨ฝึกฝน⁩
English ไทย
central processing unit/ˈsentrəl ˈprəʊsesɪŋ ˈjuːnɪt/ หน่วยประมวลผลกลาง
instructions/ɪnˈstrʌkʃnz/ คำสั่ง
arithmetic logic unit/əˈrɪθmətɪk ˈlɒdʒɪk ˈjuːnɪt/ หน่วยตรรกะและคณิตศาสตร์
control unit/kənˈtrəʊl ˈjuːnɪt/ หน่วยควบคุม
registers/ˈredʒɪstəz/ รีจิสเตอร์
buses/ˈbʌsɪz/ บัส
address bus/əˈdres bʌs/ address bus
data bus/ˈdeɪtə bʌs/ data bus
control bus/kənˈtrəʊl bʌs/ control bus
program counter/ˈprəʊɡræm ˈkaʊntə/ program counter
memory address register/ˈmeməri əˈdres ˈredʒɪstə/ Register ที่อยู่หน่วยความจำ
memory data register/ˈmeməri ˈdeɪtə ˈredʒɪstə/ Register ข้อมูลหน่วยความจำ
current instruction register/ˈkʌrənt ɪnˈstrʌkʃn ˈredʒɪstə/ Register คำสั่งปัจจุบัน
accumulator/əˈkjuːmjʊleɪtə/ _accumulator
fetch–execute cycle/fetʃ ˈeksɪkjuːt ˈsaɪkl/ รอบ FETCH–EXECUTE
Cache/kæʃ/ Cache
cores/kɔːz/ คอร์
clock speed/klɒk spiːd/ ความเร็ว clock

Interactive lessons on this topic · ⁨บทเรียนเชิงโต้ตอบสำหรับหัวข้อนี้⁩

Work through it step by step, with instant-check exercises. · ⁨ทำทีละขั้นตอน พร้อมแบบฝึกหัดตรวจสอบผลทันที⁩

Past Papers · ⁨ข้อสอบย้อนหลัง⁩

More topics in IGCSE Computer Science · ⁨Computer Science IGCSE⁩ · ⁨หัวข้อเพิ่มเติมใน IGCSE Computer Science · ⁨Computer Science IGCSE⁩⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP