Sify Previous Years Solved Sample Placement Papers
-
String is given Myprog one two three. Where Myprog is an exe file. What will the output of the following program?
main(argc, argv) { printf("%c", ++**argv); }
Options:
A. m
B. n
C. none
D. myprogram
-
In 1.5 fixed format, how is -1 represented?
A. 0xFFFF Answer: Option A
B. 0xF000
C. 0x8000
D. 0x0001
-
#define Sqr(b) b*b;
main() { int i = 3; printf("%d", SQR(i + 2)); }
Ans: 11
-
main() { char c = 'a'; printf("%d %d", sizeof(c), sizeof('a')); }
Options:
A. 1 1
B. 2 2
C. 2 1
D. 1 4 Answer: Option D
-
Question related to the ICMP:
Ans: d (check out)
-
Question related to ARP (which machine will respond for the request of ARP)?
-
If an integer needs two bytes of storage, then the maximum value of an unsigned integer is:
A. 2^16-1 Answer: Option A
B. 2^15-1
C. 2^16
D. 2^15
-
If an integer needs two bytes of storage, then the maximum value of a signed integer is:
A. 2^16-1
B. 2^15-1 Answer: Option B
C. 2^16
D. 2^15
-
Out of the following, which supports error checking and error correction in the data link layer?
A. 802.2 LLC Answer: Option A
B. 802.3 CSMA/CD
C. 802.4 Token Bus
D. 802.5 Token Ring
-
(A) Recently, an Air India Airbus was grounded in Delhi because of a technical snag.
(B) Air India faces a severe shortage of maintenance engineers.
A. if statement (A) is the cause and statement (B) is its effect.
B. if statement (B) is the cause and statement (A) is its effect. Answer: Option B
C. if both the statements (A) and (B) are independent causes.
D. if both the statements (A) and (B) are effects of independent causes.
E. if both statements are effects of some common causes.
- Solution: As Air India faces a shortage of maintenance engineers, technical snags are a consequence. Hence, (B) is the cause and (A) is the effect.
-
Study the following information carefully: Input: 78 293 585 740 64 132 26
How many steps are required to get the final output?
A. 4 Answer: Option A
B. 5
C. 3
D. 2
E. None of these
- Solution: Numbers are arranged in descending order. Steps: 740 → 585 → 293 → 132 → Final. Four steps are required.
-
Should there be an upper age limit for a person to assume the post of prime minister?
Arguments:
I. Yes, a leader must not only be wise and experienced but also be energetic and young.
II. No, older leaders can lead more effectively due to their experience.
A. if only argument I is strong.
B. if only argument II is strong.
C. if either I or II is strong.
D. if neither I nor II is strong.
E. if both I and II are strong. Answer: Option E
- Solution: Both arguments present valid points: youth ensures energy and adaptability, while age provides wisdom and experience.
-
Arrange the given words in alphabetical order and choose the one in the middle:
A. Catastrophe
B. Canvass
C. Crisp
D. Charcoal
E. Character
Answer: Option E