csWithPython1
csWithPython1
Introduction
- hardware
- software
Input unit
• input devices : OCR , OMR, keyboard
• Concept of binary and language of computer using electricity
• inputs : data ( on which action is to be performed ) and instructions ( actions to be
performed )
• Microphone -> mic can work by using sound card
Output Unit
• Monitors , Printers, Speakers
CPU
• guides directs controls and governs
• i) ALU ii) Control Unit iii) Registers
• 4 fundamental mathematical and logical operations by ALU ( < , > , <= , >= , != )
• CU controls and guides the interpretation, flow and manipulation of all data and
information. The CU sends control signals until the required operations are done properly
by ALU and memory.
• Program execution ( carrying our all the instructions stored int the program) is done by
CU which it gets one by one instructions from the sequence in the memory
• CU controls the flow of data from the input devices to memory and from memory to
output devices.
• Registers or processor registers are small units of data holding places. temporarly holding
processing-info during processing time.
• RAM ( equal cost of computation for accessing information from any random address )
=> volatile memory
• (i) DRAM : dynamic - RAM, are made up of transistors and capacitors
• (ii) Static RAM : made up of flip flops and offer faster access times ( 10 nano sec ) =>
used only for specialized applications
• ROM : non-volatile read only memory, initially configured permanently during the
hardware production of the unit and cant be altered. => slower than RAM
(i) PROM - programmable ROM ( One Time Programmable ) => user programmable
memory, info burnt using ROM burner.
(ii) EPROM - erasable PROM => read and write many times using UV ( takes 20 min to erase
fully )
(iii) EEPROM - electrically EPROM => erase with electricity and also selective bit erasing
(iv) Flash EEPROM - faster than EEPROM but not selective erasing
(v) Mask ROM - contents are programmed by IC manufacturer.
System Bus
• electronic pathway composed of connecting cables and that connects the major
components of a computer system.
• data part : data bus
• control instructions : control bus
• memory address carrying part : address bus
• I/O bus : connects input and output devices
Display Subsystem
• display facilities, touch sensitive interface and keyboards.
Camera Subsystem
• image processing package
• integrated image signal processor
Storage
• expandable storage
• SD cards
Power management
• battery management unit
TYPES OF SOFTWARE
(A) SYSTEM SOFTWARES
• controls internal computer operations
(i) Operating System
• primary goal : make computer system convenient to use
• secondary goal : use hardware in efficient way
• interface b/w user and the hardware
• to execute a program
• single user OS, multiuser, time sharing, real time , multiprocessing, distributed OS
(ii) Language Processors
• translate source code into and object or machine code
• Assembler : assembly -> machine code
• Interpreter : translates and execute line by line
• Compiler : translates and executes in one go