TCS Papers: Sample Questions 181 - 183 of 502

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

Question number: 181

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is Multiple Access?

Explanation

  • If the physical links are shared by more than two nodes, they are said to provide multiple access. In multi-access, all nodes are capable of transmitting frames. In addition, more than two nodes can transmit frames at the same time.

  • For example, in multiple access radio transmission scheme several earth stations can transmit in the same time span, providing a way to network these stations together, in either a star or a mesh network.

 Image of Multiple Accesses

Image of Multiple Accesses

Given the image is defining the Multiple devices are connected

Question number: 182

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is VRC?

Explanation

  • VRC or vertical redundancy check or the partial check is least expensive mechanism for error detection.

  • The redundant bit called parity bit is appended to every data unit so that the total number of 1’s in the unit becomes even.

Image shows the VRC

Image Shows the VRC

Given the image is defining the Vertical redundancy check.

  • VRC can detect all single bit error

  • Can detect burst errors if the total number of errors in each data unit is odd.

  • VRC can’t detect errors where the total number of bits changed is even.

Question number: 183

» Languages » C & C Plus Plus

Essay Question▾

Describe in Detail

What is the difference between the = symbol and == symbol?

Explanation

  • Assignment Operator (=)

  • = is an Assignment Operator in c, c++ and other programming languages, it is Binary Operator which operates on two operands.

  • = assigns the value of right side expression’s or variable’s value to the left side variable

  • Example:

    x= (a + b);

    y = x;

  • Here, when first expression evaluates value of (a + b). It will be assigned into x and in second expression y = x; value of variable x will be assigned into y.

  • Equal To Operator (==)

  • It is binary operator which operates on two operands.

  • == compares value on left and right side expressions- return 1 if they are equal otherwise return will be 0;

  • Example:

  1. int xy;
  2. x=10;
  3. y=10;
  4. if(x= =y)
  5. printf(“True”);
  6. else
  7. printf(“False”);
  • When expression x==y evaluates, it will return 1 and “TRUE” will be printed.