Newer Post or latest post

What is a social media app on a computer system or smartphone device?

Image
What is a social media app on a computer system or smartphone device? Social media app increases the locality posts and provide the local information to the users who are uses the social media app in their local area and the user who wants to see the global areas information they can see the world wide new and other types of post to grow their knowledge and making followers to see the same result who follows on the user ID on the social media. The social media app provides the interface to the user to operate the different types of options and services to complete the task and enjoy the social media app. The user socializes when the user is talking to the other users and grows their knowledge also about the discussion topic which can also be a trending topic online. It is also helpful for the other users to grow their business after watching the trending topics online on the social media app. The user can touch the topic and get the full knowledge by asking many people who are using th

Discuss the role played by the various components of the CPU

Q Discuss the roles played by the various components of CPU?

The CPU is the brain of the computer system. All major calculations, manipulations and comparisons are made by the CPU. The CPU is also responsible for activating and controlling the operations performed by all other units of the computer system.

The major components of the CPU are:
a) Arithmetic Logic Unit (A.L.U.)
b) Control Unit (CU)
c) Primary Memory

ALU and CU and Main memory

Arithmetic Logic Unit (A.L.U.):

What is ALU Arithmetic logic Unit?

  • ALU is a part of the CPU.
  • It is a part to calculate the logical term in the CPU where the term refers to an operation of logical type.
  • It also calculates the arithmetic terms in the CPU where the term refers to an operation of arithmetic type.
  • It is used to direct access through the processor controller.
  • The ALU connected to the input and output peripheral system through the bus with the different types of bus. Such as control bus, data bus etc.

ALU is a part of the CPU that can calculate the input instruction of the input device which is sent by the user. These input instructions go to the input unit and input unit sends to the CPU, where the CPU manages the input instruction through the CU control unit. The control unit manages the instruction of input and output also for the ALU. The Arithmetic Logic Unit calculate the complex problem of the input instruction in a different form that represent the program to give a specific output for the user and send to the output unit after processing through the ALU of input instructions then the user get the result after processing the program when it execute on the computer system.

i) All Calculations and comparisons are made by the A.L.U.
ii)
Data and Instruction Stored in the primary memory are transferred to the A.L.U. for Processing.

Data instructions stores primary memory transferred to ALU

iii) Then the results are generated by the A.L.U. is transferred to the main memory.
ALU processing Generated results transferred to Main memory

iv) After completion of processing then the final results are sent to an output device.
For example: Monitor, Printer, Speaker etc.

ALU results sends output device

v) The Basic work of A.L.U. is Arithmetic calculation and Logic calculation.

Control Unit:

What is a Control Unit in a CPU?

Basically the control unit is known as the brain of the CPU.

The Control Unit controls all the operations which are going to be executed to perform the final result of input devices from the user in the computer system. It means the user sends the input instructions by the device to the CPU then the control unit sets their clock timing to be executed for performing the output data or result.

The control unit also controls these programs which are to be held for execution of the program when the program is ready to be executed. These programs are helping programs for execution of a particular program and instruction.

i) The Control Unit is to confirm the data is to complete for processing.

conforming the data is to complete for processing by CU

ii) The Control Unit is to decide the input device instruction is to feed data into the storage unit.

CU control input device instruction feed data to storage unit

iii) It also controls the results which are generated by the A.L.U. should be received.
iv) Control unit controls the instruction that is processed by the A.L.U. are ready to send to the output device.
v) Finally the working of Control Unit is conforming, selecting, interpreting to the execution of the program instructions.
conforming selecting interpreting

Main memory (Primary Memory):

i) The function of the main memory is to store the information.

Main memory stores information

ii) The main memory stores the program with data for the execution.
iii) It stores the user’s program which is to be required for the execution.
iv) The main memory is directly addressed by the CPU.
v) RAM is Semiconductor memory used as main memory.

What is Primary memory in computer systems?

Primary memory or main memory

Primary memory is a memory that is used to store a function to calculate the problem coming from the input devices.

Some main memory is used to provide space for a program which is going to be ready for execution. 

These primary memories are fast in their accessing, when the CPU needs the function to calculate the problem and solve them then prepare for output instructions to the output unit.

Some primary memory stores tan, cosec, cot functions etc. in their space of memory that is used to quickly access to CPU for processing the problems.



