Common Jobs

Common Jobs Logo

Cognizant Assessment

1 / 81

1. Which of the following is used to read input from the user in Java?

2 / 81

2. In how many different ways, can the letters of the word ‘Pune’ be arranged?

3 / 81

3. Which of the following data structures is non-linear?

4 / 81

4. The average of 13 results is 55. If the average of the first 7 results is 51 and that of the last 6 is 57, find the sixth result?

5 / 81

5. In ΔABC, ∠A + ∠B = 60°, ∠B + ∠C = 150°, then find ∠B

6 / 81

6. Identify the antonym for "expand":

7 / 81

7. The difference of two numbers is 11 and one fifth of their sum is 9. The numbers are 

8 / 81

8. From the top of a lighthouse 60 meters high with its base at the sea level, the angle of depression of a boat is 15°. The distance of the boat from the foot of the light house is (in m)

9 / 81

9. Excluding stoppages, the speed of a bus is 42 kmph and including stoppages, it is 35 kmph. For how many minutes does the bus stop per hour?

10 / 81

10. Choose the option that best completes the following sentence:

"The ____________ of the situation left everyone feeling uneasy."

11 / 81

11. Every one of the following questions consists of a related pair of words, followed by five pairs of words. Choose the pair that best represents a similar relationship to the one expressed in the original pair of words.

DIVISION : SECTION

12 / 81

12. What number should come next

36, 39, 45, 46, 48, … 

13 / 81

13. Select the correct spelling:

14 / 81

14. In a mixture of 60 litres, the ratio of milk to water is 2:1. If this ratio is to be 1:2, then what is the quantity of water needed to be further?

15 / 81

15. Read the following information carefully and answer these questions:

K, L, M, N, O, P and Q are sitting in a circle facing at the centre and playing cards.

O is a neighbour of K and N.

Q is not between P and M.

P is to the immediate right of K.

L is second to the left of Q.

Which of the following does not have the pair of persons sitting adjacent to each other?

16 / 81

16. Four examiners can examine a certain number of answer papers in 10 days by working for 5 hours a day. For how many hours a day would 2 examiners have to work in order to examine twice the number of answer papers in 20 days?

17 / 81

17. Rajesh sold a machine to Ankita at a profit of 40%. Ankita sold this machine to Amar at a loss of 15%. If Rajesh paid Rs.6000 for this machine, then find the cost price of the machine for Amar ?

18 / 81

18. Identify the correct punctuation: "My favorite fruits are apples oranges bananas and grapes."

19 / 81

19. Which of the following is a correct way to open a file in Python for reading?

20 / 81

20. What is the output of the following code?

String s1 = "Hello";

String s2 = "Hello";

System.out.println(s1 == s2);

21 / 81

21. Which of the following words would correctly decode the word ZHOFRPH if the simple alphabet shifting code is used?

22 / 81

22. The total cost of 8 buckets and 5 mugs is Rs. 92 and the total cost of 5 buckets and 8 mugs is Rs. 77. Find the cost of 2 mugs and 3 buckets.

23 / 81

23. A toothpaste manufacturer is giving two different offers on its 100 g tube. The first one is giving 30% extra at the same price, and the second one is giving 30% off on the marked price. By what percentage is the first offer costlier than the second one?

24 / 81

24. Two trains A and B start simultaneously in the opposite direction from two points A and B and arrive at their destinations 9 and 4 hours respectively after their meeting each other. At what rate does the second train B travel if the first train travels at 80 km per hour.

25 / 81

25. A function f(x) is defined as f(x) = f(x - 2) - x(x + 2) for all the integer values of x and f(1) + f(4) = 0. What is the value of f(1) + f(2) + f(3) + f(4) + f(5) + f(6)?

26 / 81

26. Suraj purchased 20 dozen toys at the rate of Rs. 375 per dozen. He sold each one of them at the rate of Rs. 33. What was his percentage profit? 

27 / 81

27. What is the output of the following code snippet?

String str1 = "hello";

String str2 = "world";

System.out.println(str1 + " " + str2);

28 / 81

28. If some athletes are runners, and all runners are fit, which of the following conclusions is valid?

29 / 81

29. Ram is elder than Geeta. Soham is elder than Geeta but younger than Ram. Pooja is younger than both Shubham and Geeta, Geeta is elder than Pooja. Who is the youngest?

30 / 81

30. Choose the synonym for "exemplary":

31 / 81

31. Find the output of the following pseudocode

Integer value, n

Set value = 1, n = 45

while(value less than equal to n)

 value = value << 1

end loop

Print value

32 / 81

32. If in a certain code, 54876 is written as EGYPT, 3912 is written as SWAN , then how will 9427 be written in that code?

33 / 81

33. What is the output of the following code snippet?

int x = 10;

if (x == 10) {

   System.out.println("x is 10");

} else {

   System.out.println("x is not 10");

}

34 / 81

34. If you are using Bubble sort for sorting the given numbers in ascending order, then find out the  number of swapping needed. 

3,10,4,7,9,2,6

35 / 81

35. Raj’s speed with the current is 17 km/hr and the speed of the current is 3.5 km/hr. What is Raj’s speed against the current?

36 / 81

36. The average age of all the students in a class is 18 years. The average age of boys in the class is 20 years and that of the girls is 15 years. If the number of girls in the class is 20, then find the number of boys in the class.

37 / 81

37. A student attempts x number of questions. He answers 15 correctly out of the first 20 questions and of the remaining questions, he answers 1/3 correctly. If all questions have the same credit and the student gets 50 % marks, then find the value of x

38 / 81

38. What will the following code print?

int x = 5;

System.out.println(x++); // postfix increment

