Computer can be classified by size.the first computer consist hardware and software parts hardware includes CPU main memory a peripherals.
Software can be divided into two categories : application software and system software.
There are two type of main memory : ROM and RAM.
Rom is a type of main memory.
Peripherals are classified into three type : input ,output and storage devices.