999kao.com
考研英语(二)2012年真题答案

±500kV直流线路与铁路交叉时,导线到铁路轨顶最小距离不应小于( )。
A. 14. 0m B. 16. Om; C 17. Om; D. 20. Om。


答案:B
解析:


除了各式屋顶外,中国传统物业的其他典型元素还有:1.()、2.()、3.()、4.()、5.()、6.()、7.()、8.()、9.()、10.()、11.()、12.()13.()、14.()、15.()、16.()、17.()、18.()、19.()、20.()、21.()。


正确答案:马头墙;须弥座;立帖;梁架;斗栱;雀替;挂落;额枋;藻井;漏窗;飞檐;华表;牌楼;牌坊;照壁;月洞门;墙檐;石狮;貔貅;翁仲;赑屃


11. public enum Title {  12. MR(”Mr.”), MRS(”Mrs.”), MS(”Ms.”);  13. private final String title;  14. private Title(String t) { title = t; }  15. public String format(String last, String first) {  16. return title + “ “ + first + “ “ + last;  17. }  18. }  19. public static void main(String[] args) {  20. System.out.println(Title.MR.format(”Doe”, “John”));  21. }  What is the result?() 

  • A、 Mr. John Doe
  • B、 An exception is thrown at runtime.
  • C、 Compilation fails because of an error in line 12.
  • D、 Compilation fails because of an error in line 15.
  • E、 Compilation fails because of an error in line 20.

正确答案:A


