Skip to main content

Posts

Showing posts from June, 2012

C Programming – Technical interview questions

What does the error ‘Null PointerAssignment’ mean and what causes this error?
Explain one method to process an entire string as one unit?
What is the similarity between a Structure, Union and enumeration?
Can a Structure contain a Pointer to itself?
How can we check whether the contents of two structure variables are same ornot?
How are Structure passing and returning implemented by the compiler?
How can we read/write Structures from/to data files?
What is the difference between an enumeration and a set of pre-processor #defines?
what do the ‘c’ and ‘v’ in argc and argv stand for?
Are the variables argc and argv are local to main?
What is near, far and huge pointers? How many bytes are occupied by them?
How would you obtain segment and offset addresses from a far address of amemory location?
Are the expressions arr and &arr same for an array of integers?
Does mentioning the array name gives the base address in all the contexts?
What is the maximum combined length of command line arguments inclu…

Data Structure – Technical interview questions

Write programs for Bubble Sort, Quick sort
Explain about the types of linked lists
How would you sort a linked list?
Write the programs for Linked List (Insertion and Deletion) operations?
What data structure would you mostly likely see in a non recursive implementation of a recursive algorithm?
A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
A list is ordered from smaller to largest when a sort is called. Which sort would take the shortest time to execute?
When will you  sort an array of pointers to list elements, rather than sorting the elements themselves?
The element being searched for is not found in an array of 100 elements. What is the average number of comparisons needed in a sequential search to determine that the element is not there, if the elements are completely unordered?
What is the average number of comparisons needed in a sequential search to determine the position of an element in an array of 100 ele…

Operating System – Technical interview questions

Some Interview Questions Related To Operating Systems Give an example of micro-kernel. When would you choose bottom up methodology? When would you choose top down methodology?
Describe different job scheduling in operating systems.
What is a Real-Time System ?
What is the difference between Hard and Soft real-time systems ?
What is a mission critical system ?
What is the important aspect of a real-time system ?
If two processes which shares same system memory and system clock in a distributed system, What is it called?
What is the state of the processor, when a process is waiting for some event to occur?
What do you mean by deadlock?
Explain the difference between microkernel and macro kernel.
Write a small dc shell script to find number of FF in the design.
Why paging is used ?
Which is the best page replacement algorithm and Why? How much time is spent usually in each phases and why?
What are the basic functions of an operating system?
Explain briefly about, processor, assembler, co…

Some of Top Sql Aptitude Questions for

Top Sql Aptitude Questions for Aptitude

Some SQL Aptitude questions for Aptitude Preparations

Q  Which  is  the  subset  of  SQL  commands  used  to  manipulate  Oracle  Database
structures, including tables?
Data Definition Language (DDL)

Q  What operator performs pattern matching?
LIKE operator

Q  What operator tests column for the absence of data?
IS NULL operator

Q  Which command executes the contents of a specified file?
   START <filename> or @<filename>

Q  What is the parameter substitution symbol used with INSERT INTO command?
   &amp;

Q  Which command displays the SQL command in the SQL buffer, and then executes
it?.
   RUN

Q.  What are the wildcards used for pattern matching?
   _ for single character substitution
and % for multi-character substitution

Q  State true or false. EXISTS, SOME, ANY are operators in SQL.
   True

Q  State true or false. !=, &lt;&gt;, ^= all denote the same operation.
   True

Q. What are the privileges that can be granted on a table by a user to o…

Sample Interview Thank You Letter

Thank You Letter - Job Interview



Your Name Your Address Your City, State, Zip Code Your Pho…

Opening for Dot Net at Rheal Software - Pune

Dot Net Openings at Rheal Software
Interview at offices Address :- Bldg 4A, SP InfoCity SEZ, Pune Saswad Road, Phursungi, Pune.

Monday through Friday:        10AM – 1PM & 3PM – 7PM
Saturday:                              10AM – 1PM

1st ROUND
Please come prepared for a written SQL examination. Unless you clear this, you will not go on to the next round.

2nd ROUND (may not be on the same day)
Verbal interview on ASP.Net/VB.Net/C# and .net framework concepts

Current Openings:

.Net Web Developers
(1 – 3 years experience) 5 openings
Design and code as per clients` requirements. Communicate timely updates and status to management as needed.
Should have strong knowledge of the .Net Framework
Should possess strong knowledge of designing & developing web .NET applications using ASP.Net with C#/VB.Net
Strong knowledge of Object Oriented Methodologies & Design.
Advanced skills in database dev using SQL Server 2008 and Web UI dev using ASP.Net, JavaScript HTMS CSS.
Excellent analytica…

Why Should i Hire you? - Compalsary Question by HR

Why Should i Hire you? - Famous and Compulsory Question by HR

The key to answering the tough interview question of why should we hire you? is preparation: you need to know what your transferable skills are.

Transferable skills are those skills that you pick up in a work or personal environment that you take with you where ever you go. For example, if you have developed a high level of knowledge regarding computing and IT issues, then this is a skill that your next employer will benefit from. Take some time and establish in your head what skills you have in your personal arsenal. These skills make you a valuable asset to any company. The more developed and polished your transferable skills are, the more valuable you are to a company.

The other side to your answer comes in the form of relevant experience. Essentially you need to be able to demonstrate that your previous roles have given you the experience to prove you are more than capable of doing the job you are applying…

Microsoft Placement Question Paper (Algorithm And Programming) Set -1

Algorithms and Programming

1. Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife ?
2. You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above.
3. Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
4. Write a routine to draw a circle (x ** 2 + y ** 2 = r ** 2) without making use of any floating point computations at all. [ This one had me stuck for quite some time and I first gave a solution that did have floating point computations ].
5. Given only putchar (no sprintf, itoa, etc.) write a rou…

Cognizant - Sample Placement Paper - Aptituude Test

SECTION-1:

Find the next in the sequence:

1. BC CE EG GK ?
a)KN
b)KU
c)KM
d)None

2. AA AB BC CE?
a)EG
b)EH
c)EI
d)None

3. AB EF JK QR ?
a)YZ
b)ZA
c)AB
d)None

4.ACD EGL IKT MOB?
a)QST
b)QSZ
c)QSY
d)None

5.AC CG GO OE?
a)EJ
b)EI
c)EL
d)None

6.AE BH CM DU?
a)EH
b)EZ
c) EB
d)None

7. AD DP PL LV
a)VS
b)VK
c)VI
d)None

8. SE QU EN TI?
a)CN
b)BM
c)AI or AZ
d)None

 SECTION-II :
Find the values for the following problem:
f(X)= 2X-1 + f(X-1) if X is not equal to zero and if f(X=0)=0

9. Value of f(5)
a)15
b)24
c)22
d)None

10. Value of f(f(2))

11. Value of f(16)- f(15)

12. Value of f(16)+f(15)-480

13. If f(f(X))=81 then the value of X=?

14. If f(X)=4f(X-1) then the value of X=?

15.If f(X)= f(X-1)+f(X-2) for X>1 then X= ?

16. If f(X)-f(X-1)=f(X-8) for X>5 then X=


SECTION -III :

In the following questions a ,word, is given which may not have any meaning.Find differnet possible words or palindromes for the word as per the question.

For …

Cognizant Placement Paper - Sample Questions

1.  A says " the horse is not black".
B says " the horse is either brown or grey."
C says " the hoese is brown"
At least one is telling truth and atleast one is lying. tell the colour of horse?
Answer : grey


2. A son and father goes for boating in river upstream . After rowing for 1 mile son notices the hat of his fathe falling in the river.After 5 min. he tells his father that his hat has fallen. So they turn round and are able to pick the hat at the point from where they began boating after 5min.
Tell the speed of river?
Ans...6 miles/hr

3. A+B+C+D=D+E+F+G=G+H+I=17 where each letter represent a number from 1 to 9. Find out what does letter D and G represent if letter A=4. (8 marks)
Ans. D=5 G=1

4. Argentina had football team of 22 player of which captain is from Brazilian team and goalki from European team. For remainig palayer they have picked 6 from argentinan and 14 from european. Now for a team of 11 they must have goalki and captain so …

C Programming Based Aptitide Questions - Solved

Note : All the programs are tested under Turbo C/C++ compilers.
It is assumed that,
Programs run under DOS environment,
The underlying machine is an x86 system,
Program is compiled using Turbo C/C++ compiler.

The program output may depend on the information based on this assumptions (for example sizeof(int) == 2 may be assumed).

Predict the output or error(s) for the following:

void main()
{
int const * p=5;
printf("%d",++(*p));
}
Answer:
Compiler error: Cannot modify a constant value.
Explanation:
p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".

main()
{
char s[ ]="man";
int i;
for(i=0;s[ i ];i++)
printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]);
}
Answer:
mmmm
aaaa
nnnn
Explanation:
s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea. Generally array name is the base address for that array. Here s is the base address. i is the index number/displacement from the base ad…