Question

In: Computer Science

Computer Architecture 1. Define what a "word" is in computer architecture: The size (number of bits)...

Computer Architecture

1. Define what a "word" is in computer architecture:

  1. The size (number of bits) of the address
  2. The total number of bits of an instruction (e.g. 16 bits)
  3. Word and width are synonymous.
  4. A word is the contents of a memory register.

2. What is the difference between a register’s width and a register’s address? (choose all that apply - there may be more than one correct answer)

  1. They are both the same!
  2. Address is the same for all registers, width is unique for each register.
  3. Width is the amount of data a single register holds, address is the location of the register within a larger chip.
  4. The address bits of a register is a logarithm of its width.

3. Which of the following is NOT implemented by the Program Counter?

  1. Set the counter to 0.
  2. Increase the counter by 1.
  3. Decrease the counter by 1.
  4. Set the counter to any input value.

4. What is the relationship between the size of the address (number of bits) and the word size for memory registers?

  1. address bits = 2^(word size)
  2. address bits = word size ^ 2
  3. address bits = word size
  4. address bits = log2(word size)
  5. address bits = (word size) / 2

Solutions

Expert Solution

Question 1 :

Define what a "word" is in computer architecture:

Answer : Option b - The total number of bits of an instruction (e.g. 16 bits)

Explanation : A word is a unit of data by the instruction set. A word is an instruction in instruction set. It calculates the number of bits of an instruction.

Question 2 :

What is the difference between a register’s width and a register’s address?

Answer : Option c, Option b

- Width is the amount of data a single register holds, address is the location of the register within a larger chip.

- Address is the same for all registers, width is unique for each register.

Explanation : Register's address is location of register and it may be same for all Registers. Register's width means how much data can be hold by a register , it is different for Registers based on their capacity.

Question 3 :

Which of the following is NOT implemented by the Program Counter?

Answer : Option c - Decrease the counter by 1

Explanation : Program counter is a register that stores the addresses of instructions which are ready for execution. It is used to fetch the instruction and the next instruction in sequence by incrementing the value by 1. So it increment the counter value by 1 but it not decrease the counter by 1. Therefore, the program counter not implement the function is "decrease the counter by 1".

Question 4 :

What is the relationship between the size of the address (number of bits) and the word size for memory registers?

Answer : Option a - address bits = 2^(word size)

Explanation : The size of address is based how many words of stored. The each word have a size. So based on word size address size is calculated. Address bits is space which is multiples of word size.

Address bits = 2^(word size)

If the word size is 32-bits, then address bits are 232 bits.


Related Solutions

Computer Architecture 1.The C in CPU stands for what word? 2.The P in CPU stands for...
Computer Architecture 1.The C in CPU stands for what word? 2.The P in CPU stands for what word? 3.The U in CPU stands for what word? 4.What are the 3 major components of the CPU?
In a computer instruction format, the instruction length is 11 bits and the size of an...
In a computer instruction format, the instruction length is 11 bits and the size of an address field is 4 bits. Is it possible to have 5 two-address instructions 45 one-address instructions 32 zero-address instructions using the specified format? Justify your answer.
In a computer instruction format, the instruction length is 12 bits and the size of an...
In a computer instruction format, the instruction length is 12 bits and the size of an address field is 5 bits. The system architect has already designed three 2-address instructions and thirty one 1-address instructions. How many 0-address instructions can still be possibly accommodated?
In a computer instruction format, the instruction length is 16 bits and the size of an...
In a computer instruction format, the instruction length is 16 bits and the size of an address field is 4 bits. Is it possible to have: 15 instructions with 3 addresses, 14 instructions with 2 addresses, 31 instructions with one address, and 16 instructions with zero addresses, using this format? Justify your answer.
1) Define the following concepts: computer network, network architecture, protocol, and multilayer protocol. 2) As an...
1) Define the following concepts: computer network, network architecture, protocol, and multilayer protocol. 2) As an IT professional who works in the networked world describe the professional, social, economic, and cultural issues of computer networks. 3) As an IT professional who works in the networked world describe the ethical issues and your social responsibility.
Question 1: The word size of a computer generally indicates the largest integer it can process...
Question 1: The word size of a computer generally indicates the largest integer it can process in a single instruction. Discuss two different word sizes of computer systems and provide a brief comparison of both word size systems.(Discuss in one full page) Question 2: A computer has RAM of size 64 M words, its instruction set has 32 instructions and 16 registers in the CPU. What is the format and size of each of the following instructions? ADD R1,R2,R3 Move...
13. A digital computer has a memory unit with 32 bits per word. The instruction set...
13. A digital computer has a memory unit with 32 bits per word. The instruction set consists of 260 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a) How many bits are needed for the opcode? b) How many bits are left for the address part of the instruction? c) What is the maximum allowable size for memory? d) What...
A digital computer has a memory unit with 32 bits per word. The instruction set consists...
A digital computer has a memory unit with 32 bits per word. The instruction set consists of 122 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a) How many bits are needed for the opcode? b) How many bits are left for the address part of the instruction? c) What is the maximum allowable size for memory? d) What is...
Problem 3. A digital computer has a memory unit with 32 bits per word. The instruction...
Problem 3. A digital computer has a memory unit with 32 bits per word. The instruction set consists of 122 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a) How many bits are needed for the opcode? b) How many bits are left for the address part of the instruction? c) What is the maximum allowable size for memory? d)...
A 64 bit computer uses a memory of 32KB. Work out the number of bits of...
A 64 bit computer uses a memory of 32KB. Work out the number of bits of AR, DR, PC, AC, and the HEX code of the address of last memory location. b) The memory attached to a processor has access time of 400ns. When a cache memory is introduced in the system, it is found that on average the access time for the computer was 30% greater than the cache access time for a miss ratio of 0.10. Work out...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT