Sasken Papers: Sample Questions 30 - 32 of 35

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

Question number: 30

» Aptitude

Short Answer Question▾

Write in Short

What is error control in OSI Model?

Explanation

Error control is the process of detecting and correcting both the bit level and packet level errors.

Error Detection

Error detection is the process of detecting the error during the transmission between the sender and the receiver.

Error Correction

This type of error control allows a receiver to reconstruct the original information when it has been corrupted during transmission.

Question number: 31

» Aptitude

Short Answer Question▾

Write in Short

What is meant by reliable transmission protocol? Why is it called so?

Explanation

  • A reliable protocol provides reliability properties with respect to the delivery of data to the intended recipient (s), as opposed to an unreliable protocol, which does not provide notifications to the sender as to the delivery of transmitted data. The term “reliable” means assured.
  • TCP, the main protocol used on the Internet, is a reliable unicast protocol. UDP, often used in computer games or in other situations where speed is an issue and the loss of a little data is not as important because of the transitory nature of the data, is an unreliable protocol.

Question number: 32

» Aptitude

Short Answer Question▾

Write in Short

What is the output of the Program?

  1. main ()
  2. {
  3.     int a[10];
  4.     a[3] = 10;
  5.     printf ( “%d” ,*(a + 3) );
  6. }

Explanation

Here, in the main () function an integer array is defined, i. e. a is an integer array of 10 elements. The 3rd element of this array is initialized with 10. In the printf statement we want to print the value at a + 3. Here, a without any argument means a [0], i. e. we want to print the value of a [0 + 3], i. e. a [3]. As a [3] is initialized with 10 the output of the program will be 10.