Showing posts with label deshaw. Show all posts
Showing posts with label deshaw. Show all posts

Deshaw Interview Questions at Hyderabad

Deshaw Interview Questions at Hyderabad
1.What is clustered index?
2.What is non clustered index?
3.What is multi level indexing in database and what is it’s use?
4.How the relational tables are stored in the system?
5.What are the protocols u know in DLL?
6.Given 8 processors and 16 blocks of 16 mb memory then propose an architecture in which u connect them so that each processor gets TO access of minimum 16 mb memory and maximum work load is distributed?
7.A small puzzle? There are two persons and one has to send a briefcase of documents safely to other and we have one locker and key with each one. We can’t trust the person who is carrying the briefcase..this is a famous big riddle puzzle
8.What is b+ tree indexing on database?
9.What happens in b+ tree when I execute the query “insert into …”
10.Why b+ tree is preferred over other data structures?
11.Given a binary tree in which we have father/ parent field in every node We are given just pointers to two leaf nodes then find the common ancestor of those node
11.How do u allocate memory to two dimensional array using malloc?
12.How do u allocate memory to a relational table in disk when it is created?
13.He asked me some tricky question regarding something in os but I figured it out that we can get rid of that problem using virtual memory
14.Give me some examples of error correcting codes?
15.What are recoverable schedules and cascading roll back? (this is in transaction processing of databse)
Round 2
1.U are given an ascii file of 1 gb consisting of ascii codes..suggest an efficient algorithm to count the number of 1’s present in the binary representation of ascii file ?
2.Will u modify your algorithm if that would have been a file consisting of list of integers?
3.How do u think Google earns money?
4.How do u think Google search works?
If this works this way, do u think other search engines don’t work this way ? Then how google is different from other search engines?
5.What are the different kinds of CPUS?
6.Given aa-bb-cc where aa,bb,cc are some numbers .find write a c code to figure out which format of the date it represents and it should cover all possible cases?
7.What is theory of relativity?
8.What are the different kinds of file systems u know and how they are different?
9.In Unix we know the way file permissions are given but how to do this?
i just want to give written permission to a user “vinay” of a particular group and no other member of that group should have this permission ??
10.What is the input voltage to the mother-board of the CPU?
11.On which port SSL runs?
12.What is c-panel? What are the settings we need to do in it?
13.What is the packet delay time to Google server?
14.I if I have a small chip with me and if I insert into Intel processor’s deck ..can I install windows in it if yes how ? If not what about Unix?
15.Windows mobile is also having small chip in it how is it able to run windows os in it?
16.How to change file permissions in windows?
17.How files are stored on disk? (Not disk management)?
18.What are the ways to send raw bits in physical layer from source to destination?
19.How CPUS are different from GPUS? And can we run an OS on GPU if yes why? if not why?
20.He asked me a typical question regarding how are we able to access mail on other system though it is addressed to your machine because DNS can’t direct the mail to the PC where u are sitting?
21.What are the IC’s on which u have worked in DEL lab?

Deshaw Fresher Interview Questions Hyderabad

 Deshaw Fresher Interview Questions
1)Give difference between structure and union and demonstrate union uses with examples.
2)Given a triangle, how do you divide it into 5 triangles of equal area?
3)Given a linked list,find whether a loop exists in it or not,if yes then return a pointer to the start node of the loop?
4)Give a pseudo code to reverse a linked list using recursion.
5)Give a data structure using stack to implement push,pop,min as O(1) operations.
6)Given an array of integers, for each element report the corresponding nearest element greater than it and to the right side of it or a -1 if there exists no such element.
Sample: input: 4 6 2 7 5 4 6 2 output: 6 7 7 -1 6 6 -1 -1
7) Implement a stack using a queue.
8)Throw some light on TCP Handshaking.
9)Throw some light on Denial of service.
10)Give differences between HTTP and HTTPs

Deshaw Aptitude Interview questions

Deshaw Aptitude Interview questions
(1)A man bought two horses for Rs.924 each and sold one horse for
15% profit and the other for 15% loss.What is the net gain?
(2) Two pumps fill atank in 20 hrs. One pump fills the same
tank 10hrs. faster than the other pump. In what time the
other pump fills the tank?
(3) X men in Xhrs/day finish a work in x days. Y men in y hours
per day finish the work in
(a) X**2/Y**2 (b)X**3/Y**2 (c) Y**2/X**2 (d) Y**3/X**2
(4)8 men + 2 boys finish a work in 16 days.
2 men + 5 boys finish a work in 20 days. 8 men and 8 boys
finish the same work in how many days?
(5)A & B are two trains, travell from X & Y stations to Y & X
stations after crossing each other A takes 4 hrs.48 mins. to
reach Y station. B takes 3hrs.20 mins. to reach X station.
The speed A is 45kmph. Speed of B is ?