What is the use of ALU in the CPU chip?

ALU is an arithmetic logic unit which is used to solve the problem of the user coming from the input device in the form of input instructions to the CPU.

The ALU processes the input instructions using the method of arithmetic and logical system to solve the problem and give out the output data or instructions to the output data which is controlled by the control unit in the CPU chip.

The ALU is only used to solve the program and input instructions which is used to provide output data to the user through the output device from the output unit on the computer system.

The ALU process the arithmetic problem such as +, -, /, * which means addition, substractions, divide and multiplication are components of solving the arithmetic problem on the ALU section of the CPU chip.

Similarly logical operations are based on gate models such as NOT, OR, NOR, XNOR, XOR, AND, NAND etc. And its combination of gates model to perform an operation and give output data to the output unit and output unit transfer to the output device to the user.


What does ALU work for the CPU?

ALU contains a gate model that is used to perform the output data by taking input from the input unit and input instructions coming from the input device. 

The ALU processes the operation of instructions on the CPU which is controlled by the control unit.

The ALU is connected with the buses into the CPU that is used to transfer the data and instructions to the input or output unit of the CPU chip.

The ALU processes the operation of the arithmetic and logic level of operation that gives the output data to the output unit.

The arithmetic operations are defined by the register transfer language.

Such as R1 * R2 to R for multiplication ;

R1 / R2 to R for division ;

Similarly R1 + R2 and R1 - R2 are used for addition and subtractions respectively.

These are the register transfer languages which only define and express the working of the expression of the process and register memory, where the register memory is the shortest and fastest memory on the whole computer system according to the memory chart and classification of memory of the computer system.


What is the function of ALU?

The function of ALU is following below here in the points mentioned below here:


ALU is an arithmetic system that performs operations on the CPU chip.


ALU is a logical system that performs operations on the CPU chip.


ALU is part of the CPU that solves the problem of the program and instructions of the computer system.


ALU is a system that provides the output data after solving the problem of the input instructions and program after its execution.


ALU is a combination of gate circuit models that are connected to each other in a systematic way according to the rule of electronic printed circuit boards. 


What is ALU with an example?

ALU is a system of solving the problem of institutions and programs that is ready for execution to give output to the user.


ALU is an arithmetic logic unit which means the arithmetic operations can be performed by the ALU process and logic operations also performed by the ALU process.


The operation is a program of the computer system that comes from the user created or other decision chosen by the user on the computer system from the input device.


Arithmetic operations are basically mathematical operations performed by the ALU process and also converted into the binary code for output data. These arithmetic operations are given to the multiplexer to give output.


What is ALU and types?

ALU is a process system of the CPU central processing unit and the ALU is an arithmetic logic unit. The ALU is used to process the program and provide the output to the output unit of the computer system to give output data to the user after processing the input instructions or executed program.


There are two types of unit in the ALU process system following below here:

Arithmetic unit 

Logic unit


Arithmetic unit 

Arithmetic unit has to process the mathematical concepts problem to solve the operations like addition, subtraction, multiplication and division.

Register transfer language defines the arithmetic operations such as:

r * r → R this operation for multiplication, similarly, 

r+r → R this operation for addition


Logic unit

Logic unit is used to solve logical operations on the logic unit and performed on the operand. There are some following logic operators AND, NAND, OR, X'NOR etc.

These are logic operators to solve the logical problem on the input instructions or executed program on the CPU.


What is an arithmetic processor?

Arithmetic processor is a unit of the ALU section of the CPU chip. The ALU is a unit of arithmetic and logic that gives the output of the program by processing the operations applied on the program which is executing into the CPU.


The arithmetic unit from ALU

The arithmetic unit is used to perform the operations like addition, subtraction, multiplication and division are the types of operation that applied on the program to solve using these operations. 


The arithmetic unit is used to perform the operations like addition, subtraction, multiplication and division

The operation is performed on the operand which is defined by the register transfer language for the user to understand how to work the operation of the arithmetic unit.

R1*R2 → R is a type of operation of arithmetic which is expressed by the register transfer language. Where R1 and R2 are the register memory of the CPU and the multiplication used by the Asterisk sign for multiplication operation on the register memory, the R1 and R2 are the input register and R is an output register.

