Answer:
I use google docs
Explanation:
I am in 6th grade but i am in expert in computers.
Answer:
Program Start:
Declare Variables: Celsius and Fahrenheit as float
Input Celsius
Fahrenheit = (Celsius * 9/5) + 32
Print Celsius
Print Fahrenheit
End Program
Explanation:
Pseudo codes are false codes and are used to mimic actual programs.
So, the interpretation of the above code is as follows:
This line indicates the start of the program
Program Start:
The variables are declared, here
Declare Variables: Celsius and Fahrenheit as float
This line gets input for degree Celsius
Input Celsius
This line converts degree Celsius to Fahrenheit
Fahrenheit = (Celsius * 9/5) + 32
The next two lines print the degree Celsius and the equivalent degree Fahrenheit
Print Celsius
Print Fahrenheit
This indicates end of program
End Program
Given the following word addresses: 3, 180, 43, 2,191, 88, 190, 14, 181, 44, 186, 253
professor190 [17]
Answer:
A. index bits = 2, tag bits = 2, block offset bits = 1, it is a miss.
B. index bits = 2, tag bits = 1, block offset bits = 0, it is a hit
C. the miss rate is 0
Explanation:
a. number of blocks = 12
number of blocks per set = 3
number of set = number of blocks / number of blocks per set = 12/3 = 4
word size = 24
block size = 2
the block offset =
block size
=
2 = 1
the index bits =
number of set =
4 = 2
the tag bits = (
word size) - offset - index = (
24) -2 - 1 = 5 -2 - 1 = 2
b. word size = 8
block size = 1
the block offset =
block size
=
1 = 0
the index bits =
number of set =
4 = 2
the tag bits = (
word size) - offset - index = (
8) -2 - 1 = 3 - 0- 2= 1
Answer:
Binary to Gray Code Converter
The logical circuit which converts the binary code to equivalent gray code is known as binary to gray code converter. An n-bit gray code can be obtained by reflecting an n-1 bit code about an axis after 2n-1 rows and putting the MSB (Most Significant Bit) of 0 above the axis and the MSB of 1 below the axis.
The 4 bit binary to gray code conversion table is given in attached file.