Thursday, December 31, 2015

Need Mindtree automata(programming) questions

Dear Friends,

I need mindtree programming(automata) round questions. Please share the same if anyone attended the mindtree drive. Please share programs @reachmeatbhanu@gmail.com

Thanks  a lot

Thursday, December 24, 2015

cocubes preassess english questions -3


1. Choose the option which gives the closest meaning to the phrase given below.
1. Crack Someone Up
a. Hurt someone                              b. being rude with someone
c. make someone laugh                                d. sold someone

2. Choose the most suitable alternative in accordance with the correct use of tense
a. By tomorrow afternoon the plane will be taking off for Moscow
b. All are correct
c. By tomorrow afternoon the plane will have take off for Moscow
d. By tomorrow afternoon the plane will take off for Moscow

3


(Screenshot taken while taking Cocubes Test)
4. From the given options,  Choose the word that spelt correctly.
a. Tution              b. Truimph          c. Theoretical     d.Leisure

5. Mark the option which is Closest to the meaning of the word given below.
GATHER
a. Unite                                b. Grow                                c. Divide                               d. Disperse

6. For the given question, choose the alternative which best expresses the sentence in Active/Passive voice.
Did he drink the coffee?
a. Was the coffee drunk by him?
b. Was the coffee drank by him?
c. Was the coffee being drunk by him?
d. Was the coffee being drank by him?

7. Mark the option which is Closest to the opposite in meaning of the underlined word or phrase.
One should put facts straight before his seniors.
a. Distort
b. Soften
c. Candid
d. Direct

8. Mark the option which is Closest to the meaning of the word given below.
TENACITY
a. Slackness
b. Idleness
c. Obduracy
d. Indolence

9. Mark the option which is Closest to the meaning of the word given below.
TOUGH
a. Stiff
b. Fragile
c. Tender

10. Mark the option which is Closest to the opposite in meaning of the underlined word or phrase.
 Farmers should not be dependent on fickle monsoons.
a. capricious
b. stable
c. unsteady
d.benigh

11. Fill in the blank(s) with the most suitable option.
You are                    trustworthy.
a. too
b. much
c. rather
d. fairly

12.

(Screenshot taken while taking Cocubes Test)


13. He       here since 2011 so he knows everything about this place.
a. were living
b. has been living
c. have been living
d. are living

14. From the following sentences, choose the sentence that contains  a misspelled word.If there are no mistakes,choose answer as “No mistakes”.
a. On the decease of Frederick V., who died in his arms.
b. no mistakes
c. for the less health conscious toffee apples are a traditional treat!
d. we had come to the pass for a 25km mountain bike descent into the valley.

15. Mark the option which is Closest to the opposite in meaning of the underlined word or phrase.
Terrorists infiltrated into Kashmir during the severe winter of 1948.
a. Expelled
b. Filtered
c. Penetrated
d. Entered

16. For the given question, choose the alternative which best expresses the sentence in Active/Passive voice.
“Where does Peter live?”
a. She asked peter’s address
b. She asked about peter
c. She asked where is Peter’s home
d. She asked him where peter lived.

17. Mark the option which is Closest to the meaning of the word given below.
Back to square one
a. A rare event or occurrence coming all over again
b. Having to start all over again
c. To force an issue that has already ended
d. A mistake made in something you are trying to achieve.
18. What is the antonym of Totalitarian?
a. Authoritarian
b. Democratic
c. Dictatorial
d. Autocratic

19. From the given options, choose the word that is Spelt correctly.
a. Missile
b. Missiele
c. Missyile
d. Missyle

20. From the given options,choose the word that is spelt incorrectly.
a. Dessert
b. Blaster
c. Accomodation
d. Choice

21.Given below is a sentence broken into 4 parts. Arrange the parts of the sentence in the correct logical manner.
A. Unthinkable things happen.
B. Life is not just party and pleasure; it is also pain and despair.
C. Bad things happen to good people.
D. Sometimes everything turns upside down.
a. BACD
b. BCAD
c. ACBD
d. ABCD

22. Find out which part of the sentence below has an error and mark the option accordingly.
Having worked / for the whole day, / you could have taken some rest / and start work tomorrow.
a. and start work tomorrow
b. Having worked
c. you could have taken some rest
d. for the whole day

23. Statement(s):
1. All dogs are rats.
2. Some rats are lizards.
Conclusions:
1. Some dogs are lizards.
2. Some lizards are dogs.
a. Both conclusion 1 and conclusion 2 follow.
b. Neither conclusion 1 nor conclusion 2 follows
c. Only conclusion 1 follows.
d. Only conclusion 2 follows.

24. Find out which part of the sentence below has an error and mark the ption accordingly.
If I an well / I would / prefer coffee / to cool drinks.
a. prefer coffee
b. to cool drinks
c. I would
d. if I am well