Similarly addition, subtraction division also can be performed on the ALU process of the CPU chip.


What is the CPU and explain Cu and ALU?

There is a explanation of cpu and its parts CU and ALU following below here:


The CPU is a chip of the computer system that is used to process the program and task on the computer system which comes from the input device and ordered by the user for their output data from the output device that is also controlled by the CPU and the CPU stands for central processing unit of the computer system. 

CPU have two parts basically into the chip and following below here:


  • ALU 
  • CU 
  • Primary memory 


ALU:- 

ALU stands for arithmetic and logic unit of the cpu.

ALU is used to process the program and task using the method of arithmetic operations and logical operations performed on the program and task to solve it and give the output data to the output unit and to the user through the output device of the computer system.


CU:-

CU is a control unit of the cpu that is used to control all output and input instructions on the CPU. 

The control unit CU is used to control the program which is ready for execution using the clock time.

All output data is controlled by the CU to send to the output unit to the output device for the user.


PMU:-

Primary Memory unit is used to store the data, information, instructions and address data and data which is only used for temporary purpose for CPU to process the data, instructions, programs etc.


How many ALU does a CPU have?

There is only one ALU per core model of the cpu available, the unit for processing the program and problem of the input instructions to give output data to the output unit of the computer system and output unit sends the data to the output device connected to the computer system.


The alu image shows their two types of unit or section as figure available in the image Arithmetic and Logic unit. Here the Arithmetic have mathematical operators and logic unit have gates operators which performs logical concepts on the data and instructions and program to perform an operation using whole ALU.
In the image the alu have two sections which contains Arithmetic Unit and second is Logic Unit and operators are following above in the diagram of ALU of CPU.


In the image the ALU diagram shows the alu have two types of unit or section which is known as Arithmetic Unit and Logic Unit on the given figure.

Here the ALU perform operation using the different types of operators such as arithmetic operators compute the value according to the arithmetic operators showing in the figure and Logic operators solves the logic concepts according to their gates name available in the diagram of ALU in the image.

The alu image shows their two types of unit or section as figure available in the image Arithmetic and Logic unit. Here the Arithmetic have mathematical operators and logic unit have gates operators which performs logical concepts on the data and instructions and program to perform an operation using whole ALU.


Similarly input device is used to send input instructions to the input unit of the computer system and computer takes input instructions to the CPU chip, that means the control unit provide the input instructions to the ALU the arithmetic and logic unit to process the instructions then provide the output to the output unit connected to the output device of the computer system.

The ALU processes the program also which is ready for compilation and ordered by the user through the application software of IDE.


The CPU Provides the computed value:


In this image shows diagram of the CPU takes the data through the data bus from the input unit of the computer system and provide to the output unit of the computer through the bus transfer the data through the data bus of the computer.
In this image shows diagram of the CPU takes the data through the data bus from the input unit of the computer system and provide to the output unit of the computer through the bus transfer the data through the data bus of the computer.

The provides the computed value to the output unit when the user sends the input data to the computer system then the operating system takes that input value to sends to the CPU through the buses in the form of input signal then compute the input value in the form of output value after process the data or value which is sends through the buses to the output unit socket of the motherboard then the output device is connected to the port and provide the output data to the end user who sends the input data to the computer system and get the processed value from the CPU chip as a computed value from the computer.


Cpu uses the buses to send the data to the output unit of the computer system where the output unit contains the sockets of providing the port to connect the output devices which is used to provide the and transfer the data to the end user who need to get the output data from the computer system and the cpu also takes the input data from the input unit where the input unit contains the input devices which are connected to the ports that available on the motherboard socket of input devices.

The input signal and the output signals can be transferred through the data bus and the address bus is used to transfer the address of the data which is sending or transferring from one designation to another.


What is the function of ALU and CU When the program is executing on the CPU?


The function of ALU in the CPU chip following below here:

ALU 

ALU stands for arithmetic and logic unit on the CPU chip.

Arithmetic unit means the operation which is ready to perform on the CPU in the form of arithmetic such as addition, subtraction, multiplication and division.

Logic unit means the logic operations are performed by the logic unit on the program to solve logically and these operations such as NOT, OR, NOR, XNOR, XOR, AND, NAND etc. And it's a combination of these logic gates operations.


When the program is executing on the cpu 

