Tuesday 1 May 2012

Some intresting questions

Explain the memory layout of a c program ? Explain in detail the role of each segment and type of variables it stores?

Explain the inter process communication mechanism? which all you have used and which one is the fastest?

Whats the need of volatile variable? Explain about the effects in terms of usage of a ordinary variable and a volatile variable?

what does a process control block saves and where does it save the context of the process?

Explain virtual functions ? how they are implemented and how many virtual tables does a derived class has?

Design a macro which reverse a number 1234 as 4321.

Dynamic memory allocation in c and c++? advantages and disadvantages?

How will u implement garbage collection in c++?

Explain the different types of constructors and whats the copy constructor?

How real time operating systems are different from GPOS?What makes a system real time?

How will u restrict a object to be created on stack and heap?

Explain the different types of casting available with c++? Explain with example each one of them and providing situations where they can be used?

what are static libraries and dynamic libraries? are they part of the user code?

why do we prefer using references?

How can you call a function before main ?

Explain the ways u can debug and application?

What approaches will u apply if the controller is not able to connect to the instrument?

Test case to test a scenario where a text box takes a valid value between 0 and 1000? Write test cases ?

Talk about Boundary value analysis?

Types of testing ?

Talk about the configuration management tools requirement management tools ?

Talk about the bug management tool and the different states of the bug tracking ?

Threads synchronisation mechanism ? Design you own semaphore and prove that it solves the design purpose?

Which all features you have used in c++?

Explain abstract classes and the pure virtual functions?

Explain mapping at run time how the run time binding happens in case of virtual functions?

Whats the size  of class if i use a virtual function and if i don't use a virtual function?

Why virtual functions are considered slower? what is the hidden penalty?

Explain why you don't prefer using the heap memory in ur application this is a design specific questions?

how will u set , unset and determine which all bits are set in a value.

Explain big and little endian machines with few examples? where does it matter ?
what are events ? 


No comments:

Post a Comment

Apache Beam Learning In Java Tutorials

 Wow  https://youtu.be/9kGETU63rkc