Home »» Placement Papers »» All Papers »» Aditi »» Placement Paper

Aditi Computer Awareness Paper - 2006:-


Q1. Which memory management technique involves dividing the memory into fixed sized blocks?

ANS: Paging.

Q2. Define DDL and DML in DBMS.  

Q3. What is class, access specifiers in Java?

Q4. The processing speed of a microprocessor depends on _____?

ANS:Data bus width.

Q5. What is life cycle model in soft engg. What are the difference between Waterfall Model and Spiral Model?

Q6. 12 + 22 - 32 + 42 - 52 + 62 - ......  Using C program. Implement the above equation. You can not use for loop.

Q7. What is structure, array? Difference between them in C.

Q8. What is the difference between do loop and do-while loop?  

Q9. Convert infix to postfix using C.  

Q10. What are the different CPU scheduling algorithms in OS?  

Q11. What is the number of functions of a three variable boolean function?

Q12. Which is the most commonly used replacement algorithm?

ANS: LRU

Q13. What is video resolution?

Q14. Give the output for the following program segment.

#ifdef TRUE

int I=0;

#endif

main()

{

int j=0;

printf(%d %d

,i,j);

}

Q15. What is the output for the following program?

#include

main()

{

char a[5][5],flag;

a[0][0]=A;

flag=((a==*a)&&(*a==a[0]));

printf(%d

,flag);

}

Q16. What is the output for the program given below:

typedef enum grade{GOOD,BAD,WORST,}BAD;

main()

{

BAD g1;

g1=1;

printf(%d,g1);

}

Q17. What is the output of the program given below

#include

main()

{

char i=0;

for(;i>=0;i++) ;

printf(%d

,i);

}

Q18. What is the memory allocated by the following definition?

int (*x)[10];

Q19. In the following program

#include

main()

{

char *pDestn,*pSource=I Love You Daddy;

pDestn=malloc(strlen(pSource));

strcpy(pDestn,pSource);

printf(%s,pDestn);

free(pDestn);

}

(a)Free() fails

(b)Strcpy() fails

(c)prints I love You Daddy

(d)error

Q20. What is the output of the following program

#include

main()

{

int i=0;

fork();

printf(%d,i++);

fork();

printf(%d,i++);

fork();

wait();

}

Q21. Give the output for the following program.

#define STYLE1 char

main()

{

typedef char STYLE2;

STYLE1 x;

STYLE2 y;

clrscr();

x=255;

y=255;

printf(%d %d

,x,y);

}

Q22. In the following program segment

#include

main()

{

int a=2;

int b=9;

int c=1;

while(b)

{

if(odd(b))

c=c*a;

a=a*a;

b=b/2;

}

printf(%d,c);

}

How many times is c = c*a calculated?

Q23. What is the memory allocated by the following definition?

int (*x)();


Comment

0 Answers