Common Jobs

Common Jobs Logo

Mindtree Assessment

1 / 80

When u write one try and multiple catch the most specific catch should precede the most generic catch 

2 / 80

  6, 14, 36, 98, ? 

3 / 80

 5, 16, 49, 104, ?

4 / 80

 Which one of the following is not from java.io.package

5 / 80

2, 12, 36, 80, 150, ?

6 / 80

In order to declare exception which keyword is used

7 / 80

One of the following is unchecked exception

8 / 80

8, 7, 11, 12, 14, 17, 17, 22, ? 

9 / 80

How do we get a session object?

10 / 80

Whenever we create any implementation of set it result into______.

11 / 80

A bank manager Mr. X gives 65% of his monthly salary to his wife and he invested the remaining amount in stock. Out of the money his wife got, she spent 25% on groceries, 15% on rent and 10% on other expense and remaining amount of Rs. 26,000 she spent on children education. What is the monthly salary of the Mr. X?

12 / 80

The hibernate configuration file name is?

13 / 80

The average of 50 numbers is 30. If two numbers, 35 and 40 are discarded, then the average of the remaining numbers is near?

14 / 80

Which of the following jQuery method gets attributes of an element? 

15 / 80

he average of 11 numbers is 10.9. If the average of first six is 10.5 and that of the last six is 11.4 the sixth number is? 

16 / 80

What does session.delete() do?

17 / 80

2, 6, 12, 20, 30, 42, 56, ?

18 / 80

A man spends 35% of his income on food, 25% on children's education and 80% of the remaining on house rent. What percent of his income he is left with?

19 / 80

The operating system manages

20 / 80

 Interface which does not contain any method is called as

21 / 80

 Clone() method in Object class is 

22 / 80

Which of the following jQuery selector selects elements with the given element tag-name?

23 / 80

A man spends 35% of his income on food, 25% on children's education and 80% of the remaining on house rent. What percent of his income he is left with?

24 / 80

 The average weight of 8 person's increases by 2.5 kg when a new person comes in place of one of them weighing 65 kg. What might be the weight of the new person? 

25 / 80

What will be returned? Try{return 1;}catch(){return 2;}finally{return 3;} 

26 / 80

An I/O bound program will typically have :

27 / 80

specify which of the following is true ?

28 / 80

If A = x% of y and B = y% of x, then which of the following is true? 

29 / 80

Which of the following jQuery method sets attributes of an element? 

30 / 80

Given 

public class MyClass

 { 

public static void main(String args[]) 

String s1="hello"; 

String s2=new String("hello"); 

String s3="hello"; 

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

 

What will be the output ?

31 / 80

Which of the following is tag of hibernate.cfg.xml? 

32 / 80

There are core interfaces that are used in just about every hibernate application. Using these interfaces, you can store and retrieve persistent object and control transactions. Select all the interfaces that you see. 

33 / 80

 L starts to do crunches. In the first hour his efficiency was normal, in the second hour his efficiency was 25% lower than normal, in the third hour his efficiency was 50% more than normal, in the fourth hour his efficiency was 35% lower than normal, in the fifth hour his efficiency was 10% more than normal and then his efficiency remained constant at 5% more than normal. How long did he take to complete the crunches? 

34 / 80

 Inner class methods can access outer class members directly 

35 / 80

Snapshot of list is created in case of _______.

36 / 80

Given File f=new File("abc.txt"); FileInputStream fis=new FileInputStream(f); byte arr[]=new byte[100]; which statement will read content of “abc.txt” into arr. 

37 / 80

Which of the following jQuery selector select elements whose css class is someclass?

38 / 80

 A number is decreased by 10% and then increased by 10%. The number so obtained is 10 less than the original number. What was the original number? 

39 / 80

Can you declare method local variable as final and can an abstract class may be final?

40 / 80

The ratio 5:20 expressed as percent equals to 

41 / 80

In map implementation when hashcode of two keys are same it is called as? 

42 / 80

To instantiate a particular class through reflection api we use

43 / 80

 Clone method is declared as throws 

44 / 80

 If y exceeds x by 20%, then x is less than y by? 

45 / 80

A batsman makes a score of 87 runs in the 17th match and thus increases his average by 3. Find his average after 17th match? 

46 / 80

Checked exceptions are automatically propagated to the caller.

47 / 80

If u want to create checked exception as user defined exception u need to extend 

48 / 80

One of the following allows us to define more than one strategies.

49 / 80

One of the followings is not Thread Safe 

50 / 80

Which of the following jQuery selector selects all elements available in a DOM?

51 / 80

Dispatch latency is

52 / 80

Which of the following jQuery selector selects element with the given element id some-id?

53 / 80

What is legal? 

54 / 80

Which of the following is correct about jQuery selector?

55 / 80

One of the following class provides “seek ()” method 

56 / 80

Which of the following is not hibernate session method?

57 / 80

Which statement is correct about session.load()?

58 / 80

In order to create new session which function should be used ? 

59 / 80

The two steps of a process execution are : (choose two) I/O Burst

60 / 80

Classes that do not implement ______interface will not have any of their State serialize or deserialized.

61 / 80

Static nested class methods can access outer class members directly 

62 / 80

 If A's height is 40% less than that of B, how much percent B's height is more than that of A?

63 / 80

24, 60, 120, 210, ? 

64 / 80

Load child object automatically when parent object is loaded? 

65 / 80

A grocer has a sale of Rs 6435, Rs. 6927, Rs. 6855, Rs. 7230 and Rs. 6562 for 5 consecutive months. How much sale must he have in the sixth month so that he gets an average sale of Rs 6500? 

66 / 80

127, 131, 139, ?, 151, 157, 163, 167,

67 / 80

Which one is checked exception

68 / 80

 By default “clone” method does

69 / 80

Which 2nd level cache is better in hibernate?

70 / 80

Unchecked exceptions are automatically propagated to the caller.

71 / 80

When you add any object inside Collection API implementation class, its copy is added.

72 / 80

Which of the following is true?

73 / 80

Which one is wrong statement? 

74 / 80

 Which of these methods of String class is used to obtain character at specified index? 

75 / 80

 If u override “clone()” method u can apply access modifier 

76 / 80

All the Collection API implementation classes implement________. 

77 / 80

 Class.forName throws

78 / 80

How to enable query cache in hibernate? 

79 / 80

The switching of the CPU from one process or thread to another is called :

80 / 80

 Given 

class base 

int k; 

} class sub extends base implements Serializable 

int j; 

If we try to serialize instance of sub class, 

Your score is

The average score is 32%

0%