Wednesday, February 8, 2023

computer architecture

1. Differentiate between computer organization and architecture.

 2. Draw a computer system and label the parts.

 b. Describe the parts. 

 3. Find the total bits in 25megabytes. 

4. What is the importance of RAM? 

 5. What is the relationship between RAM and CPU? 

6. Draw a CPU and label the parts. 

7. What is a register? 

 b. Name two registers you know. 

 8. Explain the difference between 700MHz and 3.0GHz. 

 9. Explain binary, decimal, octal and hexadecimal number system. 

10. Convert 876 decimal to binary

                                  ANSWERS

1.  Computer organization indicates its performance, whereas computer architecture indicates its hardware. As a computer programmer, you can view architecture as a series of instructions, addressing modes, and registers. The implementation of the architecture is called organization.

2.


        b. I. CPU: central processing unit is also referred to as the brain of the computer and it is responsible for interpreting and executing most of the commands from the computer's other hardware and software.

             Il. MOUSE: it moves the mouse pointer on the screen and allows you to select text or a file and multiple files at once. 

  Iv. MONITOR: it display text, images and audios 

  1 megabyte = 8,000,000 bits  

                 25 megabytes = x bits 

                 1 = 8,000,000   

                25 = x 

               1x = 25 * 8,000,000 

               X = 200,000,000 

Therefore 25 megabytes is equal to 200 million bits.

    4. It is the computer's internal storage system that store working data and machine codes

 

     5. Both RAM and CPU are reliant on each other for optimum performance of a machine and also RAM is used as a short-term memory where CPU is the brain of the computer

 

6.   

 

   7. It is a special high-speed storage area within the CPU, it is also a set of flip- flop with each flip-flop adequate for saving one bit of data. 

 

 b. I. memory address registers                                      

     Ii. Memory data registers 

 

8. The difference between 700MHz and 3.0GHz is that 700mhz consists of 108 megahertz of spectrum running from 698-806 MHz while 3.0ghz processor is a processor that runs at the speed rate of 3 billion cycles/second. 

 

9. a. Binary number system is a system where a number is represented by using only two digits (0 and 1) with a base 2, for example 1001. 

b. Decimal number system is a type of number system that has a base equal to 10 and uses numbers from 0 to 9. 

c. Octal number system is a type of number system that has a base equal to 8 and uses numbers from 0 to 7. 

d. Hexadecimal number system is a type of number system that has a base equal to 16 and uses numbers from 0 to 15. 

 

10. Converting 876 to binary 

 1024  512   256  128  64  32  16  8  4  2  1 

              1        1      0      1     1   0    1  1 0  0 

The answer is = 1101101100 

 

No comments:

how to create an android app using c ++

 Creating a mobile app using C++ and publishing it typically involves a multi-step process. Here's a general outline of the steps involv...