Computer Programming
Languages
Lecture – 1
Instructor: Huma Nisar
Email:
, Computer Basics
• Computer systems consist of hardware and
software
• A set of instructions for the computer to carry
out is called a program
• All the different kinds of programs used to give
instructions to the computer are collectively
referred to as software
, Hardware and Memory
• The CPU, or central processing unit, or processor,
performs the instructions in a program
• Computer’s memory holds data for the computer
to process
– It holds the result of the computer’s intermediate
calculations
– A byte is the quantity of memory
• 1 gigabyte of RAM is approximately 1 billion bytes of
memory
, Hardware and Memory
Main memory consists of a long list
of numbered bytes
The number of a byte is called its
address
A byte is the smallest addressable
unit of memory
Data (numbers, letters and string of
characters) is encoded as a series of 0s
and 1s and placed in the computer’s
memory
Languages
Lecture – 1
Instructor: Huma Nisar
Email:
, Computer Basics
• Computer systems consist of hardware and
software
• A set of instructions for the computer to carry
out is called a program
• All the different kinds of programs used to give
instructions to the computer are collectively
referred to as software
, Hardware and Memory
• The CPU, or central processing unit, or processor,
performs the instructions in a program
• Computer’s memory holds data for the computer
to process
– It holds the result of the computer’s intermediate
calculations
– A byte is the quantity of memory
• 1 gigabyte of RAM is approximately 1 billion bytes of
memory
, Hardware and Memory
Main memory consists of a long list
of numbered bytes
The number of a byte is called its
address
A byte is the smallest addressable
unit of memory
Data (numbers, letters and string of
characters) is encoded as a series of 0s
and 1s and placed in the computer’s
memory