Hi quest ,  welcome  |  sign in  |  registered now  |  need help ?

Tips To Face An Interview

Written By RAM on Tuesday, September 20, 2011 | 11:08 AM

Here are 15 tips you can follow while you attend an interview!!

1. Prepare your resume which shows all your achievements upto date.

2. Know the nature of the company and their requirements for the job.

3. Be in proper Dress code.

4. Reach the interview place earlier than the prescribed the time.

5. Be positive and energetic.

6. Accept the mistake or if you don’t know any answers.

7. Don’t get discouraged during Interviews.

8. Be relaxed or don’t show your tension.

9. Stand with good posture.

10. While answering the questions

• Listen carefully the question and then answer.

• Provide examples.

• Have eye contact.

• Speak clearly.

• Never blame anyone

• Give your answers in point

11. Be clear with your project and try to explain in maximum of 5 to 10 minutes.

12. Avoid using mobile phones.

13. Know your weakness and try to avoid them or find correct reason for that.

14. Don’t feel shy to answer. Be an enthusiastic person.

15. Don’t forget to wish the Panel while you enter and come out.
11:08 AM | 0 comments

Latest HCL Interview Questions And Answers

1. Which of the following involves context switch,

a) System call

b) privileged instruction

c) floating point exception

d) all the above

e) none of the above

2. In OST, terminal emulation is done in

a) Sessions layer

b) application layer

c) presentation layer

d) transport layer

3. For a  25MHz processor , what is the time taken by the instruction which needs 3 clock cycles,

a)120 nano secs

b)120 micro secs

c)75 nano secs

d)75 micro secs

4. For 1 MB memory, the  number of address lines required,

a)11

b)16

c)22

d) 24

5. Semaphore is used for

a) synchronization

b) dead-lock avoidence

c) box

d) none

6. Which holds true for the following statement

class c: public A, public B

a) 2 member in class A, B should not have same name

b) 2 member in class A, C should not have same name

c) both

d) none

7.Preproconia.. does not do which one of the following

a) macro

b) conditional compliclation

c) in type checking

d) including load file

8. Piggy backing is a technique for

a) Flow control

b) Sequence

c) Acknowledgement

d) retransmition

9. Find the output for the following C program

f=(x>y)?x:y

a) f points to max of x and y

b) f points to min of x and y

c)error

10. In signed magnitude notation what is the minimum value that can be represented with 8 bits

a) -128

b) -255

c) -127

d) 0







ANSWERS

1.  (a) System Call

2. (b) Application Layer

3.  (a) 120 nanoseconds

4.  (b) 16

5. (a) Synchronization

6. (a) 2 member in class A, B should not have same name

7. (c) In type checking

8. (c) Acknowledgement

9. (a) f points to max of x and y

10. (a)-128
11:07 AM | 1 comments

Basics in C++

1.  Difference between C and C++

*C++ is Object Oriented.

*C++ uses bottom-up approach, While C uses top-down approach.

*C++ supports function overloading.

* Reference variable can be used in C++, Whereas C does not support.

*C++ support Classes

*C++ supports exception handling.

2. Operators that can not be overloaded in c++ are

* .(dot)

* ::

* ?:(ternary operator)

* sizeof()

3. Datatypes are

char – 1 byte

int – 2 bytes

short int – 2 bytes

float – 4 bytes

long int – 4 bytes

double – 8 bytes

4. Scope of variable
View Raw Code?

    #include<iostream.h>;
    int a; //<strong> Global variable</strong>
    void main()
    {
    int b; // <strong>Local Variables</strong>
    static int c; // Static variable, which is initialized to 0 automatically
    cout<<c;
    }

Output

0

5. = is used for assigning value to the variable

6. == is used for comparison

7. Types of operators

*Arithmetic operator (+,-,*,/,%)

*Compound assignment (+=, -=, *=, /=, %=, >>=, <, =, <= )

*Bitwise Operators ( &, |, ^, ~, <> )

*Logical operators ( !, &&, || )