When the program is executing on the CPU then the control unit controls the time of the execution into the ALU for processing.


What is the function of ALU and CU When the program is executing on the CPU?


When the previous program has solved then the next program or instruction is ready to be executed for solving into the cpu to give or provide the output data to the output unit and output unit sends the data to the output device of the computer system.

The program or instruction comes from the input device or ordered by the input device on the computer system for processing to take output data from the computer system for the end user.


The CPU uses the registers memory for the processing the program

The CPU is used to process the program when the operating system provides the program to compute it and provide the output data to the output unit of the computer system during the computation of program it stores in the registers such as data, address, instruction.


The CPU uses the registers memory for the processing the program


The data is a piece of information and instruction is a group of some data that perform a operation for major task to complete and the address is a type of data that also stores in the register in the category of register for every types of data to store it of the program when the used to processing on the CPU on the computer system.


How do you understand about the role of the bus in cpu, where the primary memory sends the data to the CPU?

The bus is a type sending data from one port to another port on the CPU.

The bus is used to provide transportation of data between memory and cpu to connect it and send the data from the memory when the cpu needs to process the data, instructions, programs etc.

The bus is used to transfer the address data also from the memory to cpu to process it. Where the address is a type of data that holds the data of the memory of instructions, data, programs etc.

The data bus is used to transfer the data from one address to the another address of data.

The control bus is used to control the bus where the data can be transferred from one address to another.

The system bus is used to manage the data bus, address bus and control bus in the computer system.

So the bus architecture on the cpu plays an important role in transferring the data from one address to another. When the cpu needs the data to process it then the bus is used to transfer the data from the temporary memory of the computer system. Where the temporary memory is a cache memory which is used for the CPU to store the data, instructions and programs waiting for processing turn into the CPU on the computer system.


How do you understand about the role of the bus in cpu, where the primary memory sends the data to the CPU? Here is the image above the diagram shows the simple bus architecture of the cpu which is used for transferring the data

Here is the image above the diagram shows the simple bus architecture of the cpu which is used for transferring the data


In this image the system bus is used to manage all types of buses in the CPU for transferring data.

It is the hierarchical structure of bus architecture and easy to learn about the bus and their types of buses for the CPU.

Where the bus is also used for transferring from the input and output unit of the computer system for processing the data.

When the computer takes the input data the bus transfer the instructions to the temporary memory of the computer to store for temporary Such as cache memory to hold the instructions and wait for the turn of processing on the CPU to compute it and then provide the output data to the output unit and the data is transferred to the output unit of the computer system to the end user. Here the bus transfers the data on the motherboard from one address to another address on the motherboard.

The internal buses are also developed for the computer on the motherboard which is known as the local buses for transferring the data from one to another address.


The control bus is used to hold the data of instructions provided by the cpu chip to control the internal peripherals that have been installed on the PCB design of the motherboard.

The instruction sends to the components that perform what types of task can do for the cpu to manage the operating system and application software and user instructions and programs etc.


How do you understand about the register memory used for store data?

The register memory is used to store the data which is known as a piece of information in the register memory to store temporarily because the register memory is a temporary memory to store the data used in the CPU chip and it is a fastest memory in the CPU and provide the space for storing the data when the CPU takes a program or an information or instructions or any operations file to perform on the computer to provide the output data to the user.

The register memory store the data and it is also used to shift when the register memory have a specific category to shift the data as an output data to the next register memory in the form of input data to make a whole processing part in the CPU to complete then the CPU provides the output data to the output unit of the computer.

The register memory has many types of categories such as:- Program counter, Shift Register, Accumulator, Data register, Instructions Register etc.

As their names of register memory have different types of performance to perform a task such as:- Data register is used to store data, instructions register stores instructions that come from the input resource.


Instructions register or IR

Instructions register stores instructions that come from the input unit of the computer system such as:- an external peripheral which is input peripheral to send the input instructions to the CPU then the instructions register stores the instructions for computing the instructions and providing the output data.


The program counter or PC register

The program counter or PC is a memory device that stores the memory address of the program instructions that process through the CPU. The program counter is used to count the program instructions and have a memory address of the instructions that come from the program which will execute after computing from the CPU.


Shift register memory

