Provided by www.YuvaJobs.com - BlueStar Whole Testpaper BLUE STAR INFOTECH  Question Papers 4 2004/*****************BLUE STAR BIT,MESRA 2004****************/there were two sections A and Bsection A was mandatorysection B contained 4 parts. u have to solve problems of any two parts/******************Section ,a,*******************************/20 questions were asked1.configuration of an UART in serail communication hasa.clock signalb.baud rate,stop bit,data lengthc.bothd.none2.deadlock happens when two process waiting for the resources used by each other in this conditiona.both process knows that they are waiting for each otherb.one process knows that other is waitingc.both a and bd.none3.physical memory location in running program is resolved bya.linkerb.compilerc.loaderd.none4.task switching is switching betweena.processb.threadsc.concurrent part in same progarmd.all5.in 2-pass compilera.identifier can be used without its declarationb.indentifier should be declared before its first use.c.bothd.none6.difference between functional/ordinary SDLC and object-oriented SDLC isa.in functional SDLC the develpoment time is more than design timeb.in object oriented SDLC ,design time is more than development time.c.bothd.none7.which of the following is not a bus-interface for a microprocessora.ISAb.AGPc.PCId.ICE8.which of the following statement are true for structurea. a structure can contain a pointer to itself.b. structure can be comparedc.bothd.none9.which is not defined as codd,s rule of RDBMSa.comprehensive data sub language ruleb.view updates.c.physical data dependencyd.integrity dependency10.encryption meansa.text to cipherb.cipher to textc.d.11. in microprocessor over clocking will result ina.overheatingb.malfunctioningc.d.12.cache isa..ROMb.RAMc.PROMd.EPROM13.unix os implements two types of pipes ,one is formatted and other isa.low level pipesb.high level pipesc.middle level pipesd.none/*******************section B ********************************/-------part A (c and unix, 10 questions were asked)-----------1.void main(){extern int a;a=10;printf("%d",sizeof(a));}willa. give linker error- a not definedb. print 10c. give compiler error2.int a[10];a[0]=12;a[12]=17;printf("%d,%d",a[0],a[12]);will compiler show any error?3.socket() is aa.system callb. library functionc.bothd. none4.the parameter of sizeof operatror isa.data typeb.variablec.bothd.none5.the argument of switch command is of typea.characterb.integerc.bothd.all of the above6.-------part b(c++ ,10 question)------1. differance between pointer and referance2.inheritance of a class is relationship likea. IS A(answer)b. HAS Ac.d.3.In c++ differance between structure and classa.b.c.d.access specifier (answer)4.default parameter implies5.guidelines: have a command on these topicsvirtual functonmultiple inheritance( 2 questions)operator overloading   Provided by www.YuvaJobs.com - BlueStar Whole Testpaper