* Conditional or Ternary operator (?:)

*sizeof() operator

* Dereference operator (.*)

* Scope resolution operator (::)

8. Basic input statement is “cin” and output statement is “cout”

9. Control structures

*simple if

* if….. else

*switch ()

*while()

*do….. while()

*for(;;)

*jump

*break

*continue

10. Call by value

The Value of the argument can be changed in the calling function, but its scope is within that calling function only.

11. Call by reference

The value of the argument is passed with address, so it’ll affect in both called function and calling function

12. Array is the group of elements of same datatype.

eg.int a[5]- allocates memory and store 5 integer value.

13.  We can use Multi Dimensional array.

eg. int matrixA[3][3] – in this we can store 9 elements.

14. A string is defined as array of characters which is enclosed within double quotes.

eg. char name= “Tech Twinklers”;

15.  Pointer is an address of variable.

16. A class is a collection of data variables and member function.

17.  An object is the instance of a class

18. There are three access specifiers, they are

*private, which is accessible only within its declared class

*protected, which can be accessed in its own class and in its inherited class.

*public, which can be accessed throughout the program.

19. Types of inheritance

Simple inheritance- Inherit the property of one base class

Multiple inheritance- Inherit the property from more than one base class.

Multi-Level inheritance

Hybrid inheritance

20. Polymorphism is the ability to overload the operator and functions.

21.  In function overloading, the function name will be same, but it differ in number of arguments and its types.

 
11:00 AM | 1 comments

Verbal Questions and answers

1. In a joint family, there are father, mother, 3 married sons and one unmarried daughter. Of the sons, two have two daughter and one son. and the other has one son. How many female members are there in the family?

a) 2

b)6

c)3

d)9

2. Arun ranked 16th from the top and 29th from the bottom among those passed an examination, six boys did not participate in the competition and five failed in it. How many boys were there in the class?

a) 44

b) 55

c) 56

d) 40

3.  If 36 people can do a piece of work in 25 hours, in how many hours will 15 people do it?

a) 55

b) 50

c) 60

d) 65

4. Pointing to a photograph, a man said, “I have no brother or no sister but that man’s father is my father’s son”. Whose photograph is that?

a) His own

b) His son’s

c) His father’s

d) None of these

5. A and B are two stations 390 km apart. A train starts from A at 10 am and travels towards B at 65 kmph. Another train starts from B at 11 am and travels towards A at 35 kmph. At what time do they meet?

a) 2.15 pm

b) 1 pm

c) 2 pm

d) 1.15 pm



ANSWERS

1. d) 9

Explanation

one mother+3 wives of the son+ 4(two Daughters each son)+ one unmarried daughter.

so 1+3+4+1=9

2.  b)55

Explanation

16+(29-1)here -1 is that particular boy in 16th rank+6+5=55

3. c) 60

Explanation

15:36 : : 25:x

(15*x)=(36*25)

x=(36*25)/15=60

4. b) His son’s

Explanation

Since narrator has no brother, his father’s son is he himself. So the man who is talking is the father of the main photograph. Thus the man in the photograph is his son.

5.  a) 2.15 pm

Explanation

Consider they meet x hrs after 10 am. Then,

(Distance moved by 1st in x hrs)+( Distance moved by 2nd in (x-1) hrs)=390

Therefore 65x+35(x-1)=390

65x+35x=390+35

100x=425

x=425/100

x=4(1/4) which is 4.15 hrs

So 10+4.15 hrs=2.15 pm
10:57 AM | 0 comments

TCS Aptitude Questions with Answers

Tcs aptitude questions with answers:

1 . A box of 150 packets consists of 1kg packets and 2kg packets. Total weight of box is 264kg. How many 2kg packets are there ?

Sol) x= 2 kg Packs
y= 1 kg packs
x + y = 150     ………. Eqn 1
2x + y = 264   ………. Eqn 2
Solve the Simultaneous equation; x = 114
so, y = 36
ANS :  Number of 2 kg Packs = 114.

