HOME         WALKINS         CORE JOBS          GOVT JOBS          TESTING JOBS          BPO JOBS amity niit hp idea nokia religare samsung max_new_york_life naukri

Sunday, March 7, 2010

Network Interview Questions

Question 1: How does the race condition occur?
It occurs when two or more processes are reading or writing some shared data and the final result depends on who runs precisely when.
Question 2: What is multiprogramming?
Multiprogramming is a rapid switching of the CPU back and forth between processes.
Question 3: Name the seven layers of the OSI Model and describe them briefly.
Physical Layer - covers the physical interface between devices and the rules by which bits are passed from one to another.
Data Link Layer - attempts o make the physical link reliable and provides the means to activate, maintain, and deactivate the link.
Network Layer - provides for the transfer of information between end systems across
some sort communications network.
Transport Layer - provides a mechanism for the exchange of data between end system.
Session Layer - provides the mechanism for controlling the dialogue between applications
in end systems.
Presentation Layer - defines the format of the data to be exchanged between applications
and offers application programs a set of data transformation services.
Application Layer - provides a means for application programs to access the OSI environment.

Question 4: What is the difference between TCP and UDP?
TCP and UDP are both transport-level protocols. TCP is designed to provide reliable
communication across a variety of reliable and unreliable networks and internets.
UDP provides a connectionless service for application-level procedures. Thus, UDP is basically
an unreliable service; delivery and duplicate protection are not guareented.
Question 5: What does a socket consists of?
The combination of an IP address and a port number is called a socket.
Q6. Name of seven layers in Open System Interconnection model.
A. They are Application, Presentation, Session, Transport, Network, Data link, and Physical.
Q7. What is the time complexity of matrix multiplication ?
void Mult_Matrix(matrix A, matrix B, matrix C)
{
int i, j, k;
for ( i = 1; i < N; i++)
for ( j = 1; j < N; j++ )
{
C[i][j] = 0;
for ( k = 0; k < N; k++ )
C[i][j] = A[i][j]*B[k][j];
}
retrun;
}
A. The time comlexity of matrix mulitiplication is O(N^3)
Q8. What is the null pointer in C++ ?
A. The null pointer is a special C++ pointer value that can be used for any pointer that doesn’t pointer anywhere. It can be written as the constant NULL form stlib.h
Q9. What is the goal of the shortest distance algorithm ?
A. The goal is to completely fill the distance array so that for each vertex v, the value of distance[v] is the weight of the shortest path from start to v.
Q10. What is the difference between an abstract class and an interface?
A.
An abstract class may have fields and some implemented methods.
An interface has no implementation; only constants and method declarations.
What is a wildcard mask, and how is it different from a netmask?
1. How do you configure a Cisco switch or router? What are the steps needed?
2. How would I place an interface into trunking mode?
3. How do you shutdown an interface on a router or switch?
4. What is VTP?
5. What is VMPS?
6. What is SPAN/RSPAN?
7. What is flow/netflow?
8. What is TACACS? Radius?

No comments:

Post a Comment