Академический Документы
Профессиональный Документы
Культура Документы
2. Introduction to computing
Computer
Computer is an automatic electronic device that takes data and programs as input, process data according to programs, and give out the result (output). Input Processing Output
Computers are used in almost all fields of life. For example, data processing, machine controls, multimedia, robotics etc.
Computer Systems
2. Introduction to computing
Computer
In a computer there is not any single part called the "computer." A computer is a system of many parts working together. A laptop has similar parts but combines them into a single notebooksized package.
Usually it's a rectangular box placed on or underneath your desk. Inside this box are many electronic components that process information. The most important of these components is the Central Processing Unit (CPU). Others are RAM, ROM, H/D, CD-ROM and many more.
Computer Systems
2. Introduction to computing
Computer
Hardware
The physical parts, which you can see and touch, are collectively called hardware.
Software
Software refers to the instructions, or programs, that tell the hardware what to do.
Peripheral devices
Hardware that is not part of the system unit is sometimes called a peripheral device or device.
Modem
To connect your computer to the Internet, you need a modem. A modem is a device that sends and receives computer information over a telephone line or high-speed cable. Modems are sometimes built into the system unit, but higher-speed modems are usually separate components.
Computer Systems
2. Introduction to computing
Computer
Port
Port serves as an interface between the computer and other computers or peripheral devices. Port is a specialized outlet to which a plug or cable connects. Peripheral devices connect to the system unit using cables. The cables plug into specific ports on the back of the system unit.
Computer Systems
2. Introduction to computing
Computer Systems
2. Introduction to computing
Motherboard explained
Computer Systems
2. Introduction to computing
Laptop motherboard
Computer Systems
2. Introduction to computing
Computer
A computer is a stored program machine designed to automatically carry out a sequence of arithmetic or logical operations. The sequence of operations can be changed, allowing the computer to solve more than one kind of problem. A computer consists of some form of memory, at least one element that carries out arithmetic and logic operations, and a sequencing and control unit that can change the order of operations based on the information that is stored. Peripheral devices allow information to be entered from an external source, and allow the results of operations to be sent out. The interface between the computer and the human operator is known as the user interface.
Computer Systems
2. Introduction to computing
Computer
A computer's processing unit executes series of instructions that make it read, manipulate and then store data. The first electronic digital computers were developed in the mid20th century (19401945). Originally, they were the size of a large room. Modern computers based on integrated circuits are millions to billions of times more capable than the early machines, and occupy a fraction of the space. Simple computers are small enough to fit into mobile devices, and mobile computers can be powered by small batteries. However, the embedded computers found in many devices from mp3 players to fighter aircraft and from toys to industrial robots are the most numerous.
Computer Systems
2. Introduction to computing
Computer Systems
2. Introduction to computing
Computer Systems
2. Introduction to computing
Whereas the first two steps can be scientifically exactly defined, the upper parts belong to the domain of psychology and philosophy. The related model in information science is referred to as DIKW Hierarchy.
Computer Systems
2. Introduction to computing
Computer Systems
2. Introduction to computing
Algorithm Example
Real World Problem: Calculate your two childrens allowances, based upon 75 cents per year old. Known Values Rate = 75 cents per year Inputs Ages of children Calculations Allowance = Age x Rate Outputs Allowances for each child
Algorithm Example
Algorithm Allowance:
PROMPT for Age of Child1 READ Age of Child1 PROMPT for Age of Child2 READ Age of Child2 CALCULATE Allowance for Child1 = Age of Child1 x Rate CALCULATE Allowance for Child2 = Age of Child2 x Rate DISPLAY Allowance for Child1 DISPLAY Allowance for Child2
Computer Systems
2. Introduction to computing
Output
Computer Systems
2. Introduction to computing
Processor
The processor is the "brain" of the computer system. Main processor is called the Central Processing Unit (CPU).
A particular computer will have a particular type of processor
Co-processors assist the CPU with some of the processing functions. Examples:
Graphics Math co-processors handle heavy duty math processing
Computer Systems
2. Introduction to computing
Processor
CPU is a silicon chip that contains millions of tiny electrical components Three main parts of CPU are ALU, CU, and Registers
Performs calculations and decisions Coordinates processing steps Small, fast storage areas for instructions and data
Control Unit
Registers
Computer Systems
2. Introduction to computing
Processor registers
Registers are small, fast memory within the CPU Different registers hold different things
Computer Systems
2. Introduction to computing
Processor registers
the operands for arithmetic and logical operations (ie. the values on which the operation will be performed) the results of such operations
So General Purpose Registers are used for holding and manipulating data used by the CPU
Computer Systems
2. Introduction to computing
CPU Buses
Every device i.e., memory, I/O has a unique address, CPU knows devices by these addresses Grouping of lines for transferring data, address, or command signals is called bus Address bus points to the given address, data bus transfers data, control bus sends read/write or other signal CPU puts address on address bus and address decoder finds it Capability of CPU is determined by address bus and data bus More address bus lines mean more addressable memory locations More data bus lines mean more data transfer at a time Data bus is bi-directional, others are uni-directional More bus lines (increase speed, but also increase cost) For n address lines, addressable location/devices = 2n
Computer Systems
2. Introduction to computing
Computer Systems
2. Introduction to computing
Units of Information
Bit (Binary digit) can be a zero or one Nibble (4 bits or half byte) Byte (8 bits), Word (Normally 16 bits or 2 bytes) Kilo Byte, KB (1024 bytes or 210 bytes) Mega Byte, MB (1024 KB or 220 bytes) Giga Byte, GB (1024 MB or 230 bytes), TB (Tera Byte), EB (Exa Byte), PB (Peta Byte)
Computer Systems
2. Introduction to computing
He is famous for introducing the Venn diagram, which is used in many fields, including set theory, probability, logic, statistics, and computer science.
Computer Systems
2. Introduction to computing
Venn Diagram
Intersection Absolute complement Union
Relative complement
Symmetric Difference
Computer Systems
2. Introduction to computing
Computer Systems
2. Introduction to computing
BC
A+(BC)
Computer Systems
2. Introduction to computing