Chapter 1 Introduction To Computer Science
Chapter 1 Introduction To Computer Science
[email protected]
Summary
[email protected] 2
Chapter 1
Introduction to
Computer Architecture
[email protected] 3
Computer science اﻹعﻼم اﻵلي
• Computer Science is the study of computers and computational systems.
• Computer scientists deal mostly (traiter principalement) with software
systems; this includes their theory, design, development, and application.
• Principal areas : infographics, concerning algorithms ,artificial intelligence,
computer systems and networks, security, database systems, vision and
graphics, numerical analysis, programming languages, software engineering
(génie logiciel), bioinformatics …
[email protected] 4
Computer system
• A computer system is divided into two categories:
Hardware and Software.
[email protected] 5
Computer system
[email protected] 6
Computer حاسوب
An electronic machine that calculates data very quickly, used for storing,
writing, organizing, and sharing information electronically or
for controlling other machines
[email protected] 7
Block Diagram of a Computer
[email protected] 8
Von Neumann Architecture
• Store the program in memory
• No distinction between memory for program and data.
• A single set of buses between: CPU-Memory-I/O
[email protected] 9
System Bus (Internal and Intra)
[email protected] 10
Computer Machines
[email protected] 11
Motherboard
• Principal element of the
computer
• Allowing the
connection of all the
essential elements of
the computer
[email protected] 12
Processor / Primary memory
• The two main components of a computer are the
• Primary memory _ and the Processor _
[email protected] 13
Primary and Secondary memory
• Primary memory : stores temporary data executed by the microprocessor
• Secondary memory ( permanent memory or auxiliary ) : The data does
not get erased even in case of a power failure
[email protected] 14
The main Input and Output (I/O)
ports in a computer
• The input/output units, that is the devices that
allow the introduction of data and the display of
the results (keyboard, mouse, monitor, printers,
etc.), are external to the Matherboard, and are
connected through appropriate connectors,
called ports of connection or input/output (I/O).
[email protected] 15
Program concept
A program is a series of elementary instructions, which will be executed
in order by the processor.
[email protected] 16
High-Level Language
A high-level language (HLL) is a type of programming language designed to simplify computer
programming and make it more accessible to humans.
Examples of high-level programming languages in active use today include Python, JavaScript, Visual Basic,
Delphi, Perl, PHP, ECMAScript, Ruby, C#, Java and many others
[email protected] 17
Difference Between AI and Algorithms
Artificial Intelligence (AI):
Algorithms: Definition: A broad field of computer science that aims
Definition: A set of instructions or rules that a to create intelligent agents, which are systems that can
computer follows to perform a specific task. reason, learn, and act autonomously.
Purpose: To solve problems or achieve goals Purpose: To mimic human intelligence and perform
by breaking them down into smaller, more tasks that would typically require human cognition,
manageable steps. such as understanding natural language, recognizing
Examples: patterns, and making decisions.
• Sorting a list of numbers Examples:
• Searching for a specific item in a • Self-driving cars
database • Virtual assistants
• Calculating the area of a circle • Medical diagnosis systems
[email protected] 18
Difference Between AI and
Algorithms
• AI involves more than just algorithms: AI also incorporates concepts
such as machine learning, deep learning, and neural networks, which
allow systems to learn from data and improve their performance over
time.
• AI can create new algorithms: AI can be used to develop algorithms
that are more complex and efficient than those created by humans.
[email protected] 19
Noticed