• Home
  • /
  • Blog
  • /
  • 3 Basic Parts of CPU Explained for Kids Advantage

3 Basic Parts of CPU Explained for Kids Advantage

Basic Parts of CPU

This post is also available in: हिन्दी (Hindi) العربية (Arabic)

Current processors in the market consist of millions of transistors, a CPU is a device that is used in every computer and laptop made today. There are many different CPUs that are being sold today, each one is better than the other and has more features. This introduction will help kids understand CPU basic and the basic parts of CPU.

What is a CPU?

Let’s first understand what is a CPU. A central processing unit (CPU), is also called a central processor, main processor, or just processor. It is an electronic device consisting of circuits that execute instructions comprising a computer program.

The CPU is capable of performing basic arithmetic, logic, controlling, and input/output (I/O) operations specified by the instructions of a program.

coding-for-kids-ebook-cover

Get Instant Access To 

Coding For Kids eBook

A must read for every parent

Country
  • Afghanistan 93
  • Albania 355
  • Algeria 213
  • American Samoa 1-684
  • Andorra 376
  • Angola 244
  • Anguilla 1-264
  • Antarctica 672
  • Antigua & Barbuda 1-268
  • Argentina 54
  • Armenia 374
  • Aruba 297
  • Australia 61
  • Austria 43
  • Azerbaijan 994
  • Bahamas 1-242
  • Bahrain 973
  • Bangladesh 880
  • Barbados 1-246
  • Belarus 375
  • Belgium 32
  • Belize 501
  • Benin 229
  • Bermuda 1-441
  • Bhutan 975
  • Bolivia 591
  • Bosnia 387
  • Botswana 267
  • Bouvet Island 47
  • Brazil 55
  • British Indian Ocean Territory 246
  • British Virgin Islands 1-284
  • Brunei 673
  • Bulgaria 359
  • Burkina Faso 226
  • Burundi 257
  • Cambodia 855
  • Cameroon 237
  • Canada 1
  • Cape Verde 238
  • Caribbean Netherlands 599
  • Cayman Islands 1-345
  • Central African Republic 236
  • Chad 235
  • Chile 56
  • China 86
  • Christmas Island 61
  • Cocos (Keeling) Islands 61
  • Colombia 57
  • Comoros 269
  • Congo - Brazzaville 242
  • Congo - Kinshasa 243
  • Cook Islands 682
  • Costa Rica 506
  • Croatia 385
  • Cuba 53
  • Cyprus 357
  • Czech Republic 420
  • Denmark 45
  • Djibouti 253
  • Dominica 1-767
  • Ecuador 593
  • Egypt 20
  • El Salvador 503
  • Equatorial Guinea 240
  • Eritrea 291
  • Estonia 372
  • Ethiopia 251
  • Falkland Islands 500
  • Faroe Islands 298
  • Fiji 679
  • Finland 358
  • France 33
  • French Guiana 594
  • French Polynesia 689
  • French Southern Territories 262
  • Gabon 241
  • Gambia 220
  • Georgia 995
  • Germany 49
  • Ghana 233
  • Gibraltar 350
  • Greece 30
  • Greenland 299
  • Grenada 1-473
  • Guadeloupe 590
  • Guam 1-671
  • Guatemala 502
  • Guernsey 44
  • Guinea 224
  • Guinea-Bissau 245
  • Guyana 592
  • Haiti 509
  • Heard & McDonald Islands 672
  • Honduras 504
  • Hong Kong 852
  • Hungary 36
  • Iceland 354
  • India 91
  • Indonesia 62
  • Iran 98
  • Iraq 964
  • Ireland 353
  • Isle of Man 44
  • Israel 972
  • Italy 39
  • Jamaica 1-876
  • Japan 81
  • Jersey 44
  • Jordan 962
  • Kazakhstan 7
  • Kenya 254
  • Kiribati 686
  • Kuwait 965
  • Kyrgyzstan 996
  • Laos 856
  • Latvia 371
  • Lebanon 961
  • Lesotho 266
  • Liberia 231
  • Libya 218
  • Liechtenstein 423
  • Lithuania 370
  • Luxembourg 352
  • Macau 853
  • Macedonia 389
  • Madagascar 261
  • Malawi 265
  • Malaysia 60
  • Maldives 960
  • Mali 223
  • Malta 356
  • Marshall Islands 692
  • Martinique 596
  • Mauritania 222
  • Mauritius 230
  • Mayotte 262
  • Mexico 52
  • Micronesia 691
  • Moldova 373
  • Monaco 377
  • Mongolia 976
  • Montenegro 382
  • Montserrat 1-664
  • Morocco 212
  • Mozambique 258
  • Myanmar 95
  • Namibia 264
  • Nauru 674
  • Nepal 977
  • Netherlands 31
  • New Caledonia 687
  • New Zealand 64
  • Nicaragua 505
  • Niger 227
  • Nigeria 234
  • Niue 683
  • Norfolk Island 672
  • North Korea 850
  • Northern Mariana Islands 1-670
  • Norway 47
  • Oman 968
  • Pakistan 92
  • Palau 680
  • Palestine 970
  • Panama 507
  • Papua New Guinea 675
  • Paraguay 595
  • Peru 51
  • Philippines 63
  • Pitcairn Islands 870
  • Poland 48
  • Portugal 351
  • Puerto Rico 1
  • Qatar 974
  • Romania 40
  • Russia 7
  • Rwanda 250
  • Réunion 262
  • Samoa 685
  • San Marino 378
  • Saudi Arabia 966
  • Senegal 221
  • Serbia 381 p
  • Seychelles 248
  • Sierra Leone 232
  • Singapore 65
  • Slovakia 421
  • Slovenia 386
  • Solomon Islands 677
  • Somalia 252
  • South Africa 27
  • South Georgia & South Sandwich Islands 500
  • South Korea 82
  • South Sudan 211
  • Spain 34
  • Sri Lanka 94
  • Sudan 249
  • Suriname 597
  • Svalbard & Jan Mayen 47
  • Swaziland 268
  • Sweden 46
  • Switzerland 41
  • Syria 963
  • Sao Tome and Principe 239
  • Taiwan 886
  • Tajikistan 992
  • Tanzania 255
  • Thailand 66
  • Timor-Leste 670
  • Togo 228
  • Tokelau 690
  • Tonga 676
  • Trinidad & Tobago 1-868
  • Tunisia 216
  • Turkey 90
  • Turkmenistan 993
  • Turks & Caicos Islands 1-649
  • Tuvalu 688
  • U.S. Outlying Islands
  • U.S. Virgin Islands 1-340
  • UK 44
  • US 1
  • Uganda 256
  • Ukraine 380
  • United Arab Emirates 971
  • Uruguay 598
  • Uzbekistan 998
  • Vanuatu 678
  • Vatican City 39-06
  • Venezuela 58
  • Vietnam 84
  • Wallis & Futuna 681
  • Western Sahara 212
  • Yemen 967
  • Zambia 260
  • Zimbabwe 263
