Saturday, March 29, 2008

Sun Microsystems




1. For the following program.

struct XXX
{int a;
float b;
char *s;
}X;

If optimization :X not used in compiler then unused bits_________________. 
Give your assumption_______________. 


2. Give the output of the following program

struct XXX
{int a:6;
float b:4;
char s;
}structure;

size of (structure); 


3.Class used for the multiple inheritence in JAVA_________________

(a) anonymous class
(b) inner class
(c) abstreet class
(d) none


4. XDR fixes in which part of OS1 stack.


5. LDAP is____________service protocol.


6. Given definition for a function which returns a array of pointers 
with argument of int*. 


7. Give a function declaration with no arguments which refers a two 
dimensional array


8. Pick up the correct function declaration.

1. void *[] name();
2. void int[][] name();
3. void ** name();
4. none of the above.


9. Give the difference between monolithic and microlithic kernal:

a. monolithic large
b. microlithic used in embedded systems.
c. none.


10. rPC coresponds to_______________in OSI stack.


11. Find the no.of page faults using LRU stack.

eg.3 4 4 6 7 8 1 2 .. ..


12.The inorder representation of a tree 41523 and preorder is 211513 Draw it?


13. When does a stack member will be initialised

(a) when object is created
(b) when object is initialised.
(c) doesnot depend on object.
(d) none.


14. Number of CPU in a multiprocess is contrassed by

(a) RISC nohere of CPU
(b) memory
(c) both (a) and (b)
(d) None of the above

15. Give the output of the following program

main()
{char *s;
s="hot java";
strcpy(s,"solarrs java")
}

16. Give the output of the following program

main()
{printf("hot java");
fork() 
exit(0);
}

(i). When redirected to a screen what will be printed.
(ii). When redirected to file what will be printed.


17. Give the output of the following program

