Data structures and algorithmsInstitute of Technology of CambodiaElectrical and Energy Engineering DepartmentIntroduction to Computer and Programming
Introduction to Computer and Programming•What is a computer?•A computer is included hardware and software, so what are they?
Introduction to Computer and Programming•CPU is a computer’s brain•It’s retrieves instruction from memory and execute them•Usually it have two functions•A control unit: control and coordinate the action of another component•Arithmetic/logic unit: perform numerical operation.•CPU performance can be measured by its clock speed in hertz (Hz)•Ex: Intel Core i7 Processor 7700
CPU on a motherboard•What is motherboard?
Size of capacity•A computer store information in form of a digital data•The smallest digital data is a bit which represent by 0 or 1.•A set of 8 bit is call a byte•01110101 = a byte
Memory•Data stored in a unit called memory.•Memory of a computer consists of an ordered sequence of bytes called address.