You are on page 1of 9

wipro

http://www.freshersworld.com/placementweek/showpaper.asp?
cid=118&pid=501&pgcount=1&prio=5
http://www.freshersworld.com/placementweek/showpaper.asp?
cid=118&pid=502&pgcount=1&prio=6
http://www.vyoms.com/placement-papers/details/wipro-technologies-placement-paper-2009-
6515.asp
http://www.freshersworld.com/placementweek/showpaper.asp?
cid=118&pid=496&pgcount=1&prio=7
http://www.freshersworld.com/placementweek/showpaper.asp?
cid=118&pid=8940&pgcount=1&prio=9

http://previouspapers.blogspot.com/2008/03/wipro-latest-placement-paper-5.html
http://previouspapers.blogspot.com/2008/03/wipro-latest-placement-paper-3.html

Wipro Technical Interview:

1.Tell me about yourself


(A brief description of yourself followed by what your technical skills are)
2.I’ll first ask some questions on Software Engineering, followed by those in C and then about
your projects.
(Though I didn’t mention SE in my resume nor did I mention any project in SE, he was keen to
ask questions in SE)
3. What are the different models of SDLC?
4. Differentiate between Spiral and Incremental model?
5. What is the disadvantage of Incremental model? Give an example to explain.
6. What do you mean by the Design phase? What are the tools that can be used in this phase?
7. Coming to C, what is hashing? Why do we use hashing and not arrays? How do we implement
a Hash table?
8. What are function pointers? Give the syntax for the same.
9. Why do we use pointers in C at all?
10. You know about structures and union. Why is Union used? Give a real life example in which
you’ll use union?
11. What is SSL?
12. What is the difference between HTTP and HTTPS?
13. Explain two of your projects (one should be FYP).

Wipro C Language Interview Questions:


Why C language?
What are Structures, union? Difference between them.
What is an Arrray, Structure- Difference between them.
Define Linked list. Difference between array and linked list.
Define Stacks, queue
Concepts of searching and sorting techniques
Write the program of fibonacci  (Now this program has been asked in lots of placement paper interviews
of various IT Companies)
What are Trees,graphs and their difference
How we can allocate memory dynamically and diff between calloc and malloc?
A popular wipro IT C++ language question: what are virtual base classes?

OS / Some Wipro Operating Systems Questions:

Explain the concept of semaphore?


What is memory management?
What is virtual memory?
What is paging, segmentation?
Internal and external fragmentation?
What is O.S? (operating system)
Functions of O.S?
What is TLB or TLAB?
Define a Process, thread?
Multiprogramming,Multitasking,Multiprocessor?
Disadvantages of using semaphores?
What is dead lock? When does it occur?
What are the major Conditions for occuring of deadkock?

A reader recently interviewed for C# position at Wipro and sent the following questions:

1. Difference between directcast and ctype.


2. An example of a ctype and directcast.
3. ctype(123.34,integer) - should it throw an error? Why or why not?
4. directcast(123.34,integer) - should it throw an error? Why or why not?
5. Difference between a sub and a function.
6. Explain manifest & metadata.
7. Scope of public/private/friend/protected/protected friend.
8. Different kinds of methods.
9. Difference between imperative and interrogative code.
10. Difference between value and reference type.
11. What are the two kinds of properties.
12. What is the raise event used for?
13. Explain constructor.
14. What is a resource? Provide an example from your recent project.
15. What is a system lock?
16. Describe ways of cleaning up objects.
17. Where does the dispose method lie and how can it be used to clean up resources?
18. How can you clean up objects holding resources from within the code?