25. Fill in the blank(s) with the most suitable option.
There                 four excellent restaurants in the center of town.
a. was
b. are
c. being
d. is

26. Fill in the blank(s) with the most suitable option.
Quinine is an effective antidose                    Malaria.
a. against
b. None of the mentioned options
c. for
d. to

27. He                        here since 2011 so he knows everything about this place.
a. were living
b. has been living
c. have been living
d. are living

Tuesday, December 15, 2015

Given (x+1/x) then find value of (x2+1/x2) (x3+1/x3) (x4+1/x4) …..

Quantitative Aptitude For Competitive Examinations (English) 7th Edition
Given (x+1/x) then find value of (x2+1/x2) (x3+1/x3) (x4+1/x4) …..

Let’s say (x+1/x) =4
Then Find value of (x2+1/x2)
(x2+1/x2)  can be written as (x+1/x)2 -2 
(x2+1/x2)= 4*4 -2 = 14

Let’s say of if you want to find out  (x3+1/x3)
 (x3+1/x3) can be written as ((x2+1/x2)  * (x+1/x) ) - (x+1/x)
(x3+1/x3) = 14* 4 – 4 = 52

Let’s say of if you want to find out  (x4+1/x4)
(x4+1/x4)  can be written as (x2+1/x2)2 -2
(x4+1/x4)  =  14 * 14 -2 = 194

Let’s say of if you want to find out  (x5+1/x5)
(x5+1/x5) can be written as ((x3+1/x3) (x2+1/x2))   - (x+1/x)
(x5+1/x5) = 52 * 14 – 4 = 724

Let’s say of if you want to find out  (x6+1/x6)
(x6+1/x6) can be written as  (x3+1/x3)2-2
(x6+1/x6) =  52 * 52 -2 = 2702

Similarly you can find out higher power values



Friday, December 11, 2015

C Programs on flow control statements (if, switch, loop, break and continue)-8




c program to find out prime factors of given number

Algorithm
1. Find factor of a given number
2. Apply prime number program to check whether factor is prime or not

main()
{
          int num,i=1,j,k;
          printf("\nEnter a number:");
          scanf("%d",&num);
          while(i<=num)
{
                    k=0;
                    if(num%i==0)   /* Finding factor */
          {
                             j=1;
                                      while(j<=i)  /* Check prime or not */
                     {
                                       if(i%j==0)
                                       k++;
                                      j++;
                                      }
                                       if(k==2)
                                      printf("\n%d is a prime factor",i);
                    }
                    i++;
          }
 }


C Program to Display Prime Numbers between Two Intervals

#include <stdio.h>
int main()
{
          int n1, n2, i, j, flag;
          printf("Enter two numbers(intevals): ");
          scanf("%d %d", &n1, &n2);
          printf("Prime numbers between %d and %d are: ", n1, n2);
          for(i=n1+1; i<n2; ++i)
          {
                   flag=0;
                   for(j=2; j<=i/2; ++j)
                   {
                             if(i%j==0)
                             {
                                                flag=1;
                                                break;
                             }
                   }
                   if(flag==0)
                             printf("%d ",i);
          }
          return 0;
}

C Program to Display Armstrong Number Between Two Intervals



#include <stdio.h>
int main()
{
          int n1, n2, i, temp, num, rem;
          printf("Enter two numbers(intervals): ");
          scanf("%d %d", &n1, &n2);
          printf("Armstrong numbers between %d an %d are: ", n1, n2);
          for(i=n1+1; i<n2; ++i)
          {
                   temp=i;
                   num=0;
                   while(temp!=0)
                   {
                                      rem=(temp%10);
                                      num+=rem*rem*rem;
                                      temp/=10;
                   }
                   if(i==num)
                   {
                                      printf("%d ",i);
                   }
          }
          return 0;
}

GCD program

C Program to Find GCD of two Numbers

Note: GCD of any two numbers (say a and b) lies between 1 and minimum of two numbers


LCM(a,b) * GCD(a,b)=a*b

main()
{
          int num1, num2, min,i;
          printf("Enter two integers: ");
          scanf("%d %d", &num1, &num2);
 
min=(num1>num2)?num2:num1; /* minimum value is stored in variable min */
          for(i=min;i>=1;--i)
          {
                   if(num1%i==0 && num2%i==0)
                   {
                                      printf("HCF of %d and %d is %d", num1, num2,i);
                             break;
                   }
          }
}






C Program to Find GCD of n Numbers

Note: GCD of any n numbers (say a and b) lies between 1 and minimum of n numbers




