Lec1 Introduction
Lec1 Introduction
[January-April 2025]
Section 1 &2:
D Slots: Monday (11 AM-11.55 AM) Thursday (9 AM-9.55 AM) Friday (10 AM- 10.55 AM)
Section 3 & 4:
D1 Slots: Monday (2 PM-2.55 PM) Thursday (4 PM-4.55 PM) Friday (3 PM- 3.55 PM)
1/10/2025 Introduction to Computing (CS 101) 3
Syllabus
• Pre-MID Semester
– Introduction: The von Neumann architecture, machine language,
assembly language, high level programming languages, compiler,
interpreter, loader, linker, text editors, operating systems, flowchart;
1/10/2025 The
Introduction to Computing (CS components
101) of computer 6
Devices in a typical computer
• Central Processing Unit (CPU): It is the processor of the computer that is
responsible for controlling and executing instructions in the computer. It is
considered as the most significant component of the computer. It is the
“brain” of the computer.
• Keyboard and Mouse: These are the input devices, which are used by the
computer, for receiving input from the user.
• The computer takes programs (what and how to do) and data
(on what to process) from users and generates output (some
useful information) as per user’s requirements.
#include <stdio.h>
int main() {
int number1, number2, sum;
printf("Enter two integers: ");
scanf("%d %d", &number1, &number2);
// calculate the sum
sum = number1 + number2;
printf("%d + %d = %d", number1, number2, sum);
return 0;
}
Machine Interpretation
User
• Hardware
• Software Application Software
• Microprocessor
• Memory (RAM)
• Storage Devices
• Input Devices
• Output Devices
power
supply CD-ROM
drive
floppy
drive
cards
hard
drive
motherboard
1/10/2025 Introduction to Computing (CS 101) 19
A Look Inside ..
RAM
BANK
Memory
Registers
polarized
Application
Operating
System
Compiler Firmware
Instruction Set
Architecture
Instr. Set Proc. I/O system
Digital Design
Circuit Design
Layout
• Supercomputers
• Mainframe computers
• Minicomputers
• Microcomputers
1/10/2025
CE06_PP01-46 Introduction to Computing (CS 101)
Page 11
Microcomputers
1/10/2025
CE06_PP01-47 Introduction to Computing (CS 101)
Page 11
Types of Microcomputers
• Desktop
• Notebook or laptop
• Tablet PC
• Handheld Devices etc
1/10/2025
CE06_PP01-48 Introduction to Computing (CS 101)
Page 11
1/10/2025 Introduction to Computing (CS 101) 49