Ask Computer Engineering Expert

Answer all the problems

1)

(a) Convert the following numbers as asked:                   

(i) Decimal 999 to Hexadecimal

(ii) Octal 555 to Hexadecimal

(iii) Hexadecimal AAAA to Decimal

(iv) Hexadecimal AAAA to Octal                   

(b) Suppose that computer represents negative integers in signed 2’s complement notation having the size of 8 bits. You might also suppose that all registers used for integer arithmetic are of 8 bits. Carry out the following operations using this computer (numbers indicated in the operations are decimal numbers). Indicate overflow condition, if any.

(i) Add -38 and -90

(ii) Subtract 90 from 38

(iii) Add 63 and 65

(iv) Subtract -90 from -65                   

(c) A four bit data 0001 is to be sent across communication channel. What must be the parity bits for SEC code, if this data is to be sent correctly across to destination? Indicate where these SEC code bits would be placed in the data + code bit combination which is to be sent. Suppose that data bits which were received were 1 S 0 S 0 S 1 (SEC bits remained unchanged in between wherever they were, that is the value of S might the related SEC bit or Null ). Correct this code using SEC bits generated at the receiver and the SEC bits received from the sources. Demonstrate all the steps of this process.                               

(d) A logical function calculator compares two numbers for the function A >= B. The comparator output 1 of the comparison is TRUE else FALSE. In case if both A and B are equal, the comparator outputs a second bit as 1 (0 otherwise). Partial truth table for comparator is given in Figure :

 Number A       Number B           Output
Bit 1   Bit 0     Bit 1    Bit 0    Same    Zero
0         0          0          0        1          1
0         0          0          1        0          0
...        ...        ...          ...       …         …
0         1         0           0        1         0
0         1         0           1        1         1
...        ...        ...         ...        …         …
1         0         1           1        0          0
1         1         1           1        1          1

Complete the truth table and design and draw the combinational circuit using AND-OR-NOT gates for the description given.       

(e) Why do you require a flip-flop? Describe characteristics table of J K flip flop. How is it different than that of S R flip flop? Describe synchronous counter in the context of change of states of the flip flop.   

(f) What is associative memory? Describe with the help of the diagram. What is a Cache memory? What are its different organisations? Describe Associative cache memory organization with the help of a diagram showing mapping from main memory to cache memory. You should show proper addresses for both the memories in the diagram. Though, for simplicity, you might take size of the main memory as 32 byte and cache as 4 byte.               

(g) You have been asked to design the configuration of a database server (please do not give the names of manufacturer), specifically the RAID configuration for your server. Which of type of RAID machine will you select? Give justification in support of your answer. Also describe the process of interrupt handling when more than one interrupts can occur simultaneously.           

(h) Describe the functions and purposes of Direct Memory Access (DMA) and Input/output processor in Computer. Determine how in Pentium processor I/O devices are connected to the system bus.   

2)

(a) Is it possible to have Instruction set with no operands at all? Justify your answer. Suppose that the machine is to be designed for performing simple arithmetic operations (including unary and binary), what must be optimum number of operand in an instruction set for such machine? Give justification in support of your answer. How does the number of operand addresses in the Instruction Set affect the size of the program on computer?       

(b) A machine is to be designed such that it stores arbitrary length arrays in memory. This machine also supports subroutine calls. Suggest four best addressing modes for the machine. Give reasons for your choice.        

(c) Consider instruction ISNZ Op where Op is a register operand which is the address of the instruction of the executing program. Instruction checks if the value of the preceding instruction execution is NOT ZERO (the result might be in the AC register), if so then it branches to address specified by the Op. prepare sequence of micro-operations which would be needed to execute this instruction. You might use various micro-operation cycles and the essential registers.

(d) Suppose that 8-bit Register R has the data 01101110. Perform the following operations on the register R:     

(i) Selective Set the lower 4 bits to 1100

(ii) Extract the lower 4 bits

(iii) Clear the register using a logical operation

(iv) Insert a value 1111 in the lower 4 bits of the register.       

(e) Represent the following floating point numbers using IEEE 754 floating point single precision format.

i. 32.0125

ii. -0.125       

(f) Describe the working of the control unit of a computer with the help of a Block diagram. Describe significance of micro-instruction in computer. Describe differences between horizontal and vertical microinstructions.     

3)

(a) prepare the advantages of having segments in 8086 micro-processor? Describe the use of stack segment register and process of computations of physical address of the top of the stack in 8086 microprocessor.             

(b) Describe the REPE, CMPS, AAA, and  XLAT instructions of 8086 processor with the help of one ex each.   

(c) Describe any one direct, one register indirect, one based indirect and one indexed indirect addressing modes of 8086 microprocessor with the help of the ex of each.     

(d) Describe process of Input/output using Interrupt 21h in 8086 microprocessor with the help of exs.   

(e) prepare program in 8086 assembly language which finds total of an array of maximum 10 integer elements. You might suppose that array is stored in memory and last value in the array is -2000. The find outd result is stored in location named sum.     

(f) prepare program in 8086 assembly language which passes two input parameters to the subroutine through stack. Subroutine return value 1 if the value of first parameter is greater than the second, otherwise returns 0. Make appropriate assumptions, if any.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92317

Have any Question?


Related Questions in Computer Engineering

Does bmw have a guided missile corporate culture and

Does BMW have a guided missile corporate culture, and incubator corporate culture, a family corporate culture, or an Eiffel tower corporate culture?

Rebecca borrows 10000 at 18 compounded annually she pays

Rebecca borrows $10,000 at 18% compounded annually. She pays off the loan over a 5-year period with annual payments, starting at year 1. Each successive payment is $700 greater than the previous payment. (a) How much was ...

Jeff decides to start saving some money from this upcoming

Jeff decides to start saving some money from this upcoming month onwards. He decides to save only $500 at first, but each month he will increase the amount invested by $100. He will do it for 60 months (including the fir ...

Suppose you make 30 annual investments in a fund that pays

Suppose you make 30 annual investments in a fund that pays 6% compounded annually. If your first deposit is $7,500 and each successive deposit is 6% greater than the preceding deposit, how much will be in the fund immedi ...

Question -under what circumstances is it ethical if ever to

Question :- Under what circumstances is it ethical, if ever, to use consumer information in marketing research? Explain why you consider it ethical or unethical.

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

What type of economic system does norway have explain some

What type of economic system does Norway have? Explain some of the benefits of this system to the country and some of the drawbacks,

Among the who imf and wto which of these governmental

Among the WHO, IMF, and WTO, which of these governmental institutions do you feel has most profoundly shaped healthcare outcomes in low-income countries and why? Please support your reasons with examples and research/doc ...

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

Question what some of the reasons that evolutionary models

Question : What some of the reasons that evolutionary models are considered by many to be the best approach to software development. The response must be typed, single spaced, must be in times new roman font (size 12) an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As