Skip to main content

Posts

Showing posts with the label Technical Interview

Amazon - Some interview quesions

Interview Questions : 1. Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also. 2. What are the 4 basics of OOP? 3. Define Data Abstraction. What is its importance? 4. Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 2 numbers. Find the missing numbers. 5. Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present. 6. Given a string,find the first un-repeated character in it? Give some test cases 7. You are given a dictionary of all valid words. You have the following 3 operations permitted on a word: delete a character, insert a character, replace a character. Now given two words - word1 and word2 - find the minimum number of steps required to convert word1 to word2. (one operation counts as 1 step.) 8. Given a cube of size n*n*n (i.e ma...

Campus Recruitment - Technical Test

Technical Test is the part of campus recruitment process conducted by every company to test the technical skills of the candidate. This part of the test is aimed at testing the knowledge domain of the candidate. Not many companies have this section. This part needs no separate preparation provided you know what you are being taught at the college. The questions in this section are mainly from:- C C++ DBMS OS Software Engineering Computer Networks Digital Flow chart analysis etc. Books For The Technical Part : This part has questions from what has already been taught. so all you need is a brush up or quick revision. These books will prove helpful. Test Your C Skills by Yashwant Kanethkar Working With C by Yashwant Kanethkar Operating Systems by Silbershats

Wipro Sample Questions On Roots Of An Equation

Question 1 What is the sum of the irrational roots of the equation (x-1)(x-3)(x-5)(x-7)=9 ? a)10 b)8 c)6 d)4 Answer : b)8 Solution: Given that (x - 1) (x - 3) (x - 5) (x - 7) = 9 Let x - 4 = p Then the given eqn becomes (p + 3) (p + 1) (p - 1) (p - 3) = 9 (p 2 - 1) (p 2 - 9) = 9 p 4 - 10p 2 + 9 = 9 p 2 (p 2 - 10) = 0 p 2 =0 or p 2 -10 =0 p = 0 or p = sqrt(10) or p = - sqrt(10) then x - 4 = 0, x - 4 = sqrt(10) or x - 4 = - sqrt(10) Now the roots of the given eqn are 4,4 + sqrt(10) and 4 - sqrt(10) The irrational roots are 4+sqrt(10) and 4 - sqrt(10) The sum of the irrational roots = 4 + sqrt(10) + 4 - sqrt(10) = 8. Hence the answer is 8. Question 2 The product of the distinct roots of the equation (3x)(3x+2)(3x-4)(3x-6)= 64 is: a)-32/27 b)-61/5 c)63/16 d)69/12 Answer : a)-32/27 Solution: Given that (3x)(3x+2)(3x-4)(3x-6)= 64 Let 3x - 2 = p Then the given eqn becomes (p + 2) (p + 4) (p - 2) (p - 4) = 64 (p 2 - 4) (p 2 - 16...

Placement Review for Credit Suisse 2012 – pattern | Interviews | Tests

Hey let me declare, that this post is not by me it's a review from a friend who attended the Credit Suisse Campus :)  Description: CREDIT SUISSE Apti: It consisted of 8 puzzles and 8 algoritms/pseudocodes. For puzzles refer to ‘how to ace the brain teaser’. For algorithms refer ‘cracking the coding interview’ and be familiar with questions asked in carrer cup site.There was one DB qstn too. We were asked to design a schema and normalize it. Interview 1: Complete tech. There were 2 bonus questions in the apti to design a client server architecture. I hadn’t solved it in apti so i was asked to explain it. I was asked about my BE project, how i will implement it and explain the algorithms i will be using etc. Thwn he asked me a simple puzzle.that chicken,corn and fox wala. I was asked my fav subject, to which i said database. Then i was asked indexing, structures used, RAID levels. I was asked to design a database schema and write simple queries on it. Then i was aske...

What is a CLR? Basic dotnet interview question

Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework.All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program.For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL , Java has Java Virtual Machine etc. Similarly .NET has CLR.Following are the responsibilities of CLR √ Garbage Collection :- CLR automatically manages memory thus eliminating memory leakes. When objects are not referred GC automatically releases those memory thus providing efficient memory management. √ Code Access Security :- CAS grants rights to program depending on the security configuration of the machine.Example the program has rights to edit or create a new file but the security configuration of machine does not allow the program to delete a file.CAS will take care that the code runs under the environment of machines security configuration. √ Code Verification :- This ensures proper code execution and ty...

(B) Basic Question in .net(dotNet) What is a IL?

(B)What is a IL? Twist :- What is MSIL or CIL , What is JIT? (IL)Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In- Time (JIT) compiler.

2011 TCS Technical Interview Questions

What does static variable mean? What is a pointer? What is a structure? What are the differences between structures and arrays? In header files whether functions are declared or defined? What are the differences between malloc() and calloc()? What are macros? what are its advantages and disadvantages? Difference between pass by reference and pass by value? What is static identifier? Where are the auto variables stored? Where does global, static, local, register variables, free memory and C Program instructions get stored? Difference between arrays and linked list? What are enumerations? What is a class? What is an object? What is the difference between an object and a class? What is the difference between class and structure? What is public, protected, private? What are virtual functions? What is friend function? What is a scope resolution operator? What do you mean by inheritance? What is abstraction? What is a data structure? What does abstract data type means? Evaluate the foll...

How to prepare for exam and interview?

Most of the firms screen candidates based on a test and interview. So they must be well prepared to clear these tests as there will be tight competition. A proper study plan must be set up prior to the test. They should cover up all the relevant areas included in the test. There will be aptitude level as well as reasoning questions in most of the tests. They should refer standard text books and guides and practice a lot of similar questions. The pattern of the question can be analyzed by referring the previous question papers. The interview section will be tougher for most of the candidates. They must be well planned to clear this section. For that they should first of all develop good communication skills. Ability to interact with others as well as confidence level of the aspirant is judged in the interview process. They must be in a pleasing get up while appearing for the interview. Ability to respond to sudden crisis can be evaluated in some interviews. So be prepared for that als...

Desired Profile for IBM India to hire Engineering graduates in off-campus events.

Desired Profile for IBM India to hire Engineering graduates in off-campus events.  All candidates must have 1. B.Tech, B.E. (Computer Science , IT, Electronics and Communication) ,M.C.A 2.. B.Sc (Computer Science, IT), B.C.A 3. All candidates MUST have scored a minimum of 60% aggregate in ALL semesters of graduation Written Test The written test consists of two sections each of 45 minutes duration Section#1 This is the aptitude section consisting of 45 questions to be attempted in 45 minutes. As is in all the exams, this section is based on the MBA pattern of examination. Section#2 his is the technical section. There is a separate paper for hardware and software. Candidates have to mention beforehand whether they want to write the software or the hardware paper.This section also carries 45 questions to be completed in 45 minutes. Interview There are two rounds of interviews, viz., the technical and and the HR round Technical and Personal Round for Softw...

What is function overloading and operator overloading?

Function overloading: C++ enables several functions of the same name to be defined, as long as these functions have different sets of parameters (at least as far as their types are concerned). This capability is called function overloading. When an overloaded function is called, the C++ compiler selects the proper function by examining the number, types and order of the arguments in the call. Function overloading is commonly used to create several functions of the same name that perform similar tasks but on different data types. Operator overloading allows existing C++ operators to be redefined so that they work on objects of user-defined classes. Overloaded operators are syntactic sugar for equivalent function calls. They form a pleasant facade that doesn't add anything fundamental to the language (but they can improve understandability and reduce maintenance costs).

What is the difference between realloc() and free()?

The free subroutine frees a block of memory previously allocated by the malloc subroutine. Undefined results occur if the Pointer parameter is not a valid pointer. If the Pointer parameter is a null value, no action will occur. The realloc subroutine changes the size of the block of memory pointed to by the Pointer parameter to the number of bytes specified by the Size parameter and returns a new pointer to the block. The pointer specified by the Pointer parameter must have been created with the malloc, calloc, or realloc subroutines and not been deallocated with the free or realloc subroutines. Undefined results occur if the Pointer parameter is not a valid pointer.

Technical Interview Questions - important for TCS, Wipro, Cognizent, Accenture, IBM

What does static variable mean? What is a pointer? What is a structure? What are the differences between structures and arrays? In header files whether functions are declared or defined? What are the differences between malloc() and calloc()? What are macros? what are its advantages and disadvantages? Difference between pass by reference and pass by value? What is static identifier? Where are the auto variables stored? Where does global, static, local, register variables, free memory and C Program instructions get stored? Difference between arrays and linked list? What are enumerations? What is a class? What is an object? What is the difference between an object and a class? What is the difference between class and structure? What is public, protected, private? What are virtual functions? What is friend function? What is a scope resolution operator? What do you mean by inheritance? What is abstraction? What is a data structure? What does abstract data type mea...