Some of the interview questions asked by the HR team of Wipro are as follows: -
1) Give the difference between C and ANSI C?
2) Why should programmers use object oriented programming?
3) Give difference between compile time error and run time error?
4) Why Java is used extensively in today`s applications what makes it different from other languages?
5) Describe about applet lifecycle?
6) For what purposes programmers use Encapsulation? State some uses of it?
7) How do you design the project layout or the outline or structure of a program?
8) Explain some of the concepts of Java design patterns?
9) Why should a programmer use C instead of C++?
10) State some uses of RDBMS?
11) Mention the different stages of software design?
12) What are the different protocols present while transferring data from one web browser to another
browser?

1. In 1999, Ram reads 19 books that are either French or English books. In 2000, he reads twice the
no. of French books as English books. If 60% of the books that he read in the two years are
French, how many books did he read in 2000?
a. 48 b. 41 c. 29 d. 37
Soln. How I solved this qn is....
let the no. of French books that Ram reads in 2000 be x.
=> the no. of English books that he reads in 2000 is 2x.
Total no. of books he reads in 2000 = x + 2x = 3x
=> the no. of books he reads in 2000 SHOULD BE A MULTIPLE OF 3
the oly multiple of 3 in the given options is 48. Hence, the ans is a. 48
2. A man travels 5km by train in a 30km/hr speed. Then he travels 10km from there by a bus. If
his total travel time is 30mins, what is the speed of the bus in which he travelled?
a. 60km/hr b. 30km/hr c. 15km/hr d. 45km/hr
Soln. time = distance/speed.
=> travel time in train = 5/30 hrs = 1/6 hrs = 10 mins
total travel time = 30mins
=> travel time in bus = 30 - 10 = 20mins = 20/60 hr = 1/3 hr
=> speed of the bus = distance/time = 10/(1/3) = 30km/hr
The ans is b. 30 km/hr
3. Find the no. which comes in place for ? symbol
5, 8, 15, 24, 45, 72, ?
a. 75 b. 95 c. 135 d. 215
Soln. This is a combination of two series 5, 15, 45,.... and 8, 24, 72,....
The series 5, 15, 45,.. is the a *3 series. i.e., 5, 5*3, (5*3)*3,.....
So the no. in place for ? would be 45 * 3 = 135
(Verbal)
4. Preethi: I love
readin story books very much. When I'm absorbed by the story, I don't know what happens
around me! I won't hear anythin when I am reading such books!!
Rani: If so, then how will you know if somebody calls you when you read the story books?
Which of the following could be Rani's assumptions?
a. Somebody will call Preethi when she's not reading story books
b. When Preethi reads books, she's disturbed by someone
c. Preethi knows that somebody calls her only if she hears their voice
d. Preethi is not reading story books always
Soln. I think the ans should be c.
(Technical)
5. Who first found the laptop? (I don't know the ans)
6. What's the binary equivalent of 256?
a. 1111 1100
b. 1111 1010
c. 1110 1000
d. none of these
Soln. 256 is 28. So it should be represented as 1 0000 0000 which is nowhere in the given
options.
The ans is thus... d. none of these
(You can also convert 256 into binary using repeated L divisions by 2..)
7. What's the output of the following?
main()
{
int i=-1,j=-1,k=1,l=2,m;
m = i++&&j++||k++&&l++;
printf("%d %d %d %d %d",i,j,k,l,m);
}
a. 0 0 1 3 1
b. 0 0 1 2 1
c. 0 0 2 3 1
d. none of these
Soln. && as well as || have the same priority. So the 2nd line in the given program will get
executed from left to right as the operators appear.
&& works like this:
a && b - if a is 0, the compiler will skip the right operand b, otherwise it checks the right operand
too.
|| works like this:
a || b - if a is 1, the compiler will skip the right operand b, otherwise it checks the right operand
too.
So... i++&&j++ => -1&&-1 then i++, j++=> value of
expression=1................................................now i=0, j=0
1||k++ => compiler skips k++&&l++ since left operand = 1, value of expression = 1 (i.e)
m=1..........now k=1,l=2
thus, the ans is b. 0 0 1 2 1
2. Technical Interview:
The interviewers are really so cool and very friendly with the students!! It was actually my first
interview in my life! I was so tensed! But after the interviewer was so friendly, all my fears gone
away :) What happened was... my interviewer was first just askin about whatever I had written
in my resume.. then he started askin technical qns
I: May I come in Sir?
interviewer: yes pls come in
I: Good evenin sir!
int: Good evenin! Pls take ur seat
(I kept my file on the table and took my seat)
int: tel me about urself
I: told
(interviewer askd about my schoolin, industrial visits)
int: what's ur proj all about?
int: how many of u are doin this proj?
int: what's ur role in this proj?
(I had specified French in the languages known section in my resume.... It was my favourite! I
had taken it as my 2nd language in 12th standard. The interviewer asked me to say the
meanings of few French words!! wow! that was very interestin!! I told the ans... and since he
was so friendly, I asked him how he knew French and he explained..... :)) )
int: yo've specified data structures and C/C++ in ur areas of interests. what are the data
structures that u kno?
int: difference between stack and queue
int: what is circular queue? its advantage?
int: can u write a program to print this series? 2, 6, 8, 14, 22,....? take ur own time.....
(in a few mins,... I wrote the program.... It's similar to fibonacci series that I had studied
already... since I wrote the program sooner...... interviewer askd this....)
int: did u ask ur friends who attended the tech interview about the programs askd?
I: wel Sir.. I asked them about wat qns are being askd in the tech interview. They said programs
were asked. But they din't tel wat programs were asked... :)
int: yea they won't :) that's good only right?
I: yes sir :)
( interviewer saw the program.... )
int: suppose stdio.h gets corrupted. you can't use it in ur program. what would u do?
( he asked me n was writin somethn in a paper... he was keepin it below the table that I can't
see it....)
I: I would use iostream.h and write the program in C++
int: if u should write the program only in C.. wat would u do?
(I was thinkin)
int: hav u ever opened the file stdio.h?
I: yes sir. (Idea!!!) I got the ans! I would write the contents of stdio.h in some other file by myself
and include that file in my program :)
int: thats it! quite easy rite? ok so how was the interview?
I: it went off good sir!
int: so wat do u want me to do now?
( he gave me the form and asked me to wait for the HR interview and wished me all the best)
I gave a handshake to him...
said thank you... and came out very happily!
my technical interview went on for around 25 mins. and when I came out. it was 9.45 p.m! I
filled the form, affixed my photo, gave it to them and was waitn for HR interview.
I was feelin very hungry that time! But they'l cal for HR interview sooner. So I could hav jus a cup
of tea that time... I had it and relaxed with frnds who wer also waitn for HR interview.. I finished
the tea.. kept the tea cup.. the very next moment! I was again called!! for the HR interview!!
3. HR Interview:
I: May I come in sir?
HR: yes Sathya pls come in!
( he was seein my online aptitude test's results in a laptop that he had in his table )
( he had my filled form.... )
HR: tel me about urself
( I dint tel about my family.. told only about my name, wher am studyin, my interests, so n so)
HR: tel me about ur family
HR: did u join this college thru merit quota?
HR: wats ur cut off in 12th standard?
HR: hav u ever been ur department topper?
HR: thank you sathya! you can leav
I: thank you sir!
My HR interview went of only for 2-3 mins! My seniors had told me that they'll consider
aggregate marks also. If we've got 80+, we're surely selected. Otherwise, they'l select based on
how we ans their qns.. and.... It was 10.15 p.m. when my HR interview was over..
The results were announced a day later! and my name was also there!!!!!
Few interview tips.....
+ Keep smilin
+ the HRs are really very cool and friendly yaar! u can talk to them as u would talk to ur friend!!
+ be relaxed... be cool.. be calm
+ even if u don't kno the ans, jus try somethn
+ if u don't kno the ans, jus tel wat u think, and giv a smile... or say sorry sir/ma'am I don't kno
the ans! but I'm interested in knowing the ans... and they'l surely explain it to u
+ find ur weaknesses, and act in such a way that they won't find that weakness durin the
interview :)
+ u should prep an ans for "tel me abt urself", "ur strengths", "ur weaknesses", "why do u
choose this company", "why should I take u in my company?"
+ be confident that watever is asked, u can answer!
Once u clear the aptitude test, it'll be easy to manage the interviews provided u learnt C and
watever u hav specified in ur areas of interest! all the best guys!!
see u in wipro soon!!
bye
Sathya :)

Differences

C&C++

 C does not have any classes or objects. It is procedure and function driven. There is no concept
of access through objects and structures are the only place where there is a access through a
compacted variable. c++ is object oriented.

 C structures have a different behaviour compared to c++ structures. Structures in c do not


accept functions as their parts.

 C input/output is based on library and the processes are carried out by including functions. C++
i/o is made through console commands cin and cout.

 C functions do not support overloading. Operator overloading is a process in which the same
function has two or more different behaviours based on the data input by the user.
 C does not support new or delete commands. The memory operations to free or allocate
memory in c are carried out by malloc() and free().

 Undeclared functions in c++ are not allowed. The function has to have a prototype defined
before the main() before use in c++ although in c the functions can be declared at the point of
use.

 After declaring structures and enumerators in c we cannot declare the variable for the structure
right after the end of the structure as in c++.

 For an int main() in c++ we may not write a return statement but the return is mandatory in c if
we are using int main().

 In C++ identifiers are not allowed to contain two or more consecutive underscores in any
position. C identifiers cannot start with two or more consecutive underscores, but may contain
them in other positions.

 C has a top down approach whereas c++ has a bottom up approach.

 In c a character constant is automatically elevated to an integer whereas in c++ this is not the
case.

 In c declaring the global variable several times is allowed but this is not allowed in c++.

C is a general programming language.  Small compiler, lots of free compilers.  Quite easy to learn once
you get the hang of the syntax.  It is available on almost every platform you can think of.  Note that
there are 3 main variants of C: K&R, C89 and C99.  Most compilers are C89.

C++ is an Object Oriented variant of C.  If you are going the C++ route, don't learn C first: you'll get into a
lot of bad habits.  However, it is a big language with lots of new concepts.  If you are intending to write
GUIs, this is probably the way to go.  It is not available on as many platforms as C.  There is a standard
library of algorithms STL which does all the standard stuff like linked lists, vectors etc.  There are lots of
free compilers about.

DBMS & RDBMS

DBMS:1)In dbms no relationship concept


2)It supports Single User only
3)It treats Data as Files internally
4)It supports 3 rules of E.F.CODD out off 12 rules
5)It requires low Software and Hardware Requirements.
6)FoxPro, IMS are Examples

RDBMS:
1)It is used to establish the relationship concept between two database objects, i.e, tables
2)It supports multiple users
3)It treats data as Tables internally
4)It supports minimum 6 rules of E.F.CODD
5)It requires High software and hardware requirements.
6)SQL-Server, Oracle are examples

1)A DBMS has to be persistent (it should be accessible when


the program created the data donot exist or even the
application that created the data restarted).
2) DBMS has to provide some uniform methods independent of a
specific application for accessing the information that is
stored.
3)DBMS does not impose any constraints or security with
regard to data manipulation. It is user or the programmer
responsibility to ensure the ACID PROPERTY of the database
4)In DBMS Normalization process will not be present

RDBMS: Relational Data Base Management System


.....the database which is used by relations(tables) to
acquire information retrieval
Eg: oracle, SQL..,

1)RDBMS is based on relational model, in which data is


represented in the form of relations, with enforced
relationships between the tables.
2)RDBMS defines the integrity constraint for the purpose of
holding ACID PROPERTY.
3)In RDBMS, normalization process will be present to check
the database table cosistency
4)RDBMS helps in recovery of the database in case of loss of
database due to system failure or any other reason

DBMS :
Data Base Management System is a process of managing
data for efficient retrivel & storage of data.
Ex: sysbase , Foxpro

RDBMS :
The database which is used by relations(tables) to
acquire information retrival are known as RDBMS
EX: SQL, ORACLE,MY-SQLSERVER
DBMS : Data Base Management System
..... for storage of data and efficient retrieval of data.
Eg: Foxpro

1)A DBMS has to be persistent (it should be accessible when


the program created the data donot exist or even the
application that created the data restarted).
2) DBMS has to provide some uniform methods independent of a
specific application for accessing the information that is
stored.
3)DBMS does not impose any constraints or security with
regard to data manipulation. It is user or the programmer
responsibility to ensure the ACID PROPERTY of the database
4)In DBMS Normalization process will not be present

RDBMS: Relational Data Base Management System


.....the database which is used by relations(tables) to
acquire information retrieval
Eg: oracle, SQL..,

1)RDBMS is based on relational model, in which data is


represented in the form of relations, with enforced
relationships between the tables.
2)RDBMS defines the integrity constraint for the purpose of
holding ACID PROPERTY.
3)In RDBMS, normalization process will be present to check
the database table cosistency
4)RDBMS helps in recovery of the database in case of loss of
database due to system failure or any other reason

DBMS:

A DBMS is a storage area that persist the data in files. To perform the database operations, the
file should be in use.
Relationship can be established between 2 files.
There are limitations to store records in a single database file depending upon the database
manager used.
DBMS allows the relations to be established between 2 files.
Data is stored in flat files with metadata.
DBMS does not support client / server architecture.
DBMS does not follow normalization. Only single user can access the data.
DBMS does not impose integrity constraints.
ACID properties of database must be implemented by the user or the developer

RDBMS:

RDBMS stores the data in tabular form.


It has additional condition for supporting tabular structure or data that enforces relationships
among tables.
RDBMS supports client/server architecture.
RDBMS follows normalization.
RDBMS allows simultaneous access of users to data tables.
RDBMS imposes integrity constraints.
ACID properties of the database are defined in the integrity constraints.

You might also like