# R Systems Written Test January 2012

Posted on :07-04-2016

Q1. 11 - 12 - 13 = 234, 24 - 23 - 35 = 658, 31 - 43 - 54 =?

a) 497
b) 974
c) 749
d) 479

Q2. Find the missing term: 24, 28, ? , 52, 84

Q3. Which one set of letters when sequentially placed at the gaps in the given letter Series shall complete it?

H-JH-IJHHI-HH-JH

a) IHJI
b) HIHI
c) IHIJ
d) HJHJ

Q4. Science Express campaign was held in collaboration of India and which country?

a) Japan
b) France
c) India
d) USA

Q5. Find the missing letters: DHL, PTX, BFJ, ?

a) NRV
b) RVZ
c) CGK
d) KOS

Q6. A is the sister of B, B is the brother of C, C is the son of D. How is D related to A?

a) Mother
b) Daughter
c) Son
d) Uncle

Q7. AZBY: DWEV: HSIR: ?

a) JQKO
b) KPOL
c) KPLO
d) KOLP

Q8. Anand Math was written by ----.

a) Rabindranath Tagore
b) BC Chatterjee
c) Sarojini Naidu
d) Sri Aurobindo

ANS: b) BC Chatterjee

Q9. What is the output of the following program?

#define swap1(a,b) a = a+b; b = a-b; a = a-b;
main()
{
int x=5,y=10;
swap1(x, y);
printf(%d %d , x, y);
swap2(x, y);
printf(%d %d , x, y);
}
int swap2(int a, int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}

Q10. What is the output of the following program?

#include
main(){
char a[]=hellow;
char *b=hellow;
char c[5]=hellow;
printf(%s %s %s ,a,b,c);
printf( ,sizeof(a), sizeof(b), sizeof(c));
}

ANS: hellow, hellow, hellow
6, 2, 5

Q11. What is the output of the following program?

main()
{
char *p1= Name;
char *p2;
p2=(char *) malloc(20);
while(*p2++ = *p1++);
printf(%s , p2);
}

Q12. What is the output of the following program?

main()
{
char a[2];
*a[0]=7;
*a[1]=5;
printf(%d, &a[1] - a)

ANS: 1 (illegal initialization)

Q13. What is the output of the following program?

main()
{
int x=5;
printf(%d %d %d , x, x<<2, x>>2);
}

Q14. What is the output of the following program?

#include
main()
float value=10.00;
printf(%g %0.2g %0.4g %f, value, value, value, value)
}

ANS: 10, 10, 10, 10.000000

FreshersLive - No.1 Job site in India. Here you can find latest 2018 government as well as private job recruitment notifications for different posts vacancies in India. Get top company jobs for both fresher and experienced. Job Seekers can get useful interview tips, resume services & interview Question and answer. Practice online test free which is helpful for interview preparation. Register with us to get latest employment news/rojgar samachar notifications. Also get latest free govt and other sarkari naukri job alerts daily through E-mail.

 ✖