8086 interview questions

  1. How many bits does 8086 microprocessor have?
  2. What is the size of data bus in 8086?
  3. What is the size of address bus in 8086?
  4. What is the max memory addressing capacity of 8086?
  5. Which are the basic parts of 8086?
  6. What are the functions of BIU?
  7. Read More »

Posted in Hardware | 5 Comments

25 SAP ABAP interview questions with no answers

  1. What are the various compoents of SAP XI?
  2. Define Integaration Builder.
  3. What is Software Component Version.
  4. Explain IR and ID.
  5. What is data type, message type, Message Interface, etc.
  6. What is context handling?
  7. Read More »

Posted in Database, General, SAP ABAP | 6 Comments

Google interview questions

This is a list of interview puzzles used at Google.


You have to get from point A to point B. You don’t know if you can get there. What would you do?

Imagine you have a closet full of shirts. It’s very hard to find a shirt. So what can you do to organize your shirts for easy retrieval?

What method would you use to look up a word in a dictionary? Read More »

Posted in General | 63 Comments

30 simple Java questions

  1. How could Java classes direct program messages to the system console, but error messages, say to a file?
    The class System has a variable out that represents the standard output, and the variable err that represents the standard error device. By default, they both point at the system console. This how the standard output could be re-directed:
    Stream st =
     new Stream (new
      FileOutputStream ("techinterviews_com.txt"));
    System.setErr(st);
    System.setOut(st); 
  2. What’s the difference between an interface and an abstract class?
    An abstract class may contain code in method bodies, which is not allowed in an interface. With abstract classes, you have to inherit your class from it and Java does not allow multiple inheritance. On the other hand, you can implement multiple interfaces in your class.

  3. Read More »

Posted in Java | 5 Comments

SQL study notes

SQL
SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database.

SQL*Plus
SQL*Plus is an application that recognizes & executes SQL commands & specialized SQL*Plus commands that can customize reports, provide help & edit facility & maintain system variables. Read More »

Posted in Database | 2 Comments

Giant list of XML interview questions

1. What is XML?

XML is the Extensible Markup Language. It improves the functionality
of the Web by letting you identify your information in a more accurate,
flexible, and adaptable way. It is extensible because it is not
a fixed format like HTML (which is a single, predefined markup language).
Instead, XML is actually a meta language—a language for describing
other languages—which lets you design your own markup languages
for limitless different types of documents. XML can do this because
it’s written in SGML, the international standard meta language for
text document markup (ISO 8879).

2. What is a markup language?

A markup language is a set of words and symbols for describing
the identity of pieces of a document (for example ‘this is
a paragraph’, ‘this is a heading’, ‘this
is a list’, ‘this is the caption of this figure’,
etc). Programs can use this with a style sheet to create output
for screen, print, audio, video, Braille, etc.
Read More »

Posted in General, Web dev | Leave a comment

50 JavaScript & AJAX interview questions

1.  Why so JavaScript and Java have similar name?

A.  JavaScript is a stripped-down version of Java

B.  JavaScript's syntax is loosely based on Java's

C.  They both originated on the island of Java

D.  None of the above

 

2.  When a user views a page containing a JavaScript program, which machine actually executes the script?

A.  The User's machine running a Web browser

B.   The Web server

C.  A central machine deep within Netscape's corporate offices

D.  None of the above

 

Read More »

Posted in Web dev | 1 Comment

EDS Visual Basic and SQL Server interview questions

  1. What is the difference between modal and modaless form in VB?
  2. Why we need a MDI form? How can we make a form as a mdichild form?
  3. Specify technical & functional architecture of your last 2 projects.
  4. What are the objects in ADODB?
  5. What are different types of cursors in ADODB?
  6. What are different types of locks in ADODB?
  7. What is disconnected recordset?
  8. Read More »

Posted in Database, VB, Windows | 25 Comments

More than 200 CCNA questions

  1. As system administrator, you type “debug ipx sap” and receive the following lines as part of the IOS response: type 0×4, “HELLO2″, 199.0002.0003.0006 (451), 2 hops type 0×4, “HELLO1″, 199.0002.0003.0008 (451), 2 hops What does “0×4″ signify?
    * That is a Get Nearest Server response.
    * That it is a General query.
    * That it is a General response.
    * That it is a Get Nearest Server request.
    Correct answer: A
  2. To monitor IP igrp traffic, you can use “debug IP igrp transaction” or “debug IP igrp events”. How do you display information about IPX routing update packets?
    * debug routing
    * debug ipx transaction
    * debug ipx routing activity
    * debug ipx events
    Correct answer: C
  3. Read More »

Posted in Networking | 7 Comments

Implement itoa

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 */
}

/* allocate INTSIZE plus 2 bytes (sign and NULL) */
temp = (char *) malloc(INTSIZE + 2);
if (temp == NULL)
{
return(NULL);
}
memset(temp,'\0', INTSIZE + 2);

string = (char *) malloc(INTSIZE + 2);
if (string == NULL)
{
return(NULL);
}
memset(string,'\0', INTSIZE + 2);
ptr = string; /* set temporary ptr to string */

/*--------------------------------------------------------------------+
| NOTE: This process reverses the order of an integer, ie: |
| value = -1234 equates to: char [4321-] |
| Reorder the values using for {} loop below |
+--------------------------------------------------------------------*/
do {
*temp++ = value % 10 + '0'; /* obtain modulus and or with '0' */
count++; /* increment count, track iterations*/
} while (( value /= 10) >0);

if (sign < 0) /* add '-' when sign is negative */
*temp++ = '-';

*temp-- = '\0'; /* ensure null terminated and point */
/* to last char in array */

/*--------------------------------------------------------------------+
| reorder the resulting char *string: |
| temp - points to the last char in the temporary array |
| ptr - points to the first element in the string array |
+--------------------------------------------------------------------*/
for (i = 0; i < count; i++, temp--, ptr++)
{
memcpy(ptr,temp,sizeof(char));
}

return(string);
}

Posted in C++, General | Leave a comment

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__);

Posted in General | 9 Comments

54 ASP and ASP.NET questions

  1. Explain the life cycle of an ASP .NET page.
  2. Explain the .NET architecture.
  3. What are object-oriented concepts?
  4. How do you create multiple inheritance in c# and .NET?
  5. When is web.config called?
  6. Read More »

Posted in .NET, Web dev | 57 Comments