123343067-Quiz.doc

Select trim hansel trim both sides from dual what

  • No School
  • AA 1
  • 32

This preview shows page 17 - 20 out of 32 pages.

SELECT TRIM(‘ Hansel ‘ ) “Trim both sides” FROM DUAL What would be the output of the above command? A. None of the aboveB. Trim both sidesC. HanselD. Trim both sides Hansel Answer Key: D # Question 9 of 10 10.0 Points What would be the output of following command. SELECT TRANSLATE(’1sct523′,’123′, ’7a9′) “Change” FROM DUAL; A. 7sct 5a9 B. None of the above C. 7 sct D. Change 7 sct 5a9 Answer Key: D # Question 10 of 10 10.0 Points What is joining a Table to itself called? Answer Key: A
Image of page 17

Subscribe to view the full document.

2012 TCS ASPIRE : Java quiz/question and answers latest # Question 1 of 10 10.0 Points Among the following options, choose the four options that describe the appropriate default values for array elements of the types indicated? 1. int -> 0 2. String -> “null” 3. Dog -> null 4. char -> ‘\u0000′ 5. float -> 0.0f 6.boolean -> true Answer Key: D # Question 2 of 10 10.0 Points Which option among the following lists only Java programming language keywords? Answer Key: A # Question 3 of 10 10.0 Points Which of the following options would legally declare, construct, and initialize an array? A. int [] myList = {“1″, “2″, “3″};B. int myList [] = {4, 3, 7};C. int [] myList = (5, 8, 2);D. int myList [] [] = {4,9,7,0}; Answer Key: B # Question 4 of 10 10.0 Points You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?
Image of page 18
Answer Key: C # Question 5 of 10 10.0 Points interface Base { boolean m1 (); byte m2(short s); } 1.interface Base2 implements Base {} 2.abstract class Class2 extends Base { public boolean m1(){ return true; }} 3.abstract class Class2 implements Base {} 4.abstract class Class2 implements Base { public boolean m1(){ return (7 > 4); }} 5.abstractclass Class2 implements Base { protected boolean m1(){ return (5 > 7) }} Answer Key: A # Question 6 of 10 10.0 Points Among the 6 options provided below, which three form part of correct array declarations? 1.public int a [ ] 2.static int [ ] a 3.public [ ] int a 4.private int a [3] 5.private int [3] a [ ] 6.public final int [ ] a Answer Key: D # Question 7 of 10 10.0 Points Which of the following is/are legal method declarations? 1.protected abstract void m1(); 2.static final void m1(){} 3.synchronized public final void m1() {}
Image of page 19

Subscribe to view the full document.

Image of page 20

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern