Showing posts with label sisl. Show all posts
Showing posts with label sisl. Show all posts

Sunday, June 8, 2008

SISL placement paper 2

SISL placement paper 2
SISL PLACEMENT PAPER -2

1)general
2)c/unix
3)c++/motif
4)database
5)x-windows
6)ms-windows
)which of following operator can't be overloaded.
a)== b)++ c)?! d)<=
2)#include
main()
{ printf("Hello World"); }
the program prints Hello World without changing main() the o/p should
be intialisation Hello World Desruct the changes should be
a)iostream operator<<(iostream os, char*s)
os<<'intialisation'<<(Hello World) < < Destruct
b) c) d)none of the above
3)CDPATH shell variable is in(c-shell)
a) b) c) d)
4) term stickily bit is related to a)kernel
b)undeletable file c) d)none

5)semaphore variable is different from ordinary variable by
6)swap(int x,y)
{ int temp; temp=x; x=y; y=temp; } main()
{ int x=2;y=3; swap(x,y); }
after calling swap ,what are yhe values x&y?
7) static variable will be visible in
a)fn. in which they are defined
b)module " " " "
c)all the program
d)none
8)unix system is
a)multi processing b)multi processing ,multiuser c)multi processing ,multiuser,multitasking d)multiuser,multitasking
9)x.25 protocol encapsulates the follwing layers
a)network b)datalink c)physical d)all of the above e)none of the above
10)TCP/IP can work on
a)ethernet b)tokenring c)a&b d)none

11)a node has the ip address 138.50.10.7 and 138.50.10.9.But it is transmitting data from node1 to node2only. The reason may be a)a node cannot have more than one address b)class A should have second octet different c)classB " " " " " d)a,b,c
12) the OSI layer from bottom to top
13)for an application which exceeds 64k the memory model should be
a)medium b)huge c)large d)none
14)the condition required for dead lock in unix sustem is
15)set-user-id is related to (in unix)
16) bourne shell has
a)history record
17)wrong statement about c++
a)code removably
b)encapsulation of data and code
c)program easy maintenance
d)program runs faster

18)struct base {int a,b;
base();
int virtual function1(); }
struct derv1:base{ int b,c,d; derv1() int virtual function1(); }
struct derv2 : base
{int a,e; }
base::base()
{ a=2;b=3; }
derv1::derv1(){ b=5; c=10;d=11;}
base::function1()
{return(100); } derv1::function1()

SISL placement paper 1

SISL placement paper 1
SISL PLACEMENT PAPER -1

1.General
2.Unix and c
3.RDBMS
4.C++/object oriented
TCP/IP
RDBMS-----
1.What is RDBMS...Def
2.Two tables are given.In 1st table 2 columns are there.one
isEmployee no,second is salary.In second table 3 columns are there,one is employee
no,second is date,3rd is salary.
Select employee no,from table1,table 2.
How many records it will contain?.(This is somewhat difficult).
3.What is transaction?
TCP/IP:
1.X.25 protocol belongs to which layer.
2,Order all the 7 layers in sequence
3,One node has 2 IP address but data goes through only one link.What is the reason?
4,Router,Bridge,Gateway....Which one of these can not connect
two different LANS and is protocol sensitive.
5,Client sends server---reqest or demand or -----Choices are given.
1.main(argc,argv)
{ if(argc<1) printf("error"); else exit(0); }
If this program is compiled without giving any argument ,what it will print.
2.What are the static variables...def
3.What is Dynamic allocation ?
4.Dead lock condition...What may be the condition for it.
5.Semaphore variable?..def
6.Most of the Windows operating systems are....choices are given like
----a,maltitasking,multiuser,multi processing
b,only.......&......
c,only........&......
like that
7.Properties of object oriented,(just recall the name of the properties like
inheritance,....
8.A program of C++,and two questions were based on the o/p of that program.\
1, 5Q ...x windows
2, 5Q .....MS Windows
3, 7Q.....Databases
4, 20 Q....General
5, 20Q....UNIX/C
6,5Q ....OOPS
Some questions.....
1,Sticky bit concept
2,Bourne shell.,no hup concept
3,Net work layers
4,Ethernet,Token Ring Unix...(Ans is Multitasking,Multi user)
6,Windows...(ans is pseudo multitasking)
7,IP Addresses
8,Normalisation(in data basese)
9,SQL Queries
10, semaphores