siemens info. system LTD placement paper
SIEMENS INFORMATION SYSTEMS LTD
WRITTEN TEST:
The written test consists of 50 questions divided into 6 sections to be completed in 40 minutes. The questions are technical based; you can expect to be tested on DBMS, C++, C, Unix, Motif, x-windows, MS-Windows. The test is a multiple based one and is not tough. The questions can be answered easily in 40 minutes provided you have some knowledge about the subjects.
INTERVIEW:
The test is followed by a Technical and a HR interview. The technical interview is highly specialized and covers almost all subjects you have done in your curriculum. However one is required to name his/her favorite subject on which most of the interview is focused. For Computer Engineers C, Operating Systems, DBMS, Microprocessors are mostly focused upon. Electronics Engineers are grilled upon DCLD, Microprocessors and Communications. For details on the frequently asked questions please refer to our interview Section. The HR interview, which follows the technical interview, is very general. In most cases questions regarding the company are asked.
TEST PAPERS:
Siemens-1:
THIS PAPER CONSISTS 6 PARTS. All are multiple choice questions
1) General
2) C/Unix
3) C++/motif
4) Database
5) X-Windows
6) MS-Windows
We have written q's not acc. to each part. Total 50 questions. Time is sufficient. Paper
1) 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
Destruct
the changes should be
a) iostream operator<<(iostream os, char*s)
os<<'intialisation'<<(Hello World)<
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 the values of 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, multi-user
c) multi processing, multi-user, multitasking d) multi-user, multitasking
9) x.25 protocol encapsulates the following 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) token ring 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 node 2 only. The reason may be
a) a node cannot have more than one address
b) class A should have second octet different
c) class B " " " " "
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 system is
15) set-user-id is related to (in UNIX)
16) bourne shell has
a) history record b) c) d)
17) Wrong statement about c++
a) code removable 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 ()
{
return (200);
}
main ()
base ba;
derv1 d1, d2;
printf ("%d %d", d1.a, d1.b)
o/p is
a)a=2;b=3; b)a=3; b=2; c)a=5; b=10; d) none
19) For the above program answer the following q's
main ()
base da;
derv1 d1;
derv2 d2;
printf ("%d %d %d", da.function1 (), d1.function1 (), d2.function1 ());
o/p is
a) 100, 200, 200; b) 200, 100, 200; c) 200, 200, 100; d) none
20) struct {
int x;
int y;
} abc;
You can not access x by the following
1) abc-- x;
2) abc [0]-- x;
abc.x;
(abc)-- x;
a) 1, 2, 3 b )2 & 3 c) 1 & 2 d) 1, 3, 4
21) Automatic variables are destroyed after fn. ends because
a) stored in swap b) stored in stack and popped out after fn. returns
c) stored in data area d) stored in disk
22) Relation between x-application and x-server (x-win)
23) UIL (user interface language) (x-win)
24) Which is right in ms-windows
a) application has single q-value system has multiple q-value
b) " multiple " " single "
c) " " " multiple "
d) none
25) Widget in x-windows is
26) Gadget in x_windows is
27) Variable DESTDIR in make program is accessed as
a) $(DESTDIR) b) ${DESTDIR} c) DESTDIR d) DESTDIR
28) The keystroke mouse entire are interpreted in MS Windows as
a) interrupt b) message c) event d) none of the above
29) Link between program and out side world (ms -win)
a) device driver and hardware disk b) application and device driver
c) application and hardware device d) none
30) MS -Windows is
a) multitasking b) c) d)
31) Dynamic scoping is
32) After logout the process still runs in the background by giving
the command
a) nohop b)
33) Process dies out but still waits
a) exit b) wakeup c) zombie d) steep
34) In dynamic memory allocation we use
a) doubly linked list b) circularly linked c) B trees d) L trees e) none
35) To find the key of search the data structure is
a) hask key b) trees c) linked lists d) records
36) Data base
--------------------------
--------------------------------
employ_code salary employ_code leave
---------------------------
----------------------------------
from to
--------------------------------------
1236 1500 1238 --- ---
1237 2000 1238 --- ---
1238 2500 1237 ---
-----
1237 --- ---
1237 --- ---
1237 --- ---
-------------------------- --------------------------------------
select employ_code, employ_data, leave the number of rows in the o/p
a) 18 b) 6 c) 7 d) 3
37) DBMS
38) Read about SQL, db
39) Which is true
a) bridge connects dissimilar LAN and protocol insensitive b) router " " " " "
c) gateway " " " " " d) none of the above
40) Read types of tree traversals.
41) 42) 43) simple programs on pointers in c
Siemens-2:
All are multiple choice questions.60 questions to be answered in 60 mins.
Distribution of questions:
10 questions from data structures and some general topics.
10 questions from Unix and C.
7Questions from Database.
Remaining from Windows (x windows, MS Windows etc..)
The distribution is not exact. Only approximate.
Totally there are six sections as below:
1. General
2. Unix and c
3. RDBMS
4. C++/object oriented
5. TCP/IP
6.
The questions are as follows:
RDBMS-
1. What is RDBMS?
2. Two tables are given. In 1st table 2 columns are there. One is Employee 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 cannot connect two different LANS and is protocol sensitive?
5,Client sends server---request or demand or -----Choices are given.
Another section...
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?
3.What is Dynamic allocation?
4. Dead lock condition...What may be the condition for it?
5. Semaphore variable?
6. Most of the Windows operating systems are....choices are given like
a) multitasking, multi-user, multi processing b) only.......&......
c) only........&......
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.
Sections...
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
5. Unix...(Ans: Multitasking, Multi user)
6,Windows...(Ans: pseudo multitasking)
7. IP Addresses
8. Normalization (in data bases)
9. SQL Queries
10. Semaphores
