KSHEMA PLACEMENT PAPER

Answer Posted / guest

Kshema Placement Papers | Kshema Interview Procedure |
Kshema Aptitude Questions | Kshema Technical Questions |
Kshema Interview Questions


Kshema Technical Test Questions

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()
{
.....
}


ANS: While in this case for both the programs... the scope
and lifetime of
variable 'i' is throughout the program..... the value
of 'i' is not.
For eg. if 'i=2' in the file1.c, any other program
accessing this
variable from outside will still see the value of i as 2.
Whereas in File2.c if the variable 'i' is accessed from any
other
program its value will always be seen as 0

Reason: For static variables their values are active only
within the
COMPILE AREA of where it is declared or in the program
where it is declared.

4. Explain the OSI layer and TCP/IP layer and their
differences.

5. Explain the difference in memory management in Windows
and Linux if there
are any.

6. What are the differences between C++ in windows and C++
in Linux.

7. Explain some api's used in Networking (in LINUX and
WINDOWS)

8. 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.

9. What is Hashing in Datastructures and why is it used.
What the criteris
for Hashing and explain some of them.

10. What are the criterias to be considered for Searching
algorithms.

ANS: The size of the list and whether it is sorted.(these
two are apparently
most important.... and that is the answer they expect)

11. What is the key aspect of Object Oriented Programming

ANS: DATA ABSTRACTION (I personally felt "data
encapsulation"...... but
apparently the former mentioned was and is correct)

12. Explain sliding window protocol.

13. What is the SELECT() API in networking.


1.difference between C / C++

2.Explanation of OOP principles
-Data Abstraction.
-Data Encapsulation
-Inheritence
-Polymorphism
-Dynamic Binding.
-Reduction of Errors.

3.What is a Friend Function ? Explain with an Example.

4.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();
-----------
-----------
-----------
};

void main()
{
Derived1 derived1;
Derived2 derived2;

::process(derived1);
::process(derived2);
}

::Process(Base& Object)
{
Object.Dosomething();
}

Answer: In the processfunction above the downcasting is
done while passing
parameters and in the function body upcasting is done so
object.dosomething() will be dynamic binding ( i am unable
to explain the
answer in clear terms....but the line of thinking is
something like
that....)

5.What will happen if in the above code in the base class
the keyword
virtual is removed?

Answer: IF virtual is removed from the function
declaration. when the
process function is called it calls the Dosomething
function of the
Baseclass itself rather than the derived classes.

6.What is a circular queue? Why is it better than a normal
queue? and Give
some practical Examples of usage of circular queue

Usage:
Scheduling Processes&Resources (esp in Operating Systems.)
used as a circular buffer especially in Embedded Systems
(because memory
is a constraint).

7.What is Hashing? Explain the procedure to obtain a
hashing table.

8.Give a brief presentation of your 8th Semester Project.

i have joined this wonderfull group recently.and i thank all

i have information regarding the test in kshema technologies

i have written the test for kshema technologies
whoever are going to write written test of that
company,dont panic

the test is easy to get thru

it consists of english,aptitude,and some c program segments
thats all and its a simple paper .duration of test -1hr.and
there will be 60 questions,out of which to qualify u need
to get 60 % that is 36 questions

verbal ,depends on your ability

i suggest to go thru barrens,let us c

Kshema Placement Papers | Kshema Interview Procedure |
Kshema Aptitude Questions | Kshema Technical Questions |
Kshema Interview Questions


Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why didn't get placed so far?

1198


your project to describe and tell about : 1. My favorite things 2. My favorite places at home 3. Animals *Choose one of them to describe *Write on your paper *If you done, Send me *Did you get it

787


If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...

3900


What were the occupations of the people who lived within the Mauryan Empire?

585


What kind of Issues/bugs arise in ETL projects? I would like to know few issues (critical to somewhat bugs ) normally occur in ETL process especially when testing? Domains can be banking, retail or any.

1426






what is placement paper?

2155


what is the use of air in gc

1441


Do we have vacancy for HR RECRUITER ?

1387


my question is : reverse a string in COBOL program (please write a code asap) input file: 1234abcdef output file: 8765_____ abc*$#1___ 1_2_3_4__ cdef____ghi h_k_z_a__ a_z_k_h___ ihg____ghi 4_3_2_1___ 1#$*cba__ ______5678 fedcb4321

1300


i want the sample placement paper of goldman sachs urgently. please send it to me

3930


printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output

1400


what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region

1599


Recently conducted Apptitude test

1413


speak 1min on topic Travelling,memorable moment ,memorable day?

1742


HI SIR I WANT PREVIOUS QUESTION PAPER OF HPCL I M CHEMICAL ENGG.

1947