CSC 225 Lecture One
CSC 225 Lecture One
and Organization
LECTURE ONE
• All the data received by the computer goes through the input unit.
• The input unit comprises different devices like a mouse, keyboard, scanner,
etc.
• In other words, each of these devices acts as a mediator between the users
and the computer.
• The data that is to be processed is put through the input unit.
• The computer accepts the raw data in binary form.
• It then processes the data and produces the desired output.
• The 3 major functions of the input unit are-
• Take the data to be processed by the user.
• Convert the given data into machine-readable form.
• And then, transmit the converted data into the main memory of the
computer.
• The sole purpose is to connect the user and the computer.
CPU – Central Processing Unit
RAM stands for Random Access Memory. It is an example of primary memory. This memory is
directly accessible by the CPU.
• It is used for reading and writing purposes.
• For data to be processed, it has to be first transferred to the RAM and then to the CPU.
• RAM: The random access memory is a form of memory that allows data item to be read or written
into. That is, a user can keep his or her data files, instructions, intermediate results and finally results
temporarily.
• A user automatically loses whatever he or she stores on the RAM as soon as he or she closes the
processing session on the computer. RAM contains multiplexing and de-multiplexing circuits that
connects the data lines to the address storage for reading or writing.
• There are two (2) main types of RAM namely Static random access memory (SRAM) and Dynamic
random access memory (DRAM). The SRAM has smaller storage but higher retention capacity while
the DRAM stores information in the form of electrical charge and has a large storage capacity but
loses its content too quickly.
• Secondary memory – As explained above, the primary memory stores temporary data. Thus it
cannot be accessed in the future.
• For permanent storage purposes, secondary memory is used. It is also called permanent memory or
auxiliary memory. The hard disk is an example of secondary memory. Even when there is power
Output