main()
{
          int a[100], n, min,i;
          printf("Enter number of elements in an array");
          scanf("%d",&n);
          printf("Enter %d integers: ",n);
          for(i=0;i<n;i++)
                      scanf("%d", &a[i]);

/* Find minimum value and store it in variable min */

min=a[0];

for(i=1;i<n;i++)
{
      if(a[i]<min)
          min=a[i];
}

          for(i=min;i>=1;--i)
          {
                    count=0;
                   for(j=0;j<n;j++)
                   {
                            if(a[j]%i==0)
                                  count++;
                    }
                   if(count==n)
                   {
                                      printf("HCF is %d", i);
                                      break;
                   }
          }
}

MindTree Programming(Coding) round Questions


Hello everyone,
 
After getting good score in AMCAT all the shortlisted candidates have to go through the coding exam. The coding exam have 2 questions to be solved within 45 minutes of time. The language one can use here is C or C++ or JAVA. In this test we will be given two programming questions one easy and another one average. Don't try to solve both the questions. Since the time limit is less so just try to develop the logic of the problem and solve at least one problem completely and other one just code the logic part. However you need to be a good coder in order to crack this test.

Frequently Asked Programming Questions are

Need help to clear coding round, then contact me @ reachmeatbhanu@gmail.com

For more click Here


2. Loop based questions.
3. Removal of vowel from string  
5. Print and count all the numbers which are less than a given key element from a given array.
7. Eliminate repeated letters in Array.
8. String reversal


MindTree Written exam syllabus


The  test will be conducted by Aspiring Minds and the questions are pretty much of the same level to that of AMCAT. The test comprises of 3 sections quant, verbal and reasoning. It is of one and half hours. 

In this round the test consist of questions from aptitude (Time & work, Time & distance, area, probability and permutation) , Reasoning (Syllogism, blood relation, series completion and analogies) , English (2 Passage (simple) , antonyms, synonyms and basic grammar questions). The test was quite easy just practice the examples of R.S. Agarwal, it is sufficient enough to crack the test. Moreover this is an Adaptive Test so time management is required.

Please refer amcat previous questions to get good score. 

amcat previous questions

Tuesday, December 8, 2015

TCS previous questions: Exam conducted on 2nd December 2015

Quantitative Aptitude For Competitive Examinations (English) 7th Edition
TCS exam conducted on 2nd December 2015


1. What are the last two digits of the given number having 200 digits?
123412344123444123444412.....
a)12       b)23       c)34        d)41       e)44
Answer: 44

2. How many squares are there between 2013,2020,2027,...................... and 2300.
Clue:  44^2=1936
A) 1        B) 4        C) 2                        D) 3

Ans: 1  ( 472)

3. If a pipe can fill the tank within 6hrs.But due to leak it takes 30 min more. Now the tank is full then how much time will it take to empty the tank through the leak?
Ans: 78 hours


4. Two trains running in opposite directions cross a man standing on the platform in 27 seconds and 17 seconds respectively and they cross each other in 23 seconds. The ratio of their speeds is:
Ans: 3:2

5. If f(x)  = x4 +ax3 + bx2 + cx +d. If f(1)=f(2)=f(3)=f(4). find b
a. 30       b. 35      c. can't be determined                  d. -10
ans: 35
Solution: ans b=35

f(1)=1+a+b+c+d
f(2)=16+8a+4b+2c+d
f(3)=81+27a+9b+3c+d
f(4)=256+64a+16b+4c+d

given

f(1)=f(2)=f(3)=f(4)

firstly

f(1)=f(2)
1+a+b+c+d=16+8a+4b+2c+d
7a+3b+c=-15...........................................................equ(1)

then
f(1)=f(3)
we get
13a+4b+c=-40...........................................................equ(2)

then
f(1)=f(4)
we get
21a+5b+c=-85..........................................................equ(3)


solve equ(2)-equ(1)
we get
6a+b=-25......................................equ(4)

solve equ(3)-equ(2)
we get
8a+b=-45......................................equ(5)

solve equ(4) and equ(5) and put the value in other equactions for all the values
we get
a=-10 ,b=35,c=-50


proof

put the value of a ,b,c 
we get
f(1)=f(2)=f(3)=f(4)

6. if f(x+y)= f(x)+f(y)+xy and f(1)=5 then f(5)+f(7)=
Ans: 56

7.  The diagonal of a square field is 200, and then find the area of a square.
Ans: 2*10^4



8. Eesha can run 224m in 28 seconds. Usha can run same distance in 32 seconds. By how distance (in metres) would Eesha beat Usha?
A.28m     B.32m    
Ans: 28m

9. Filling in a square grid.. Sudoku type …Each block can be filled by only one of digits from 1,2,3,4,5. The digits can’t repeat either vertically or horizontally or diagonally. Find the value of x
                                                
Ans: 2

1
2
3
4
5
4
5
1
2
3
2
3
4
5
1
5
1
2
3
4
3
4
5
1
2


Contact Form

Name

Email *

Message *