Download our Android app to get updates on your mobile

Latest Placement Paper Abacus - Based on Candidates Experience

Aptitude Questions :-

1. How many such digits are there in the number 5314679 each of which is as far away from the beginning of the number as when the digits are rearranged in descending order within the number ?
(1) None (2) One (3) Two (4) Three (5) More than three

2. If ‘+’ means ‘-’, ‘-’ means ‘x’, ‘x’ means ‘  ’ and ‘  ’ means ‘+’ , then what is the value of 9 – 7 + 85 x 17 15 ?
(1) 73 (2) 83 (3) 79 (4) 68 (5) None


3. Each vowel in the word MOUNTAIN is replaced by the next letter in the English alphabet and each consonant is replaced by the previous letter in the English alphabet, which of the following will be the fourth letter to the left of seventh from the left end ?
(1) T (2) V (3) N (4) P (5) None

4. Four of the following five are alike in a certain way and so form a group. Which is the one that does not belong to that group ?
(1) 56 (2) 35 (3) 49 (4) 42 (5) 51

5. ‘MP’ is related to ‘HK’ in the same way as ‘HK’ is related to
(1) CE (2) CF (3) CG (4) DG (5) None

6. Four of the following five are alike in a certain way and so form a group. Which is the one that does not belong to that group ?
(1) Jasmine (2) Rose (3) Dahlia (4) Marigold (5) Lotus

7. ‘Jackal’ is related to ‘Carnivorous’ in the same way as ‘Goat’ is related to
(1) Omnivorous (2) Carnivorous (3) Herbivorous (4) Multivorous (5) None

8. If ‘blue’ is called ‘red’, ‘red’ is called ‘green’, ‘green’ is called ‘black’ and ‘black’ is called ‘white’, what is the colour of grass ?
(1) Red (2) Black (3) White (4) Green (5) None

9. In a certain code, RAID is written as %#*$, RIPE is written as %*@©. How is DEAR written in that code ?
(1) @©#% (2) $@#% (3) @$#% (4) $©#% (5) None

10. ‘Radish’ is related to ‘Root’ in the same way as ‘Brinjal’ is related to
(1) Fruit (2) Stem (3) Flower (4) Root (5) None

Aptitude Questions on C :-

1. If the two strings are identical, then strcmp() function returns
A. -1
B. 1
C. 0
D. Yes

2. The library function used to find the last occurrence of a character in a string is
A. strnstr()
B. laststr()
C. strrchr() 
D. strstr()

3. Which of the following function is used to find the first occurrence of a given string in another string?A.
A.strchr()
B.strrchr()
C.strstr()
D.strnset()

4. What does fp point to in the program ?
#include<stdio.h>
int main()
{
FILE *fp;
fp=fopen("trial", "r");
return 0;
}
A. The first character in the file
B. A structure which contains a char pointer which points to the first character of a file.
C. The name of the file.
D. The last character in the file

5. To scan a and b given below, which of the following scanf() statement will you use?
#include<stdio.h>
float a;
double b;
A. scanf("%f %f", &a, &b);
B. scanf("%Lf %Lf", &a, &b);
C. scanf("%f %Lf", &a, &b);
D. scanf("%f %lf", &a, &b);

6. Consider the following program and what will be content of t?
#include<stdio.h>
int main()
{
FILE *fp;
int t;
fp = fopen("DUMMY.C", "w");
t = fileno(fp);
printf("%d\n", t);
return 0;
}
A. size of "DUMMY.C" file
B. The handle associated with "DUMMY.C" file
C. Garbage value
D. Error in fileno()

7. Which of the following is the correct usage of conditional operators used in C?
A. a>b ? c=30 : c=40;
B. a>b ? c=30;
C. max = a>b ? a>c?a:c:b>c?b:c
D. return (a>b)?(a:b)

8. Which of the following is the correct order if calling functions in the below code?
a = f1(23, 14) * f2(12/4) + f3();
A. f1, f2, f3
B. f3, f2, f1
C. Order may vary from compiler to compiler
D. None of above

9. In the following code, the P2 is Integer Pointer or Integer?
typedef int *ptr;
ptr p1, p2;
A. Integer
B. Integer pointer
C. Error in declaration
D. None of above

10. In the following code what is 'P'?
typedef char *charp;
const charp P;
A. P is a constant B.
P is a character constant
C. P is character type
D. None of above
Latest Placement Paper Abacus - Based on Candidates Experience Latest Placement Paper Abacus - Based on Candidates Experience Reviewed by Job today on 10:17 Rating: 5

No comments:

Powered by Blogger.