# Languages-C & C Plus Plus (Hughes Papers): Sample Questions 1 - 3 of 3

Examrace Placement Series prepares you for the toughest placement exams to top companies.

## Question number: 1

» Languages » C & C Plus Plus

Short Answer Question▾

### Write in Short

What will be the CMRR in dB if common mode voltage is 1V and differential mode voltage is 1mV and error is 1%?

### Explanation

In terms of voltages CMRR can be defined as,

Here, common mode voltage, Vic = 1V

Differential mode voltage, Vid = 0.001V

Error, e = 1%= 0.01

Substituting these values in equation (i)

## Question number: 2

» Languages » C & C Plus Plus

Short Answer Question▾

### Write in Short

What is sliding window protocol?

### Explanation

• In sliding window protocol, multiple frames are sent by transmitter at a time before needing an acknowledgement from receiver.
• Sliding window refers an imaginary boxes that hold the frames on both sender and receiver side. It gives the upper limit on the number of frames that can be transmitted. Frames may be acknowledged by a receiver at any point. It does not take care whether window is full or not on receiver side.
• The window size is n – 1, where n is the number of frames. If there are 8 frames then window size will be 8 – 1 = 7. It means maximum of n – 1 frame can be sent before an acknowledgement. Sliding window is at both sender and receiver side. It gets shifted as data is transmitted or acknowledgement is received.

## Question number: 3

» Languages » C & C Plus Plus

Short Answer Question▾

### Write in Short

Voltage gain for an amplifier is 100 while it is operating at 10 volts. What is the O/P voltage when I/P is 1 volt?

### Explanation

• Voltage gain of the amplifier is 100.
• If the operating voltage is 10 volts then its output voltage will be volts.
• Voltage gain of the amplifier does not depend on input voltage. It remains same whatever the input voltage is present.
• So, here voltage gain will remain 100 even if input voltage is changed from 10 volts to 1 volt.
• Output voltage,