main()
{int ret;
ret=fork();ret=fork();ret=fork();ret=fork();
if(!ret)
printf("sun");
else
printf("solaris");


18. Give the output of the following program

main()
{char *p='a';
int *i=100/*p;
}

what will be the value of *i= 1


19. Which data structure gives efficient search

1 B-tree
2 binary tree
3 array
4 linked list


20. Find the error in the following program

struct point
{struct point *next;
int data;
}
x;

main()
{int i;
for(x=p;x!=0;)
x=x->next,x++;
freelist(x);
} 

freelist(x)
{free(x);
return
}


21. Mutex and _________are similar locking mechanisms.


22. A complex question on pointers and functions.


23. SNMP and SMIP transport layer protocols for TCP/IP&OSI.


24 UNIX: difference between select and poll
 






0 comments:

WEB WORLD




Importent websites for electrical students





labvolt

etesters

Baba Banda Singh Bahadur Engineering College

Electrical & Electronic Systems

elec-toolbox

42explore

stumbleupon

electrical engineering for beginners



JOB SITES


http://www.employmentspot.com/
http://www.careerbuilder.com/
http://www.hotjobs.yahoo.com/
http://www.jobs.guardian.co.uk/
http://www.theladders.com/
http://www.vault.com/
http://www.arbeitsagentur.com/
http://www.dice.com/
http://www.job-search-engine.com/
http://www.job.com/
http://www.monster.com/
http://www.clickajob.co.uk/
http://www.jobcrawler.it/
http://www.reed.co.uk/
http://www.104.com.tw/
http://www.opcionempleo.com/
http://www.motoaelevoro.it/
http://www.totaljobs.com/
http://www.learn4good.com/
http://www.1111.com.tw/
http://www.naukri.com/
http://www.mansterindia.com/
http://www.clickjobs.com/
http://www.timejobs.com/
http://www.tecnoempleo.com/
http://www.infojobs.net/
http://www.snagajob.com/
http://www.infojobs.it/
http://www.jobs.net/
http://www.jobbankusa.com/
http://www.craiglist.org/
http://www.rabota.ru/
http://www.jobware.de/
http://www.net-temps.com/
http://www.resumerabbit.com/
http://www.nationjob.com/
http://www.flipdog.com/
http://www.empleo.universia.es/
http://www.anpe.fr/
http://www.hrsdc.gc.ca/
http://www.zarplata.ru/
http://www.jobcentreplus.gov.uk/
http://www.careerone.com.au/
http://www.keljob.com/
http://www.jobstreet.com/
http://www.in.jos.yahoo.com/
http://www.jobsahead.com/
http://www.placementindia.com/
http://www.jobcity.com/
http://www.cybermediadice.com/
http://www.careerindia.com/
http://www.in.recruit.net/
http://www.careerbuilderindia.com/
http://www.careerjet.co.in/
http://www.naukrihub.com/
http://www.naukri200.com/
http://www.bixee.com/
http://www.jobsearch.rediff.com/
http://www.careerkazana.com/
http://www.india.jobs.com/
http://www.careerenclave.com/
http://www.fresherscafe.blogspot.com/
http://www.towardsjob.com/
http://www.jobassist.com/
http://www.presentjobs.com/
http://www.todayjobs.blogspot.com/
http://www.hotcakejobs.com/
http://www.sgeek.com/
http://www.kcsindia.com/
http://www.fresherjobs.com/
http://www.chetana.com/


SEARCH ENGINES


http://www.google.com/
http://www.yahoo.com/
http://www.rediff.com/
http://www.khoj.com/
http://www.lycos.com/
http://www.go.com/
http://www.excite.com/
http://www.altavista.com/
http://www.snap.com/
http://www.looksmart.com/
http://www.askjeeves.com/
http://www.goto.com/
http://www.infoseek.com/
http://www.hotbot.com/
http://www.indolink.com/
http://www.webcrawler.com/
http://www.iwon.com/



MUSIC



http://www.hrithik.net/
http://www.mp3.com/
http://www.music3w.com/
http://www.indiagaana.com/
http://www.dhadkan.com/
http://www.musicworld4u.com/
http://www.enn2.com/
http://www.rhythmindia.com/
http://www.musiccurry.com/
http://www.supernet.com/
http://www.whitepathmusic.com/
http://www.indiaculture.miningco.com/
http://www.musicweb.co.uk/
http://www.musicweb.co.uk/
http://www.tipsmusicfilms.com/
http://www.topcassette.com/
http://www.ancient-future.com/
http://www.indiaexpress.com/
http://www.hindustan.net/
http://www.aishwarya-rai.com/
http://www.freemusic2u.com/
http://www.coolindiaworld.com/
http://www.angelfire.com/
http://www.bollynet.com/
http://www.joyofindia.com/
http://www.geocities.com/
http://www.justgo.com/
http://www.hamaracd.com/
http://www.ccmusic.com/
http://www.pointlycos.com/
http://www.cqkmusic.com/
http://www.guitarsite.com/
http://www.steelguitarcanada.com/
http://www.mtv.com/
http://www.compass.com/
http://www.rocknrollvault.com/
http://www.music.indiana.edu.com/
http://www.imusic.com/
http://www.civilwarmusic.net/
http://www.webprimitives.com/
http://www.classical.net/
http://www.allmusic.com/
http://www.classicalmusic.co.uk/
http://www.classicalusa.com/
http://www.tunes.com/
http://www.columbiahouse.com/
http://www.mp3grand.com/
http://www.irish-music.net/
http://www.iuma.com/
http://www.worldrecords.com/
http://www.contemplator.com/
http://www.humaracd.com/



E-GREETINGS


http://www.123greetings.com/
http://www.clubgreetings.com/
http://www.archiesonline.com/
http://www.hallmark.com/
http://www.cardbymail.com/
http://www.dgreetings.com/
http://www.bluemountain.com/
http://www.castlemountain.com/
http://www.bharathgreetings.com/



CRICKET



http://www.total-cricket.com/
http://www.cricket.org/
http://www.go4cricket.com/
http://www.khel.com/
http://www.cricket.org/
http://www.cricketnyou.com/
http://www.clickcricket.com/
http://www.thatscricket.com/
http://www.magiccricket.com/
http://www.cricketline.com/
http://www.yehhaicricket.com/
http://www.cricketnext.com/



GAMES


http://www.abc.go.com/
http://www.psygnosis.com/
http://www.hasbrointeractive.com/
http://www.mindspace.com/
http://www.nazaragames.com/
www.microsoft.com/games
http://www.shockblitz.com/
http://www.simthemepark.com/
http://www.gamesdomain.com/
http://www.indiagames.com/
http://www.gamesville.com/
http://www.lycoszone.com/
http://www.leftfoot.com/
http://www.usacoop.com/
http://www.funbrain.com/
http://www.blakkat.com/
http://www.moonme.com/
http://www.nintendo.com/
http://www.gungames.com/
http://www.gamepen.com/
http://www.huronline.com/
http://www.gamesdomain.com/
http://www.komando.com/
http://www.mortalcombat.com/
http://www.aylic.com/
http://www.leftfoot.com/
http://www.gamebot.com/
http://www.happypuppy.com/
http://www.station.sony.com/
http://www.paget.com/
http://www.avana.net/
http://www.riddler.com/
http://www.phrazzle.co.uk/
http://www.gamesdepot.com/
http://www.amo.qc.ca/
http://www.free-gaming.com/
http://www.arcadegamesonline.com/
http://www.plusmedia.com/
http://www.bytesize.com/
http://www.piginc.org/
http://www.nuclearnet.com/
http://www.diablopro.com/