Blue Star
/*****************BLUE STAR BIT,MESRA 2004****************/
there were two sections A and B
section A was mandatory
section B contained 4 parts. u have to solve problems of any two parts
/******************Section 'a'*******************************/
20 questions were asked
1.configuration of an UART in serail communication has
a.clock signal
b.baud rate,stop bit,data length
c.both
d.none
2.deadlock happens when two process waiting for the resources used by each
other in this condition
a.both process knows that they are waiting for each other
b.one process knows that other is waiting
c.both a and b
d.none
3.physical memory location in running program is resolved by
a.linker
b.compiler
c.loader
d.none
4.task switching is switching between
a.process
b.threads
c.concurrent part in same progarm
d.all
5.in 2-pass compiler
a.identifier can be used without its declaration
b.indentifier should be declared before its first use.
c.both
d.none
6.difference between functional/ordinary SDLC and object-oriented SDLC is
a.in functional SDLC the develpoment time is more than design time
b.in object oriented SDLC ,design time is more than development time.
c.both
d.none
7.which of the following is not a bus-interface for a microprocessor
a.ISA
b.AGP
c.PCI
d.ICE
8.which of the following statement are true for structure
a. a structure can contain a pointer to itself.
b. structure can be compared
c.both
d.none
9.which is not defined as codd's rule of RDBMS
a.comprehensive data sub language rule
b.view updates.
c.physical data dependency
d.integrity dependency
10.encryption means
a.text to cipher
b.cipher to text
c.
d.
11. in microprocessor over clocking will result in
a.overheating
b.malfunctioning
c.
d.
12.cache is
a..ROM
b.RAM
c.PROM
d.EPROM
13.unix os implements two types of pipes ,one is formatted and other is
a.low level pipes
b.high level pipes
c.middle level pipes
d.none
/*******************section B ********************************/
-------part A (c and unix, 10 questions were asked)-----------
1.void main()
{
extern int a;
a=10;
printf("%d",sizeof(a));
}
will
a. give linker error- a not defined
b. print 10
c. give compiler error
2.int a[10];
a[0]=12;
a[12]=17;
printf("%d,%d",a[0],a[12]);
will compiler show any error?
3.socket() is a
a.system call
b. library function
c.both
d. none
4.the parameter of sizeof operatror is
a.data type
b.variable
c.both
d.none
5.the argument of switch command is of type
a.character
b.integer
c.both
d.all of the above
6.
-------part b(c++ ,10 question)------
1. differance between pointer and referance
2.inheritance of a class is relationship like
a. IS A(answer)
b. HAS A
c.
d.
3.In c++ differance between structure and class
a.
b.
c.
d.access specifier (answer)
4.default parameter implies
5.
guidelines: have a command on these topics
virtual functon
multiple inheritance( 2 questions)
operator overloading
|