C++ paper:
1.cin is an
a.function
b.object
c.class.
2.i con't remember the ques but the ans is Virtual base class
3.what is the use of scope resolution operator?
4.advantage of inline function?
5.copy constructor is
ans:call by value.
6.ques on vertual destructor?
7.template one ques?
8.one q' on container class?
The order above may be different. There r totally 15 ques its very easy
to ans'r.
C paper:
1.How will u terminate the statement?
ans: ;
2.select the wrong one
a.a+=1;
b.a*=2;
c.a**=1;(ans)
d.a>>=1;
3.
main()
{
int n,i=1;
switch(n)
{
case 1:
some stuff;
case 2:
some stuff;
default:
i=10;
}
printf("i=%d",i);
}
what will be value of i;
ans:non of the above
4.pick ut the wrong one
#typedef some stuff
{
---
};
5.one q's on do loop?
6.pick the odd one
a.malloc
b.calloc
c.new(ans)
7. char *ptr;
p=malloc(20);
How will u de allocate the memory?
a.delete.
b.free.
There r about 20 q's in this section rest i am un able to remember?
UNIX paper:
1.ans:script
2.How will u do version maintaince?
sccs(source code control system)
3.awk $2
4.a program in shell script?
find the o/p.
5.which signal u can't catch?
ans:sigkill
6.core dump is due to ?
ans:segmentation fault.
7.echo "todays date is 'date'";
o/p = ?
8.process synchronisation is done by ?
ans:s'phore
There r totally 15 in this section rest r easy to answer.
1.cin is an
a.function
b.object
c.class.
2.i con't remember the ques but the ans is Virtual base class
3.what is the use of scope resolution operator?
4.advantage of inline function?
5.copy constructor is
ans:call by value.
6.ques on vertual destructor?
7.template one ques?
8.one q' on container class?
The order above may be different. There r totally 15 ques its very easy
to ans'r.
C paper:
1.How will u terminate the statement?
ans: ;
2.select the wrong one
a.a+=1;
b.a*=2;
c.a**=1;(ans)
d.a>>=1;
3.
main()
{
int n,i=1;
switch(n)
{
case 1:
some stuff;
case 2:
some stuff;
default:
i=10;
}
printf("i=%d",i);
}
what will be value of i;
ans:non of the above
4.pick ut the wrong one
#typedef some stuff
{
---
};
5.one q's on do loop?
6.pick the odd one
a.malloc
b.calloc
c.new(ans)
7. char *ptr;
p=malloc(20);
How will u de allocate the memory?
a.delete.
b.free.
There r about 20 q's in this section rest i am un able to remember?
UNIX paper:
1.ans:script
2.How will u do version maintaince?
sccs(source code control system)
3.awk $2
4.a program in shell script?
find the o/p.
5.which signal u can't catch?
ans:sigkill
6.core dump is due to ?
ans:segmentation fault.
7.echo "todays date is 'date'";
o/p = ?
8.process synchronisation is done by ?
ans:s'phore
There r totally 15 in this section rest r easy to answer.
No comments:
Post a Comment