39 / 81

39. The mean daily profit made by a shopkeeper in a month of 30 days was Rs. 400. If the mean profit for the first fifteen days was Rs. 300, then the mean profit for the last 15 days would be

40 / 81

40. What is the correct syntax for a single-line comment in Java?

41 / 81

41. If 50% of the number exceeds the 20% of it by 45. Find the number

42 / 81

42. Which keyword is used to define a subclass in Java?

43 / 81

43. .Which sentence is grammatically correct?

44 / 81

44. Choose the word that is closest in meaning to the given word: "Amicable"

45 / 81

45. If some roses are red and all red things are colorful, which of the following statements must be true?

46 / 81

46. Which of the following words is the antonym of “obsolete”?

47 / 81

47. “AHEJ” is written as “XQTO” in the code. How will “EBHK” be written in the same code language?

48 / 81

48. The ratio between the number of passengers traveling by I and II class between the two railway stations is 1 : 50, whereas the ratio of I and II class fares between the same stations is 3 : 1. If on a particular day Rs. 1,325 were collected from the passengers traveling between these stations, then what was the amount collected from the II class passengers?

49 / 81

49. Which of the following is not a SQL data manipulation language command?

50 / 81

50. From a group of 7 men and 6 women, five persons are to be selected to form a committee so that at least 3 men are there in the committee. In how many ways can it be done?

51 / 81

51. Raju, Ramu, and Razi can do a piece of work in 20, 30, and 60 days respectively depending on their capacity for doing work. If Raju is assisted by Ramu and Razi every third day, then what will be the time required for Raju to complete the work?

52 / 81

52. Statements: All the bottles are boxes. All the boxes are bags. Some bags are trays.

Conclusions:

1) Some bottles are trays.

2) Some trays are boxes.

3) All the bottles are bags.

4) Some trays are bags.

53 / 81

53. What will be the output of the following code snippet?

int[] arr = {1, 2, 3, 4, 5};

for(int i : arr) {

   System.out.print(i + " ");

}

54 / 81

54. P and Q take part in the 100 m race. P runs at 6kmph. P gives Q a start of 8 m and still beats him by 8 seconds. The speed of Q is:

55 / 81

55. A pump can be operated both for filling a tank and for emptying it. The capacity of the tank is 2400 m3. The emptying capacity of the pump is 10m3 per minute higher than its filling capacity. Consequently, the pump needs 8 minutes less to empty the tank than to fill it. Find the filling capacity of the pump.

56 / 81

56. If all politicians are cunning and some lawyers are politicians, what is true?

57 / 81

57. If some students study biology and all biologists are students, what is true?

58 / 81

58. Identify the sentence with a dangling modifier:

59 / 81

59. .What will be the total weight of 10 poles, each of the same weight?

Statements:

  1. One-fourth of the weight of each pole is 5 kg.
  2. The total weight of three poles is 20 kilograms more than the total weight of two poles.

60 / 81

60. Which of the following pairs has the second person sitting immediately to the right of the first?

61 / 81

61. In an election between two candidates, one got 45% of the total valid votes and 30% invalid votes. At the end of the day when the total number of votes were counted, the total number was found to be 8000. So what was the total number of valid votes that the winning candidate got, was:

62 / 81

62. Which of the following data types is mutable in Python?

63 / 81

63. What is the position of P?

64 / 81

64. Which of the following statements is true about Java interfaces?

65 / 81

65. identify the correct meaning of the idiom: "Break the ice."

66 / 81

66. Find the output of the following pseudo-code if x= 1 and y=2:

Integer solve(int x, int y)

if(x > 1)

 solve(x – 1, y + 3)

end if

print y

End function solve()

67 / 81

67. There are 2 trucks facing each other at a distance of 500 cm from each other. Each truck moves forward by 100 cm at a speed of 50 cm/s and then moves backwards by 50 cm at a speed of 25 cm/s. How long will they take to collide?

68 / 81

68. What is the number of digits in (33)3? Given that log 3 = 0.47712

69 / 81

69. A sum of Rs 731 is divided among A, B and C such that 'A' receive 25% more than 'B' and 'B' receives 25% less than 'C'. What is C's share in the amount?

70 / 81

70. What is the output of the following Java code snippet

public class Main {

   public static void main(String[] args) {

       String str1 = "hello";

       String str2 = new String("hello");

       System.out.println(str1 == str2);

   }

}

71 / 81

71. A spherical ball 6 cm in diameter is melted and recast into 3 smaller spherical balls. The radius of the two of them are 1.5 cm and 2 cm respectively. The radius of the third is

72 / 81

72. In the following the questions choose the word which best expresses the meaning of the given word.

DEBACLE

73 / 81

73. Statements: Some envelopes are gums. Some gums are seals. Some seals are adhesives

Conclusions:

1) Some envelopes are seals.

2) Some gums are adhesives.

3) Some adhesives are seals.

4) Some adhesives are gums.

74 / 81

74. Which word is the odd man out?

75 / 81

75. Identify the next number in the sequence: 15, 28, 45, 66, __?

76 / 81

76. What is the smallest number that when decreased by 7 is divisible by 35, 24, 21, and 17?

77 / 81

77. Who are the neighbors of L?

78 / 81

78. How many numbers between 1 and 100 are divisible by 6 ?

79 / 81

79. What is the access level of a class member if it is declared without any access modifier?

80 / 81

80. In the following the questions choose the word which best expresses the meaning of the given word.

AUGUST

81 / 81

81. One evening, Shalini started to walk toward the Sun. After walking a while, she turned to her right and again to her right. After walking a while, she again turned right. In which direction is she facing?

Your score is

The average score is 31%

0%