INTRODUCTION TO COMPUTERS | CHAPTER 1
INTRODUCTION TO COMPUTERS
مقدمة إلى الحاسوب
Bilingual study guide | Chapter 1 | Based on Dr. Elham Hamza’s lecture slides
إلهام حمزة.دليل مذاكرة ثنائي اللغة | الفصل األول | مبني على شرائح محاضرة د
English points are followed immediately by a natural Arabic translation. Comparison tables pair each concept with Arabic.
Gold lines give keywords and answer cues.
بينما تعرض األسطر الذهبية، وتجمع جداول المقارنة كل مفهوم مع معناه العربي.تأتي الترجمة العربية الطبيعية مباشرة ً أسفل النقاط اإلنجليزية
.الكلمات المفتاحية ومفاتيح اإلجابة
The slides also list classroom expectations: keep phones silent, avoid side conversations, and meet course requirements. These
are reported as course context, not as instructions for preparing this guide. The slides mention a “60–40” practical split but
do not explain it.
نذكرها بوصفها سياقًا. وااللتزام بمتطلبات المقرر، وتجنب األحاديث الجانبية، إغالق صوت الهاتف:تعرض الشرائح أيضًا توقعات للمحاضرة
.» للمقرر العملي دون توضيح معناها40–60« وتذكر الشرائح نسبة. ال تعليمات إلعداد هذا الدليل،للمقرر
COLOR KEY — Navy: English | Green: Arabic | Gold: keywords and exam cues | Teal: section headings
عناوين األقسام: الكلمات المفتاحية ومفاتيح االمتحان | الفيروزي: العربية | الذهبي: اإلنجليزية | األخضر:دليل األلوان — الكحلي
SOURCE NOTE — Historical dates, capacities, and Java release names are retained as lecture examples. Use values
expected by your course. A clear unit typo in the slides is corrected and flagged.
استخدم القيم التي يعتمدها. التاريخية بوصفها أمثلة المحاضرةJava مالحظة عن المصدر — احتفظنا بالتواريخ والسعات وأسماء إصدارات
. وقد صححنا خطأ واض ًحا في الوحدات ونبهنا إليه.مقررك
1. Course goal and computer basics
What the course is about
• The course goal is to solve problems using computers, from complicated calculations to applications for pharmacies,
hospitals, companies, schools, and faculties.
ً
ووصوال إلى تطبيقات الصيدليات والمستشفيات والشركات
بد ًءا من الحسابات المعقدة،يهدف المقرر إلى حل المشكالت باستخدام الحاسوب
.والمدارس والكليات
• A computer is an electronic device that accepts data and instructions, processes data according to software, stores data or
results, and produces output.
. ثم ينتج مخرجات، ويخزن البيانات أو النتائج، ويعالج البيانات وفقًا للبرمجيات،الحاسوب جهاز إلكتروني يستقبل البيانات والتعليمات
• Computers perform many instructions quickly and accurately, saving time in education, business, communication,
entertainment, and other fields.
. مما يوفر الوقت في التعليم واألعمال واالتصاالت والترفيه ومجاالت أخرى،كبيرا من التعليمات بسرعة ودقة
ً ينفذ الحاسوب عددًا
Bilingual Study Guide • 1
INTRODUCTION TO COMPUTERS | CHAPTER 1
Data enters the computer, is processed, and becomes information. Source slide 10.
.10 الصورة من الشريحة.تدخل البيانات إلى الحاسوب ثم تُعالَج لتصبح معلومات
• The basic cycle is input → processing → output; storage and control support these stages.
.الدورة األساسية هي إدخال البيانات ← معالجتها ← إخراج النتائج؛ ويدعم التخزين والتحكم هذه المراحل
Stage
Meaning
Example
المرحلة
المعنى
مثال
Input
Data and instructions enter the system.
Type two numbers.
اإلدخال
.تدخل البيانات والتعليمات إلى النظام
.كتابة عددين
Processing
Instructions transform data.
Add the numbers.
المعالجة
.تحول التعليمات البيانات
ّ
.جمع العددين
Output
The result is presented to the user.
Display the sum.
اإلخراج
.تُعرض النتيجة للمستخدم
.عرض ناتج الجمع
Storage and control
Data is retained and steps are coordinated.
Save a file; direct CPU steps.
التخزين والتحكم
.تُحفظ البيانات وتُنسق الخطوات
.حفظ ملف؛ توجيه خطوات المعالج
Five basic functions
• Input accepts data and instructions; storage keeps data, instructions, and results.
.يستقبل اإلدخال البيانات والتعليمات؛ ويحتفظ التخزين بالبيانات والتعليمات والنتائج
• Processing performs arithmetic or logical operations; output presents processed information.
.تنفذ المعالجة عمليات حسابية أو منطقية؛ ويقدم اإلخراج المعلومات المعالجة
• Control coordinates the steps and directs the computer’s components.
.ينسق التحكم الخطوات ويوجه مكونات الحاسوب
KEY CUE — If asked “What does a computer do?”, recall: input + storage + processing + output + control.
. تحكم+ إخراج+ معالجة+ تخزين+ إدخال:سئلت «ماذا يفعل الحاسوب؟» فتذكر
ُ مفتاح اإلجابة — إذا
2. Types and generations of computers
Types by form and use
Type
Description
Examples
النوع
الوصف
أمثلة
Desktop
Fixed setup with separate components.
Monitor, keyboard, mouse, system unit.
مكتبي
.جهاز ثابت بمكونات منفصلة
.شاشة ولوحة مفاتيح وفأرة ووحدة حاسوب
Laptop
Portable computer with components integrated in one
unit.
Mobile personal work.
محمول
.حاسوب محمول مكوناته مدمجة في وحدة واحدة
Bilingual Study Guide • 2
.استخدام شخصي أثناء التنقل
INTRODUCTION TO COMPUTERS | CHAPTER 1
Type
Description
Examples
النوع
الوصف
أمثلة
Server
Provides services and manages resources or data for other
devices.
Network services; shared files.
خادم
Tablet
لوحي
Other smart devices
أجهزة ذكية أخرى
يقدم خدمات ويدير الموارد أو البيانات ألجهزة
.أخرى
Portable touch-screen computer, usually larger than a
smartphone.
غالبًا أكبر من،حاسوب محمول بشاشة لمس
.الهاتف الذكي
Computers integrated into consumer or entertainment
devices.
حواسيب مدمجة في أجهزة االستخدام اليومي أو
.الترفيه
.خدمات الشبكة؛ الملفات المشتركة
Reading and mobile applications.
.القراءة والتطبيقات المحمولة
Smartphones, consoles, Smart TVs, smartwatches.
هواتف ذكية وأجهزة ألعاب وتلفاز ذكي وساعات
.ذكية
Classifications by size, role, and function
Criterion
Type
Defining idea
المعيار
النوع
الفكرة المميزة
Size
Microcomputer
Small system for individual use; e.g., desktop or
smartphone.
الحجم
حاسوب دقيق
Size
Minicomputer
الحجم
حاسوب متوسط
تاريخيًا متوسط الحجم ومتعدد المستخدمين؛
.وانتقلت أدواره إلى الخوادم
Size / capacity
Mainframe
Processes large volumes of organizational data.
السعة/ الحجم
حاسوب مركزي
.يعالج كميات ضخمة من بيانات المؤسسات
Power
Supercomputer
القدرة
حاسوب فائق
Very powerful; used for complex scientific calculations
and research.
Role
PC / personal computer
الدور
حاسوب شخصي
Role
Embedded system
الدور
نظام مض ّمن
،حاسوب مدمج في جهاز آخر ألداء وظيفة محددة
.غالبًا تلقائيًا
Role
Wearable computer
Worn on the body to collect or show information.
الدور
حاسوب قابل لالرتداء
.يُلبس على الجسم لجمع المعلومات أو عرضها
Function
Analog computer
Represents data with continuous physical quantities.
طريقة العمل
حاسوب تماثلي
.يمثل البيانات بكميات فيزيائية مستمرة
Function
Digital computer
Processes discrete values, typically binary values.
طريقة العمل
حاسوب رقمي
. غالبًا ثنائية،يعالج قي ًما منفصلة
Function
Hybrid computer
Combines analog and digital features.
طريقة العمل
حاسوب هجين
.يجمع خصائص التماثلي والرقمي
نظام صغير لالستخدام الفردي؛ مثل المكتبي أو
.الهاتف الذكي
Historically mid-sized and multiuser; many roles shifted
to servers.
.شديد القدرة؛ للحسابات العلمية المعقدة واألبحاث
Bilingual Study Guide • 3
For an individual; may be a desktop, laptop, or tablet.
ً
محموال أو
لالستخدام الفردي؛ وقد يكون مكتبيًا أو
.لوحيًا
Computer built into another device to perform a specific,
often automatic, function.
INTRODUCTION TO COMPUTERS | CHAPTER 1
Keep classification criteria separate: server describes a role; mainframe describes a large class of system; analog/digital
describes how data is represented.
رقمي» فيصف طريقة/دورا؛ و«الحاسوب المركزي» يصف فئة كبيرة من األنظمة؛ أما «تماثلي
ً «الخادم» يصف:افصل بين معايير التصنيف
.تمثيل البيانات
Computer generations
Generation
Period in slides
Technology
الجيل
الفترة في الشرائح
التقنية
First
Vacuum tubes
1940–1956
األول
Second
الثاني
Third
الصمامات المفرغة
Transistors
1956–1963
الترانزستورات
Integrated circuits (ICs)
الثالث
1964–1971
Fourth
1971–present in slides
Microprocessors
الرابع
إلى الحاضر وفق الشرائح1971 من
المعالجات الدقيقة
Fifth
No dates given
Artificial intelligence (AI)
الخامس
لم تذكر تواريخ
الذكاء االصطناعي
الدوائر المتكاملة
ORDER CUE — Vacuum tubes → transistors → integrated circuits → microprocessors → artificial intelligence.
.مفتاح الترتيب — الصمامات المفرغة ← الترانزستورات ← الدوائر المتكاملة ← المعالجات الدقيقة ← الذكاء االصطناعي
3. Data, information, algorithms, and programs
Term
Meaning
Example / relation
المصطلح
المعنى
عالقة/ مثال
Data
Raw, unprocessed facts suitable for communication or
processing.
35, 40, or a name before analysis.
البيانات
Information
حقائق خام غير معالجة تصلح للتواصل أو
.المعالجة
Facts processed or organized so meaning or conclusions
can be derived.
. أو اسم قبل التحليل40 و35
“The total is 75.”
المعلومات
حقائق عولجت أو نظمت الستخالص معنى أو
.نتائج
Algorithm
Step-by-step procedure or formula for solving a problem.
Read a,b; add; display result.
الخوارزمية
.إجراء أو صيغة من خطوات متتابعة لحل مشكلة
.؛ اجمع؛ اعرض النتيجةb وa اقرأ
Program
Set of instructions designed to solve a problem
systematically.
Code implementing the addition algorithm.
البرنامج
Programmer
المبرمج
مجموعة تعليمات مصممة لحل مشكلة بطريقة
.منظمة
Defines requirements, develops logic, and writes
instructions in a language the computer can translate and
execute.
يحدد المتطلبات ويطور المنطق ويكتب تعليمات
.بلغة يستطيع الحاسوب ترجمتها وتنفيذها
.»75 «المجموع
.شفرة تنفذ خوارزمية الجمع
Turns a problem and algorithm into code.
.يحول المشكلة والخوارزمية إلى شفرة
ّ
• Data may be textual, numerical, graphic, or audiovisual; information is data organized to communicate meaning.
.قد تكون البيانات نصية أو رقمية أو رسومية أو سمعية بصرية؛ أما المعلومات فهي بيانات منظمة لتوصيل معنى
• Arithmetic operations calculate; logical operations compare values or make Boolean decisions.
.تحسب العمليات الحسابية؛ وتقارن العمليات المنطقية القيم أو تتخذ قرارات منطقية
Bilingual Study Guide • 4
INTRODUCTION TO COMPUTERS | CHAPTER 1
EXAM CUE — Raw facts = data; meaningful processed facts = information; steps = algorithm; coded instructions =
program.
.مفتاح االمتحان — الحقائق الخام = بيانات؛ الحقائق المعالجة ذات المعنى = معلومات؛ الخطوات = خوارزمية؛ التعليمات المرمزة = برنامج
4. Hardware, software, and computer organization
• Hardware is the physical part of a computer system that can be seen or touched.
.المكونات المادية هي األجزاء الفيزيائية من نظام الحاسوب التي يمكن رؤيتها أو لمسها
• Software is the set of programs and operating-system instructions that tells hardware what to do.
.البرمجيات هي مجموعة البرامج وتعليمات نظام التشغيل التي تخبر المكونات المادية بما ينبغي فعله
• A digital computer combines input/output devices, a processor, memory, and storage; software enables these parts to process
data.
.يجمع الحاسوب الرقمي أجهزة إدخال وإخراج ومعال ًجا وذاكرة ووحدات تخزين؛ وتم ّكن البرمجيات هذه األجزاء من معالجة البيانات
This diagram links input/output, CPU, main memory, and secondary storage. Source slide 14.
.14 الصورة من الشريحة.يربط هذا المخطط وحدات اإلدخال واإلخراج والمعالج والذاكرة الرئيسية والتخزين الثانوي
Component
Purpose
Examples
المكون
ّ
الوظيفة
أمثلة
Input unit
Accepts data and instructions.
Keyboard, mouse, scanner, microphone.
وحدة اإلدخال
.تستقبل البيانات والتعليمات
.لوحة المفاتيح والفأرة والماسح والميكروفون
CPU / processor
Executes instructions and coordinates processing.
Control Unit and ALU.
وحدة المعالجة المركزية
.تنفذ التعليمات وتنسق المعالجة
.ALUوحدة التحكم و
Main memory
Holds active programs and data needed during
processing.
RAM; ROM stores startup instructions.
الذاكرة الرئيسية
.تحفظ البرامج النشطة والبيانات الالزمة للمعالجة
. تعليمات بدء التشغيلROM ؛ وتحفظRAM
Secondary storage
Keeps files and programs when power is off.
Hard drive, optical disc, flash, tape.
التخزين الثانوي
.تحفظ الملفات والبرامج عند انقطاع الطاقة
.قرص صلب وضوئي وفالش وشريط
Output unit
Presents processed information to the user.
Monitor, printer, speakers.
وحدة اإلخراج
.تعرض المعلومات المعالجة للمستخدم
.شاشة وطابعة ومكبرات صوت
QUICK COMPARISON — Hardware = physical equipment; software = instructions and programs.
. = التعليمات والبرامجSoftware = األجهزة المادية؛Hardware — مقارنة سريعة
Bilingual Study Guide • 5
INTRODUCTION TO COMPUTERS | CHAPTER 1
5. Input and output devices
Input devices
Device
What it does
Cue
الجهاز
وظيفته
مفتاح
Keyboard
Detects a key and sends its code, such as ASCII.
Key → code
لوحة المفاتيح
.ASCII مثل،تتعرف على المفتاح وترسل رمزه
مفتاح ← رمز
Mouse
Controls the display cursor; the lecture describes a ball
mouse converting movement to signals.
Cursor
الفأرة
تحرك مؤشر الشاشة؛ وتشرح المحاضرة فأرة
.الكرة التي تحول الحركة إلى إشارات
Scanner
Inputs an image or printed material.
Image capture
الماسح الضوئي
.يدخل صورة أو مادة مطبوعة
التقاط صورة
Barcode reader
Reads barcode information and sends it for processing.
Scan code
قارئ الباركود
.يقرأ معلومات الرمز الشريطي ويرسلها للمعالجة
مسح رمز
Touch-sensitive screen
Lets the user select items by touching the screen.
Touch input
شاشة حساسة للمس
.تتيح اختيار العناصر بلمس الشاشة
إدخال باللمس
OCR (optical character recognition)
Recognizes printed characters and converts them to
editable text.
Print → text
مؤشر
التعرف الضوئي على الحروف
يتعرف على الحروف المطبوعة ويحولها إلى نص
.قابل للتحرير
Light pen
Pen-shaped pointing device connected to a monitor.
Pointing
قلم ضوئي
.جهاز تأشير على شكل قلم متصل بالشاشة
تأشير
Magnetic-stripe reader
قارئ الشريط المغناطيسي
Microphone
الميكروفون
Other examples
أمثلة أخرى
Reads data stored on a card’s magnetic stripe.
يقرأ البيانات المخزنة على الشريط المغناطيسي
.للبطاقة
Captures voice; speech recognition can convert it into
computer input.
يلتقط الصوت؛ ويمكن للتعرف على الكالم تحويله
.إلى إدخال حاسوبي
Numeric keypad, remote control, joystick, graphics tablet,
digital camera, and webcam.
، وعصا تحكم، وجهاز تحكم عن بُعد،لوحة أرقام
. وكاميرا ويب، وكاميرا رقمية،ولوح رسوم
Bilingual Study Guide • 6
مطبوع ← نص
Card stripe
شريط البطاقة
Voice input
إدخال صوتي
Manual and image input
إدخال يدوي وصوري
INTRODUCTION TO COMPUTERS | CHAPTER 1
The lecture’s picture grid adds more manual and image-input examples. Source slide 15.
.15 الصورة من الشريحة.تضيف شبكة الصور في المحاضرة أمثلة أخرى ألجهزة اإلدخال اليدوي والصوري
Output devices
Device
Output
Term
الجهاز
المخرجات
مصطلح
Monitor / display
Shows text, graphics, and processed results.
Resolution in pixels.
الشاشة
.تعرض النصوص والرسوم والنتائج المعالجة
.الدقة بالبكسل
Printer
Produces a printed copy.
Hard copy
الطابعة
.تنتج نسخة مطبوعة
نسخة ورقية
Speakers
Present audio output.
Sound output
مكبرات الصوت
.تعرض المخرجات الصوتية
إخراج صوتي
Class
Examples shown
Cue
الفئة
األمثلة الواردة
مفتاح
Impact printer
Line printer; serial / dot-matrix printer.
Impact
طابعة تصادمية
. نقطية/ طابعة سطرية؛ وطابعة تسلسلية
تصادمية
Non-impact printer
Thermal (fax), laser, and inkjet printers.
Non-impact
طابعة غير تصادمية
.حرارية (فاكس) وليزر ونفث الحبر
غير تصادمية
Printer types in the lecture
Bilingual Study Guide • 7
INTRODUCTION TO COMPUTERS | CHAPTER 1
The lecture groups printers as impact or non-impact and lists their examples. Source slide 21.
.21 الصورة من الشريحة.تصنف المحاضرة الطابعات إلى تصادمية وغير تصادمية وتذكر أمثلتها
• Screen resolution counts pixels across and down the display; lecture examples are 640×480, 800×600, and 1024×768.
.768×1024 و600×800 و480×640 تعد دقة الشاشة البكسالت أفقيًا ورأسيًا؛ ومن أمثلة المحاضرة
• OCR is input; a monitor or printer is output. A touchscreen both displays output and accepts touch input.
. وتعرض شاشة اللمس المخرجات كما تستقبل اللمس. والشاشة أو الطابعة من اإلخراج، من اإلدخالOCR يعد
DEVICE CUES — Keyboard types; scanner captures; OCR turns print into editable text; monitor displays; printer prints;
speakers play sound.
لتحويل المطبوع إلى نص قابل للتحرير؛ الشاشة للعرض؛ الطابعةOCR مفاتيح األجهزة — لوحة المفاتيح للكتابة؛ الماسح اللتقاط الصور؛
.للطباعة؛ ومكبرات الصوت للصوت
6. CPU: control, arithmetic, logic, registers
• The Central Processing Unit (CPU) is called the computer’s “brain” because it executes instructions and coordinates
processing.
.) «عقل» الحاسوب ألنها تنفذ التعليمات وتنسق المعالجةCPU( تسمى وحدة المعالجة المركزية
Part
Main job
Examples / cues
الجزء
الوظيفة
مفاتيح/ أمثلة
Arithmetic Logic Unit (ALU)
Performs arithmetic and logical operations.
Add, subtract, multiply, divide; compare, AND, OR,
shifts.
وحدة الحساب والمنطق
.تنفذ العمليات الحسابية والمنطقية
ANDجمع وطرح وضرب وقسمة؛ مقارنة و
. وإزاحةORو
Fetch instruction; update Program Counter; read data;
send to registers/ALU; issue control signals.
Control Unit (CU)
Coordinates components and directs instruction steps.
وحدة التحكم
.تنسق المكونات وتوجه خطوات التعليمات
Registers
Very fast, small storage in CPU for current instructions,
data, or intermediate values.
السجالت
جلب التعليمة؛ تحديث عداد البرنامج؛ قراءة
؛ إصدار إشاراتALU/البيانات؛ إرسالها للسجالت
.التحكم
Hold values during execution.
تخزين صغير فائق السرعة داخل المعالج للتعليمات.تحفظ القيم أثناء التنفيذ
.والبيانات والقيم المؤقتة الحالية
• The CU directs the sequence; the ALU calculates or compares; registers temporarily hold values used by the CPU.
. الحساب أو المقارنة؛ وتحفظ السجالت مؤقتًا القيم التي يستخدمها المعالجALU ترتيب الخطوات؛ وتجريCU توجه
Bilingual Study Guide • 8
INTRODUCTION TO COMPUTERS | CHAPTER 1
ALU data path from input and input/output registers, with CU control signals and a result path to main memory. Source slide 48.
الصورة من. ومسار النتيجة إلى الذاكرة الرئيسيةCU مع إشارات التحكم من،اإلخراج/ من سجالت اإلدخال واإلدخالALU مسار البيانات إلى
.48 الشريحة
ALU OPERATION CUE — Arithmetic: add/subtract. Logic: AND/OR. Shifts: left/right. CU control signals select or enable
the operation.
. العملية أو تفعّلهاCU وتحدد إشارات.يمين/ يسار: إزاحة.AND/OR : منطقية.طرح/ جمع: — حسابيةALU مفتاح عمليات
Example CPU workflow for adding two input numbers across memory, registers, the ALU, keyboard, and monitor. Source slide 46.
.46 الصورة من الشريحة. ولوحة المفاتيح والشاشةALUمثال لمسار جمع عددين بين الذاكرة والسجالت و
Adding two numbers
1. The algorithm is: input a, input b, calculate sum = a + b, then output sum.
AR: هي ال خوارزم ية: إدخالa، إدخال ث مb، وح سابsum = a + b، إخراج ث مsum.
2. The CU starts instructions in sequence and signals the keyboard to accept a; the user enters it, and the CU routes it to a’s memory
address. The same steps store b.
Bilingual Study Guide • 9
INTRODUCTION TO COMPUTERS | CHAPTER 1
AR: ت بدأCU ال ت ع ل يمات ت ن ف يذ، إدخال ال م فات يح ل وحة من وت ط لب ب ال ت تاب عa وت وجهه ال م س تخدم ي ك ت به ث م ؛CU ف ي ع نوان ه إل ى
ال ذاك رة. ل تخزي ن ن ف سها ال خطوات وت ت كررb.
3. Before addition, the CU copies a and b from memory into the ALU’s internal registers and signals the operation.
AR: ق بل، ت ن قل ال جمعCU من ن سخ ت ينa وb ل ـ ال داخ ل ية ال سج الت إل ى ال ذاك رة منALU، ال عم ل ية ت ن ف يذ إ شارة ت ر سل ث م.
4. The ALU adds the values; the result is stored in memory and displayed. The program then completes.
ُ َّوتَّعرو ال ذاك رة ف ي ال ن ت يجة ت، ال برن امج ي ن تهي ذل ك وب عد.
AR: ت جمعALU خزت ث م ال ق يم ت ين؛
Numeric example: 5 + 8
• The lecture’s five-step trace stores 5 and 8 in separate memory locations, fetches them into data registers, and uses the
accumulator to add them.
ثم يجلبهما إلى سجالت البيانات ويستخدم ال ُمراكِم، في موضعين منفصلين بالذاكرة8 و5 يخزن تتبع المحاضرة ذو الخطوات الخمس العددين
.لجمعهما
• The ALU produces 13 in the memory-buffer register; the CU stores the result in the user-chosen location, such as sum.
.sum مثل، النتيجة في الموضع الذي يحدده المستخدمCU في سجل مخزن الذاكرة؛ ثم تخزن13 العددALU تنتج
The diagram traces 5 and 8 through memory, registers, the accumulator, the ALU, and the result location. Source slide 47.
.47 الصورة من الشريحة. وموضع النتيجةALU بين الذاكرة والسجالت وال ُمراكِم و8 و5 يتتبع المخطط انتقال
TRACE CUE — Input → memory addresses → data registers → accumulator / ALU → memory-buffer register → sum →
display.
. ← عرض النتيجةsum ← ← سجل مخزن الذاكرةALU / مفتاح التتبع — إدخال ← عناوين الذاكرة ← سجالت البيانات ← ال ُمراكِم
7. Memory and storage
RAM and ROM-family comparison
Type
Volatile?
Writing / erasing
Main idea
النوع
متطايرة؟
المسح/ الكتابة
الفكرة األساسية
RAM
Yes; contents lost when power is off.
Read/write during execution.
Working area for active programs, data,
results.
ذاكرة الوصول العشوائي
.نعم؛ تفقد محتواها بانقطاع الطاقة
.قراءة وكتابة أثناء التشغيل
ROM
No; nonvolatile.
Pre-recorded data is read; often startup
instructions.
ذاكرة القراءة فقط
.ال؛ غير متطايرة
تُقرأ بيانات مسجلة مسبقًا؛ غالبًا
.تعليمات بدء التشغيل
Bilingual Study Guide • 10
مساحة عمل للبرامج والبيانات
.والنتائج النشطة
Retains contents without power.
.تحتفظ بالمحتويات دون طاقة
INTRODUCTION TO COMPUTERS | CHAPTER 1
Type
Volatile?
Writing / erasing
Main idea
النوع
متطايرة؟
المسح/ الكتابة
الفكرة األساسية
PROM
No; nonvolatile.
Programmed once.
PROM ذاكرة
.ال؛ غير متطايرة
.تُبرمج مرة واحدة
قابلة للبرمجة مرةROM ذاكرة
.واحدة
EPROM
No; nonvolatile.
Erased with ultraviolet light, then
reprogrammed.
Erasable programmable ROM.
EPROM ذاكرة
.ال؛ غير متطايرة
EEPROM
No; nonvolatile.
EEPROM ذاكرة
.ال؛ غير متطايرة
One-time programmable ROM.
تُمسح باألشعة فوق البنفسجية ثم
.يعاد برمجتها
قابلة للمسحROM ذاكرة
.والبرمجة
Erased and rewritten electrically; flash
is a type.
Electrically erasable programmable
ROM.
تُمسح ويعاد الكتابة عليها كهربائيًا؛
.والفالش نوع منها
قابلة للمسح والبرمجةROM ذاكرة
.كهربائيًا
The lecture classifies primary memory as RAM and ROM, and secondary memory as tape, disks, and flash. Source slide 26.
.26 الصورة من الشريحة. والثانوية إلى أشرطة وأقراص وذاكرة فالش،ROM وRAM تصنف المحاضرة الذاكرة الرئيسية إلى
• The same chart divides RAM into SRAM and DRAM and shows labels such as SDRAM, RDRAM, and DDR1–DDR5. Its
ROM branch includes MROM (mask ROM), PROM, EPROM, and EEPROM.
ROM ويضم فرع.DDR5–DDR1 وRDRAM وSDRAM ويعرض أسماء مثل،DRAM وSRAM إلىRAM يقسم المخطط نفسه
.EEPROM وEPROM وPROM (ذاكرة مقروءة فقط مقنّعة) وMROM أنواع
• The source chart repeats or misspells one RAM subtype label; the family names above preserve the clear labels without
relying on that typo.
أو يكتبه بصورة غير واضحة؛ لذا احتفظنا بأسماء العائالت الواضحة دون االعتماد على ذلكRAM يكرر مخطط المصدر أحد أسماء أنواع
.الخطأ
• Volatile memory needs power to retain its contents; nonvolatile memory retains contents without power.
.تحتاج الذاكرة المتطايرة إلى الطاقة لالحتفاظ بمحتواها؛ أما غير المتطايرة فتحفظ المحتوى دون طاقة
• The lecture describes EEPROM as slower than RAM and other ROM types.
.ROM واألنواع األخرى منRAM بأنها أبطأ منEEPROM تصف المحاضرة
Bilingual Study Guide • 11
INTRODUCTION TO COMPUTERS | CHAPTER 1
Memory hierarchy
Faster, smaller memories are near the CPU; larger, slower storage is farther away. Source slide 38.
.38 الصورة من الشريحة. والتخزين األكبر واألبطأ أبعد عنه،توجد الذواكر األسرع واألصغر قرب المعالج
Order
Speed / capacity
Remember
الترتيب
السعة/ السرعة
تذكر
Registers
Fastest; very small.
Inside CPU; current operations.
السجالت
.األسرع؛ صغيرة جدًا
.داخل المعالج؛ للعمليات الحالية
Cache
Very fast; small.
الذاكرة المخبئية
.سريعة جدًا؛ صغيرة
قرب المعالج؛ أسرع من الذاكرة الرئيسية وفق
.المحاضرة
Main memory (RAM)
Fast working memory.
Active programs and data.
الذاكرة الرئيسية
.ذاكرة عمل سريعة
.البرامج والبيانات النشطة
Secondary storage
Slower; large and persistent.
HDD, optical disc, tape, etc.
التخزين الثانوي
.أبطأ؛ كبير ودائم
.القرص الصلب والضوئي والشريط وغيرها
Near CPU; faster than main memory in lecture model.
HIERARCHY CUE — Registers → cache → RAM → secondary storage. Downward generally means greater capacity and
slower access.
ً
.ووصوال أبطأ
ويعني النزول غالبًا سعة أكبر. ← التخزين الثانويRAM ← مفتاح الترتيب — السجالت ← الذاكرة المخبئية
Secondary storage
Device
Technology / access
Key characteristics
الجهاز
الوصول/ التقنية
الخصائص
Hard disk (HDD)
Magnetic; direct or random access.
Capacity depends on surfaces, tracks, sectors,
bytes/sector.
قرص صلب
.مغناطيسي؛ وصول مباشر أو عشوائي
Optical disc
Laser reads or writes data.
قرص ضوئي
.يقرأ الليزر البيانات أو يكتبها
Bilingual Study Guide • 12
تعتمد السعة على األسطح والمسارات والقطاعات
.والبايتات لكل قطاع
CD, DVD, Blu-ray; capacities vary by format.
؛ وتختلف السعة حسبray-Blu وDVD وCD
.التنسيق
INTRODUCTION TO COMPUTERS | CHAPTER 1
Device
Technology / access
Key characteristics
الجهاز
الوصول/ التقنية
الخصائص
Flash storage
Electronic nonvolatile storage.
تخزين فالش
.تخزين إلكتروني غير متطاير
Magnetic tape
Magnetic medium, usually accessed sequentially.
شريط مغناطيسي
. والوصول إليه غالبًا تسلسلي،وسيط مغناطيسي
Floppy disk
Magnetic disk divided into tracks and sectors.
قرص مرن
.قرص مغناطيسي مقسم لمسارات وقطاعات
Portable; flash is a type of EEPROM in lecture.
وفقEEPROM محمول؛ والفالش نوع من
.المحاضرة
The lecture notes that 7 or 9 bits may form a character
with a parity bit; locating a point can take time.
تكون محر ًفا
ّ بتات قد9 أو7 تذكر المحاضرة أن
.مع بت تكافؤ؛ وقد يستغرق الوصول لموضع وقتًا
Legacy medium; lecture example 360 rpm and 1.44 MB.
دقيقة/ دورة360 وسيط قديم؛ مثال المحاضرة
.MB 1.44و
A disk surface is divided into circular tracks and sectors; the read/write head accesses the required location. Source slide 32.
.32 الصورة من الشريحة.يقسم سطح القرص إلى مسارات دائرية وقطاعات؛ ويصل رأس القراءة والكتابة إلى الموقع المطلوب
• A track is a circular path on the disk surface; a sector is a subdivision of that path. These terms are used in the capacity and
access-time questions.
. ويُستخدم المصطلحان في مسائل السعة وزمن الوصول.المسار دائرة على سطح القرص؛ والقطاع جزء مقسم من ذلك المسار
• Lecture capacity examples: CD up to 700 MB, DVD 8.4 GB, Blu-ray 50 GB, floppy 1.44 MB. These are lecture examples;
actual capacities vary by format.
.MB 1.44 والقرص المرن بسعة،GB 50 بسعةray-Blu و،GB 8.4 بسعةDVD و،MB 700 حتىCD :أمثلة السعات في المحاضرة
.هذه أمثلة المحاضرة؛ والسعات الفعلية تختلف حسب التنسيق
• CD-ROM means Compact Disc Read-Only Memory; the lecture presents optical discs as random-access media read or
written with lasers.
.صا مدم ًجا للقراءة فقط»؛ وتعرض المحاضرة األقراص الضوئية وسائط وصول عشوائي تُقرأ أو تُكتب بالليزر
ً «قرROM-CD تعني
STORAGE CUE — RAM = working memory; secondary storage = persistent files. HDD is magnetic; optical disc uses laser;
tape is sequential; flash is electronic.
مغناطيسي؛ والقرص الضوئي يستخدم الليزر؛ والشريط تسلسلي؛HDD . ذاكرة عمل؛ والتخزين الثانوي يحفظ الملفاتRAM — مفتاح التخزين
.والفالش إلكتروني
Bilingual Study Guide • 13
INTRODUCTION TO COMPUTERS | CHAPTER 1
8. Storage units and disk calculations
Units
Unit
Conversion
Cue
الوحدة
التحويل
مفتاح
Bit (b)
Binary digit: 0 or 1.
Smallest unit here.
بت
.1 أو0 :رقم ثنائي
.أصغر وحدة هنا
Byte (B)
8 bits.
One byte = eight bits.
بايت
. بت8
.البايت = ثمانية بتات
1 KB = 1024 bytes in lecture’s binary convention.
بايت وفق نظام المحاضرةKB = 1024 1
.الثنائي
Binary step.
كيلوبايت
MB
1 MB = 1024 KB.
1024 KB.
ميجابايت
.MB = 1024 KB 1
. كيلوبايت1024
GB
1 GB = 1024 MB.
1024 MB.
جيجابايت
.GB = 1024 MB 1
. ميجابايت1024
TB
1 TB = 1024 GB.
1024 GB.
تيرابايت
.TB = 1024 GB 1
. جيجابايت1024
KB
.زيادة ثنائية
Hz = cycles/s; 1 MHz = 1,000,000 Hz = 1000 kHz; 1
GHz = 1,000,000,000 Hz.
Hz / MHz / GHz
جيجاهرتز/ ميجاهرتز/ هرتز
MHz = 1,000,000 1 ثانية؛/ = دورةHz
GHz = 1؛ وHz = 1000 kHz
.Hz 1,000,000,000
Frequency / clock speed.
. سرعة الساعة/ التردد
A slide appears to say “1 MHz = … or 1000 Hz.” This is a typo: 1 MHz equals 1,000,000 Hz or 1000 kHz.
.kHz 1000 أوHz 1,000,000 يساويMHz 1 : هذا خطأ مطبعي.»Hz 1000 = … أوMHz 1« يبدو أن إحدى الشرائح تذكر
• Files are stored as binary data using bits (0 and 1); software interprets these bit patterns as text, pictures, and other
information. The decimal system, by contrast, uses ten digits (0–9).
أما.)؛ وتفسر البرمجيات هذه األنماط الثنائية على هيئة نصوص وصور ومعلومات أخرى1 و0( تُخزن الملفات بيانات ثنائية باستخدام البتات
.)9–0( النظام العشري فيستخدم عشرة أرقام
HDD capacity
• The lecture’s historical HDD examples are 16/32/64 GB for older smaller devices, 120/256 GB as entry-level, 500 GB–2 TB
for typical use, and above 2 TB for large files; it calls 20 TB the highest capacity at that time.
500 و، للفئة األساسيةGB 256/120 و، لألجهزة األقدم واألصغرGB 64/32/16 أمثلة األقراص الصلبة التاريخية في المحاضرة هي
. بوصفها أعلى سعة آنذاكTB 20 للملفات الكبيرة؛ وتذكرTB 2 وأكثر من، لالستخدام المعتادTB 2–GB
• Treat those capacity ranges as historical lecture examples, not current recommendations.
. ال توصيات حالية،تعامل مع نطاقات السعة هذه بوصفها أمثلة تاريخية من المحاضرة
• Capacity = surfaces × tracks per surface × sectors per track × bytes per sector.
.السعة = األسطح × المسارات لكل سطح × القطاعات لكل مسار × البايتات لكل قطاع
• Lecture example: 4 × 64 × 128 × 256 = 8,388,608 bytes = 8 MiB (called 8 MB in the slide’s convention).
.) وفق اصطالحهاMB 8 (وتسميها الشريحةMiB 8 = بايت8,388,608 = 256 × 128 × 64 × 4 :مثال المحاضرة
Access time and transfer rate
Term
Meaning
Calculation cue
المصطلح
المعنى
مفتاح الحساب
Seek time
Head moves to required track.
Add when given.
زمن البحث
.يتحرك الرأس للمسار المطلوب
.يُضاف عند ذكره
Bilingual Study Guide • 14
INTRODUCTION TO COMPUTERS | CHAPTER 1
Term
Meaning
Calculation cue
المصطلح
المعنى
مفتاح الحساب
Rotational latency
Wait for required sector to rotate under head.
Unknown start: average is half a rotation.
التأخر الدوراني
.انتظار دوران القطاع المطلوب تحت الرأس
. المتوسط نصف دورة:بداية مجهولة
Transfer time
Time to transfer requested data.
Use data amount and rate if given.
زمن النقل
.زمن نقل البيانات المطلوبة
.استخدم كمية البيانات ومعدل النقل
Controller time
Controller handles the request.
Add when given.
زمن المتحكم
.يعالج المتحكم الطلب
.يُضاف عند ذكره
Average access time
Seek + average latency + transfer + controller.
Add specified terms.
متوسط زمن الوصول
. المتحكم+ النقل+ متوسط التأخر+ البحث
.اجمع الحدود المحددة
• Rotations/s = rpm ÷ 60; full rotation time = 1 ÷ rotations/s; average latency is half a rotation if start position is unknown.
ً
.مجهوال
ثانية؛ ومتوسط التأخر نصف دورة إذا كان موضع البداية/ ÷ الدورات1 = ؛ وزمن الدورةrpm ÷ 60 = ثانية/الدورات
• If the starting head position is known, calculate the actual rotational delay to the requested sector; use average latency only if
the starting position is unknown. If seek/controller time is omitted, treat it as zero; if the requested data amount is omitted,
assume no transfer.
فاحسب التأخر الدوراني الفعلي حتى القطاع المطلوب؛ واستخدم متوسط التأخر فقط إذا كان موضع البداية،إذا عُرف موضع الرأس االبتدائي
ً
.صفرا؛ وإذا أُغفلت كمية البيانات المطلوبة فافترض عدم وجود نقل
وإذا أُغفل زمن البحث أو المتحكم فاعتبره.مجهوال
ً
• Example: 3600 rpm = 60 rotations/s; full rotation ≈ 16.67 ms; average rotational latency ≈ 8.33 ms.
.ms 8.33 ≈ ؛ ومتوسط التأخر الدورانيms 16.67 ≈ ثانية؛ وزمن الدورة/ دورة60 = دقيقة/ دورة3600 :مثال
• Using 128 sectors × 256 bytes per track and 4 surfaces, the lecture’s transfer-rate setup gives 60 × 128 × 256 × 4 = 7,864,320
bytes/s ≈ 7.5 MiB/s.
7,864,320 = 4 × 256 × 128 × 60 يعطي حساب المحاضرة لمعدل النقل، أسطح4 بايتًا لكل مسار و256 × قطاعًا128 باستخدام
.MiB/s 7.5 ≈ ثانية/بايت
• If seek, transfer, and controller times are omitted, the lecture example treats them as zero; then average access time is 8.33
ms.
.ms 8.33 صفرا؛ فيكون متوسط زمن الوصول
يعدّها مثال المحاضرة،إذا لم تُذكر أزمنة البحث والنقل والمتحكم
ً
CALCULATION CUES — Convert rpm first; distinguish a full rotation from average latency; keep units; add every stated
delay.
ً rpm حول
.أوال؛ وميّز بين زمن الدورة ومتوسط التأخر؛ واكتب الوحدات؛ واجمع كل أزمنة التأخير المذكورة
ّ — مفاتيح المسائل
9. Software and programming languages
System software and applications
• Software is a planned set of step-by-step instructions that makes a computer do meaningful work and turn data into
information; without programs, the computer is an empty machine.
ً البرمجيات مجموعة مخططة من التعليمات المتتابعة التي تجعل الحاسوب يؤدي
ويحول البيانات إلى معلومات؛ فمن دون البرامج
عمال ذا معنى
ّ
.يكون الحاسوب آلة فارغة
Type
Purpose
Examples from slides
النوع
الوظيفة
أمثلة الشرائح
System software
Manages hardware and provides basic services to users
and applications.
Operating systems; disk formatter, file manager, display
manager, editors, authentication, networking, device
control.
برمجيات النظام
تدير األجهزة وتوفر خدمات أساسية للمستخدمين
.والتطبيقات
Application software
Helps a user perform a particular task.
برمجيات تطبيقية
.تساعد المستخدم على أداء مهمة محددة
Bilingual Study Guide • 15
أنظمة تشغيل؛ تهيئة األقراص وإدارة الملفات
والشاشة والمحررات والتحقق من الهوية والشبكات
.والتحكم باألجهزة
Opera, Word, Excel, MySQL, PowerPoint, Photoshop.
MySQL وExcel وWord وOpera
.Photoshop وPowerPointو
INTRODUCTION TO COMPUTERS | CHAPTER 1
• An application may be one program, a package of programs that work together (such as a spreadsheet or word processor), or
a suite of related applications that share an interface or data format.
أو مجموعة تطبيقات مترابطة،) أو حزمة برامج تعمل معًا (مثل برنامج جداول إلكترونية أو معالجة نصوص،قد يكون التطبيق برنام ًجا واحدًا
.تشترك في واجهة أو تنسيق بيانات
• Operating-system examples in the slides include Windows, Linux, Unix, Mac OS X, and DOS.
.DOS وMac OS X وUnix وLinux وWindows تشمل أمثلة أنظمة التشغيل في الشرائح
Software branches into system software and application software. Source slide 39.
.39 الصورة من الشريحة.تنقسم البرمجيات إلى برمجيات نظام وبرمجيات تطبيقية
Programming-language levels
Level
Form
Key idea
المستوى
الصيغة
الفكرة
Machine language
Binary instructions: 0s and 1s.
Directly usable by hardware; difficult for people to read
or change.
لغة اآللة
. أصفار وآحاد:تعليمات ثنائية
تستخدمها األجهزة مباشرة؛ ويصعب على البشر
.قراءتها أو تعديلها
Assembly language
Mnemonic codes representing machine instructions.
Translated by an assembler.
لغة التجميع
.رموز تذكيرية تمثل تعليمات اآللة
.assembler يترجمها برنامج
High-level language
More human-readable, often English-like.
Needs translation or interpretation before execution.
لغة عالية المستوى
.أقرب للبشر وغالبًا شبيهة باإلنجليزية
.تحتاج إلى ترجمة أو تفسير قبل التنفيذ
Language
Description in the slides
اللغة
وصف الشرائح
Ada
Ada
BASIC
BASIC
C
Named for Ada Lovelace; developed for Department of Defense work and used mainly in defense projects.
سا في
ً ؛ وطورت ألعمال وزارة الدفاع وتستخدم أساAda Lovelace سميت نسبةً إلى
.المشروعات الدفاعية
Beginner’s All-purpose Symbolic Instruction Code; designed to be easy for beginners.
؛ وصممتpurpose Symbolic Instruction Code-s All’Beginner اختصار
.لتكون سهلة للمبتدئين
Developed at Bell Laboratories; combines assembly-language power with high-level-language ease and
portability.
C
؛ وتجمع قوة لغة التجميع مع سهولة اللغة عالية المستوىLaboratories Bell طورت في
.وقابليتها للنقل
C++
Object-oriented language based on C.
++C
.C لغة شيئية التوجه مبنية على
Bilingual Study Guide • 16
INTRODUCTION TO COMPUTERS | CHAPTER 1
Language
Description in the slides
اللغة
وصف الشرائح
Pronounced “C sharp”; the slides describe it as a Microsoft-developed hybrid of Java and C++.
C#
#C
طورتها++C وJava تنطق «سي شارب»؛ وتصفها الشرائح بأنها لغة هجينة من
.Microsoft
COBOL
Common Business-Oriented Language; used for business applications.
COBOL
.؛ وتستخدم لتطبيقات األعمالOriented Language-Common Business اختصار
FORTRAN
Formula Translation; popular for scientific and mathematical applications.
FORTRAN
.؛ وشائعة للتطبيقات العلمية والرياضيةFormula Translation اختصار
Java
Developed by Sun Microsystems; used for platform-independent Internet applications.
Java
.؛ وتستخدم لتطبيقات اإلنترنت المستقلة عن المنصةSun Microsystems طورتها
Pascal
Named for Blaise Pascal; a simple, structured general-purpose language used mainly to teach programming
in the lecture description.
Pascal
؛ وتصفها المحاضرة بأنها لغة عامة بسيطة ومنظمةBlaise Pascal سميت نسبةً إلى
.سا لتعليم البرمجة
ً تستخدم أسا
Python
A simple, general-purpose scripting language suited to short programs.
Python
.لغة برمجة نصية بسيطة وعامة تناسب البرامج القصيرة
Visual Basic
Developed by Microsoft to help programmers create graphical user interfaces rapidly.
Visual Basic
. لمساعدة المبرمجين على إنشاء واجهات رسومية بسرعةMicrosoft طورتها
• A computer cannot directly understand a source program written in a high-level language; it must be translated into machine
code before execution. An interpreter or compiler performs this translation in different ways.
وينفذ المفسر أو.ال يستطيع الحاسوب فهم البرنامج المصدري المكتوب بلغة عالية المستوى مباشرة؛ لذلك يجب ترجمته إلى لغة اآللة قبل التنفيذ
.المصرف هذه الترجمة بطريقتين مختلفتين
ّ
• Examples from the slides: machine code uses a binary instruction such as 1101101010011010; assembly uses ADDF3 R1,
R2, R3; a high-level statement can calculate a circle’s area with radius 5: area = 5 * 5 * 3.1415.
؛ ويمكن لعبارةADDF3 R1, R2, R3 ؛ وتستخدم لغة التجميع1101101010011010 تستخدم لغة اآللة تعليمة ثنائية مثل:أمثلة الشرائح
.area = 5 * 5 * 3.1415 :5 عالية المستوى حساب مساحة دائرة نصف قطرها
An assembler translates an assembly-source file into a machine-code file. Source slide 51.
.51 الصورة من الشريحة.يترجم برنامج التجميع ملفًا مكتوبًا بلغة التجميع إلى ملف بلغة اآللة
Bilingual Study Guide • 17
INTRODUCTION TO COMPUTERS | CHAPTER 1
Interpreter and compiler
An interpreter translates and executes source statements one at a time. Source slide 54.
.54 الصورة من الشريحة.يترجم المفسر التعليمات المصدرية وينفذها واحدة ً تلو األخرى
A compiler translates the source program into a machine-code file, which is then executed. Source slide 55.
.55 الصورة من الشريحة.المصرف البرنامج المصدري إلى ملف بلغة اآللة ثم ينفذ الملف
يترجم
ّ
Bilingual Study Guide • 18
INTRODUCTION TO COMPUTERS | CHAPTER 1
Interpreter
Compiler
المفسر
المصرف
ّ
Translates and executes one statement at a time.
Translates the whole source program into a machine-code file, then executes it.
.يترجم وينفذ تعليمة واحدة في كل مرة
ً
.كامال إلى ملف بلغة اآللة ثم ينفذه
يترجم البرنامج المصدري
Cue: statement by statement.
Cue: compile first, execute the translated file.
. تعليمة تلو األخرى:مفتاح
ً ترجمة:مفتاح
. ثم تنفيذ الملف المترجم،أوال
EXAM COMPARISON — Interpreter: one statement at a time. Compiler: whole source first, then execute generated
machine code.
ً كامال
ً
. ثم تنفيذ لغة اآللة الناتجة،أوال
ترجمة المصدر:المصرف
. تعليمة واحدة في كل مرة:مقارنة امتحانية — المفسر
ّ
10. Java, JVM, and portability
• The lecture presents Java as a general-purpose language for network and Internet applications. It attributes Java’s
development to James Gosling and Sun Microsystems and dates its public launch to May 20, 1995, at SunWorld.
Sun وشركةJames Gosling وتنسب تطويرها إلى. لغةً متعددة األغراض لتطبيقات الشبكات واإلنترنتJava تعرض المحاضرة
.SunWorld في1995 مايو20 وتؤرخ إطالقها العام في،Microsystems
• The lecture also names HotJava as the first Java-enabled Web browser.
.Java بوصفه أول متصفح ويب يدعمHotJava وتذكر المحاضرة
• Listed characteristics: simple, object-oriented, distributed, interpreted, robust, secure, architecture-neutral, portable, highperformance, multithreaded, and dynamic.
، ومتعددة الخيوط، وعالية األداء، وقابلة للنقل، ومحايدة معماريًا، وآمنة، ومتينة، ومفسرة، وموزعة، وشيئية التوجه، بسيطة:الخصائص المذكورة
.وديناميكية
• Java source is compiled to bytecode; a Java Virtual Machine (JVM) runs that bytecode on a compatible system. This
explains the lecture’s “write once, run on systems with a JVM” portability idea.
وهذا يشرح فكرة. هذه الشفرة على نظام متوافقJava (JVM)؛ وتشغل اآللة االفتراضية لـbytecode المصدرية إلىJava تُترجم شفرة
.»JVM المحاضرة «اكتب مرة وشغّل على األنظمة التي يتوفر لها
Java source is compiled to bytecode, which a JVM can run on different computer platforms. Source slide 66.
.66 الصورة من الشريحة. تشغيلها على منصات حاسوب مختلفةJVM تستطيعbytecode إلىJava تُترجم شفرة
JAVA CUE — Source code → compiler → bytecode → JVM → execution on a platform with a compatible JVM.
. متوافقةJVM ← تنفيذ على منصة تتوفر لهاJVM ←bytecode ← مصرف
← — شفرة مصدريةJava مفتاح
ّ
Java editions and tools from the slides
Name
Lecture description
Cue
االسم
وصف المحاضرة
مفتاح
J2SE / Java SE
Client-side standalone applications or applets; the lecture
course uses J2SE to introduce Java.
Standard
اإلصدار القياسي
؛applets تطبيقات مستقلة من جهة العميل أو
.Java لتقديمJ2SE ويستخدم المقرر
Bilingual Study Guide • 19
قياسي
INTRODUCTION TO COMPUTERS | CHAPTER 1
Name
Lecture description
Cue
االسم
وصف المحاضرة
مفتاح
Server-side applications such as servlets, JavaServer
Pages, and JavaServer Faces.
J2EE / Java EE
إصدار المؤسسات
J2ME / Java ME
إصدار األجهزة الصغيرة
NetBeans and Eclipse
Eclipse وNetBeans
servlets تطبيقات جهة الخادم مثل
JavaServer وJavaServer Pagesو
.Faces
Applications for mobile devices such as cell phones, in
the lecture’s terminology.
وفق،تطبيقات لألجهزة المحمولة مثل الهواتف
.مصطلحات المحاضرة
Integrated Development Environments for writing and
managing Java programs.
Java بيئتا تطوير متكاملتان لكتابة برامج
.وإدارتها
Enterprise
مؤسسات
Micro/mobile
محمول/صغير
IDE
بيئة تطوير متكاملة
JDK version timeline in the lecture
JDK version
Year / alias
JDK إصدار
االسم البديل/ السنة
1.02
1995
1.02
1995
1.1
1996
1.1
1996
1.2
1998
1.2
1998
1.3
2000
1.3
2000
1.4
2002
1.4
2002
1.5
2004; also called JDK 5 / Java 5.
1.5
.JDK 5 / Java 5 ؛ ويُسمى أيضًا2004
1.6
2006; also called JDK 6 / Java 6.
1.6
.JDK 6 / Java 6 ؛ ويُسمى أيضًا2006
1.7
2011; also called JDK 7 / Java 7.
1.7
.JDK 7 / Java 7 ؛ ويُسمى أيضًا2011
1.8
2014; also called JDK 8 / Java 8.
1.8
.JDK 8 / Java 8 ؛ ويُسمى أيضًا2014
HISTORY NOTE — These releases and names reproduce the lecture’s historical timeline; they are not a current Java
release list.
. الحاليةJava وليست قائمة بإصدارات،مالحظة تاريخية — تعكس هذه اإلصدارات واألسماء الخط الزمني التاريخي للمحاضرة
Bilingual Study Guide • 20
INTRODUCTION TO COMPUTERS | CHAPTER 1
11. Java program structure and first program
Example
public class Welcome {
public static void main(String[] args) {
System.out.println("Welcome to Java!");
}
}
• The program defines a class named Welcome, uses main as the entry point, and prints a line of text.
.سطرا نصيًا
ثم يطبع، نقطةً لبدء التنفيذmain ويستخدم،Welcome يعرف البرنامج فئة باسم
ّ
ً
Trace the Welcome program
Step
What happens
Visible result
الخطوة
ما يحدث
النتيجة الظاهرة
Enter main
Execution begins at the main method.
The program starts.
main دخول
.main يبدأ التنفيذ من الدالة
.يبدأ البرنامج
Execute statement
System.out.println runs the print instruction.
The text is sent to the console.
تنفيذ التعليمة
. تعليمة الطباعةSystem.out.println تنفذ
.يُرسل النص إلى نافذة األوامر
Display output
The console shows the program’s result.
Welcome to Java!
عرض المخرجات
.تعرض نافذة األوامر نتيجة البرنامج
!Welcome to Java
Part / symbol
Meaning
Cue
الرمز/ الجزء
المعنى
مفتاح
class Welcome
Declares a class; slides show class names beginning with
a capital letter.
Class name
Program parts and symbols
Welcome الفئة
تعلن فئة؛ وتعرض الشرائح أسماء الفئات بحرف
.كبير
main method
Starting point for the example program.
Entry point
main الدالة
.نقطة بدء البرنامج
نقطة البدء
Statement
Instruction that performs an action; Java statements end
with a semicolon.
; terminates it.
التعليمة
Reserved word
كلمة محجوزة
Comment //
بفاصلةJava تعليمة تنفذ إجرا ًء؛ وتنتهي تعليمات
.منقوطة
Has a special language meaning; cannot be used as an
ordinary identifier.
.لها معنى خاص في اللغة؛ وال تصلح اس ًما عاديًا
Programmer note ignored as executable code; // starts a
single-line comment.
اسم الفئة
.; تنهيها
Avoid as identifier.
.ال تستخدم كاسم
Comment
// تعليق
تعليقًا أحادي// مالحظة للمبرمج ال تنفذ؛ ويبدأ
.السطر
Braces { }
Mark the beginning and end of a code block.
Block
} { األقواس
.تحدد بداية كتلة الشفرة ونهايتها
كتلة
Parentheses ( )
Group method parameters or expressions.
Parameters
) ( األقواس
.تجمع معامالت الدالة أو التعبيرات
معامالت
Bilingual Study Guide • 21
تعليق
INTRODUCTION TO COMPUTERS | CHAPTER 1
Part / symbol
Meaning
Cue
الرمز/ الجزء
المعنى
مفتاح
Used for array syntax; String[] args is an example.
String[] تستخدم في صياغة المصفوفات؛ و
. مثالargs
Array
] [ األقواس
Quotation marks
Enclose text strings.
String
عالمتا االقتباس
.تحيطان بالسالسل النصية
سلسلة نصية
Brackets [ ]
مصفوفة
Create, compile, run, and revise
A clean diagram of the full slide 65 workflow, with compile-error and runtime/wrong-result feedback loops returning to source editing.
ً
. موض ًحا عودة أخطاء الترجمة وأخطاء التشغيل أو النتائج الخاطئة إلى تعديل الشفرة المصدرية،كامال
65 مخطط واضح لمسار الشريحة
1. Create or modify the Java source file and save it on disk.
AR: م لف أن شئJava أو ال م صدري،ال قرص ع لى اح فظه ث م عدل ه.
2. Compile the source, for example with javac Welcome.java. If compile errors appear, correct the source and compile again.
ب األم ر ثjavac Welcome.java. أخطاء ظهرت وإذا،ال ترجمة وأعد ال ش فرة صحح ت رجمة.
AR: ال م لف ت رجم،مًال ال م صدري
3. Successful compilation creates bytecode, commonly saved in a .class file; run it with java Welcome through the JVM.
AR: ال ناجحة ال ترجمة ت ن شئbytecode، م لف ف ي عادة ث وت ح فظ.class ب األم ر ش غ له ث م ؛java Welcome ع برJVM.
4. Check the result. If a runtime error occurs or the result is incorrect, revise the source and repeat the compile-and-run cycle.
AR: ال ن ت يجة اف حص. غ ير ال ن ت يجة ك ان ت أو ال ت ش غ يل وق ت خطأ وق ع وإذا،وال ت ش غ يل ال ترجمة دورة وك رر ال ش فرة فعدعل صح يحة.
Command-line workflow from lecture
• The slides show creating the file with Notepad (notepad Welcome.java) or WordPad (write Welcome.java) from the
command prompt.
write Welcome.java باألمرWordPad أوnotepad Welcome.java باألمرNotepad تعرض الشرائح إنشاء الملف باستخدام
.من نافذة األوامر
• Save the source as Welcome.java and compile it with javac Welcome.java.
.javac Welcome.java وترجمها باألمرWelcome.java احفظ الشفرة باسم
Bilingual Study Guide • 22
INTRODUCTION TO COMPUTERS | CHAPTER 1
• Run it with java Welcome. The slides also discuss adding the JDK bin directory to the path and setting the classpath to a
period.
. على نقطةclasspath إلى المسار وضبطJDK فيbin وتناقش الشرائح أيضًا إضافة مجلد.java Welcome شغّله باألمر
• javac compiles; java starts the class through the JVM.
.JVM الفئة عبرjava الترجمة؛ ويشغّلjavac ينفذ
set path=C:\Program Files\java\jdk1.8.0\bin
set classpath=.
javac Welcome.java
java Welcome
• The path and syntax above are the lecture’s JDK 1.8 command-window example; exact setup can vary by computer and JDK
installation.
.JDK ؛ وقد يختلف اإلعداد الفعلي حسب الجهاز ومكان تثبيتJDK 1.8 المسار والصياغة أعاله مثال المحاضرة لواجهة األوامر مع
CODE CUES — Source filename matches the public class; main starts execution; semicolon ends a statement; braces group a
block; quotes enclose a string.
التنفيذ؛ والفاصلة المنقوطة تنهي التعليمة؛ واألقواس المعقوفة تجمع الكتلة؛main مفاتيح الشفرة — يطابق اسم الملف اسم الفئة العامة؛ وتبدأ
.وعالمتا االقتباس تحيطان بالنص
12. Programming errors
Error
What happens
Example
الخطأ
ما يحدث
مثال
Syntax
Code violates language grammar; compiler usually
reports it before execution.
Missing semicolon; misspelled keyword.
نحوي
Runtime
وقت التشغيل
المصرف عنه
تخالف الشفرة قواعد اللغة؛ ويبلغ
ّ
.غالبًا قبل التنفيذ
Problem occurs while the program runs; it may stop or
abort.
.تحدث مشكلة أثناء تشغيل البرنامج؛ وقد يتوقف
Program runs but produces an incorrect result because its
logic/formula is wrong.
Logic
منطقي
يعمل البرنامج لكنه ينتج إجابة خاطئة بسبب منطق
.أو صيغة غير صحيحة
.فاصلة منقوطة مفقودة؛ كلمة محجوزة مكتوبة خطأ
Division by zero.
.القسمة على صفر
Wrong arithmetic formula.
.صيغة حسابية خاطئة
Integer division trap: Celsius to Fahrenheit
• Formula: F = (9/5) × C + 32. With integer division, 9/5 becomes 1; at C = 35 the faulty result is 67, not 95.
ً 67 تكون النتيجة الخاطئةC = 35 ؛ وعند1 مساوية لـ5/9 في القسمة الصحيحة تصبح.F = (9/5) × C + 32 :الصيغة
.95 بدال من
• Use a floating-point value, such as 9.0/5: (9.0/5) × 35 + 32 = 95°F.
.F°95 = 32 + 35 × )5/9.0( :5/9.0 استخدم قيمة عشرية مثل
• This is a logic error if the code is valid and runs but computes the wrong value.
.هذا خطأ منطقي إذا كانت الشفرة سليمة وتعمل لكنها تحسب قيمة خاطئة
DEBUG CUE — Fails to compile = syntax; fails during execution = runtime; runs but answer is wrong = logic.
.مفتاح تحديد الخطأ — فشل الترجمة = نحوي؛ فشل أثناء التنفيذ = وقت التشغيل؛ عمل مع إجابة خاطئة = منطقي
Bilingual Study Guide • 23
INTRODUCTION TO COMPUTERS | CHAPTER 1
13. Comparisons and useful synonyms
High-value comparisons
Comparison
A
B
Fast distinction
المقارنة
أ
ب
التمييز السريع
Data / information
Raw facts.
Processed facts with meaning.
Raw → meaningful.
المعلومات/ البيانات
.حقائق خام
.حقائق معالجة ذات معنى
.خام ← ذات معنى
Hardware / software
Physical equipment.
Programs and instructions.
Touchable vs tells hardware what to do.
البرمجيات/ المكونات
.أجهزة مادية
.برامج وتعليمات
.يُلمس مقابل يوجه الجهاز
Power loss clears RAM; ROM retains
contents.
Volatile read/write working memory.
RAM / ROM
ذاكرة عمل متطايرة للقراءة
.والكتابة
Nonvolatile stored information.
.معلومات محفوظة غير متطايرة
؛RAM انقطاع الطاقة يمحو
. بمحتواهاROM وتحتفظ
Main / secondary storage
Fast working memory near CPU.
Persistent, larger, generally slower.
Active now vs saved for later.
الثانوي/ التخزين الرئيسي
.ذاكرة عمل سريعة قرب المعالج
.دائم وأكبر وأبطأ غالبًا
.نشط اآلن مقابل محفوظ الحقًا
CU / ALU
Directs and coordinates.
Calculates and compares.
CU directs; ALU operates.
CU / ALU
.توجه وتنسق
.تحسب وتقارن
. تنفذALU توجه؛ وCU
Input / output
Sends data into the computer.
Presents results to the user.
Into the system vs out to user.
اإلخراج/ اإلدخال
.يدخل البيانات إلى الحاسوب
.يعرض النتائج للمستخدم
.إلى النظام مقابل إلى المستخدم
Analog / digital
Continuous quantities.
Discrete values.
Continuous vs discrete.
رقمي/ تماثلي
.كميات مستمرة
.قيم منفصلة
.مستمر مقابل منفصل
Interpreter / compiler
One statement at a time.
Whole source translated first.
مصرف
/ مفسر
ّ
.تعليمة في كل مرة
ً كامال
ً
.أوال
ترجمة المصدر
واحدة تلو األخرى مقابل البرنامج
ً
.كامال
Syntax / runtime / logic
Grammar or compile failure.
Execution failure.
Runs but wrong answer = logic.
منطقي/ وقت التشغيل/ نحوي
.قواعد أو فشل ترجمة
.فشل تنفيذ
.يعمل لكن بإجابة خاطئة = منطقي
RAM / ROM
One by one vs whole program.
Synonyms and related vocabulary
Word
Synonyms / related terms
Natural Arabic
الكلمة
مصطلحات/ مرادفات
المعنى
Accept
Receive, take in
يستقبل
يُدخل،يتلقى
Process
Handle, operate on, transform
يعالج
يحول
ّ ، يجري عمليات على،يتعامل مع
Store
Save, retain, keep
يخزن
يحتفظ بـ،يحفظ
Output
Present, display, produce
يعرض/ يخرج
ينتج، يعرض،يقدم
Retrieve
Access, get back
يسترجع
يحصل على،يصل إلى
Perform
Carry out, execute
ينفذ
يشغّل،يجري
Manage
Control, administer, coordinate
يدير
ينسق، ينظم،يتحكم
ي س ت ق بل/ يَّدخل
Bilingual Study Guide • 24
ي عال ج/ يحول
ع
ي خزت/ ي ح فظ
ي عرو/ ي ن تج
ي س ترج ع/ إل ى ي صل
ي ن فذ/ ي جري
ي دي ر/ ي نظم
INTRODUCTION TO COMPUTERS | CHAPTER 1
Word
Synonyms / related terms
Natural Arabic
الكلمة
مصطلحات/ مرادفات
المعنى
Convert
Change, transform
يحول
ّ
يعيد تشكيل،يغير
Recognize
Identify, detect
يتعرف
يكتشف،يحدد
Device
Unit, peripheral
جهاز
جهاز طرفي،وحدة
Fast / accurate
High-speed / precise / correct
دقيق/ سريع
صحيح/ محكم/ عالي السرعة
يحول
ع
ي ت عرف/ ي حدد
جهاز/ وحدة
سري ع/ دق يق/ صح يح
VOCABULARY CUE — Definitions often use accepts, processes, stores, outputs, and controls. In comparisons, whereas and
while signal a difference.
في المقارنات على وجودwhile وwhereas وتدل. ويتحكم، يخرج، يخزن، يعالج، يستقبل:مفتاح المفردات — تستخدم التعريفات غالبًا
.اختالف
14. Exam-style questions and answer cues
Define a computer and list its five basic functions.
.عرف الحاسوب واذكر وظائفه األساسية الخمس
ّ
Answer cue: Electronic device; input, storage, processing, output, control.
. جهاز إلكتروني؛ اإلدخال والتخزين والمعالجة واإلخراج والتحكم:مفتاح اإلجابة
Distinguish data from information and give an example.
.ميّز بين البيانات والمعلومات مع ذكر مثال
Answer cue: Raw facts vs processed facts with meaning; use numbers and a calculated total.
. حقائق خام مقابل حقائق معالجة ذات معنى؛ استخدم أعدادًا ومجموعًا محسوبًا:مفتاح اإلجابة
Explain the difference between an algorithm and a program.
.اشرح الفرق بين الخوارزمية والبرنامج
Answer cue: Step-by-step solution plan vs coded instructions implementing it.
. خطة حل من خطوات مقابل تعليمات برمجية تنفذها:مفتاح اإلجابة
Compare analog, digital, and hybrid computers.
.قارن بين الحواسيب التماثلية والرقمية والهجينة
Answer cue: Continuous quantities; discrete values; combination of both.
. كميات مستمرة؛ قيم منفصلة؛ مزيج من االثنين:مفتاح اإلجابة
Name the five generations and their technologies.
.اذكر األجيال الخمسة وتقنيات كل جيل
Answer cue: Vacuum tubes; transistors; ICs; microprocessors; AI.
. الصمامات المفرغة؛ الترانزستورات؛ الدوائر المتكاملة؛ المعالجات الدقيقة؛ الذكاء االصطناعي:مفتاح اإلجابة
Explain hardware versus software.
.اشرح الفرق بين المكونات المادية والبرمجيات
Answer cue: Physical equipment vs programs and instructions.
. أجهزة مادية مقابل برامج وتعليمات:مفتاح اإلجابة
Name four input devices and explain OCR.
.OCR اذكر أربعة أجهزة إدخال واشرح
Answer cue: Keyboard, mouse, scanner, microphone; OCR converts printed text to editable text.
. النص المطبوع إلى نص قابل للتحريرOCR لوحة المفاتيح والفأرة والماسح والميكروفون؛ يحول:مفتاح اإلجابة
Distinguish input from output and define screen resolution.
.وعرف دقة الشاشة
ميّز بين اإلدخال واإلخراج
ّ
Answer cue: Data goes in; results come out; resolution counts pixels across × down.
. تدخل البيانات؛ وتخرج النتائج؛ وتحسب الدقة البكسالت أفقيًا × رأسيًا:مفتاح اإلجابة
Bilingual Study Guide • 25
INTRODUCTION TO COMPUTERS | CHAPTER 1
Classify the lecture’s printer examples as impact or non-impact.
.صنف أمثلة الطابعات في المحاضرة إلى تصادمية أو غير تصادمية
Answer cue: Impact: line and serial/dot-matrix; non-impact: thermal/fax, laser, inkjet.
.الفاكس والليزر ونفث الحبر/ الحرارية:النقطية؛ غير تصادمية/ السطرية والتسلسلية: تصادمية:مفتاح اإلجابة
Describe CU, ALU, and registers.
. والسجالتALU وCU صف وظائف
Answer cue: CU directs; ALU calculates/compares; registers quickly hold active values.
. تحسب وتقارن؛ والسجالت تحفظ القيم النشطة بسرعةALU توجه؛ وCU :مفتاح اإلجابة
Trace the steps for adding two input numbers.
.تتبع خطوات جمع عددين ُمدخلين
Answer cue: Input → memory → CU → registers → ALU → memory → output.
. ← ذاكرة ← إخراجALU ← ← سجالتCU ← إدخال ← ذاكرة:مفتاح اإلجابة
Trace the lecture’s example 5 + 8 and identify where the result 13 is stored.
.13 وحدد موضع تخزين الناتج8 + 5 تتبع مثال المحاضرة
Answer cue: Separate memory locations → data registers → accumulator/ALU → memory-buffer register → user-selected sum
location.
الذي يحددهsum ← سجل مخزن الذاكرة ← موضعALU/ موضعان منفصالن في الذاكرة ← سجالت البيانات ← ال ُمراكِم:مفتاح اإلجابة
.المستخدم
Compare RAM, ROM, PROM, EPROM, and EEPROM.
.EEPROM وEPROM وPROM وROM وRAM قارن بين
Answer cue: Volatility; write/erase method; RAM is working memory; EPROM uses UV; EEPROM uses electrical erasure.
. بالمسح الكهربائيEEPROM باألشعة فوق البنفسجية؛EPROM ذاكرة عمل؛RAM المسح؛/ التطاير؛ طريقة الكتابة:مفتاح اإلجابة
Order registers, cache, RAM, and secondary storage.
. والتخزين الثانويRAMرتّب السجالت والذاكرة المخبئية و
Answer cue: Registers → cache → RAM → secondary storage; faster/smaller at top.
. ← التخزين الثانوي؛ األسرع واألصغر في األعلىRAM ← السجالت ← المخبئية:مفتاح اإلجابة
Calculate HDD capacity from surfaces, tracks, sectors, and bytes per sector.
.احسب سعة القرص الصلب من األسطح والمسارات والقطاعات والبايتات لكل قطاع
Answer cue: Multiply four factors; convert units using the stated convention.
.وحول الوحدات وفق النظام المحدد
اضرب العوامل األربعة؛:مفتاح اإلجابة
ّ
Find average rotational latency at 3600 rpm.
.دقيقة/ دورة3600 احسب متوسط التأخر الدوراني عند
Answer cue: 3600/60 = 60 rps; one rotation ≈ 16.67 ms; average ≈ 8.33 ms.
.ms 8.33 ≈ ؛ المتوسطms 16.67 ≈ ثانية؛ الدورة/ دورة60 = 60/3600 :مفتاح اإلجابة
Compare system software and application software.
.قارن برمجيات النظام والبرمجيات التطبيقية
Answer cue: Manages hardware/services vs performs user tasks; provide an example of each.
ً تدير األجهزة والخدمات مقابل أداء مهام المستخدم؛ اذكر:مفتاح اإلجابة
.مثاال لكل نوع
Compare machine, assembly, and high-level languages.
.قارن لغة اآللة والتجميع واللغات عالية المستوى
Answer cue: Binary; mnemonic codes; human-readable language; name a translator if relevant.
. ثنائية؛ رموز تذكيرية؛ لغة أقرب للبشر؛ اذكر المترجم عند الحاجة:مفتاح اإلجابة
Compare an interpreter and a compiler.
.والمصرف
قارن المفسر
ّ
Answer cue: One statement at a time vs whole source translated before execution.
ً
.كامال قبل التنفيذ
تعليمة في كل مرة مقابل ترجمة المصدر:مفتاح اإلجابة
Explain bytecode and the JVM.
.JVM وbytecode اشرح
Answer cue: Compiler creates bytecode; JVM runs it on a compatible platform.
. على منصة متوافقةJVM ؛ وتشغلهاbytecode المصرف
ينشئ:مفتاح اإلجابة
ّ
Bilingual Study Guide • 26
INTRODUCTION TO COMPUTERS | CHAPTER 1
Outline the full create–compile–run feedback loop for a Java program.
. وترجمته وتشغيله وإعادة تعديلهJava وضح دورة إنشاء برنامج
Answer cue: Save source → javac → fix compile errors and retry → bytecode/.class → java/JVM → inspect output; revise and
repeat for runtime errors or incorrect output.
← افحص الناتج؛ وعدّلjava/JVM ←bytecode/.class ← ← أصلح أخطاء الترجمة وأعدهاjavac ← احفظ المصدر:مفتاح اإلجابة
.وكرر عند أخطاء التشغيل أو الناتج غير الصحيح
Identify Java main, statement terminator, block markers, and comment marker.
.Java وعالمة نهاية التعليمة وعالمات الكتلة وعالمة التعليق فيmain حدد
Answer cue: main; semicolon; braces; double slash for single-line comment.
.؛ الفاصلة المنقوطة؛ األقواس المعقوفة؛ شرطتان مائلتان للتعليق أحادي السطرmain :مفتاح اإلجابة
Classify: missing semicolon; division by zero while running; wrong Fahrenheit value.
. فاصلة منقوطة مفقودة؛ قسمة على صفر أثناء التشغيل؛ قيمة فهرنهايت خاطئة:صنف
Answer cue: Syntax; runtime; logic.
. نحوي؛ وقت التشغيل؛ منطقي:مفتاح اإلجابة
15. Final review
• Computer cycle: input → processing → output; storage and control support each stage.
. إدخال ← معالجة ← إخراج؛ ويدعم التخزين والتحكم كل مرحلة:دورة الحاسوب
• CPU: CU directs; ALU operates; registers hold active values.
. تنفذ العمليات؛ والسجالت تحفظ القيم النشطةALU توجه؛ وCU :المعالج
• Memory order: registers → cache → RAM → secondary storage.
. ← التخزين الثانويRAM ←cache ← السجالت:ترتيب الذاكرة
• Programming: source code → interpreter one statement at a time, or compiler → machine code → execution.
.مصرف ← لغة آلة ← تنفيذ
أو، شفرة مصدرية ← مفسر يعالج تعليمة كل مرة:البرمجة
ّ
• Java: source → bytecode → JVM → execution on a compatible platform.
. ← تنفيذ على منصة متوافقةJVM ←bytecode ← شفرة مصدرية:Java
• Error cue: compile/grammar failure = syntax; failure while running = runtime; wrong result = logic.
.الترجمة = نحوي؛ فشل أثناء التشغيل = وقت التشغيل؛ نتيجة خاطئة = منطقي/ فشل القواعد:مفتاح األخطاء
Self-check
• Can you define each key term in one clear English sentence and translate it naturally?
هل تستطيع تعريف كل مصطلح أساسي بجملة إنجليزية واضحة وترجمتها طبيعيًا؟
• Can you compare the pairs using their key differences instead of memorizing whole paragraphs?
هل تستطيع مقارنة المصطلحات باستخدام الفروق األساسية بدل حفظ الفقرات؟
• Can you reproduce generations, memory hierarchy, CPU roles, unit conversions, and disk formulas?
هل تستطيع كتابة األجيال وهرم الذاكرة ووظائف المعالج وتحويالت الوحدات وصيغ القرص؟
• Can you show calculation steps with units and classify programming errors from their symptoms?
هل تستطيع كتابة خطوات الحساب بالوحدات وتصنيف أخطاء البرمجة من آثارها؟
Use gold keywords to identify the concept, then build a short answer from the English definition and its Arabic translation.
.كون إجابة قصيرة من التعريف اإلنجليزي وترجمته العربية
ّ ثم،استخدم الكلمات الذهبية لتحديد الفكرة
Bilingual Study Guide • 27
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )