Machine-translated by Google. Questions are authored in English.
Top

Computer Network Questions and Answers

Answer: C

Correct answer: move stored bits one position at each clock pulse

A shift register is a chain of flip-flops in which the output of each feeds the input of the next, so that on every clock pulse the whole pattern of bits moves one position along. The four configurations are named by how data enters and leaves. Serial-in serial-out is used for delay. Serial-in parallel-out converts a bit stream into a word, which is what a receiver does. Parallel-in serial-out does the reverse and is what a transmitter does. Parallel-in parallel-out acts as a simple storage register. Serial-to-parallel conversion is the reason shift registers are fundamental to communications, since data travels serially over a single line but is processed in parallel words. Shifting also performs arithmetic: shifting left multiplies a binary number by two and shifting right divides it by two, which is far cheaper in hardware than a multiplier. Feeding the output back to the input gives a ring or Johnson counter.

Please log in or register to report this question.

172.

The output of an XNOR gate is HIGH when both of its inputs are the same.

Answer: B

Correct answer: True

The statement is true. XNOR - exclusive NOR - gives 1 when its inputs are equal and 0 when they differ, which is the complement of XOR. Its truth table runs: 0,0 gives 1; 0,1 gives 0; 1,0 gives 0; 1,1 gives 1. For that reason it is also called the equivalence or coincidence gate, and its Boolean expression is \( AB + \bar{A}\bar{B} \). Its natural application is comparison. A chain of XNOR gates, one per bit pair, with their outputs ANDed together, forms an equality comparator: the result is 1 only if every bit matches. XOR does the opposite job and is used for parity generation and checking, since its output tells whether the number of 1s is odd. A useful identity: \( A \odot B = \overline{A \oplus B} \), so an XNOR is simply an XOR followed by an inverter, and the bubble on the symbol shows exactly that.

Please log in or register to report this question.

173.

Which of these is a sequential circuit?

Answer: D

Correct answer: Shift register

A shift register is sequential, because it is built from flip-flops and its output depends on the bits already stored as well as on the present input. The other three are combinational: their outputs are determined entirely by their present inputs, with no memory of what came before. Each can be fully specified by a truth table. The dividing line is memory. Combinational circuits include adders, multiplexers, demultiplexers, decoders, encoders, comparators and code converters. Sequential circuits include flip-flops, latches, registers, shift registers and counters, and they need a clock. Sequential circuits are described by state tables and state diagrams, and they divide further into synchronous designs, where every element is clocked together, and asynchronous ones, where changes propagate as they occur. Every sequential circuit contains combinational logic inside it, generating the next state and the outputs, so the two categories are layered rather than opposed.

Please log in or register to report this question.

174.

The 1’s complement of a binary number is obtained by inverting every bit.

Answer: A

Correct answer: True

The statement is true. The 1’s complement simply changes each 0 to 1 and each 1 to 0, and in hardware it is a row of inverters. The 2’s complement goes one step further: invert every bit and then add 1. That extra step is what makes it the representation actually used for signed integers. The reason for preferring it is practical. 2’s complement has a single representation of zero, whereas 1’s complement has two - 00000000 and 11111111 - which complicates comparison. And 2’s complement addition needs no end-around carry: the same adder handles signed and unsigned values, so subtraction becomes addition of the complement and no separate subtractor is required. In eight bits, 2’s complement covers −128 to +127, the asymmetry arising from that single zero. 1’s complement is still met in checksum calculations, notably in the Internet protocols.

Please log in or register to report this question.

Answer: B

Correct answer: AND gate

The rules describe an output that is HIGH only when both inputs are HIGH and LOW in every other case, which is the AND function. An OR gate would be HIGH whenever either input was HIGH.

Please log in or register to report this question.

177.

In a half adder, the SUM output is produced by which gate ?

Answer: B

Correct answer: XOR gate

A half adder adds two bits and produces SUM = A ⊕ B from an XOR gate, while CARRY = A · B comes from an AND gate. XOR is the right choice because the sum bit is 1 exactly when the two inputs differ.

Please log in or register to report this question.

178.

Which Boolean identity is known as the absorption law ?

Answer: B

Correct answer: A + AB = A

The absorption law states A + AB = A, because whenever AB is true A is already true, so the second term adds nothing. It is one of the most useful simplifications when reducing an expression by hand.

Please log in or register to report this question.

179.

 In which routing method do all the routers have a common database ?

Answer: B

Correct answer: Link state

In a link state protocol every router floods a description of its own links to all the others, so each ends with the same map of the network and computes its own shortest paths from it. Distance vector routers exchange only their own distance tables and never share a common database.

Please log in or register to report this question.

180.

A station in a network forward incoming packets by placing them on its shortest output queue. What routing algorithm is being used ?

Answer: A

Correct answer: Hot potato routing

Hot potato routing sends each packet out on whichever queue is shortest, getting rid of it as fast as possible without regard to where it is going. Flooding sends copies everywhere, and static routing consults a fixed table.

Please log in or register to report this question.

Loading…
Tags: Computer Network Questions and Answers || Computer Network MCQ Questions and Answers || Computer Network GK Questions and Answers || Computer Network GK MCQ Questions || Computer Network Multiple Choice Questions and Answers || Computer Network GK || GK on Computer Network || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness