Kshema Technologies Placement Question Papers
Kshema Technologies Placement Question Papers
1. What are the key differences between C & C++.
2. How is the struct functionality different in C and in C++.
3. What is the difference between the following
a. i=i+1;
b. ++i;
ANS: ++i is a single instruction while in i=i+1, first i+1 is computed and then assigned.
4. What is the difference between the two files.
file1.c
# include………..
int i;
void main()
{
……….
}
file2.c
# include
static int i;
void main()
{
…..
}
5. Explain the OSI layer and TCP/IP layer and their differences.
6. Explain the difference in memory management in Windows and Linux if there are any.
7. What are the differences between C++ in windows and C++ in Linux.
8. Explain some api’s used in Networking (in LINUX and WINDOWS)
9. What is exception handling and how is it different from error handling…… Why is exception handling used instead of error handling in some cases and vice versa
10. What is Hashing in Data structures and why is it used. What the criteria for Hashing and explain some of them.
11. What are the criteria’s to be considered for Searching algorithms.
12. What is the key aspect of Object Oriented Programming
13. Explain sliding window protocol.
14. What is the SELECT() API in networking.
15. difference between C / C++
16. Is the following code an Example of Dynamic Binding Explain?
class Base
{
Public:
virtual Bool Dosomething()
——
——
——
};
class Derived1: public Base
{
Public:
Bool Dosomething();
———–
———–
———–
};
class Derived2: public Base
{
Public:
Bool Dosomething();
———–
———–11:39 AM 5/10/2005
———–
};
void main()
{
Derived1 derived1;
Derived2 derived2;
::process(derived1);
::process(derived2);
}
::Process(Base& Object)
{
Object.Dosomething();
}
17. What will happen if in the above code in the base class the keyword virtual is removed?
18. Give a brief presentation of your 8th Semester Project.