Professional Documents
Culture Documents
1 - 1
- 1
1 map
Qn. on pointers .
16) given page table,page size and offset find the corresponding
physical address ?
ans : a (3*1024+576) (pageno*pagesize+offset)
17) In a memory chip 4k size and 16bit words to be stored. No of
address and data lines reqd.
Ans) 16 data and 12 address
18)
1)
2)
3)
4)
19)
a)
b)
c)
d)
20) ARP
a) MAC to IP
b) IP to MAC
c)
Ans : b
21) Qn on Balanced tree ? A balanced tree is given and a node is addded
at the leaf and asked to find the no of unbalanced nodes?
22) order of Hashing time
a) 0(1)
b) 0(n2)
4) parse tree
= pipelining
-DBETXXXXXX
- density
4. print (Head(T))
Traverse(left(T))
print (Head(T))
Traverse(right(T))
- ans : a + e
7. LRU : 1, 2, 3.
8. Tr. Delay - 10000 bits ans. 10.01
9. Grammar of Number of shift / reduce operator : ans. 4
- deallocate resource
Part 2.
1. From a vessel on the first day, 1/3rd of the liquid
evaporates. On the second day 3/4th of the remaining liquid
evaporates. what fraction of the volume is present at the end of
the II day.
2. an orange galss has orange juice. and white glass has apple
juice. Bothe equal volume 50ml of the orange juice is taken and
poured into the apple juice. 50ml from the white glass is poured
into the orange glass. Of the two quantities, the amount of
apple juice in the orange glass and the amount of orange juice in
the white glass, which one is greater and by how much?
3. there is a 4 inch cube painted on all sides. this is cut
into no of 1 inch cubes. what is the no of cubes which have no
pointed sides.
4. sam and mala have a conversation. sam says i am vertainly not
over 40. mala says i am 38 and you are atleast 5 years older
than me. Now sam says you are atleast 39. all the sattements by
the two are false. How hold are they realy.
5. ram singh goes to his office in the city, every day from his
suburbun house. his driver mangaram drops him at the railway
station in the morning and picks him up in the evening. Every
evening ram singh reaches the station at 5 o'clock. mangaram
also reaches at the same time. one day ramsingh started early
from his office and came to the station at 4 o'clock. not
wanting to wait for the car he starts walking home. Mangaram
starts at normal time, picks him up on the way and takes him back
house, half an hour early. how much time did ram singh walk.
6. in a railway station, there are tow trains going. One in the
harbour line and one in the main line, each having a frequency of
10 minutes. the main line service starts at 5 o'clock. the
harbour line starts at 5.02a.m. a man goes to the station every
day to catch the first train. what is the probability of man
catchinhg the first train
7. some people went for vaction. unfortunately it rained for 13
days when they were there. but whenever it rained in the
morning, they had clean afternood and vice versa. In all they
enjoyed 11 morning and 12 afternoons. how many days did they
stay there totally
8. exalator problem repeat
9. a survey was taken among 100 people to firn their preference
of watching t.v. programmes. there are 3 channels. given no of
people who watch
at least channel 1
"
"
2
"
"
3
no channels at all
atleast channels 1and 3
"
"
1 and 2
"
"
2 and 3
find the no of people who watched all three.
10. albert and fernandes they have two leg swimming race. both
start from opposite and of the pool. On the first leg, the boys
pass each other at 18 mt from the deep end of the pool. during
the II leg they pass at 10 mt from the shallow end of the pool.
Both go at const speed. but one of them is faster. each boy
rests for 4 sec to see at the end of the i leg. what is the
length of the pool.
11. T H I S
I S
-------------X F X X
X X U X
-------------X X N X X
--------------
1.
2.
3.
8.
150
60 kmph
Mukherjee
today is tuesday
Verifone Interview.
Here, we had three single man panels. They are seeing the subjects
taken and asking questions in that mainly. They didn't go deep into
any subject and they were just asking overview. When they catch any
new word they are asking about it.
These are some of the questions asked to us.(not to a single person.)
What is a finite Automata.
what is a turing machine.
how many processors are there in a pentium microprocessor. in Sparc.
difference between risc and cisc.
is risc always fast.
what is a real time system.
name some real time OS
what are the characteristics of Real time OS.
is DOS a real time OS.
what is a kernel,shell.
: 15 Minutes, 20 Questions
8. A question on sets.
There are some 20 Basketball players & 30 Football players,
and 25 cricket players. 1 of them plays all the three games.
8 of them plays atleast two games. They are 50 altogether.
How many of them plays none of the games.
9. A question on directions.
B is 20 miles east of A. D is 30 miles east of C. E is 10 miles
north of D. C is 20 miles north of B. How far E is from A?
Some 3 questions on Reasoning like,
10. If you say that giving stock options to employees increases the
productivity of the company, which of the following sentences
support it.
A) Giving stock options increases the morale of the employees
..
..
etc.,
11. Gamblers comes to the Amusement parks. There are some Amusement
parks in each city. There are some gamblers in each city. So
what can you infer.
A) Amusement park always have gamblers.
..
..
etc.,
2. Technical Questions.
i. Electrical & Electronics
: 15 Questions
1.A Circuit with nand gates. (ans. may be XOR)
2.CMRR. relates to (options not in order)
voltage follower
non invering amplifier
inverting amplifier
integrator
3. Given a circuit , give the ouput.
(ans. may be triangular wave.)
4. o/p of an assembly code.
mulitply by 11.
5. how to handle asynchronous events.
a) polling
b) interrrupt
etc.
ii)Data Structures, Algo., & Complexity theory : 5 questions
iii) OS : 5 questions
iv) Networks and Hardware: 5 questions
v) Databases and Misc.: 5 questions
vi) C Pgm. : 5 questions
some more 10 questions.
1. if W is a sequence of strings without a and W' is its reversal
then WaW' is accepted by:
Context Free Grammmars
21. Messages are transferred in some E71 code, where after 7 bits of data,
1 bit of stopping data is to be transferred. what should be done.
options were like
a) send directly
b) send after encoding
etc.
22. There are three processes A, B, C. A sends data to B. B removes the
header stores it and sends the data to C. C returns it to B. B receives the
message, identifies the message and adds the header that was stored and
sends to A.B receives the messages from C such that atmost 'm' messages
B
are pending.
Identify the best Data Structure.
23. A question in compiler about the heap and stack allocation of memory.
24. struct
{
char a[3];
int b;
}x;
char *cp;
a) size of x is 7.
B
b)
c)
d) cp takes the size of a pointer.
(d ) is the ans.
I am sending format of ORACLE. I just sent you Verifone(some questions)
ORACLE
-----section 2:
1. what is sparese matrices?. give (at least) two methods for implemetation
rather than two dimentional array.
2.what are cheap locks/latches?.
3.what is two phase locking?. Name two locks.
4. What are volatile variables in C?. What is their significance ?.
5. will these two work in same manner
#define intp int *
typedef int * inpp;
6. what are binary trees?. what is its use?.
7.
section 3 :
A). write header file containing functions used, etc (C),
problem is to maitain a Queue. user has to give size and type of Queue.
This problem is like this I don't remember exactly.
B). C++
1. What is polymorphism?
2. What is Inheritence?.
3. Mention four Object Oriented Programming Languages?>
4. Mention basic concepts of OOP.
5. What are messages in OOP?.
6. What is garbase collection?.
7.what is object?.
8. what is a class?.
section 4:
1. expand the following:
a.SEI b. ISO
2. what are different levels of SEI?.
3. What is significance of ISO?>
4. Expand the following:
a. WWW
b. HTTP
c. HTML
d. TCP/IP
5. what is Black box testing?.
6. explain the following:
1. white box testing
2. white box testing
3. boundary testing
4 stress
5. negative
6. system
7. unit
8.module
9.destructive
INFOSYS
--------
1 2 3 4
+ 3 4 5 5
---------4 6 8 9
- 2 3 4 5
---------2 3 4 4
+ 1 2 5 4
-----------3 6 9 8
Q) Strike off any digit from each number in seven rows (need not
be at same place) and combine the same operations with 3 digit numbers
to get the same addition. After this strike off another digit from all
and add all the No.s to get the same 2 digit No. perform the same
process again with 1 digit No.s. Give the ' no.s in 7 rows at
each stage.
3) there is a safe with a 5 digit No. The 4th digit is 4 greater than
second digit, while 3rd digit is 3 less than 2nd digit. The 1st digit
is thrice the last digit. There are 3 pairs whose sum is 11. Find
the number. Ans) 65292.
4) there are 2 guards Bal and Pal walking on the side of a wall of a
wearhouse(12m X 11m) in opposite directions. They meet at a point and
Bal says to Pal " See you again in the other side". After a few moments
of walking Bal decides to go back for a smoke but he changes his
direction again to his previous one after 10 minutes of walking in
the other(opposite) direction remembering that Pal will be waiting
for to meet.If Bal and Pal walk 8 and 11 feet respectively, how
much distance they would have travelled before meeting again.
5)
xxx)xxxxx(xxx
3xx
------xxx
x3x
-----xxx
3xx
------
------------------------------------------------------------------------SIEMENS INFO
-----------------------------------------------------------------------THIS PAPER CONSISTS 6 PARTS.
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. q's. time is
sufficient.
if u have basic idea about all of the u can easily answer the paper.
paper
-----1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<=
2)#include<iostream.h>
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
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 poped 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 qvalue system has multiple qvalue
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 entrie 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)dynimic 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 waita
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
1237
2000
1238
2500
-----
1238
1238
1237
-------
-----
1237
----1237
----1237
------------------------------------------
_____________________________________________________________________
BEST OF LUCK
printf("%d ",x);
ANS=8;
12.
int a[]={0,0X4,4,9};
int i=2;
printf("%d %d",a[i],i[a]);
what is the value???
(may be error)
13.
some other program is given , I can't remember it
U can get it afterwads,
the answer is 3 3, so U can check this in the exam. itself.
I'll send the remaining two afterwars whenever I get them. OK !
14.
-------------------------------------------------------------------------
-----------------------------------------------------------------MASCOT
------------------------------------------------------------------this test contains 2 papers
paper1=aptitude-30min-44questions
contains 3 sections
paper2=computer skill-30min-60questions-6sections-10questions each
------paper1
------section1
--------i do not remember the q's.simple quantitative apt. q's.
but takes more time ,do fast.
section2
-------1-8 q's on bus route.
a b c d
e
a x 8 15 20 7
b 6 x 9 13 21
c 10 12 x 3
11
d 9 1 18 x
5
e 3 4 17 14 x
where x is starting point.a&e are first and last stations.and b,c,d
are intermediate stations. fig's are no. of passengers.cost of ticket
is 0.7Rs /pass.
between any successive stations. based on this few q's were given.
the fig's
are not correct. q's like total no.of pass.in onward journey.
Rest of q's are
2 statements were given. u have to answer they are correct or not
.littlebit
easy.
section3
-------simple q's from r.s agarwal_quantitative apt.
1.1/10power18 - 1/10power20 .....value?
2.pipes-leaking-cisterns.
paper2
-----------1.general awareness.2.
1.father of computers
2.expand HTML,DMA,FAT,LAN,WAN,FDDetc
3.intel's first micropro...a.pentium b.pentiumproetc
4.1024(dec)convert to hexa&octal
5.first micro.pro.a)8085b)8088etc
6.motorola's processor name?
7.windows_NT expand
8.simple programs on pascal&c
9.diff between 8087,8086 (which is latest vers.)
10.some basic q's on GUI.
11.q's on IBMpc
12.one program on finding factorial
-------------------------------i remember only these q's. i will ask my pals about rest of q's.i
want to know
when mascot is coming.they have taken 14 from here. most of them are
mech.&ime.
--------------------------------------------------______________________________________________
TISL
_______________________________________
I know some 25 questions.
The technical comprises of 50 questions on C,Unix and windows.
1.const char *
char * const
What is the differnce between the above tow?.
2.In Unix inter process communication take place using?.
3.What are the files in /etc directory?.
4.About i-node numbers
5.Max relaxable permisssion value with out giving write permission
to others?.
6.About ln(linking)
7.A question on until
until (who |grep mary)
do
sleep(60)
done
8.Linking across directories?.
9.process id for kernell process
10.very first process created by kernell
11.function to repaint a window immediately?.
12.Function entry for DLL in win3.1
13.win 3.1 is a
14.win 3.1 supports which type of multi tasking?.
15.Message displayed when a window is destroyed
16.About fork()?
17.About send message and post message
18.Message to limit the size of window
19.System call executable binary file intoa process
20.About GDI object?.
21.API used to hide window
22.Initialize contents of a dialog?.
_____________________________________________________________________
-----------------------------------------------------------------VERIFONE
----------------------------------------------------------------there will be 45 qstns. 15+5+5+5+5+5+5.
section: electronics:
1.a logic ckt is given and asked to identify the configuration.
ans: XOR.
2.multi vibrator with nor gates is given
ans: astable multi sqr wave opt.
3.4 stage ripple counter with delay(f/f) 10msec. How much time it takes
for a state to change. 4*10=40.
4.impedence of a p'lel resonant circiut at resonance:R.
5.serial to parellel conversion is done by ans:shift register.
5.if the address bus id 20bits.then the memory space is 1Mb.
6.filtering can be done with:capacitor,iductor,both,none.
7.the config that is worst effected by low CMMR
ans:Non inverting amplifier.
8.two progs are given. one satrts counting frm 0 to MAX and the other
stars frm MAX to 0. which one executes fast.may be Max to 0.Think of.it
should be.
another 6 qstns are there. simple.
Networks:
1.
the fctn of datalink layer is:bit stuffing.
2.which of the following is not fctn of datalink layer: Encription.
3.voltage levels of rs232x:+12,-12.
4.which of the following is not used for client/server.
RPC,TCP/IP,MESSAGEQs None ans:may be none.
5.
database:
1. which of the following is true.
ans:the primary key in DataBAse design is very important.
2. SQL is a Non procedural query langauge.
3.
4
5.
compiler/algo/ds:
1.Data structure used to impliment a menu: doubly linked circular linked
list.
2. some regular expression is given:WaW'.may be it is context free grammar.
3.,4,5.
os:
1.the feature of real time os is: fast context swithing.
2.os impliments protection with the help of hardware(like virtual
chigu.
DE-Shaw Software,Hyderabad.
--------------------------SECTION-A
you should write the programs for the following problems in C.
1. swapping two variables x,y without using a temporary variable.
2. a program has been given asking to find the output
ans. it is algorithm for finding G.C.D
3. write a program for reversing the given string.
4. the integers from 1 to n are stored in an array in a random
fashion. but one integer is missing. write a program to find the
missing integer.
ans. idea. the sum of n natural numbers is = n(n+1)/2.
if we subtract the above sum from the sum of all the
numbers in the array , the result is nothing but the
missing number.
5. some bit type of questions has been given on pointers asking to
to find whether it is correct from syntax point of view. and if
it is correct explain what it will do.(around 15 bits).
SECTION-B
ANSWER AS MANY AS POSSIBLE.
6.& 7. two programs on pre-processor directions has been given asking
to find the output.
8. simple question given on pointer
a) kernighan & richie page no. 122
b) schaum series page no. 323
try to understand the pointer problems given here he asked to
explain
in the interview if answer it in exam.
9. write a c program to find whether a stack is progressing in forward
or reverse direction.
10. write a c program that reverses the linked list.
GUIDELINES:
the interview is very tough he is asking to do the problems in
front of him. he is also giving some new problems to solve before
him.
you should have a very good funda of C language.
From iit-kgp only two 2 students have been selected.
}
Ans : 3267
---------------------------------------------7) If A>B then
F=F(G);
else B>C then
F=G(G);
in this , for 75% times A>B and 25% times B>C then,is 10000
instructions
are there ,then the ratio of F to G
[a] 7500:2500 [b] 7500:625 [c] 7500:625 if a=b=c else
7500:2500
---------------------------------------------4) question (3) in old paper
5) q(4) in old paper
6) question (7) in old paper
7) q(9) in old paper
------------------------------
is
is
is
is
a Real-Time System ?
the difference between Hard and Soft real-time systems ?
a mission critical system ?
the important aspect of a real-time system ?