1. class TestA {  2. TestB b;  3. TestA() {  4. b = new TestB(this);  5. }  6. }  7. class TestB {  8. TestA a;  9. TestB(TestA a) {  10. this.a = a;  11. }  12. }  13. class TestAll {  14. public static void main (String args[]) {  15. new TestAll().makeThings(); 16. // ...code continues on  17. }  18. void makeThings() {  19. TestA test = new TestA(); 20. }  21. }  Which two statements are true after line 15, before main completes?()

  • A、 Line 15 causes a stack overflow.
  • B、 An exception is thrown at runtime.
  • C、 The object referenced by a is eligible for garbage collection.
  • D、 The object referenced by b is eligible for garbage collection.
  • E、 The object referenced by a is not eligible for garbage collection.
  • F、 The object referenced by b is not eligible for garbage collection.

正确答案:C,D


16. Date d = new Date(0L);  17. String ds = “December 15, 2004”;  18. // insert code here  What updates d‟s value with the date represented by ds?()

  • A、 18. d = df.parse(ds);
  • B、 18. d = df.getDate(ds);
  • C、 18. try {     19. d = df.parse(ds);      20. } catch(ParseException e) { };
  • D、 18. try {      19. d = df.getDate(ds);       20. } catch(ParseException e) { };

正确答案:C


2012年英语(二)试题参考答案Section I Use of English1. A. served 2. B. common 3. D. bore 4. A. necessities 5. C. but 6. D. against 7. B. meaning 8. A. handed out 9. C. made 10. B. never 11. D. distinguished 12. C. collection 13. C. interviewed 14. A. human 15. D. gained 16. A. paralleled 17. B. emphasized 18. C. fragments 19. B. To 20. D.at that pointSection Reading ComprehensionPart AText121. A. is receiving more criticism22. C. may have problems finishing their homework23. D. discourage students from doing homework 24. B. it counts much in schooling25. A. A Faulty Approach to HomeworkText 226. C. should not be the sole representation of girlhood27. B. Blue used to be regarded as the colour for girls.28. B. the marketing of products for children29. A. classify consumers into smaller groups30. C. mainly imposed by profit-driven businessmenText 331. A. genes to be patentable 32. B. only man-made products are patentable33. A. discovering gene interactions34. C. gene patenting was a great concern35. D. objectiveText 436. D. look on the bright side of the recession37. D. reconsider their lifestyle38. B. bring out more evils of human nature39. D. recover more quickly than the others40. C. certainPart B41. A. emphasized the virtue of classical heroes.42. F. dismissed virtue as unnecessary for successful leaders.43. G. depicted the worthy lives of engineers, industrialists and explorers.44. C. focused on epochal figures whose lives were hard to imitate.45. E. held that history should be the story of the masses and their record of struggle.Section Translation46. 发展中国家的人考虑移民时,通常关心的是到硅谷或发达国家的医院和大学里工作这样最美好最光明的前景。这些人正是英国、加拿大和澳大利亚等国家想要通过对大学毕业生提供优惠的移民条例来吸引的人才。许多研究表明,发展中国家受过良好教育的人尤其可能移民。2004年对印度家庭的一项大规模调查表明,将近40%移居国外的人受过高中以上教育,而与之形成对比的是:全印度25岁以上受过高中以上教育的人约为3.3%。这种“人才流失”现象长期困扰着贫困国家的决策者。他们担心这会损害本国经济,使他们失去急需的熟练劳动者,这些人本可以留在国内在大学任教、在医院工作或设计新产品供工厂生产。Section IV WritingPart A47. (略)Part B48. (略)

11. public void testIfA() {  12. if(testIfB(”True”)) {  13. System.out.println(”True”);  14. } else {  15. System.out.println(”Not true”);  16. }  17. }  18. public Boolean testIfB(String str) {  19. return Boolean.valueOf(str);  20. }  What is the result when method testIfA is invoked?() 

  • A、 True
  • B、 Not true
  • C、 An exception is thrown at runtime.
  • D、 Compilation fails because of an error at line 12.
  • E、 Compilation fails because of an error at line 19.

正确答案:A


11. public static void main(String[] args) {  12. Object obj = new Object() {  13. public int hashCode() {  14. returns 42; 15. }  16. };  17. System.out.println(obj.hashCode());  18. }    What is the result? () 

  • A、 42
  • B、 An exception is thrown at runtime.
  • C、 Compilation fails because of an error on line 12.
  • D、 Compilation fails because of an error on line 16.
  • E、 Compilation fails because of an error on line 17.

正确答案:A


11. static class A {  12. void process() throws Exception { throw new Exception(); }  13. }  14. static class B extends A {  15. void process() { System.out.println(”B”); }  16. }  17. public static void main(String[] args) {  18. new B().process();  19. }  What is the result?() 

  • A、 B
  • B、 The code runs with no output.
  • C、 Compilation fails because of an error in line 12.
  • D、 Compilation fails because of an error in line 15.
  • E、 Compilation fails because of an error in line 18.

正确答案:A


12. void start() {  13. A a = new A();  14. B b = new B();  15. a.s(b);  16. b = null;  17. a = null;  18. System.out.println(“start completed”); 19. }  When is the B object, created in line 14, eligible for garbage collection?()  

  • A、 After line 16.
  • B、 After line 17.
  • C、 After line 18 (when the methods ends).
  • D、 There is no way to be absolutely certain.
  • E、 The object is NOT eligible for garbage collection.

正确答案:D


11. public void genNumbers() {  12. ArrayList numbers = new ArrayList();  13. for (int i=0; i<10; i++) {  14. int value = i * ((int) Math.random());  15. Integer intObj = new Integer(value);  16. numbers.add(intObj);  17. }  18. System.out.println(numbers);  19. }  Which line of code marks the earliest point that an object referenced by intObj becomes a candidate for garbage collection?() 

  • A、 Line 16
  • B、 Line 17
  • C、 Line 18
  • D、 Line 19
  • E、 The object is NOT a candidate for garbage collection.

正确答案:D

更多 “考研英语(二)2012年真题答案” 相关考题
考题 11. public class Test {  12. public void foo() {  13. assert false;  14. assert false;  15. }  16. public void bar(){  17. while(true){  18. assert false;  19. }  20. assert false;  21. }  22. }  What causes compilation to fail?()  A、 Line 13B、 Line 14C、 Line 18D、 Line 20正确答案:D

考题 11. class Person {  12. String name = “No name‟;  13. public Person(String nm) { name = nm; }  14. }  15.  16. class Employee extends Person {  17. String emplD = “0000”;  18. public Employee(String id) { empID = id; }  19. }  20.  21. public class EmployeeTest {  22. public static void main(String[] args) {  23. Employee e = new Employee(”4321”);  24. System.out.println(e.empID);  25. }  26. }  What is the result?() A、 4321B、 0000C、 An exception is thrown at runtime.D、 Compilation fails because of an error in line 18.正确答案:D

考题 多选题1. class TestA {  2. TestB b;  3. TestA() {  4. b = new TestB(this);  5. }  6. }  7. class TestB {  8. TestA a;  9. TestB(TestA a) {  10. this.a = a;  11. }  12. }  13. class TestAll {  14. public static void main (String args[]) {  15. new TestAll().makeThings(); 16. // ...code continues on  17. }  18. void makeThings() {  19. TestA test = new TestA(); 20. }  21. }  Which two statements are true after line 15, before main completes?()ALine 15 causes a stack overflow.BAn exception is thrown at runtime.CThe object referenced by a is eligible for garbage collection.DThe object referenced by b is eligible for garbage collection.EThe object referenced by a is not eligible for garbage collection.FThe object referenced by b is not eligible for garbage collection.正确答案:C,F解析:This is a typical example of the island of isolation. On line 15, the two objects TestA and TestB have a reference to one an other. Therefore, the correct answers are C. and D. A key point to remember is that an object that is referenced by another object can be eligible for garbage collection if the two objects form an island of isolated objects. 

考题 单选题11. static classA {  12. void process() throws Exception { throw new Exception(); }  13. }  14. static class B extends A {  15. void process() { System.out.println(”B “); }  16. }  17. public static void main(String[] args) {  18.A a=new B();  19. a.process();  20.}  What is the result?()ABBThe code runs with no output.CAn exception is thrown at runtime.DCompilation fails because of an error in line 15.ECompilation fails because of an error in line 18.FCompilation fails because of an error in line 19.正确答案:B解析:暂无解析

考题 11. class Snoochy {  12. Boochybooch;  13. public Snoochy() { booch = new Boochy(this); }  14. }  15.  16. class Boochy {  17. Snoochy snooch;  18. public Boochy(Snoochy s) { snooch = s; }  19. }  And the statements:  21. public static void main(String[] args) {  22. Snoochy snoog = new Snoochy();  23. snoog = null;  24. // more code here  25. }  Which statement is true about the objects referenced by snoog, snooch, and booch immediately after line 23 executes?() A、 None of these objects are eligible for garbage collection.B、 Only the object referenced by booch is eligible for garbage collection.C、 Only the object referenced by snoog is eligible for garbage collection.D、 Only the object referenced by snooch is eligible for garbage collection.E、 The objects referenced by snooch and booch are eligible for garbage collection.正确答案:E

考题 单选题11. public void testIfA() {  12. if(testIfB(”True”)) {  13. System.out.println(”True”);  14. } else {  15. System.out.println(”Not true”);  16. }  17. }  18. public Boolean testIfB(String str) {  19. return Boolean.valueOf(str);  20. }  What is the result when method testIfA is invoked?()ATrueBNot trueCAn exception is thrown at runtime.DCompilation fails because of an error at line 12.ECompilation fails because of an error at line 19.正确答案:D解析:暂无解析

考题 单选题12. void start() {  13. A a = new A();  14. B b = new B();  15. a.s(b);  16. b = null;  17. a = null;  18. System.out.println(“start completed”); 19. }  When is the B object, created in line 14, eligible for garbage collection?()AAfter line 16.BAfter line 17.CAfter line 18 (when the methods ends).DThere is no way to be absolutely certain.EThe object is NOT eligible for garbage collection.正确答案:B解析:The correct answer to this question is D. The member method s is not defined so there is no way to be certain of the result. 

考题 10. public class Hello {  11. String title;  12. int value;  13. public Hello() {  14. title += “ World”;  15. }  16. public Hello(int value) {  17. this.value = value;  18. title = “Hello”;  19. Hello();  20. }  21. }  and:  30. Hello c = new Hello(5);  31. System.out.println(c.title);  What is the result?() A、 HelloB、 Hello WorldC、 Compilation fails.D、 Hello World 5E、 The code runs with no output.F、 An exception is thrown at runtime.正确答案:C

考题 单选题11. class Snoochy {  12. Boochybooch;  13. public Snoochy() { booch = new Boochy(this); }  14. }  15.  16. class Boochy {  17. Snoochy snooch;  18. public Boochy(Snoochy s) { snooch = s; }  19. }  And the statements:  21. public static void main(String[] args) {  22. Snoochy snoog = new Snoochy();  23. snoog = null;  24. // more code here  25. }  Which statement is true about the objects referenced by snoog, snooch, and booch immediately after line 23 executes?()ANone of these objects are eligible for garbage collection.BOnly the object referenced by booch is eligible for garbage collection.COnly the object referenced by snoog is eligible for garbage collection.DOnly the object referenced by snooch is eligible for garbage collection.EThe objects referenced by snooch and booch are eligible for garbage collection.正确答案:B解析:暂无解析

考题 11. static classA {  12. void process() throws Exception { throw new Exception(); }  13. }  14. static class B extends A {  15. void process() { System.out.println(”B “); }  16. }  17. public static void main(String[] args) {  18.A a=new B();  19. a.process();  20.}  What is the result?() A、 BB、 The code runs with no output.C、 An exception is thrown at runtime.D、 Compilation fails because of an error in line 15.E、 Compilation fails because of an error in line 18.F、 Compilation fails because of an error in line 19.正确答案:F