برمجة مصدق
برمجة مصدق
Lecture One
3. What are The Computer Software 8. What are Version Control Systems and Google
Components? Colab?
5. A Program Execution Path from Input to 10. What is Algorithm, Pseudocode and Flowchart
Output in Programming?
11. References
1. What is A Computer?
A computer is an electronic device designed to process data and perform
a wide range of tasks by following specific instructions, called programs.
Here are the key components of a computer:
a) Hardware: The physical parts, such as the CPU (Central Processing
Unit), memory (RAM), storage (SSD or HDD), input/output devices
(keyboard, mouse, monitor, etc.).
b) Software: The programs and operating systems that tell the hardware
what to do such as System Software (OS), Application Software (Firefox)
and Development Tools (IDEs).
2. What are The Computer Hardware Components?
They are the physical parts that interact to perform programming tasks.
a) Input Devices: It allow users to interact with the computer and provide
data (Keyboard, Mouse, Microphone, Scanner and Sensors).
b) Output Devices: It display or convey information from the computer to
the user (Monitor, Printer and Speakers).
c) Processing Unit: The "brain" of the computer (Central Processing Unit
(CPU), Graphics Processing Unit (GPU) and Motherboard).
d) Memory and Storage: It store data and instructions (Random Access
Memory (RAM), Read Only Memory (ROM), SSD and HDD).
3. What are The Computer Software Components?
They are parts of a computer system that consist of programs and data
required for its operation.
a) System Software: It manages the hardware and provides basic
functionalities for the computer to operate (Operating System (OS)).
b) Application Software: It is designed for end-users to perform specific
tasks (Microsoft Office, Mozilla Firefox and Adobe Photoshop).
c) Development Tools: It is used to create and maintain other software
(Programming Languages and IDEs, Compilers and Interpreters and
Version Control Systems).
4. What is A Program?
A program is a set of instructions written in a programming language that
a computer can execute to perform specific tasks. It tells the computer
how to process data, interact with hardware, and produce outcomes.
Here are some characteristics of a program:
a) Logical Sequence: Instructions are organized in a logical order to
achieve the desired result.
b) Execution: Programs are executed by the CPU, often with the help of
an interpreter or compiler.
c) Purpose-Driven: Designed to perform specific functions (Data Analysis)
5. A Program Execution Path from Input to Output
A program execution path from input to output follows several key steps:
a) Input Processing: The program receives from keyboard (input device)
and processes input, such as user data or files, by parsing and converting
it into a usable form.
b) Program Execution: The program is executed (CPU) to perform
calculations, logic, or actions based on the input, executing its core
functionality.
c) Output Display: The program displays results on Screen (output
device) to the user , which are then be saved for future use.
6. What are Compilers and Interpreters?
Compilers and interpreters are tools used to translate high-level
programming languages (like Python or C++) into machine code that a
computer can execute. Both serve the same purpose but work in
different ways.
Feature Compiler Interpreter
Execution Speed Faster (code precompiled) Slower (line-by-line execution)
Error Handling Detects all errors at once Stops at the first error
Output Standalone executable file No separate file; runs in real-time
Lecture One