It is a temporary memory device in the CPU to shift the data when the data has been computed from the shift register and provide the output data which is used for the next input instructions to the next register connected to the previous shift register and these shift registers perform whole process of computing on the particular program on the CPU of a computer to provide the output data to the output unit of the computer system.


Data register:-

Data register is a type of simple register that stores the data and instructions when the remaining register memory isn't used then the data register is used to store the data in the data register. The data can be a piece of information from the program or instructions to store the data in the data register during the processing of the program by the CPU chip.


Accumulator register:-

The accumulator is a AC register is a memory device that stores the output comes from the operations of arithmetic and logic unit operation such as:- ADD and MULTIPLICATION are two types of operations performed on the alu and the accumulator uses to stores the output result comes from the add and multiplication operation. It is also an intermediate level of results stored in the accumulator register or it is also called a memory location of the ALU in the CPU.


For examples of add and multiplication operation perform following below here:-


ADD operation perform such as:-


R1 + R2 → R


Multiplication operation perform such as:-


R1 * R2 → R


These expressions describe the operation performed on the registers and register is a fastest memory to store the values for computing the input value to provide final output data in the ALU.


Where the R represents the Register in the operation performed and the R register memory stores the output coming from the two registers performing operations ADD and Multiplication in the register transfer language. The RTL (Register Transfer Language) is a type of language that is only used for representing the operations performed in the ALU to describe the data or values processed by the operators such as:- ADD, Multiplication, SUB, Division etc. These are the operations that perform on the register memory and provide the final output to the output unit which is transferred through the BUS.



What is the operation of NOT gate in the logic unit of ALU?

Not gate is an opposite result converter type of gate that means has changed where if the user gives a 'zero' then the not gate converts into the 'one'.

That means according to the true and false or 0 or 1 condition apply on the not gate.

It is simple to understand that the program operator 'OR' is used to change the value of 0 to 1 or 1 to 0.

Truth tables provide the result of two input values according to the ability to provide the output value to the next input value for another gate to process the input data or value to make a computing system to complete it on the registers memories.

Here is the symbol of NOT gate below the figure...👇🏻


The image shows the diagram of NOT gate symbol and the formula of convert the input value that means the X have a bar symbol which is equal to the Y.
The image shows the diagram of NOT gate symbol and the formula of convert the input value that means the X have a bar symbol which is equal to the Y.


Truth table of NOT gate shows the 


X = 1 then Y = 0 

Or 

X = 0 then Y = 1

Here is a truth table example showing both types of possibilities of result from the NOT gate.

That is used in the CPU chip as a part of ALU ( Arithmetic & Logic Unit).



Q 1. Which part of the computer solves the logical problem?

  • A) primary unit
  • B) Arithmetic Unit
  • C) Cache memory
  • D) logic unit of cpu

Answer is:- D) "logic unit of cpu"


The logic unit is used to solve the logical problem in the CPU when the input data is need to apply the condition on the input data and get right value.

The logic unit is uses the gates and the gates are known as logic gates that perform the input data provide into the output data. For example:- NOT gate provide only two types output data of the two types of input data such as 0 to 1 and 1 to 0 only.


Q 2. Which type of memory is the fastest memory of the computer system?


  • A) Storage device
  • B) RAM
  • C) Cache Memory
  • D) Register Memory


Answer is D) "Register Memory".


The register memory is used to provide the space in a bit of memory which is to store a part of information or store only instructions to process to the next input such as Shift register, Program counter, Instruction register etc. The register memory is a temporary memory which is only just used when it is working in the CPU, otherwise the data has been removed from the register memory after a new program is used to process or turn off the computer system.



-----------------------------------------------------------------------------------------------------------------------------

My latest post is here links below about the databases technology

What are the components of data model in [DBMS] Relational Database Management System?

There are five main components of data model... 👉 click here 👈

What is stability of the distributed database management system?

In the distributed database model there are.... 👉 click here👈

✌What do you understand by register and activate of software ? Link ----👉 Click here 👈
What do you understand by software? link ---- 👉 Click here 👈
Various shared data in operating system services? Link ---- 👉  Click here 👈
How the Computer affect the working of business organization ? link ---- 👉 Click here 👈

Comments

Popular posts from this blog

what are the function of the joystick and light pen?

What are the difference between input device and an offline data entry device?

What are the three main purpose of an operating system?