General Interview Questions

Business Objects Interview Questions III

  1. what is the source for metrics? -
    measure objects.
  2. Why do we need metrics and sets? -
    Metrics are used for analysis and Sets are used for grouping.
  3. 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.
  4. What are the general issues in migration process? -
    Alignment, performance.
  5. What is the use of BO SDK? -
    Bo SDK main use is to suppress “no data to fetch” using Macros.
  6. 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

  1. What is Finite Automata
  2. What is a Turing machine?
  3. How many processors are there in a pentium microprocessor? In Sparc?
  4. Difference between RISC and CISC
  5. Is RISC always fast?
  6. What is a real time system?
  7. Name some real time OSs.
  8. Is DOS a real time OS?
  9. What is a kernel,shell?
  10. What is binary search, traversal, hashing?
  11. Write a code to count the no. of 1’s in a binary representation of a number.
  12. Memory taken for char *, int * etc.
  13. char *cp;
    int *ip;
    cp++;
    ip++;

    What is the result?

Interview Questions to Ponder

  1. Tell me about yourself?
  2. Which adjectives would you use to describe yourself?
  3. What is your greatest strength?
  4. What is your greatest weakness?
  5. Why do you want this position?”
  6. Why do you want to leave your current job? (Why did you leave your last job?)
  7. How do you handle stressful situations?
  8. What is the toughest problem you’ve had to face, and how did you overcome it?
  9. Why do you want this position?
  10. Why are you the best person for this job?

Pages (4): « 1 2 [3] 4 »