Вы находитесь на странице: 1из 19

2011_SASTRA

Instructions 1. 2. 3. 4. This test can be taken at any time. You have 1hr 30min time to complete this test. You can modify your answer any number of times while the test is in progress. To submit the test, click the submit button. Once you have clicked the Submit button, the answers cannot be changed.

Hide Instructions Communication Skills Q:1 Next 5 questions belongs to this PASSAGE Comprehension Passage : The terms intelligence augmentation and intelligence amplification evoke images of human beings with computer chips embedded in their skulls or bizarre accoutrements attached to their heads. However, according to an article entitled Get Smart by Jamais Cascio, human beings ability to augment their intelligence is precisely the prowess which has empowered us to survive a series of convulsive glacial events evinced by the last ice age. Neurophysiologist William Calvin asserts that the human species continues to evolve cognitively and to create its own cognitive evolution in two basic ways: external and internal. Cascio states that humans have been externally augmenting their intelligence for millennia. By developing written language, we boosted our capacity to share information over space and time. Other advancements, such as agricultural and industrial technologies, reduced the exigencies of manual labour. Current external digital systems augment human intelligence by allowing us to perform tasks that would be unfeasible with recourse only to the rational skills of a singular human brain. Cascio cites as examples the powerful simulations and massive data sets (which) allow physicists to visualize, understand, and debate models of an 11dimension universe, realtime data from satellites, global environmental databases, and highresolution models (which) allow geophysicists to recognize the subtle signs of longterm changes to the planet, and similar manmade interactions which have the functional effect of augmenting human intelligence. Conceivable potential software could incorporate individual attention filters or focus assistants which would discern and highlight your individual preferences in a computer display, permitting you to focus and direct your computer searches more efficiently than you do now. It could incorporate individualized planning and foresight systems which could allow people to play whatif with their life choices. Such systems could coevolve with people to produce intimate technologies which would become something akin to collaborative intuition, through webbased information systems with personalized components, according to Cascio. Somewhat more problematic in social terms might be pharmacological intelligence augmentation, evoking Brave New World nightmares pharmaceutically placated people

tranquilized to zombielike subservience to the collective and a central bureaucracy dedicated to its own continued survival. However, as with external cognitive augmentation, the future has arrived in the form of, for example, ADD drugs, pharmaceutical agents which mitigate sleep disorders, and antidepressants, all of which enhance human problemsolving ability and cognitive efficiency. According to Cascio, people who dont know about (such drugs) or dont want to use them will face stiffer competition from people who do. From the perspective of a culture immersed in athletic doping wars, the use of such drugs may seem like cheating. From the perspective of those who find theyre much more productive using this form of enhancement, its no more cheating than getting a faster computer or a better education. Cognitive amplification, whether by external or internal means, may constitute evolution, if Calvins assertion is correct. Some societies may readily embrace it, while others may shy away. As science fiction writer William Gibson observes, The future is already here; its just unevenly distributed. Q : 1-1. The author is mainly concerned about Points : 1

various dangers of intelligence augmentation. the advantages of intelligence augmentation. the basic methods of intelligence augmentation. some scientists who are working on intelligence augmentation.

Q : 1-2. The authors use of the phrase somewhat more problematic in social terms refers to Points : 1 Passage

the difficulty of making cognitive enhancement widely available. the difficulty of making pharmacological enhancement socially acceptable. equalizing cognitive competitive advantages among social groups. bureaucracies which hamper cognitive enhancement activities.

Q : 1-3. The word placated most closely means Points : 1 Passage


deprived enhanced cured quieted

Q : 1-4. In the context of the passage, which of the following best articulates the authors opinion? Points : 1 Passage

Intelligence amplification by external means might be more difficult to achieve than by internal means. Cognitive augmentation does not really constitute evolution. Some people consider intelligence enhancement to be a form of cheating. External and internal intelligence enhancement might constitute evolution in cultures that accept them.

Q : 1-5. The primary purpose of the passage is to Points : 1 Passage


describe different kinds of intelligence enhancement. discuss societys reactions to pharmacological cognitive augmentation. examine the differences between external and internal intelligence enhancement. dispel misgivings about humanitys attempts at creating its own evolution.

Q : 2. Through the 19th Century, the classics of Western Civilization were considered to be the ____ of wisdom and culture, and an ____ person - by definition- knew them well. Points : 1

foundation average epitome - uneducated cornerstone obtuse repository educated

Q : 3. After an initially warm reception by most reviewers and continued ____ by conservative thinkers, Bloom's work came under heavy fire. Points : 1

criticism endorsement denigration counterattack

Q : 4. Dr. Stuart needs to ____ his argument with more experimental data; as it stands his thesis is Points : 1

support profound bolster - acceptable refine satisfactory buttress inadequate

