Professional Documents
Culture Documents
C/C++ 109
HARDWARE & ARCHITECTURE 35
Data Structure 50
DBMS 54
Common Questions 41
JAVA_____________________________________________________________________30
Computer Network_________________________________________________________33
Microprocessor____________________________________________________________80
Advanced Java & J2EE_______________________________________________________58
Networking_______________________________________________________________ 41
Operating System__________________________________________________________ 18
UNIX Shell________________________________________________________________ 21
C# .NET__________________________________________________________________ 54
ASP.NET_________________________________________________________________ 53
Total 677
C/C++
1. What is encapsulation??
2. What is inheritance?
3. What is Polymorphism??
4. What is constructor or ctor?
5. What is destructor?
6. What is default constructor?
7. What is copy constructor?
8. When are copy constructors called?
9. What is assignment operator?
10. What are all the implicit member functions of the class? Or what are all the functions which
compiler implements for us if we don't define one.??
11.What is conversion constructor?
12.What is conversion operator??
13. What is diff between malloc()/free() and new/delete?
14. What is the diff between "new" and "operator new" ?
15.What is difference between template and macro??
16.What are C++ storage classes?
17. What are storage qualifiers in C++ ?
INTERVIEW QUESTIONARY Page 1
MANISH M SHUKLA (Microsoft Certified Trainer)
18. What is reference ??
19.What is passing by reference?
20.When do use "const" reference arguments in function?
21.When are temporary variables created by C++ compiler?
22.What is virtual function?
23. What is pure virtual function? or what is abstract class?
24.What is Memory alignment??
25.What problem does the namespace feature solve?
26.What is the use of 'using' declaration?
27. What is an Iterator class?
28.What is a dangling pointer?
29.What do you mean by Stack unwinding?
30.Name the operators that cannot be overloaded??
31.What is a container class? What are the types of container classes?
32.What is inline function??
33.What is overloading??
34. What is Overriding?
35.What is "this" pointer?
36. What happens when you make call "delete this;" ??
37.How virtual functions are implemented C++?
38.What is name mangling in C++??
39.What is the difference between a pointer and a reference?
40. How are prefix and postfix versions of operator++() differentiated?
41. What is the difference between const char *myPointer and char *const myPointer?
42.How can I handle a constructor that fails?
43.How can I handle a destructor that fails?
44.What is Virtual Destructor?
45. Can you think of a situation where your program would crash without reaching the
breakpoint which you set at the beginning of main()?
46.Name two cases where you MUST use initialization list as opposed to assignment in
constructors.
47.Can you overload a function based only on whether a parameter is a value or a reference?
48. What are the differences between a C++ struct and C++ class?
49. What does extern "C" int func(int *, Foo) accomplish?
50.How do you access the static member of a class?
Data Structure
1. What are some of the applications for the tree data structure?
2. What is the difference between ARRAY and STACK?
3. What is a queue?
4. What is the minimum number of queues needed to implement the priority queue?
5. Which data structure is used to perform recursion?
6. Which data structure algorithm used in solving the eight Queens problem?
7. In an AVL tree, at what condition the balancing is to be done?
8. What is the bucket size, when the overlapping and collision occur at the same time?
9. There are 8, 15, 13, and 14 nodes in four different trees. Which one of them can form a full
binary tree
10. What is the condition to be checked for the multiplication of two matrices?
11. What is a string?
12. What is use terminating null character?
13. What is an empty string?
14. What are the operations that can be performed on a string?
DBMS
1. Does View occupy memory? If we delete the base table of existing view, What happens?
Common Questions
JAVA
Computer Network
Microprocessor
1. What is a Microprocessor?
2. Give examples for 8 / 16 / 32 bit Microprocessor?
3. Why 8085 processor is called an 8 bit processor?
4. What is 1st / 2nd / 3rd / 4th generation processor?
5. Define HCMOS?
6. What does microprocessor speed depend on?
7. Is the address bus unidirectional?
INTERVIEW QUESTIONARY Page 11
MANISH M SHUKLA (Microsoft Certified Trainer)
8. Is the data bus is Bi-directional?
9. What is the disadvantage of microprocessor?
10.What is the difference between microprocessor and microcontroller?
11.What is meant by LATCH?
12.Why does microprocessor contain ROM chips?
13.What is the difference between primary & secondary storage device?
14.Difference between static and dynamic RAM?
15.What is interrupt?
16.What is cache memory?
17.What is called “Scratch pad of computer�
18.Which transistor is used in each cell of EPROM?
19.Differentiate between RAM and ROM?
20.What is a compiler?
21.Which processor structure is pipelined?
22.What is flag?
23.What is stack?
24.Can ROM be used as stack?
25.What is NV-RAM?
Microprocessor 8085
26.In Synchronous data Transfer type both Transmitter and Receiver will operate in?
27.The term PSW Program Status word refers
28.In 8085 the MAR, or ….. register, latches the address from the program counter. A bit later
the MAR applies this address to the ……, where a read operations performed
29.Interaction between a CPU and a peripheral device that takes place during and input output
operation is known as
30.Addressing in which the instructions contains the address of the data to the operated on is
known as
31.Serial input data of 8085 can be loaded into bit 7 of the accumulator by
32.The address to which a software or hardware restart branches is known as
33.TRAP is …..whereas RST 7.5, RST 6.5, RST 5.5 are….
34.How many outputs are there in the output of a 10-bit D/A converter?
35.The stack is a specialized temporary …… access memory during ….. and …… instructions
36.What is the direction of address bus ?
37.The length of A – register is ——- bits
38.The length of program counter is ——– bits
39.The length of stack pointer is ——– bits
40.The length of status word is ——- bits
41.The length of temporary register ——- bits
42.The length of Data buffer register ——- bits
43.The No. of flags are ——-
44.The memory word addressing capability is —— K
45.What is the purpose of using ALE signal high?
46.What is the purpose of READY signal?
47.What is the addressing mode used in instruction MOV M, C?
48.In 8085 the hardware interrupts are
49.In the TRAP, RST 7.5, RST 6.5, RST 5.5, which is having top priority
50.In 8085 the no . of software interrupts are
51.Which is the non-vectored interrupt in 8085?
52.In 8085 the Interput Acknowledge is represended by _______
INTERVIEW QUESTIONARY Page 12
MANISH M SHUKLA (Microsoft Certified Trainer)
53.The Instructions used for data transfer in I\o mapped I\O are
54.Number of Address lines required to interface 1KB of memory are
Microprocessor 8086
55.What are the flags in 8086?
56.Why crystal is a preferred clock source?
57.In 8085 which is called as High order / Low order Register?
58.What is Tri-state logic?
59.What happens when HLT instruction is executed in processor?
60.Which Stack is used in 8085?
61.What is Program counter?
62.What are the various registers in 8085?
63.What is 1st / 2nd / 3rd / 4th generation processor?
64.Name the processor lines of two major manufacturers?
65.What’s the speed and device maximum spec for Firewire?
66.Where does CPU Enhanced mode originate from?
67.How many bit combinations are there in a byte?
68.Have you studied buses? What types?
69.What is the Maximum clock frequency in 8086?
70.What is meant by Maskable interrupts?
71.What is Non-Maskable interrupts?
72.What are the different functional units in 8086?
73.What are the various segment registers in 8086?
74.What does EU do?
75.Which Stack is used in 8086? k is used in 8086?
76.What are the flags in 8086?
77.What is SIM and RIM instructions?
78.What is the difference between 8086 and 8088?
79.Give example for Non-Maskable interrupts?
80.Give examples for Micro controller?
Networking
1. Virtual meetings on Internet are called………….
2. LAN can be connected by devices called………..
3. The bit pattern …………… is the preamble of 802.3 frame format.
4. Basic SONET frame is a block of ……………. bytes.
5. The amount of thermal noise is measured by ………………..
6. Explain the Frequency Modulation.
7. What is WAN and where it is used? how it is different from LAN and MAN.
8. Explain single error detecting code with example.
9. What is Flow control? Explain.
10.Explain CSMA/CD Protocol.
11.Describe Multitasking.
12.Describe Service Primitives.
13.Explain briefly PCM and its requirements.
14.What is Concession Control describe i) Load shedding ii) Jitter Control. Under it.
15.What is QoS?
16.Token Bucket Algorithm is employed to prevent congestion. The capacity of the bucket is
250k byes Arriving rate of the token is 2MB/sec. if the maximum output rate is 25MB/sec,
calculate the burst length in time.
17.Describe principles considered in the design of network layer in the internet.
18.Describe Address format used in Internet. [ With figure ]
19.A Network on the Internet has a Subnet mask of 255.255.240.0. What is the maximum No.
of hosts it can handle?
20.What are basic difference between IPV4 and IPV6?
21.Describe Address Resolution Protocol, use diagram if required.
INTERVIEW QUESTIONARY Page 15
MANISH M SHUKLA (Microsoft Certified Trainer)
22.What is the difference between Interior gateway protocol and Exterior gateway protocol.
23.What is the function of ATM adaptation layer.
24.Illustrate the phenomenon of Silly Window Syndrome in TCP.
25.What is delayed duplicate problem?
26.Explain Unicast addresses, Multicast adresses, and broadcast address
27.OSPF areas, the purpose of having each of them
28.Types of OSPF LSA, the purpose of each LSA type
29.What exact LSA type you can see in different areas
30. How OSPF establishes neighboor relation, what the stages are
31. If OSPF router is stucked in each stage what the problem is and how to troubleshoot it
32. OSPF hierarchy in the single or multi areas. Cool OSPF behavior in broadcast and
nonbroadcast
33. Draw the diagram of typical OSPF network and explain generally how it works, DR, BDR,
election, ASBR, ABR, route redistribution and summarization
34. How it works and the purpose
35. Diff types (SSTP, MSTP, RSTP) Cisco - PVST/PVST+ root election
36.Diff. port stages and timing for convergence
37.Draw the typical diagram and explain how diff types of STP work
38.What ports are blocking or forwarding
39.How it works if there are topology changes
40.Draw the typical network diagram you have to deal with. Explain how it works
41. Firewall : what is that, how it works, how it is diff from ACLs.
Operating System
1. What is MUTEX ?
2. What isthe difference between a ‘thread’ and a ‘process’?
3. What is INODE?
4. Explain the working of Virtual Memory.
5. How does Windows NT supports Multitasking?
6. Explain the Unix Kernel.
7. What is Concurrency? Expain with example Deadlock and Starvation.
8. What are your solution strategies for “Dining Philosophers Problem” ?
9. Explain Memory Partitioning, Paging, Segmentation.
10.Explain Scheduling.
11. Operating System Security.
INTERVIEW QUESTIONARY Page 16
MANISH M SHUKLA (Microsoft Certified Trainer)
12.What is Semaphore?
13. Explain the following file systems : NTFS, Macintosh(HPFS), FAT .
14.What are the different process states?
15.What is Marshalling?
16.Define and explain COM?
17.What is Marshalling?
18. Difference - Loading and Linking ?
UNIX Shell
1. There can be multiple Kernels and shells running on your system. True or False?
2. Why shell is called Command Interpreter?
3. Two UNIX systems may or may not use the same system calls. True or False?
4. To obtain help on any feature of the system, what are the possible help sources available?
5. Why are the directories /bin and /usr/bin usually found first in the output of echo $PATH?
6. If two commands with the same filename exist in two directories in PATH, how can they be
executed.
7. How is the Current directory is indicated in the value of the PATH?
8. Use the type command with the following arguments—cd, date, pwd and ls. Which are
the internal commands in the list?
9. What is the difference between an argument and an option?
10.if the command ls –all works on your system, which flavor of UNIX could you be using?
11.What does the secondary prompt look like and when does it appear?
12.You located the string crontab in a man page by searching with /crontab [Enter]. How do
you find out the other occurrences of this string in the page?
13.What is a pager? Name the two standard pagers used by man.
14.If a command doesn’t seem to complete, which key will you press to interrupt it?
15.Do you need to wait for a command to finish before entering the next one?
16.What do the | and the three dots in the SYNOPSIS section of these man pages indicate as
shown below?
/usr/xpg4/bin/tail [ -f | -r ]
/usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [file .. ]
17.How do you direct man to use a specific pager, say less?
18.What is a whitespace? Explain the treatment the shell metes out to a command that
contains a lot of whitespace.
19.A Program file named foo exists in the current directory, but when we try to execute it by
entering foo, we see the message foo: command not found. Explain how that can happen?
20.What do multiprogramming, multiuser and multitasking mean?
C# .NET
1. Can we have private constructor? when can I use them?
2. what is an internal specifier? what happens internally when I use access specifier Internal ?
3. DO we have inline function in C#? otherwise what is equivalent inline function in C#?
4. Explain the differences between Server-side and Client-side code?
5. What type of code (server or client) is found in a Code-Behind class?
6. Should validation (did the user enter a real date) occur server-side or client-side? Why?
7. What does the “EnableViewState” property do? Why would I want it on or off?
8. What is the difference between Server.Transfer and
9. Response.Redirect? Why would I choose one over the other?
10.Can you give an example of when it would be appropriate to use a web service as opposed
to a non-serviced .NET component
11.Let’s say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and
this application utilizes Windows 2000 COM+ transaction services. How would you approach
migrating this application to .NET
12.Can you explain the difference between an ADO.NET Dataset and anADO Recordset?
13.Can you give an example of what might be best suited to place in the Application_Start and
Session_Start subroutines?
14.If I’m developing an application that must accomodate multiple security levels though
secure login and my ASP.NET web appplication is spanned across three web-servers (using
round-robbin load balancing)
15.what would be the best approach to maintain login-in state for the users?
16.What are ASP.NET Web Forms? How is this technology different than what is available
though ASP (1.0-3.0)?
17.How does VB.NET/C# achieve polymorphism?
18.Can you explain what inheritance is and an example of when you might use it?
19.Use the existing functionality along with its own properities.
20.How would you implement inheritance using VB.NET/C#?
21.Whats an assembly
22.Describe the difference between inline and code behind - which is best in a loosely coupled
solution
23.Explain what a diffgram is, and a good use for one
24.Where would you use an iHTTPModule, and what are the limitations of any approach you
might take in implementing one
25.What are the disadvantages of viewstate/what are the benefits
26.Describe session handling in a webfarm, how does it work and what are the limits
27.How would you get ASP.NET running in Apache web servers - why would you even do this?
28.Whats MSIL, and why should my developers need an appreciation of it if at all?
29.In what order do the events of an ASPX page execute. As a developer is it important to
undertsand these events?
30.Which method do you invoke on the DataAdapter control to load your generated dataset
with data?
31.Can you edit data in the Repeater control?
ASP.NET
1. Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading
process.
2. inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other
things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI
filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process
aspnet_wp.exe.
3. What’s the difference between Response.Write() andResponse.Output.Write()?
4. The later one allows you to write formattedoutput.
5. What methods are fired during the page load?
6. Init() - when the pageis instantiated
7. Load() - when the page is loaded into server memory
8. PreRender() - the brief moment before the page is displayed to the user asHTML,
9. Unload() - when page finishes loading.
10.Where does the Web page belong in the .NET Framework class hierarchy?
11.System.Web.UI.Page
INTERVIEW QUESTIONARY Page 19
MANISH M SHUKLA (Microsoft Certified Trainer)
12.Where do you store the information about the user’s locale?
13.System.Web.UI.Page.Culture
14.What’s the difference between Codebehind=”MyCode.aspx.cs” andSrc=”MyCode.aspx.cs”?
15.CodeBehind is relevant to Visual Studio.NET only.
16.What’s a bubbled event?
17.When you have a complex control, like DataGrid, writing an event processing
18.What’s the difference between Response.Write() andResponse.Output.Write()?
19.Response.Output.Write() allows you to write formatted output.
20.What methods are fired during the page load?
21.Init() - when the page is instantiated
22.Load() - when the page is loaded into server memory
23.PreRender() - the brief moment before the page is displayed to the user as HTML
24.Unload() - when page finishes loading.
25.When during the page processing cycle is ViewState available?
26.After the Init() and before the Page_Load(), or OnLoad() for a control.
27.What namespace does the Web page belong in the .NET Framework class hierarchy?
28.Where do you store the information about the user’s locale?
29.What’s the difference between Codebehind=”MyCode.aspx.cs” andSrc=”MyCode.aspx.cs”?
30.What’s a bubbled event?
31.Suppose you want a certain ASP.NET function executed on MouseOver for a certain button.
Where do you add an event handler?
32.What data types do the RangeValidator control support?
33.Explain the differences between Server-side and Client-side code?
34.What type of code (server or client) is found in a Code-Behind class?
35.Should user input data validation occur server-side or client-side? Why?
36.What is the difference between Server.Transfer and Response.Redirect? Why would I
choose one over the other?
37.Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
38.What is the Global.asax used for?
39.What are the Application_Start and Session_Start subroutines used for?
40.Can you explain what inheritance is and an example of when you might use it?
41.Describe the difference between inline and code behind.
42.Explain what a diffgram is, and a good use for one?
43.Whats MSIL, and why should my developers need an appreciation of it if at all?
44.Which method do you invoke on the DataAdapter control to load your generated dataset
with data?
45.Can you edit data in the Repeater control?
46.Which template must you provide, in order to display data in a Repeater control?
47.How can you provide an alternating color scheme in a Repeater control?
48.What property must you set, and what method must you call in your code, in order to bind
the data from a data source to the Repeater control?
49.What base class do all Web Forms inherit from?
50.Name two properties common in every validation control?
51.Which property on a Combo Box do you set with a column name, prior to setting the
DataSource, to display data in the combo box?
52.Which control would you use if you needed to make sure the values in two different controls
matched?
53.How many classes can a single .NET DLL contain?