1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ber [7]
3 years ago
15

He memory unit of a computer has 2 20 words. The computer has instruction format with four fields; an operation code field, a mo

de field to specify one of 4 addressing modes, a register address field to specify one of 6 5 processor registers, and a memory address.
Assume an instruction is 32 bits long. Answer the following:
A: How large must the mode field be? B: How large must the register field be? C: How large must the address field be? D: How large is the opcode field?
Computers and Technology
1 answer:
Mashutka [201]3 years ago
3 0

Answer:

Opcode = 3

Mode =2

RegisterRegister =7

AR = 20

Explanation:

a) Number of addressing modes = 4 = 22 , So it needs 2 bits for 4 values

Number of registers = 65 = 1000001 in binary , So it needs 7 bits

AR = 20

Bits left for opcode = 32 -(2+7+20) = 3

You might be interested in
Are they going to make season two of Midori Days
Maksim231197 [3]

Answer:

No i dont think

Explanation:

6 0
3 years ago
Read 2 more answers
A heuristic is applied during a search process in hopes of producing a
tekilochka [14]
The answer that best completes the statement above is DEPTH-FIRST SEARCH. This is what is produced in the application of heuristic during a search process. When we say heuristic, this is the kind of approach done in order to discover something or to solve a particular problem. The Depth-First Search or also known as DFS, is a kind of algorithm that is used to analyze something by branching out ideas but in a backtracking manner.
3 0
3 years ago
A cashier distributes change using the maximum number of five dollar bills, followed by one dollar bills. For example, 19 yields
Alex Ar [27]

Answer:

Written in Python:

dollars = int(input("Amount: "))

numFive = int(dollars/5)

numOnes = dollars%5

print(str(dollars)+" yields "+str(numFive)+" fives and "+str(numOnes)+" ones.")

Explanation:

This line prompts user for input

dollars = int(input("Amount: "))

This line calculates the number of 5 that can be gotten from the input. This is done using integer division

numFive = int(dollars/5)

This line gets the remaining ones. This is done by using the modulo sign to get the remainder when input is divided by 5

numOnes = dollars%5

This line prints the required output

print(str(dollars)+" yields "+str(numFive)+" fives and "+str(numOnes)+" ones.")

4 0
3 years ago
Suppose there is a text file named "datafile.txt with some data in the root directory of your computer". Using your choice of la
aivan3 [116]

Answer:

See explaination for program code

Explanation:

code below

using System;

using System.IO;

namespace ReadAndDisplayFileCOnsole

{

class Program

{

static void Main(string[] args)

{

using (StreamReader reader = new StreamReader("D:\\datafile.txt"))

{

while (true)

{

string line = reader.ReadLine();

if (line == null)

{

break;

}

Console.WriteLine(line);

}

reader.Close();

Console.Read();

}

}

}

}

6 0
3 years ago
-) An attribute is a(n)?
Anarel [89]
<h3>An attribute is a characteristic.In a data base management system,an attribute refers to a database component,such as a table.It also may refer to a database field.</h3>

6 0
3 years ago
Other questions:
  • 1. If your motherboard supports DIMM memory, will RIMM memory still work<br>on the board?​
    13·1 answer
  • Suppose that the first number of a sequence is x, where x is an integer. Define ; ‍ if is even; ‍ ‍ ‍ if is odd. Then there exis
    11·1 answer
  • 1. You are the network manager for a computer training center that allows students to bring their own laptops to class for learn
    5·1 answer
  • When you expand the virtual size of a game, what do you create?
    7·1 answer
  • If an OS is using paging with offsets needing 12 bits, give the offset (in decimal or hexadecimal) to: the third word on a page
    10·1 answer
  • 1. Why are condition statements important for programming?
    11·1 answer
  • Difference between the four generations of computers in a tabular form​
    8·1 answer
  • Most computers include a network card designed to connect a computer to the net using standard telephone service. True or False?
    11·1 answer
  • Worksheet-I • Make a list of 10 application software and 5 utility programs installed in your computer, along with their uses. U
    9·1 answer
  • What is density?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!