How Old Is Your Child?
  • Less Than 5 Years
  • 5 - 8 Years
  • 9 - 13 Years
  • 14 - 18 Years
  • 18+ Years

The form, design, and implementation of CPUs have changed over the years, but their fundamental operation remains almost unchanged.

Basic Parts of CPU
CPU Chip

CPU Basic – Where CPU is Located in a Computer?

CPU is located on a motherboard of a computer. The position of the CPU on the motherboard is chosen depending on various factors. Among this CPU cooling and other internal devices, temperatures are taken into consideration when deciding the placement of a CPU on a motherboard. 

The topmost CPU manufacturing companies are Intel and Advanced Micro Devices (AMD), although there are many more where CPUs are manufactured.

Parts of a CPU

The principal parts of a CPU are

  • Arithmetic Logic Unit (ALU)
  • Control Unit (CU)
  • Memory (Registers)
Basic Parts of CPU

1. Arithmetic Logic Unit

The arithmetic logic unit is the part of the CPU that handles all the calculations the CPU may need. Most of these operations are logical in nature. Depending on how the ALU is designed, it can make the CPU more powerful, but it also consumes more energy and creates more heat. Therefore, there must be a balance between how powerful and complex the ALU is and how expensive the whole unit becomes. This is why faster CPUs are more expensive, consume more power, and dissipate more heat.

The main functions of the ALU are to do arithmetic and logic operations, including bit-shifting operations. These are essential processes that need to be done on almost any data that is being processed by the CPU.

ALUs routinely perform the following operations:

  • Logical Operations: These include AND, OR, NOT, XOR, NOR, NAND, etc.
  • Bit-Shifting Operations: This refers to shifting the positions of the bits by a certain number of places to the right or left, which is considered a multiplication operation.
  • Arithmetic Operations: This refers to bit addition and subtraction. Addition can be used to substitute for multiplication and subtraction for division. (Although multiplication and division are sometimes used, these operations are more expensive to make.)
