Answer:
A. 3 bits required
B. 6 bits are required
c. 8 bits are required
d. 15 bits are required
Explanation:
A. In the address mode selector, we need to specify 1 out of 7 addressing modes. Therefore, there must be 3 bits (2³ = 8)
B. There are 60 address registers. Therefore the bits to represent 60 numbers are 6 bits. (2^6 = 64)
C. As indicated, the memory bit word required is 8 bits.
D. Total Bits = Opcode + Address mode + Register Add + Memory ADD
32 bits = Opcode+ 3 bits + 6 bits + 8 bits
Opcode = 32 bits - 17 bits = 15 bits.
Therefore 15 bits are required for Opcode field.
Protect you and others from death and injuries
Answer:
Here is the pseudocode.
a.
INPUT hourly rate
INPUT hours worked
SET gross pay = hourly rate x hours worked
PRINT gross pay
b.
INPUT hourly rate
INPUT hours worked
SET gross pay = hourly rate x hours worked
PRINT gross pay
INPUT tax rate
SET net pay = gross pay - (gross pay * tax rate / 100)
PRINT net pay
Explanation:
a.
Ask the user to enter hourly rate and hours worked
Calculate the gross pay, multiply hourly rate by hours worked
Print the gross pay
b.
Ask the user to enter hourly rate and hours worked
Calculate the gross pay, multiply hourly rate by hours worked
Print the gross pay
Ask the user to enter the tax rate
Calculate the net pay as gross pay - (gross pay * tax rate / 100)
Print the net pay
Answer:
The Changes to Camera Technology over the last 70 years. The technology that the modern camera is based on was created several hundred years ago. ... The company would then reload the camera with new film and send it back to the consumer so they could take more pictures with it.
Explanation:
Answer:
Following is the code in python language
team_names = ('Rockets','Raptors','Warriors','Celtics')#holding the string value
print(team_names[0],team_names[1],team_names[2],team_names[3])#display
Output:
Rockets Raptors Warriors Celtics
Explanation:
Following is the description of above statement .
- Create a dictionary "team_names" that is holding the string value Rockets Raptors Warriors and Celtics.
- Finally we used the print function in that function we pass the index of corresponding dictionary i.e team_names[0] . it will display the first index value similarly we pass team_names[1], team_names[2] team_names[3].