Q : 5. The body of anyone infected by virus X will, after a week, produce antibodies to fight the virus; the antibodies will increase in number for the next year or so. There is now a test that reliably indicates how many antibodies are present in a person's body. If positive, this test can be used during the first year of infection to estimate to within a month how long that person has had the virus. Which one of the following conclusions is best supported by the statements above? Points : 1

Antibodies increase in number only until they have defeated the virus. Antibodies are produced only for viral infections that cannot be fought by any other body defenses. If a person remains infected by virus X indefinitely, there is no limit to the number of antibodies that can be present in the person's body. Anyone infected by virus X will for a time fail to exhibit infection if tested by the antibody test.

Q : 6. Cars are safer than planes. Fifty percent of plane accidents result in death, while only one percent of car accidents result in death. Which of the following, if true, would most seriously weaken the argument above? Points : 1

Planes are inspected more often than cars. The number of car accidents is several hundred thousand times higher than the number of plane accidents. Pilots never fly under the influence of alcohol, while car drivers often do. Plane accidents are usually the fault of air traffic controllers, not pilots.

Aptitude Logical Q : 1. If you start running from a point towards north and after covering 4 km you turn to your left and run 5 km and then again turn left and run another 5 km take left and run another 6km and before finishing you take another left turn and run 1 km. How many km are you from the place you started? Points : 1

1 2 3 4

Q : 2. Each digit, 1, 2, 3, 4, 5, 6, 7, 8 and 9 is represented by a different letter A, B, C, D, E, F, G, H and I but not necessarily in this order. Further, each of A + B + C, C + D + E, E + F + G and G + H + I is equal to 13.

What is the sum of C, E and G? Points : 1


7 9 11 cannot be determined

Q : 3. Each child in a family has at least 4 brothers and 3 sisters. What is the smallest number of children the family might have? Points : 1

7 8 9 10

Q : 4. A cube of 12cm side is divided into 216 small cubes. What will be the length of the side of small cube (in cm)? Points : 1

2 .8 1.5 1

Q : 5. Three positions of a dice are shown below. Which number of the face will be opposite to the face with number 3?

Points : 1

1 2 4 5

Q : 6. In a certain code language, TOM KUN SUD means Dogs are barking; KUN JO MOPmeans Dogs and horses and MUT TOM KO means Donkeys are mad. Which word in that language means barking? Points : 1

SUD KUN JO TOM

Q : 7. Reena took a loan of Rs. 1200 with simple interest for as many years as the rate of interest. If she paid Rs. 432 as interest at the end of the loan period, what was the rate of interest? Points : 1

3.6 6 18 None of these

Q : 8. Three taps A, B and C can fill a tank in 12, 15 and 20 hours respectively. If A is open all the time and B and C are open for one hour each alternately, the tank will be full in: Points :1

6 hours 6 2/3 hours 7 hours 3 9/17hours

Q : 9. In how many different ways can the letters of the word 'MATHEMATICS' be arranged so that the vowels always come together? Points : 1

10080 4989600 120960 None of these

Q : 10. A box contains 2 white balls, 3 black balls and 4 red balls. In how many ways can 3 balls be drawn from the box, if at least one black ball is to be included in the draw? Points : 1

32 48

64 96

Q : 11. A library has an average of 510 visitors on Sundays and 240 on other days. The average number of visitors per day in a month of 30 days beginning with a Sunday is: Points : 1

250 276 280 285

Q : 12. On selling 17 balls at Rs. 720, there is a loss equal to the cost price of 5 balls. The cost price of a ball is: Points : 1

45 50 55 60

Q : 13. 4 men and 6 women can complete a work in 8 days, while 3 men and 7 women can complete it in 10 days. In how many days will 10 women complete it? Points : 1

35 40 45 50

Q : 14. A dealer sold a radio at a loss of 2.5%. Had he sold it for Rs. 100 more, he would have gained 7 %. In order to gain 12 %, he should sell it for Points : 1

Rs. 850 Rs. 925 Rs. 1080 Rs. 1125

Q : 15. A can complete a job in 9 days, B in 10 days and C in 15 days. B and C start the work and are forced to leave after 2 days. The number of days taken by A to finish the remaining work is Points : 1

8 9 6 14

Q : 16. A square lawn with side 100 m long has a circular flower bed in the centre. If the area of the lawn, excluding the flower bed is 8614 m2, the radius of the circular flower bed is Points : 1

31 m 21 m 41 m None of these

Q : 17. Two cyclists start from the same place in opposite directions. One goes towards North at 18 kmph and the other goes towards South at 20 kmph. What time will they take to be 47.5 km apart? Points : 1

2 hours 1 hours 2 hours 23 minutes 23 hours

Q : 18. The ratio of Laxmis age to the age of her mother 3: 11. The difference of their ages is 24 years. The ratio of their ages after 3 years will be Points : 1

