I attended for CSC on 5th june, 2010
Process consists of 4 rounds.
1) Written Test
2) Just a minute
3) Technical Interview
4) HR Interview
In written test there are two papers. Aptitude (40qsns…40mins) and Technical Paper (75qsns…40mins)
Here are some of the questions.
a) WSDL b) WML c) web sphere d) web logic
2.any large single block of data stored in a database, such as a picture or sound file, which does not include record fields, and cannot be directly searched by the database’s search engine.
a) TABLE b) BLOB c) VIEW d) SCHEME
a) session memory b) bubble memory c) cache memory d) shared memory
a) LAN b) MAN c) WAN d) DMZ
5.
technologies that use radio waves to automatically identify people or objects,which is very similar to the barcode identification systems,seen in retail stores everyday.a)BLUETOOTH b) RADAR c)RSA SECURE ID d)RFID
float fl = 10.5;
double dbl = 10.5
if(fl ==dbl)
printf(“UNITED WE STAND”);
else
printf(“DIVIDE AND RULE”)
}
what is the output?
a)compilation error b)UNITED WE STAND c)DIVIDE AND RULE d)linkage error.
static int ivar = 5;
printf(“%d”,ivar–);
if(ivar)
main();
}
what is the output?
a)1 2 3 4 5 b) 5 4 3 2 1 c)5 d)compiler error:main cannot be recursive function.
{
extern int iExtern;
iExtern = 20;
printf(“%d”,iExtern);
}
what is the output?
a)2 b) 20 c)compile error d)linker error
main(){
clrscr();
printf(“%d\n\t”, clrscr());
}
what is the output?
a)100 b)10 c)compiler errord)linkage error
{
void vpointer;
char cHar = ‘g’, *cHarpointer = “GOOGLE”;
int j = 40;
vpointer = &cHar;
printf(“%c”,*(char*)vpointer);
vpointer = &j;
printf(“%d”,*(int *)vpointer);
vpointer = cHarpointer;
printf(“%s”,(char*)vpointer +3);
}
what is the output?
a)g40GLE b)g40GOOGLE c)g0GLE d)g4GOO
#define TRUE 1
#define NULL 0
main() {
if(NULL)
puts(“NULL”);
else if(FALSE)
puts(“TRUE”);
else
puts(“FALSE”);
}
what is the output?
a)NULL b)TRUE c)FALSE d)0
int i =5,j= 6, z;
printf(“%d”,i+++j);
}
what is the output?
a)13 b)12 c)11 d)compiler error
int i ;
i = accumulator();
printf(“%d”,i);
}
accumulator(){
_AX =1000
}
what is output?
a)1 b)10 c)100 d)1000
int i =0;
while(+(+i–)!= 0)
i- = i++;
printf(“%d”,i);
}
what is the output?
a)-1 b)0 c)1 d)will go in an infinite loop
int i =3;
for(; i++=0;)
printf((“%d”,i);
}
what is the output?
a)1b)2c)1 2 3d)compiler error:L value required.
int i = 10, j =20;
j = i ,j?(i,j)?i :j:j;
printf(“%d%d”,i,j);
}what is the output?
a)20 20 b)20 10 c)10 20 d)10 10
extern i;
printf(“%d\t”,i);{
int i =20;
printf(“%d\t”,i);
}
}
what is output?
a) “Extern valueof i “ 20 b)Externvalue of i”c)20d)linker Error:unresolved external symbol i
return sizeof(array/sizeof(int);}
main(){
int arr[10];
printf(“Array dimension is %d”,DIMension(arr));
}
what is output?
a)array dimension is 10 b)array dimension is 1 c) array dimension is 2 d)array dimension is 5
void swap();
int x = 45, y = 15;
swap(&x,&y);
printf(“x = %d y=%d”x,y);
}
void swap(int *a, int *b){
*a^=*b, *b^=*a, *a^ = *b;
what is the output?
a) x = 15, y =45 b)x =15, y =15 c)x =45 ,y =15 d)x =45 y = 45
int i =257;
int *iptr =&i;
printf(“%d%d”,*((char*)iptr),*((char *)iptr+1));
}
what is output?
a)1, 257 b)257 1c)0 0d)1 1
int i =300;
char *ptr = &i;
*++ptr=2;
printf(“%d”,i);
}
what is output?
a)556 b)300 c)2 d)302
main(){
char *str =”yahoo”;
char *ptr =str;
char least =127;
while(*ptr++)
least = (*ptr
printf(“%d”,least);
}
what is the output?
a)0 b)127 c)yahoo d)y
23.Declare an array of M pointers to functions returing pointers to functions returing pointers to characters.
a)(*ptr[M]()(char*(*)()); b)(char*(*)())(*ptr[M])() c)(char*(*)(*ptr[M]())(*ptr[M]() d)(char*(*)(char*()))(*ptr[M])();
int I =10, j=2;
int *ip = &I ,*jp =&j;
int k = *ip/*jp;
printf(“%d”,k);
}
what is the output?
a)2 b)5 c)10 d)compile error:unexpected end of file in comment started in line 4
char a[4] =”GOOGLE”;
printf(“%s”,a);
}
what is the output?
a)2 b) GOOGLE c) compile error: yoo mant initializers d) linkage error.
a)12 b)16 c)20 d)32
a) AND b) OR c) XOR d) NAND
a) SP is incremented and then the value is stored.
b) PC is incremented and then the value is stored.
c) PC is decremented and then the value is stored.
d) SP is decremented and then the value is stored.
a) Allocated in RAM
b) Allocated in ROM
c) Allocated in stack
d) Assigned in registers.
a) Processor serves the interrupt request after completing the execution of the current instruction.
b) processer serves the interrupt request after completing the current task.
c) processor serves the interrupt immediately.
d) processor serving the interrupt request depent deprnds upon the priority of the current task under execution.
a) To store address of TOS(top of stack)
b) To store address of next instructions to be executed
c) count the number of instructions
d) to store the base address of the stack.
a) register b) accumulator c) flag register d) flag register part of PSW (program status word)
a) NOT b) AND c) NOR d) XOR
a) port 3 b) port 2 c) port 1 d) port 0
MVI B,38H
HAPPY: MVI C, FFH
SADDY: DCR C
JNZ SADDY
DCR B
JNC HAPPY
a) 102.3 b)114.5 c)100.5 d)120
MVI B,FFH
MOV A,B
CMA
HLT
a)S = 1, Z = 0, CY = 1 b)S = 0, Z = 1, CY = 0 c) S = 1, Z = 0, CY = 0 d)S = 1, Z = 1 ,CY = 1
a) RD b) ALE c) WR d) HOLD
a) JMP b) STA c) CALL d) XCHG
39.what is defined as one subdivision of the operation performed in one clock period.
a) T- State b) Instruction Cycle c) Machine Cycle d) All of the above
LXI B, AEC4H
MOV A,C
ADD HLT
a) S = 1, CY = 0, P = 0 , AC = 1 b) S =0 , CY = 1, P = 0,AC = 1 c) S = 0, CY = 1, P = 0 , AC = 1 d) S = 0, CY = 1, P = 1 , AC = 1
MOV A,#0A5H
CLR C
RRC A
RRC A
RL A
RL A
SWAP A
a)A6 b)6A c)95 d)A5.
42.The
Pentium processor requires ———— volts.a)9 b)12 c)5 d)24
a)64 b)32 c)16 d)128.
44.K6 processor
a) Hitachi b) toshiba c) zilog d) AMD. ans: d
a)0EH b)0FH c)07H d)06H.
46.The repeated execution of a loop of code while waiting for an event to occur is called ———.The cpu is not engaged in any real productive activity during this period,and the process doesn’t progress towards completion.
a) dead lock b) busy waiting c) trap door d) none.
a) A DBMS in which there are no program or user access languages. b) A DBMS which has no cross file capabilities but is user friendly and provides user interface management. c) A DBMS which keeps its physical structure hidden from user d) none.
a) Aggregation b) atomicity c) association d) data integrity.
a) placement, placement, replacement
b) replacement, placement, placement
c) replacement, placement, replacement
d) placement, replacement, replacement
50.Trap door is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt,usually the result of an error condition.
a)true b)false.
51. Given a binary search tree,print out the nodes of the tree according to post order traversal.
4
/ \
2 5
/ \
1 3
a)3,2,1,5,4. b)1,2,3,4,5. c)1,3,2,5,4. d)5,3,1,2,4.
a)depth first search b)preorder c)breadth first search d)none.
a) 5
/ \
2 7
/
1
b) 5
/ \
6 7
c) 5
/ \
2 7
/\
1 6
d) none.
a) as full state on the stack
b) as reversible action on the stack
c) both a and b
d) none
55.which of the following involves context switch
a)previliged instruction
b)floating point exception
c)system calls
d)all
e)none
a)acknowledge
b)sequence
c)flow control
d)retransmission
a)full functional
b) multi valued
c)single valued
d)none
58)a relation schema R is in BCNF if it is in ___________and satisfies an additional constraints that for every functional dependency XY,X must be a candidate key
a)1 NF
b)2 NF
c)3 NF
d)5 NF
A) correlated ,WHERE
b) nested ,SELECT
c) correlated,SELECT
d) none
a)router b)bridge c)hub d)brouter
a)testing b)code generation c) analysys and design d)implementation
a)no connection is required
b) connection is not established before data transmission
c)before data transmission
d)none
63)a software that allows a personal computer to pretend as as computer terminal is
a) terminal adapter
b)terminal emulation
c)modem
d)none
64) super key is
a) same as primary key
b) primary key and attribute
c) same as foreign key
d) foreign key and attribute
65.In binary search tree which traversal is used for ascending order values
a) Inorder b)preorder c)post order d)none
a) CREATE INDEX roll_idx ON student, rollno;
b) CREATE INDEX roll_idx FOR student, rollno;
c) CREATE INDEX roll_idx ON student( rollno);
d) CREATE INDEX roll_idx INDEX ON student (rollno);
a. container b.component c.base d.derived
68.Which one of the following phases belongs to the compiler Back-end.
a. Lexical Analysis b.Syntax Analysis c. Optimization d.Intermediate Representation.
a. true b.false
70.Input:A is non-empty list of numbers L
Xß-infinity
For each item in the list L,do
If the item>x,then
Xß the item
Return X
X represents:-
a)largest number
b)smallest number
c)smallest negative number
d) none
a)key(A)>=key(B)
b)key(A)
c)key(A)=key(B)
d)none
a)primitive data type
b)simple data type
c)Abstract data type
d)none
a)The simplest kind of linked list is a single linked list ,which has one link per node .this link points to the next node in the list,or to a null value or emptylist if it is the last node.
b)a more sophisticated kind of linked list is a double linkedlist or two way linkedlist .Each node has two links ,one to the previous node and one to the next node.
c) in a circleLinkedList ,the first and last nodes are linked together.this can be done only for double linked list.
d) to traverse a circular linkedlist ,u begin at any node and follow the list in either direction until u return to the original node.
a) true
b) false
a)12! b)12C3 * 9C4 c)12^12 d)none
2)Price of a book increases 15% successively (2times) what is the new price of the book more compared to that of the old price:
a)32.25% b)23.34% c)36% d)39%
3)There are 3 mixtures when mixed in the ratio of 3:4:5 price was 240.When mixed with 6:4:9 price was 340.what’s the price when mixed in 5:6:8 ration price is_________
4)One question based on Venn Diagram.75 total no of students.25 don’t know typing,50 know shorthand.then question were based on find no of students dont knwing both etc.
5)One person has 2 child.At least one of them was a girl.Then the Probability that 2 of the are girl is_____
a)1/2 b)1/4 c)0.36 d)1
6)Swati when get married to jayanta her age was 3/4 th of her husband’s age.After 12 years her age became 5/6 th of her husband’s age.Then what’s the age of swati when she got married??
7)y=MAX((3x+y),(11x-y))
then what’s the value of y???
8)some passages based on them some questions.
9)Some Analogy Questions
10)Some questions based on
if f(x,0)=x+1
f(o,y)=y
f(x,y)=f(f(x,0),f(2*x-1))
then find f(1,1),f(2,3),f(3,0) etc and some relations based on this very easy
11)One question based on the average speed
12)one question based on Sudoku type, easy to attempt