Exforsys

Free Training

Aditi Technologies Computer Awareness

This is a discussion on Aditi Technologies Computer Awareness within the Placement Papers forums, part of the Interviews and Job Listings category; COMPUTER AWARENESS NOTE: The questions are of multiple choice format in the paper 1. What is the number of functions ...

Go Back   Exforsys > Career Management > Interviews and Job Listings > Placement Papers

Exforsys.com

  #1 (permalink)  
Old 05-04-2005, 07:58 AM
Senior Member
 
Join Date: Nov 2004
Posts: 579
JobHelper is on a distinguished road
Computer Awareness

COMPUTER AWARENESS
NOTE: The questions are of multiple choice format in the paper

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

2. Which is the most commonly used replacement algorithm?
Ans. LRU

3. Which memory management technique involves dividing the memory into fixed sized blocks?
Ans. Paging

4. What is video resolution ?

5. The processing speed of a microprocessor depends on _____?
Ans. data bus width


C TEST
NOTE: The questions are of multiple choice format in the paper

1. What is the output of the program given below

#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}


2. What is the output of the following program

#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
}


3. What is the memory allocated by the following definition ?
int (*x)[10];


4. What is the memory allocated by the following definition ?
int (*x)();


5. In the following program segment

#include<stdio.h>
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\n",c);
}

How many times is c=c*a calculated?


6. In the program segment in question 5 what is the value of a at the end of the while loop?


7. What is the output for the program given below

typedef enum grade{GOOD,BAD,WORST,}BAD;
main()
{
BAD g1;
g1=1;
printf("%d",g1);
}


8. 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\n",x,y);
}


9. Give the output for the following program segment.

#ifdef TRUE
int I=0;
#endif

main()
{
int j=0;
printf("%d %d\n",i,j);
}


10. In the following program

#include<stdio.h>
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


11. What is the output for the following program

#include<stdio.h>
main()
{
char a[5][5],flag;
a[0][0]='A';
flag=((a==*a)&&(*a==a[0]));
printf("%d\n",flag);
}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.