1:3 2:3 3:5 2:5

Q : 19. Each digit, 1, 2, 3, 4, 5, 6, 7, 8 and 9 is represented by a different letter A, B, C, D, E, F, G, H and I but not necessarily in this order. Further, each of A + B + C, C + D + E, E + F + G and G + H + I is equal to 13. Find the value of E Points : 1

5 7 4

cannot be determined

Q : 20. In what ratio must a grocer mix two varieties of pulses costing Rs. 15 and Rs. 20 per kg respectively so as to get a mixture worth Rs. 16.50 kg? Points : 1

3:7 5:7 7:3 7:5

Java Q : 1. What is the result of compiling and running the following program. Select the one correct answer. class test { public static void main(String args[]) { char ch; String test2 = "abcd"; String test = new String("abcd"); if(test.equals(test2)) { if(test == test2) ch = test.charAt(0); else ch = test.charAt(1); } else { if(test == test2) ch = test.charAt(2); else ch = test.charAt(3); } System.out.println(ch); } } Points : 1

'a' 'b' 'c' 'd'

Q : 2. Select the one most appropriate answer. What is the purpose of method parseInt defined in Integer class. Points : 1

The method converts an integer to a String.

The method is used to convert String to an integer, assuming that the String represents an integer. The method is used to convert String to Integer class, assuming that the String represents an integer. The method converts the Integer object to a String.

Q : 3. Which expression can be used to access the last element of an array. Select the one correct answer. Points : 1

array[array.length()] array[array.length() - 1] array[array.length] array[array.length - 1]

Q : 4. What gets printed when the following program is compiled and run? Select the one correct answer.
class test { public static void main(String args[]) { int i; do { i++; } while(i < 0); System.out.println(i); } }

Points : 1

The program does not compile as i is not initialized. The program compiles but does not run. The program compiles and runs but does not print anything. The program prints 0. The program prints 1.

Q : 5. What will be output by the following line of code? System.out.println(010|4); Points : 1

14 0 6 12

Q : 6. Given the following variables which of the following lines will compile without error?
String s = "Hello"; long l = 99; double d = 1.11; int i = 1; int j = 0;

Points : 1

j= i <<s; j= i<<j; j=i<<d; j=i<<l;

Q : 7. Which of the following will compile correctly Points : 1


short myshort = 99S; String name = 'Excellent tutorial Mr Green'; char c = 17c; int z = 015;

Q : 8. What will happen when you attempt to compile and run the following code
public class MySwitch{ public static void main(String argv[]){ MySwitch ms= new MySwitch(); ms.amethod(); } public void amethod(){ int k=10; switch(k){ default: //Put the default at the bottom, not here System.out.println("This is the default output"); break; case 10: System.out.println("ten");

case 20: System.out.println("twenty"); break; } } }

Points : 1

Compile and run with output of "ten" followed by "twenty" Compile time error target of switch must be an integral type Compile and run with output "This is the default output" Compile and run with output of the single line "ten" None of these

Q : 9. What will happen when you attempt to compile and run the following code
public class Hope{ public static void main(String argv[]){ Hope h = new Hope(); } protected Hope(){ for(int i =0; i <10; i ++){ System.out.println(i); } } }

Points : 1

Compilation error: Constructors cannot be declared protected Run time error: Constructors cannot be declared protected Compilation and running with output 0 to 10 Compilation and running with output 0 to 9

Q : 10. You want to loop through an array and stop when you come to the last element. Being a good java programmer and forgetting everything you ever knew about C/C++ you know that arrays contain information about their size. Which of the following can you use? Points : 1

myarray.length(); myarray.length; myarray.size; myarray.size();

Q : 11. What will happen when you attempt to compile and run this code?
public class Mod{ public static void main(String argv[]){ } public static native void amethod(); }

Points : 1

Error at compilation: native method cannot be static Error at compilation native method must return value Compilation but error at run time unless you have made code containing native amethod available Compilation and execution without error

Q : 12. Which of the following are Java modifiers? Points : 1


public private friendly transient vagrant

Q : 13. Which of the following statements are true? Points : 1


The automatic garbage collection of the JVM prevents programs from ever running out of memory A program can suggest that garbage collection be performed but not force it Garbage collection is platform independent An object becomes eligible for garbage collection when all references denoting it are set to null

Q : 14. Which of the following statements are true Points : 1


constructors cannot be overloaded constructors cannot be overridden a constructor can return a primitive or an object reference constructor code executes from the current class up the hierarchy to the ancestor class

Q : 15. Which of the following statements are true? Points : 1


The % is used to calculate a percentage thus: 10 % 20=50 The / operator is used to divide one value by another The # symbol may not be used as the first character of a variable The $ symbol may not be used as the first character of a variable

