0% found this document useful (0 votes)
10 views

Chapter 1 Introduction To Computer Science

Uploaded by

m4mqwpq8q8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Chapter 1 Introduction To Computer Science

Uploaded by

m4mqwpq8q8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Ministry of Higher Education and Scientific Research

M'Hamed Bouguera University Boumerdes


Faculty of Sciences
Department of Computer Science

Algorithms and Data Structur


Semester 1
SIACI Redouane

[email protected]
Summary

• Chapter 1 : Introduction to Computer Science


• Chapter 2: Algorithms and data type.
• Chapter 3: Input/Output Instructions (Read and Write)
• Chapter 4: Conditional statements
• Chapter 5: Iteration and Repetitive Structures (Loops)
• Chapter 6: Arrays.
• Chapter 7: Chain of characters (Strings) .
• Chapter 8: Procedures and Functions.

[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 …

The French translation is «L’informatique»

[email protected] 4
Computer system
• A computer system is divided into two categories:
Hardware and Software.

• Hardware refers to the physical and visible


components of the system such as a monitor,
CPU, keyboard and mouse.

• Sotware refers to a set of instructions which


enable the hardware to perform a specific set of
tasks.
• must be installed in the hardware to function
properly and similarly, the hardware must be
present for the tasks to be performed.
• Both are interdependent, yet they are also
different from each other.

[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

December 28, 1903 [Budapest] - February 8, 1957

[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 _

• The primary memory (PM) stores information ( programs and data ),


while the processor executes the instructions making up the
programs step by step.

[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).

• In general, each port has the characteristics


suitable for the device to be connected. In
reality the manufacturers try to standardize the
devices so as not to need a myriad of different
doors

[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

You will detail computer architectures in other modules


than this one.

[email protected] 20

You might also like