Mphasis Data 10.4.19
Mphasis Data 10.4.19
1. You should tell about your favourite programming language and be prepared with questions based
on that.
2. Differences between C and Java?
1. JAVA is Object-Oriented whereas C is procedural.
2. Java is an Interpreted language whereas C is a compiled language.
3. C is a low-level language and JAVA is a high-level language.
4. C makes use of top-down approach while JAVA uses a bottom-up approach.
5. Pointer goes backstage in JAVA and C needs handling of pointers.
6. JAVA supports Method Overloading while C does not support overloading at all.
7. Exception Handling is in JAVA while errors and crashes in C.
8.
3. In header files whether functions are defined or declared?
4. This is a very common and definite, technical interview questions and answers for TCS IT job.
5. Functions are declared within a header file. The function prototypes exist in a header file, and not
function bodies. They are defined in the library.
6. 4. Name the different storage classes in C?
7. There are four types of storage classes in C, namely extern, register, auto and static
8. 5. What is static variable?
9. Static is an access qualifier. When a variable is declared as static, the scope is limited to the
function, but it would remain for the lifetime of the program.
10. 6. How do you print an address?
11. Apply %p in printf to print the address.
13. What is an operating system.what is the important part of os .Difference between monolithinc and
microkernel
14. create a function that can take variable argument just like in Java depending on the context. I
swiftly said yes, using the same ellipsis (…) notation used in Java.
15. write the code for some sorting.
16. Give me an example of data types? (but they use a different word for it so be ready)
11) Why virtual classes are important in the case of multiple inheritances?
12) How Databases handle concurrent SQL operations on same row of a table?
Ans:Concurrent operations are handled by the use of "Locks". To be more clear, if one
sql query is updating (INSERT/UPDATE) a particular row of a table, no other sql query
would be able to update the same row at same point in time. However other sql queries
can read (SELECT) columns from the row under updation.
13) What is the simple difference between stack and queue type data structures?
Ans:Stack operates in a Last In First Out (LIFO) fashion while Queue operates in a First
In First Out fashion (FIFO).
15) Tell at least two uses of NORMALIZATION in designing tables and other structures
in a database ?
Ans:Normalization ensures that a) there is no redundant data storage and b) data
dependencies across tables (foreign keys) are suitable for the level of concurrency.
HR Interview Questions:
1. Indroduce yourself
- It was very simple query, firstly I made a mistake then I asked him to explain again, he explained and I
was able to do that
HR:
2. family background.
6. Then he asked me to sign on a paper, before signing he asked me to read those lines, plz don't skip to
read those lines before signing bcz after sign they ask wat was written there?
In 2 mins I got the result and went for document verification, there they asked me to apply for the
passport and told us that we can get offer letter within 2 weeks if shortlisted.
Important points:
Be confident
If they ask you to write any algo and if you dnt know that, tell them that you know another algorithm(
practice simple algo atleast two eg: bubble and selection sort)
==============
Written: it will be a online Test in which you will get aptitude , logical and quantative and English
questions.
Quantitative (16 question):time and work,average,profit loss,probability , number system , HCF and
LCM,permutation and combination.......prepare only basics of these topics...20minutes
...10minutes
CTS technical :
•C
• C++
• Data structure
• Ur project in depth
• Opps concept
• Core java
• Opps concept
• Sql(From sql they can ask DDL , DML commands , joins , types of join , and delete , drop & truncate
difference)
• Ur project