2 . My flight takes of at 2am from a place at 18N 10E and landed 10 Hrs later at a place with coordinates 36N70W. What is the local time when my plane landed?
a)6:00 am b) 6:40am c) 7:40 d) 7:00 e) 8:00

Sol) The destination place is 80 degree west to the starting place. Hence the time difference between these two places is 5 hour 20 min. (=24hr*80/360).
When the flight landed, the time at the starting place is 12 noon (2 AM + 10 hours).
Hence, the time at the destination place is 12 noon – 5:20 hours = 6: 40 AM

3 . The size of the bucket is N kb. The bucket fills at the rate of 0.1 kb per millisecond. A programmer sends a program to receiver. There it waits for 10 milliseconds. And response will be back to programmer in 20 milliseconds. How much time the program takes to get a response back to the programmer, after it is sent?

Sol) see it doesn’t matter that wat the time is being taken to fill the bucket.after reaching program it waits there for 10ms and back to the programmer in 20 ms.then total time to get the response is 20ms +10 ms=30ms

4 . Y catches 5 times more fishes than X. If total number of fishes caught by X and Y is 42, then number of fishes caught by X?

Sol) Let no. of fish x catches=p
no. caught by y =r
r=5p.
r+p=42
then p=7,r=35

5 . Three companies are working independently and receiving the savings 20%, 30%, 40%. If the companies work combinely, what will be their net savings?
suppose total income is 100
so amount x is getting is 80
y is 70
z =60
total=210

but total money is 300
300-210=90
so they are getting 90 rs less
90 is 30% of 300 so they r getting 30% discount

6 . The ratio of incomes of C and D is 3:4.the ratio of their expenditures is 4:5. Find the ratio of their savings if the savings of C is one fourths of his income?
Sol) incomes:3:4
expenditures:4:5
3x-4y=1/4(3x)
12x-16y=3x
9x=16y
y=9x/16
(3x-4(9x/16))/((4x-5(9x/16)))
ans:12/19

7 . If G(0) = -1 G(1)= 1 and G(N)=G(N-1) – G(N-2) then what is the value of G(6)?
ans: -1
bcoz g(2)=g(1)-g(0)=1+1=2
g(3)=1
g(4)=-1
g(5)=-2
g(6)=-1

8 . what’s the answer for that :
A, B and C are 8 bit no’s. They are as follows:
A -> 1 1 0 0 0 1 0 1
B -> 0 0 1 1 0 0 1 1
C -> 0 0 1 1 1 0 1 0 ( – =minus, u=union)
Find ((A – C) u B) =?

sol ) To find A-C, We will find 2′s compliment of C and them add it with A,
That will give us (A-C)
2′s compliment of C=1′s compliment of C+1
=11000101+1=11000110
A-C=11000101+11000110
=10001001
Now (A-C) U B is .OR. logic operation on (A-C) and B
10001001 .OR . 00110011
The answer is = 10111011,
Whose decimal equivalent is 187.

9 . One circular array is given(means memory allocation tales place in circular fashion) dimension(9X7) and starting add. is 3000, What is the address of (2,3)……..
Sol) it’s a 9×7 int array so it reqiure a 126 bytes for storing.b’ze integer value need 2 byes of memory allocation. and starting add is 3000
so starting add of 2×3 will be 3012.

10 . A bus started from bustand at 8.00am at the speed of 18mph and after 30 min staying at destination, it returned back to the bustand. the destination is 27 miles from the bustand. the speed of the bus 50 percent fast IN SPEED. SO AT what time it returns to the bustand?

sol) a bus cover 27 mile with 18 mph in =27/18= 1 hour 30 min. and it wait at stand =30 min.
after this speed of return increase by 50% so 50%of 18 mph=9mph
Total speed of returnig=18+9=27
Then in return it take 27/27=1 hour
then total time in joureny=1+1:30+00:30 =3 hour
so it will  come at 8+3 hour=11 a.m.
So Ans==11 a.m
10:55 AM | 1 comments

Followers

Popular Posts