DESHAW PROGRAMMING INTERVIEW Questions

DESHAW PROGRAMMING INTERVIEW QUESTIONS
1. To display the contents of a executable file the following
command can be used
(a) cat (b) od (c) vi (d) ed ans : b
2. Assume the current directory contains 10 files and does'nt
contain 'temp'. What will be the output of the follwing
commands?
$ls > temp
$wc -l temp
(a) 9 (b) 10 (c) 11 (d) undefined. ans : b *c
3. If one wants the output of one command( command1) to be
printed inthe printer as well as to be added to another file
(outfile) which one of the following is a currect command
he can give?
(a) $command1 >>outfile|tee lpr
(b) $tee -a command1 | lpr
(c) $ command1 | tee outfile | lpr
(d) $ command | tee -a outfile |lpr ans : d
(4) In the shell program set -x will cause
A. Execution of the commands in the background
B. Execution of the commands in verbose mode
C. Exit from the shell program.
D. Exit from the shell program after executing the next command
ans:b
(5) ACL in UNIX refers to
A. Acces Control List
B. Action Control List
C. Application Command Language
D. Advanced C lanuage
ans a:
(6) The command echo*
A. will print * on the screen
B. will print contents of all the files in the current
directory
C. will list the files in the current directory
D. will print the contents of all shell variables
ans c:
(7) ls || date will
A. print the name of the files in the current directory
B. print today's date and time
C. (A) followed by (B)
D. none of the above
ans : a
(8) The built-in shell variable $$ refers to
A. printing numbers in dollar format
B. proces id_ of last command
C. proces id_ of last background command issued
D. proces-id of current shell
ans :d
(9) dd is mainly used for
A. dealing with raw, unformated data, whatever the source
B. dealing with data dictionary
C. deleting a directory
D. none of the above
ans :d
(10) vis in UNIX is
A. a command that takes only one input
B. a command for deleting strange or unwanted charectors that
may have crept into files.
C. points non-printable characters in understandable format
D. all of the above
(11) Which of the following is true regarding the UNIX
(i) Multiuser Operating System
(ii)Multitasking Operating System
(iii) Real timing Operating System
A. i only B. i and ii only C. i and ii and iii only
D. i and ii
ans : a
(12) ln command is used to
A. link object codes into a executable code
B. give two names to the same file
C. set line numbers for the file
D. none of the above
ans : b
(13) nohup command is used for
A. protecting the execution of programmes from aborting when
hangup signal is received
B. changing the execution priority of the programes
C. not hanging up of the modem
D. disconnecting a node from the system
ans : a
(14) SCCS is a
A. Tool for maintaining large programmes in a production
environment
B. Communication Protocol
C. Shell Programming Language
D. String processing utility
ans : a
(15) Which one of the following is true as long as UNIX is
concerned
A. One can do programming in C only
B. It can support terminals capable of printing only uppercase
characters
C. The text files are sorted as it is in MS-DOS
D. None of the above
ans: d
(16) Inside vi editor to replace the string 10/$$/92 with
10/$$/92 globally the following command can be used
A. :1,$ s/\/10\/\$\/94/10\/\$\$\/92/g
B. :1,$ s/\/10\/\$\/94/10\/\$\/$92/
C. :s10/$$/92/10/$$/92/g
D. :1,$ s/\/10\/$\/94/10\/$$\/92/g
**** ans : d
(17) The ed command without any argument
A. will print the current working directory
B. will make the home directory as current directory
C. will ask for the directory to be used as the current
directory
D. will go to the previous directory
(18) nice command is used
A. to increase/decrease execution priority of a command
B. to compress a file
C. to run a programme at latter time
D. to set the key board responce slower
ans : a
(19) What will be the output of the following command sequence
$ x='I am x'
$sh
$echo $x
A. I am x B. Blank line C. x D. None of the above
ans :b
(20) The command tr a-z 0-9 < x
A. converts all the digits to lowercase alphabets
B. converts all the lowercase alphabets to digits
C. will give syntax error
D. none of the above
ans :d