girl-with-teacher-happy
Maths can be really interesting for kids

2. Control Unit

The main function of a control unit is to control the operations of a CPU. It also helps in the coordination of operations among other parts of the CPU.

The functions of the control unit are as follows:

  • Controls sequential instruction execution
  • Interprets instructions
  • Guides data flow through different computer areas
  • Regulates and controls processor timing
  • Sends and receives control signals from other computer devices
  • Handles multiple tasks, such as fetching, decoding, execution handling, and storing results

Control units are designed in two ways:

Hardwired Control

Design is based on a fixed architecture. The CU is made up of flip-flops, logic gates, digital circuits, and encoder and decoder circuits that are wired in a specific and fixed way. When instruction set changes are required, wiring and circuit changes must be made. This is preferred in a reduced instruction set computing (RISC) architecture, which only has a small number of instructions.

Microprogram Control

Microprograms are stored in a special control memory and are based on flowcharts. They are replaceable and ideal because of their simplicity.

3. Memory

The memory present inside the CPU is called Register. The registers are very fast computer memory which is used to execute operations efficiently. For this purpose, there are several different classes of registers which all work in coordination with the computer memory to run operations efficiently. The sole purpose of having a register is the fast retrieval of data for processing by CPU.

These registers are classified as:

Accumulator

An accumulator acts as a temporary storage location that holds an intermediate value in mathematical and logical calculations. Intermediate results of an operation are progressively written to the accumulator, overwriting the previous one.

For example, in the operation “2 + 4 + 1”, the accumulator would hold the value 2, then 6 (2 + 4), then the value 7 (6 + 1).

Memory Address Register (MAR)

It either stores the memory address from where data will be fetched to the CPU or the address to which data will be sent and stored.

It means this register is used to access data and instructions from memory during the execution phase of instruction. MAR holds the memory location of data that needs to be accessed.

Memory Data Register (MDR)

Also known as Memory Buffer Register (MBR) stores the data being transferred to and from the immediate access storage. It contains a copy of designated memory locations specified by the Memory Address Register. 

It acts as a buffer allowing the processor and memory units to act independently without affected by minor differences in operation. A data item will be copied to the MDR ready for use at the next clock cycle when it can be either used by the processor for reading or writing or stored in the main memory after being written.

Program Counter (PC)

A Program Counter contains the address of the instruction being executed at the current time. As each instruction gets fetched, the PC increases its stored value by 1. After each instruction is fetched, the PC points to the next instruction in the sequence. When the computer restarts or is reset, the PC normally reverts to 0.

Instruction Register (IR)

Also known as the Current Instruction Register (CIR) holds the instruction currently being executed or decoded. In simple processors, each instruction to be executed is loaded into the IR, which holds it while it is decoded, prepared, and ultimately executed, which can take several steps.

Some of the complicated processors use a pipeline of instruction registers where each stage of the pipeline does part of the decoding, preparation, or execution and then passes it to the next stage.

Condition Code Register (CCR)

Also known as Status Register (SR), Flag Register (FR) is a collection of status flag bits for a processor. CCR contains information about the state of the processor. Individual bits are implicitly or explicitly read and/or written by the machine code instructions executing on the processor. The CCR lets an instruction take action contingent on the outcome of a previous instruction.

Typically flags in the CCR are modified as effects of arithmetic and bit manipulation operations.

Object Oriented Programming

Practice Problems

1. What does CPU stands for?

2. What is the purpose of the CPU?

3. What is the main function of the CPU?

4. What is the job of the control unit?

5. What are registers used for?

6. What is the main function of the boot program?

FAQs

What is the CPU of a computer?

A Central Processing Unit or CPU is electronic machinery that carries out instructions from programs that allow a computer or other device to perform its tasks.

What is CPU and its function?

The computer’s central processing unit (CPU) is the portion of a computer that retrieves and executes instructions. The CPU is essentially the brain of a computer system. It consists of an arithmetic and logic unit (ALU), a control unit, and various registers. The CPU is often simply referred to as the processor.

What are the 3 parts of the CPU?

The three logical units that make up the central processing unit are the arithmetic and logic unit (ALU), the main storage, and the control unit.

Conclusion

In this article, we have covered the CPU basic i.e., what is a CPU and three basic parts of a CPU. We hope you have gained something from this article. If you have anything to ask related to this topic, then please ask us in the comment box below.

Recommended Reading

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>