General Interview Questions
Business Objects Interview Questions III
- what is the source for metrics? -
measure objects. - Why do we need metrics and sets? -
Metrics are used for analysis and Sets are used for grouping. - Is there any bug in 6.x? -
In earlier version of 6.0 they had, but 6.5 is the best version with out any bugs. - What are the general issues in migration process? -
Alignment, performance. - What is the use of BO SDK? -
Bo SDK main use is to suppress “no data to fetch” using Macros. - How can we improve performance? -
By making use of Aggregate tables.
Write a program that prints out its own source code
Frequently a question of the programs printing out their own output appears in code interviews. The question does not really test a skill of a programmer, as much as general awareness of tricks to do that. The quine page by Gary Thompson provides many examples of such applications in various languages. In case you were wondering, a program whose output is its own source code is called a quine, something that might come of use over the next interview. The aforementioned Quine Page lists the following example for C:
char*f=”char*f=%c%s%c;main()
{printf(f,34,f,34,10);}%c”;
main(){printf(f,34,f,34,10);}
One language that’s missing, however, is PHP. In PHP a helpful function and __FILE__ constant allow for this quick hack:
echo file_get_contents(__FILE__);
Implementing i to a
Implementing itoa function is a popular interview question. Here’s one implementation from SAP.
char *itoa(int value)
{
int count, /* number of characters in string */
i, /* loop control variable */
sign; /* determine if the value is negative */
char *ptr, /* temporary pointer, index into string */
*string, /* return value */
*temp; /* temporary string array */
count = 0;
if ((sign = value) < 0) /* assign value to sign, if negative */
{ /* keep track and invert value */
value = -value;
count++; /* increment count */
}
Hardware and Software Design Questions
- What is Finite Automata
- What is a Turing machine?
- How many processors are there in a pentium microprocessor? In Sparc?
- Difference between RISC and CISC
- Is RISC always fast?
- What is a real time system?
- Name some real time OSs.
- Is DOS a real time OS?
- What is a kernel,shell?
- What is binary search, traversal, hashing?
- Write a code to count the no. of 1’s in a binary representation of a number.
- Memory taken for char *, int * etc.
-
char *cp; int *ip; cp++; ip++;
What is the result?
Interview Questions to Ponder
- Tell me about yourself?
- Which adjectives would you use to describe yourself?
- What is your greatest strength?
- What is your greatest weakness?
- Why do you want this position?”
- Why do you want to leave your current job? (Why did you leave your last job?)
- How do you handle stressful situations?
- What is the toughest problem you’ve had to face, and how did you overcome it?
- Why do you want this position?
- Why are you the best person for this job?