Q : 16. You are given a class hierarchy with an instance of the class Dog. The class Dog is a child of mammal and the class Mammal is a child of the class Vertebrate. The class Vertebrate has a method called move which prints out the string "move". The class mammal overrides this method and prints out the string "walks". The class Dog overrides this method and prints out the string "walks on paws". Given an instance of the class Dog,. how can you access the ancestor method move in Vertebrate so it prints out the string "move"; Points : 1

d.super().super().move(); d.parent().parent().move(); d.move(); none of the above;

Q : 17. Which of the following are Java keywords? Points : 1


sizeof main transient volatile

Q : 18. Which of the following will compile without error? Points : 1


char c='1'; System.out.println(c>>1); Integer i=Integer("1"); System.out.println(i>>1); int i=1; System.out.println(i<<<1); int i=1; System.out.println(i<<1);

Q : 19. What will happen when you attempt to compile and run the following code
class Base{ public void Base(){ System.out.println("Base");

} } public class In extends Base{ public static void main(String argv[]){ In i=new In(); } }

Points : 1

Compile time error Base is a keyword Compilation and no output at runtime Output of Base Runtime error Base has no valid constructor

Q : 20. Which of the following statements are true? Points : 1


A byte can represent between -128 to 127 A byte can represent between -127 to 128 A byte can represent between -256 to 256 A char can represent between -2x2 pow 16 2 x2 pow 16 - 1

Q : 21. Which of the following files is the correct name and location of deployment descriptor of a web application. Assume that the web application is rooted at \doc-root. Select the one correct answer Points : 1

\doc-root\dtd.xml \doc-root\web.xml \doc-root\WEB-INF\web.xml \doc-root\WEB_INF\dtd.xml

Q : 22. Given the following URL: http://www.example.com/userConfig/searchByName.do ?first=Bruce&middle=W&last=Perry Which servlet code fragment from a service method, for example doPost(), will retrieve the values of all of the query string parameters? Points : 1

String value = request.getParameter(Bruce); String value = getServletContext().getInitParameter(first); String value = getServletConfig().getInitParameter(first

java.util.Enumeration enum = request.getParameterNames(); while (enum.hasMoreElements()) { String name = (String) enum.nextElement(); String value = request.getParameter(name); }

Q : 23. How would you redirect an HTTP request to another URL? Points : 1

response.sendRedirect(/anotherUrl); response.encodeRedirectURL(/anotherUrl); response.sendRedirect( response.encodeRedirectURL(/anotherUrl)); RequestDispatcher dispatcher = request.getRequestDispatcher(/anotherUrl); dispatcher.redirect(request,response);

Q : 24. Given the following scriptlet code: 11. <% String cityParam = request.getParameter(city); 12. if ( cityParam != null ) { %> 13. City: <input type=text name=city value=<%= cityParam %> /> 14. <% } else { %> 15. City: <input type=text name=city value=Paris /> 16. <% } %> Which JSTL code snippet produces the same result? Points : 1

<c:if test=${not empty param.city}> City: <input type=text name=city value=${param.city} /> <c:else/> City: <input type=text name=city value=Paris /> </c:if> <c:if test=${not empty param.city> <c:then> City: <input type=text name=city value=${param.city} /> </c:then> <c:else> City: <input type=text name=city value=Paris /> </c:else> </c:if> <c:choose test=${not empty param.city}> City: <input type=text name=city value=${param.city} /> <c:otherwise/> City: <input type=text name=city value=Paris /> </c:choose> <c:choose> <c:when test=${not empty param.city}> City: <input type=text name=city value=${param.city} /> </c:when> <c:otherwise> City: <input type=text name=city value=Paris /> </c:otherwise> </c:choose>

Q : 25. A user submits a form using an HTML page containing : <form action=/handler> <!-- form tags here --> </form> The URL pattern /handler is mapped to an HTTP servlet.

Which HttpServlet service method will the web container call in response to this form submit? Points : 1

doHead doPost Get doGet

Q : 26. Hiding internal data from the outside world,and accessing it only through publicly exposed methods is known as ? Points : 1

data encapsulation Polymorphism Abstraction Inheritance

Q : 27. A collection of methods with no implementation is called ? Points : 1


Interface Class Abstract Class None of the above

Q : 28. What is the name of below Diagram

Points : 1

Sequence Diagram Activity Diagram Use case Diagram Flow Chart

Q : 29. In the below UML diagram what is the relationship between classes OverdrawnAccountsReport and BankAccount.

Points : 1

Inheritance Relationship Association Relationship Aggregation Relationship None of the above

Q : 30. How is memory allocated by new? Points : 1

In a heap In a stack both a and b None of these

Show Marked Questions

Unanswered Questions

Save and Continue... Time Remaining : 01:28:33

Вам также может понравиться