Since many of freshers fail to answer simple HR question, I though of making a single page for most frequently asked questions and their answers. I have couple of the links, which I found to be useful. Spend some time in browsing some good stuff :) .. Just kidding :) ..
Please have a look at the following links
http://hitechskill.com/HR-Interview-Questions/display.jsp?type=HR&page=1
The below one is not that good.... But worth visiting once
http://www.yuvajobs.com/hr-questions.asp
I will come up with my answers and update this page asap. Keep visiting this page.
Sunday, March 23, 2008
Tuesday, March 4, 2008
Campus to Corporate Gateway-2
OPERATING SYSTEM BASICS
---------------------------------------
1)Explain the basic architecture of OS(Kernal, shell, user apps etc)
2)The same above question can be asked to trace the OS flow for simple commands like "ls -l"
3)What is process?
4)What is thread ?
5)what are the differences b/w process and thread?
6)What are the different states of process?
7)Explain the basics of scheduling? May be by taking simple round robin algorithm
8)What are interrupts?
9)what are different types of IPC mechanism available in the OS?
10)Difference between mutex and semaphore?
11)What is deadlock and how do we can avoid it?
12)Small shell script writting..
13)What is real time operating system?
14)What is the OS you have used for academic projects and why only that?
15)what is the difference between virtual memory and physical memory ??
---------------------------------------
1)Explain the basic architecture of OS(Kernal, shell, user apps etc)
2)The same above question can be asked to trace the OS flow for simple commands like "ls -l"
3)What is process?
4)What is thread ?
5)what are the differences b/w process and thread?
6)What are the different states of process?
7)Explain the basics of scheduling? May be by taking simple round robin algorithm
8)What are interrupts?
9)what are different types of IPC mechanism available in the OS?
10)Difference between mutex and semaphore?
11)What is deadlock and how do we can avoid it?
12)Small shell script writting..
13)What is real time operating system?
14)What is the OS you have used for academic projects and why only that?
15)what is the difference between virtual memory and physical memory ??
Tuesday, February 26, 2008
Campus to Corporate Gateway
This is my effort to consolidate FAQ for the freshers. The most common things on which freshers can be tested is through logical analysis. In spite the candidate clears the test, he has to face the technical interview. In most of the technical interviews freshers will be judged on the basis of the basics he knows.
To test the basics interviewer can choose any of the following.
C concepts and programming
Operating System Basics
C++ programming
Computer Networks
Microprocessors or Micro controllers.
Even though candidate is always given to the choice to choose his favorite subject, it is not only the criteria to select the candidate, Meaning even though candidate is good at his favorite subject interviewer always makes sure what he knows apart from that and exactly that's where other subject peek in.
I have tried my best to list down most probable questions in each area. If you them useful give a comment else update the missing info through comments :)
Let us see Fresh C :)
------------------------
1)Program to find number of 1s and zeros in given integer.
2)Write a C program to check whether machine is Big endian OR little endian
3)C program to Convert decimal to binary
4)C program to do STRCPY without using strcpy
5)C program to STRCAT without using strcat
6)Write a C macro which returns number of seconds in year
7)C program to find sum of digits of any given integer number .
8)C program to fine leap year or not
9)C program to swap two variables (using pointers), without using temp variable.
10)C program to find sum of given Array.
11)Write Macro to return minimum of two numbers
12)C program to find largest of three numbers
13)C program to store data for 10 student info
14)Write all infinite loops u can think off
Here is the most critical part, most of the freshers fail to undersatnd or answer this. If they answer, assume that he is good in C and try to interview him on some other basics.
15)a) An integer ->int a;
b) A pointer to an integer -> int *a;
c) A pointer to a pointer to an integer -> int **a;
d) An array of 10 integers -> int a[10];
e) An array of 10 pointers to integers -> int *a[10];
f) A pointer to an array of 10 integers-> int (*a)[10];
g) A pointer to a function that takes an integer as an argument and returns an integer -> int (*fun)(int)
h) An array of ten pointers to functions that take an integer argument and return an integer int (*fun[10])(int)
16)Difference between struct n union
17)What are uses of keyword "static" ?
18)Test knowledge on const
const int a;
int const a;
const int *a;
int * const a;
int const * a const;
19)C Program to set/clear 3rd bit in given int
20) What is self referntail structure
21)List down all file operation calls u ve used so far.
22) Give them small programs n ask the output
1) Check if catches seg faults
2)Relations operators (Especially logical operators)
3)const value increament/decrement rules.
4)extern initialzation
5)recursive functions
6)pointer operations
23) Ask him to explain basic data types and derived data types.
24)C program to remove the duplicate elements of the array.
25)C program to find the simple interst.(Or any formula)
Networking Basics
-----------------------
These questions will be asked to check the potential of the candidate, if he chooses his favorite subject as computer networks OR if the company is core networking company.
1)Different types of ethernet and their speed.
2)IP addres basics (classes etc)
3)Wireless and wired connections
4)Difference between router/bridge/switch
6)TCP/IP model explaination
7) OSI model (layers explaination)
8)CSMA/CD algorithm
9)TCP/UDP difference or try to get from him what are all he/she knows about it.
10)What is DHCP/DNS?
11)Ethernet header. (If he can explain MAC address alone,that is sufficient)
12) Tunneling theory.
13)Routing table - discovery (Any of the congestion algorithm)
14)Favourite layer and its operation
15)server/client model
16)Network topolopy and their selection
17)How do u choose the port number for any of the protocol
18)Any of the application layer protocol
19)Basics about the LAN
20)Some random problem about the network and try to see how he approaches towards it.
This will be updated on different subjects, when I find the time :)
To test the basics interviewer can choose any of the following.
C concepts and programming
Operating System Basics
C++ programming
Computer Networks
Microprocessors or Micro controllers.
Even though candidate is always given to the choice to choose his favorite subject, it is not only the criteria to select the candidate, Meaning even though candidate is good at his favorite subject interviewer always makes sure what he knows apart from that and exactly that's where other subject peek in.
I have tried my best to list down most probable questions in each area. If you them useful give a comment else update the missing info through comments :)
Let us see Fresh C :)
------------------------
1)Program to find number of 1s and zeros in given integer.
2)Write a C program to check whether machine is Big endian OR little endian
3)C program to Convert decimal to binary
4)C program to do STRCPY without using strcpy
5)C program to STRCAT without using strcat
6)Write a C macro which returns number of seconds in year
7)C program to find sum of digits of any given integer number .
8)C program to fine leap year or not
9)C program to swap two variables (using pointers), without using temp variable.
10)C program to find sum of given Array.
11)Write Macro to return minimum of two numbers
12)C program to find largest of three numbers
13)C program to store data for 10 student info
14)Write all infinite loops u can think off
Here is the most critical part, most of the freshers fail to undersatnd or answer this. If they answer, assume that he is good in C and try to interview him on some other basics.
15)a) An integer ->int a;
b) A pointer to an integer -> int *a;
c) A pointer to a pointer to an integer -> int **a;
d) An array of 10 integers -> int a[10];
e) An array of 10 pointers to integers -> int *a[10];
f) A pointer to an array of 10 integers-> int (*a)[10];
g) A pointer to a function that takes an integer as an argument and returns an integer -> int (*fun)(int)
h) An array of ten pointers to functions that take an integer argument and return an integer int (*fun[10])(int)
16)Difference between struct n union
17)What are uses of keyword "static" ?
18)Test knowledge on const
const int a;
int const a;
const int *a;
int * const a;
int const * a const;
19)C Program to set/clear 3rd bit in given int
20) What is self referntail structure
21)List down all file operation calls u ve used so far.
22) Give them small programs n ask the output
1) Check if catches seg faults
2)Relations operators (Especially logical operators)
3)const value increament/decrement rules.
4)extern initialzation
5)recursive functions
6)pointer operations
23) Ask him to explain basic data types and derived data types.
24)C program to remove the duplicate elements of the array.
25)C program to find the simple interst.(Or any formula)
Networking Basics
-----------------------
These questions will be asked to check the potential of the candidate, if he chooses his favorite subject as computer networks OR if the company is core networking company.
1)Different types of ethernet and their speed.
2)IP addres basics (classes etc)
3)Wireless and wired connections
4)Difference between router/bridge/switch
6)TCP/IP model explaination
7) OSI model (layers explaination)
8)CSMA/CD algorithm
9)TCP/UDP difference or try to get from him what are all he/she knows about it.
10)What is DHCP/DNS?
11)Ethernet header. (If he can explain MAC address alone,that is sufficient)
12) Tunneling theory.
13)Routing table - discovery (Any of the congestion algorithm)
14)Favourite layer and its operation
15)server/client model
16)Network topolopy and their selection
17)How do u choose the port number for any of the protocol
18)Any of the application layer protocol
19)Basics about the LAN
20)Some random problem about the network and try to see how he approaches towards it.
This will be updated on different subjects, when I find the time :)
Sunday, November 18, 2007
SCJP FAQ
This is my attempt to gather all the links required for SCJP. Even though it's not the area where I am very strong ... I tried collecting the links from my roomie, who tried hard to attend n clear the exam.. Upon his input these links helps novice to prepare, to take mock tests before attending the real exam ..
Let me elucidate again .. It's not the area I am pretty good at :( ... But I trust my roomie . So posted the links ..
All the best... Enjoy JAVA
Here we go ..
http://www.akgupta.com/Java/mock_exam.htm
http://www.geocities.com/wahjava/dctester.html
http://www.mihaiu.name/
http://www.wbrogden.com/java/javacert/TestApplet6.htm
http://www.wbrogden.com/exams/myexam
http://www.wbrogden.com/tests/index.html
http://www.google.com/Top/Computers/Programming/Languages/Java/Resources/Certification/
http://www.jiris.com/online/userpwd2.do
http://www.aniyog.com/java/certification.htm
http://www.geocities.com/sunjava4u/moc_ex.html
http://www.javacamp.org/testengine/comprehensive.html
http://www.certgear.com/products/info/scjp.htm
http://www.geocities.com/sunjava4u/moc_ex.html
http://valiveru.tripod.com/java/index.html/#certlinks
http://www.go4java.20m.com/mock2.htm
http://www.valoxo.ch/jr/mocks/mock01a.html
http://www.geocities.com/SiliconValley/Screen/5046/index.html
http://bmil.freeservers.com/tester/test.html
http://www21.brinkster.com/infoway02/SCJP2.asp
http://www21.brinkster.com/infoway02/html/SCJP_20.html
http://jdiscuss.com/Enthuse/jsp/ShowAvailableTests.jsp
http://www.geocities.com/sunjava4u/mock1.html
Let me elucidate again .. It's not the area I am pretty good at :( ... But I trust my roomie . So posted the links ..
All the best... Enjoy JAVA
Here we go ..
http://www.akgupta.com/Java/mock_exam.htm
http://www.geocities.com/wahjava/dctester.html
http://www.mihaiu.name/
http://www.wbrogden.com/java/javacert/TestApplet6.htm
http://www.wbrogden.com/exams/myexam
http://www.wbrogden.com/tests/index.html
http://www.google.com/Top/Computers/Programming/Languages/Java/Resources/Certification/
http://www.jiris.com/online/userpwd2.do
http://www.aniyog.com/java/certification.htm
http://www.geocities.com/sunjava4u/moc_ex.html
http://www.javacamp.org/testengine/comprehensive.html
http://www.certgear.com/products/info/scjp.htm
http://www.geocities.com/sunjava4u/moc_ex.html
http://valiveru.tripod.com/java/index.html/#certlinks
http://www.go4java.20m.com/mock2.htm
http://www.valoxo.ch/jr/mocks/mock01a.html
http://www.geocities.com/SiliconValley/Screen/5046/index.html
http://bmil.freeservers.com/tester/test.html
http://www21.brinkster.com/infoway02/SCJP2.asp
http://www21.brinkster.com/infoway02/html/SCJP_20.html
http://jdiscuss.com/Enthuse/jsp/ShowAvailableTests.jsp
http://www.geocities.com/sunjava4u/mock1.html
Friday, November 16, 2007
Linux Concluded
1)Very much basics of Operating system. I feel its best to glance these once, to refresh the learning done.
http://www.techinterviews.com/?p=170
2) Threads demystified
Linux threads FAQ
http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html
Posix threads tutorial with example
http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html
Thread with java .. Find FAQ here
http://www.jguru.com/faq/Linux
Programming with POSIX threads
http://www.llnl.gov/computing/tutorials/pthreads/
Debugging posix threads, use simple two files debug.c and debug.h listed here http://www.humanfactor.com/pthreads/debugging.html
3)Find the linux documentation at
http://www.linux.org/docs/
http://www.techinterviews.com/?p=170
2) Threads demystified
Linux threads FAQ
http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html
Posix threads tutorial with example
http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html
Thread with java .. Find FAQ here
http://www.jguru.com/faq/Linux
Programming with POSIX threads
http://www.llnl.gov/computing/tutorials/pthreads/
Debugging posix threads, use simple two files debug.c and debug.h listed here http://www.humanfactor.com/pthreads/debugging.html
3)Find the linux documentation at
http://www.linux.org/docs/
Saturday, October 27, 2007
Simple yet useful C programs
All functions written below are compiled on gcc.
1) Function to count number of ones and zeros in a given integer
Input Params :
a)num: The integer for which count needs to be dome
b)one_count : pass the address of variable in which 1's count is expected
c)one_count : pass the address of variable in which 0's count is expected
void count_OneAndZero(int num, int *one_count, int *zero_count)
{
while(num != 0){
if(num&1)
*one_count +=1;
num >>=1;
}
*zero_count = sizeof(int)*8 - *one_count;
return;
}
2) Function to convert decimal to binary
Input Params :
a)decimal: The integer to be converted into binary
b)binary : The fixed size array in which binary string is expected.
void dec2bin(long decimal, char *binary)
{
int i = 0, j = 0;
int neg_flag = 0;
int remain;
char temp[80];
/* what if i/p is -ve */
if (decimal < 0)
{
decimal = -decimal;
neg_flag = 1;
}
if (neg_flag)
temp[i++] = '-'; // add - sign
else
temp[i++] = ' '; // space
while (i >= 0)
binary[j++] = temp[--i];
binary[j-1] = '\0'; // end with NULL
return;
}
1) Function to count number of ones and zeros in a given integer
Input Params :
a)num: The integer for which count needs to be dome
b)one_count : pass the address of variable in which 1's count is expected
c)one_count : pass the address of variable in which 0's count is expected
void count_OneAndZero(int num, int *one_count, int *zero_count)
{
while(num != 0){
if(num&1)
*one_count +=1;
num >>=1;
}
*zero_count = sizeof(int)*8 - *one_count;
return;
}
2) Function to convert decimal to binary
Input Params :
a)decimal: The integer to be converted into binary
b)binary : The fixed size array in which binary string is expected.
void dec2bin(long decimal, char *binary)
{
int i = 0, j = 0;
int neg_flag = 0;
int remain;
char temp[80];
/* what if i/p is -ve */
if (decimal < 0)
{
decimal = -decimal;
neg_flag = 1;
}
if (neg_flag)
temp[i++] = '-'; // add - sign
else
temp[i++] = ' '; // space
while (i >= 0)
binary[j++] = temp[--i];
binary[j-1] = '\0'; // end with NULL
return;
}
See C Links
This is to make sure we have too many things on net to learn, But scattered here n there. One more attempt to put the things together for reference.
The site to learn C FAQ by chapter wise
http://c-faq.com/
You can find the answers to most of the above questions here.
http://www.faqs.org/faqs/C-faq/faq/
A systematic approach to question and answers
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Practical view of looking at C
http://www.geocities.com/vijoeyz/faq/
Solutions to K&R 2nd edition
http://users.powernet.co.uk/eton/kandr2/
Good and simple tutorial on C with graphical illustrations
http://www.cs.cf.ac.uk/Dave/C/
Find good C programming books here
http://freecomputerbooks.com/
The site to learn C FAQ by chapter wise
http://c-faq.com/
You can find the answers to most of the above questions here.
http://www.faqs.org/faqs/C-faq/faq/
A systematic approach to question and answers
http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Practical view of looking at C
http://www.geocities.com/vijoeyz/faq/
Solutions to K&R 2nd edition
http://users.powernet.co.uk/eton/kandr2/
Good and simple tutorial on C with graphical illustrations
http://www.cs.cf.ac.uk/Dave/C/
Find good C programming books here
http://freecomputerbooks.com/
Subscribe to:
Posts (Atom)