Sasken Papers: Sample Questions 23 - 25 of 35

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

Question number: 23

» Aptitude

Short Answer Question▾

Write in Short

Father is aged three times more than his son Rakesh. After 8 years, he would be two and a half times of Rakesh’s age. After further 4 years, what will be father’s age?

Explanation

Let present age of father is x years and Ronit is y years,

After 8 years father will be 2.5 times of Ronit’s age, i. e.

At present, age of Rakesh is 24 years old and his father will be years old.

After further four years, father’s age will be,

Question number: 24

» Aptitude

Short Answer Question▾

Write in Short

int (*P [10] ) ();

In above declaration what type of variable is P?

Explanation

  • P is array of pointers that each points to a function that takes no arguments and returns an integer
  • Here, P is a pointer to an array of 10 integers.
  • An array is a collection of similar elements. An array is similar to an ordinary variable except that it can store multiple elements of similar data type. Array elements are stored in contiguous memory locations and so they can be accessed using pointers. To know the address of any element of array we need to use “address of” operator (&). To know the value of any element of array we need to use “value at address” operator (*).

Question number: 25

» Aptitude

Short Answer Question▾

Write in Short

TCP/IP belongs to which layer and what it does?

Explanation

Transport Control Protocol (TCP) is one of the main protocols in TCP/IP networks. Whereas the protocol deals only with packets, TCP enables two hosts to establish a connection and exchange streams of data. TCP guarantees delivery of data and also guarantees that packets will be delivered in the same order in which they were sent.

TCP/IP and OCI Model

TCP/IP and OCI Model

There are five layers in TCP/IP model: Physical, Data link, IP, TCP/UDP, Applivation and service. There are seven layers in OSI Reference Model: Physical, Data link, Network, Transport, Session, Presentation, application and service. All functions which OSI layer can do can be done by TCP/IP layer.