Featured

    Featured Posts



    Jobs Search

Loading...

Latest Oracle Placement Paper Fully Solved Answers - Part 2

Latest Oracle Placement Paper  - Part 2



Latest Oracle Placement Paper - Part 2:

 
1. The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID

A. Equi-join B.Natural join    C.Outer join D.Cartesian join

Answer: A

2. Which statement is true about a static nested class?

A.You must have a reference to an instance of the enclosing class in order to instantiate it.
B.It does not have access to nonstatic members of the enclosing class.
C.It's variables and methods must be static.
D.It must extend the enclosing class.

Answer: B

Explanation:

Option B is correct because a static nested class is not tied to an instance of the enclosing class, and thus can't access the nonstatic members of the class (just as a static method can't access nonstatic members of a class). Option A is incorrect because static nested classes do not need (and can't use) a reference to an instance of the enclosing class. Option C is incorrect because static nested classes can declare and define nonstatic members. Option D is wrong because it just is. There's no rule that says an inner or nested class has to extend anything.

3. Which constructs an anonymous inner class instance?

A. Runnable r = new Runnable() { };                                            B. Runnable r = new Runnable(public void run() { });                
       C. Runnable r = new Runnable { public void run(){}};                            D.System.out.println(new Runnable() {public void run() { }});


Answer: D

Explanation: 

D is correct. It defines an anonymous inner class instance, which also means it creates an instance of that new anonymous class at the same time. The anonymous class is an implementer of the Runnable interface, so it must override the run ()method of Runnable. A is incorrect because it doesn't override the run() method, so it violates the rules of interface implementation. B and C use incorrect syntax.

4. Which of the following range is a valid long double?

A. 3.4E-4932 to 1.1E+4932 B. 3.4E-4932 to 3.4E+4932  
       C. 1.1E-4932 to 1.1E+4932         D. 1.7E-4932 to 1.7E+4932


Answer: A

Explanation: 

The range of long double is 3.4E-4932 to 1.1E+4932

5. In C, if you pass an array as an argument to a function, what actually gets passed?

A.Value of elements in array B.First element of the array             
         C.Base address of the array D.Address of the last element of array

Answer: C

Explanation: 
The statement 'C' is correct. When we pass an array as a funtion argument, the base address of the array will be passed.

6. Consider the following program:
# include
class x
{
public:
int a;
x();
};
x::x() 
{
a=10; cout<
class b:public x
{
public:
b();
};
b::b() { a=20; cout<
main ()

b temp;
}
what will be the output of this program?

A.10 B.20 C.2010 D.1020

Answer: B

7. int i,j;
for(i=0;i<=10;i++)
{
j+=5;
assert(i<5);
}

A.Runtime error B.6 C.5 D.10

Answer: A

Explanation: 

Runtime error: Abnormal program termination. assert failed (i<5), , asserts are used during debugging to make sure that certain conditions are satisfied. If assertion fails, the program will terminate reporting the same. After debugging use, #undef NDEBUG and this will disable all the assertions from the source code. Assertion is a good debugging tool to make use of.

8. A primary key should be defined as

A.NULL.   B.NOT NULL.                                             
       C.Either of the above can be used. D.None of the above are correct


Answer: B

9. In which numbering system can the binary number 1011011111000101 be easily converted to?

A.Decimal system B.Hexadecimal system                             
        C.Octal system D.No need to convert

Answer: B

Explanation: 
Hexadecimal system is better, because each 4-digit binary represents one Hexadecimal digit.

10. Which JDBC driver Type(s) can be used in either applet or servlet code?

A.Both Type 1 and Type 2 B.Both Type 1 and Type 3            
        C.Both Type 3 and Type 4 D.Type 4 only

Answer: C

11. What is the difference between a LIST BOX and a COMBO BOX ?

A.In the list box, the user is restricted to selecting a value from a list but in a combo box the user can type in value which is not in the list
B.A list box is a data entry area while a combo box can be used only for control purposes
C.In a combo box, the user is restricted to selecting a value from a list but in a list box the user can type in a value which is not in the list
D.None of the above

Answer: A

12. In a CLIENT/SERVER environment , which of the following would not be done at the client ?

A.User interface part       B.Data validation at entry line             
        C.Responding to user events, D.None of the above

Answer: D

13. Why is it better to use an INTEGRITY CONSTRAINT to validate data in a table than to use a STORED PROCEDURE ?

A.Because an integrity constraint is automatically checked while data is inserted into or updated in a table while a stored procedure has to be specifically invoked
B.Because the stored procedure occupies more space in the database than a integrity constraint definition
C.Because a stored procedure creates more network traffic than a integrity constraint definition
D.None

Answer: A

14. Which of the following is TRUE for the SYSTEM VARIABLE $date$

A.Can be assigned to a global variable                                             B.Can be assigned to any field only during design time                     C.Can be assigned to any variable or field during run time                      D.None of the above

Answer: B

15. Which of the following packaged procedure is UNRESTRICTED ?

A.CALL_INPUT           B.CLEAR_BLOCK           C.EXECUTE_QUERY

        D.USER_EXIT


Answer: D

16. Identify the RESTRICTED packaged procedure from the following

A.USER_EXIT B.MESSAGE C.BREAK           D.EXIT_FORM

Answer: D

17. What is SQL*FORMS

A.SQL*FORMS is a 4GL tool for developing & executing Oracle based interactive applications.
B.SQL*FORMS is a 3GL tool for connecting to the Database
C.SQL*FORMS is a reporting tool
D.None of the above

Answer: A

18. A column defined as PRIMARY KEY can have NULL

A.TRUE B.FALSE

Answer: B

19. Which of the following SQL functions can operate on any datatype

A.TO_CHAR B.LOWER       C.LPAD D.CEIL

Answer: D

20. Which of the following is true concerning systems information in an RDBMS

A.RDBMS store database definition information in system-created tables.
B.This information can be accessed using SQL.
C.This information often cannot be updated by a user
D.All of the above

Answer: A

21. What servlet processor was developed by Apache Foundation and Sun?

A.Apache Tomcat B.Apache Web server            

       C.Sun servlet processor         D.None of the above is correct

Answer: A

22. The software used to drive microprocessor-based systems is called:

A.Assembly language programs B.Firmware               
        C.BASIC interpreter instructions D.Flowchart instructions

Answer: A

23. Which bitwise operator is suitable for checking whether a particular bit is on or off?

A.&& operator B.& operator C.|| operator D.! operator

Answer: B

24. Multivalued dependencies should ________ be eliminated.

A.always B.commonly C.seldom D.never

Answer: A

25. Each data item in a record may be a group item composed of sub-items; those items which are indecomposable are called

A.elementary items B.atoms     C.scalars       D.all of above

Answer: D

26. What is the output of the following program
main()
{
int c[ ]={2.8,3.4,4,6.7,5};
int j,*p=c,*q=c;
for(j=0;j<5;j++)
{
printf(" %d ",*c);
++q;  
}
for(j=0;j<5;j++)
{
printf(" %d ",*p);
++p;  
}
}

A.2 2 2 2 2 2 3 4 6 5   B.2.8,3.4,4,6.7,5       

        C.Compiler error   D.None

Answer: A

Explanation:

Initially pointer c is assigned to both p and q. In the first loop, since only q is incremented and not c , the value 2 will be printed 5 times. In second loop p itself is incremented. So the values 2 3 4 6 5 will be printed.

27. Which of the following conditions should exist if you want to convert a relationship to an associative entity?

A.Some of the relationships for the participating entities are "many".             B.The resulting associative entity has an independent meaning.             C.The resulting associative entity has no attributes.                                     D.All of the above

Answer: B

28. #include gets replaced by the contents of the file stdio.h

A.During editing B.During linking                            
       C.During execution         D.During preprocessing



Answer: D

Explanation: 
The preprocessor replaces the line #include with the system header file of that name. More precisely, the entire text of the file 'stdio.h' replaces the#include directive.

29. When new data are to be inserted into a data structure, but there is no available space; this situation is usually called

A.underflow B.overflow    C.housefull D.saturated

Answer: D

30. Using the SQL GROUP BY phrase with a SELECT statement can help detect which of the following problems?

A.The multivalue, multicolumn problem                                             B.The inconsistent values problem                                                     C.The missing values problem                                                     D.The general-purpose remarks column problem

Answer: B

Latest Oracle Placement Paper with Answers - Part 1

Latest Oracle Placement Paper with Answers - Part 1:



1. Directions(1-5) Each question consist of two words which have a certain relationship to each other followed by four pairs of related words, Select the pair which has the same relationship. HOPE:ASPIRES

A.love:elevates  B. film:flam    C.fib:lie  D.fake:ordinary

Answer: C

2. CORPOREAL:SPIRITUAL

A.mesa: plateau                           B.moron: savant   

        C.foreigner: immigrant           D.pedagogue: teacher

Answer: B

3. SYMPHONY:COMPOSER

A.Leonardo: music B.Fresco: painter     

        C. colours: pallet         D.art: appreciation


Answer: B

4. INDIGENT:WEALTHY

A.angry:rich        B.native:affluent           

       C.gauche: graceful        D.scholarly:erudite

Answer: C

5. DISTANCE:MILE

A.liquid:litre B.bushel:corn                 

       C.weight: scale D.fame:television 


Answer: A

6. Pick out the most effective word(s) from the given words to fill in the blank to make the sentence meaningfully complete. He lives near a lovely ...... of countryside.

A.length      B.piece         C.section D.stretch

Answer: D

7. He is a person of sound character and ...... disposition.

A.beneficent      B. morous     C.amiable         D.amicable

Answer: C

8. Natwarlal ...... them all for a ride by producing false documents.

A.took         B.cheated   C.kept          D.let

Answer: A

9. True brevity ...... in saying only what needs to be

A.consists B.depicts   C.depicts D.resides

Answer: A

10. Health is too important to be ......

A.discarded B.despised    C.detested      D.neglected

Answer: D

11. (Direction 11-15) In question below, each passage consist of six sentences. The first and sixth sentence are given in the beginning. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences. S1: The city is almost a slum and stinks most of time. P : The slush on the road did not deter them. Q : The occasional slips and falls were considered a small price to pay for the trip. R : They were excited, fascinated by the sight of fresh snow on the roads. S : Even so, it looked beautiful to tourists of various categories. S6: But some visitors came away with the unforgettable sight of young labours scantily clad. The Proper sequence should be:

A.RQPS          B.QPRS      C.RSQP       D.SPQR

Answer: D

12. S1: A gentleman who lived alone always had two plates placed on the table at dinner time. P : One day just as he sat down to dine, the cat rushed in to the room. Q : One plate was for himself and other was for his cat. R : she drooped a mouse into her own plate and another into her master plate. S : He used to give the cat a piece of meat from his own plate. S6: In this way the cat showed her gratitude to her master. The Proper sequence should be:

A.QSPR B.PSRQ    C.QRSP       D.RPQS

Answer: A

13. S1: Ants eat worms, centipedes and spiders. P : They are usually much quicker than the ant itself. Q : Nevertheless, these animals do not make easy game for ants. R : Besides, they have an extraordinary number of ways of escaping. S : They also eat larvae and insect adults such as flies, moths and spring tails. S6: Some jump, and some give out a pungent repellent substance. The Proper sequence should be:

A.SQPR         B.SPRQ         C.SQRP        D.SRQP

Answer: D

14. S1: Satyajit Ray made several films for children. P : Later film makers have followed his lead. Q : Today other nations are making the children's film in a big way. R : This was at a time when no director considered children as potential audience. S : Ray was, thus, a pioneer in the field. S6: But today few think of Ray as a maker of children's films. The Proper sequence should be:

A.PSRQ B.RSQP C.RSPQ D.SQRP

Answer: C

15. S1: Hungary, with a population of about 10 million, lies between Czechoslovakia to the north and Yugoslavia to the south. P : Here a great deal of grain is grown. Q : In recent years, however, progress has been made also in the field of industrialisation. R : Most of this country consists of an extremely fertile plain, through which the river Danube flows. S : In addition to grain, the plain produces potatoes, sugar, wine and livestock. S6: The new industries derive mainly from agricultural production. The Proper sequence should be:

A.QRSP     B.RPSQ C.PRSQ D.RQSP

Answer: B

16. Directions (16-20): In the following questions choose the word which is the exact OPPOSITE of the given words. EVASIVE

A.Free B.Honest         C.Liberal D.Frank

Answer: B

17. RARELY

A.Hardly B.Definately C.Frequently D.Periodically

Answer: D

18. MALICIOUS

A.Kind B.Boastful C.Generous D.Indifferent

Answer: A

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

A.Artificial        B.Superficial       C.Foolish D.Worthless

Answer: B

20. STRINGENT

A.Tense B.Stringy         C.Strict         D.Causing to Shrink

Answer: C

21. A fast typist can type some matter in 2 hours and a slow typist can type the same in 3 hours. If both type combine, in how much time will they finish?  

A.2.15 hr      B.1 .23 hr C.1.12 hr         D.1.45 hr

Answer: C

Explanation: 

The fast typist's work done in 1 hr = 1/2 The slow typist's work done in 1 hr = 1/3 If they work combine , work done in 1 hr = 1/2+1/3 = 5/6 So, the work will be completed in 6/5 hours. i.e., 1+1/5 hours = 1hr 12 min

22. Two trains running in opposite directions cross a man standing on the platform in 27 seconds and 17 seconds respectively and they cross each other in 23 seconds. The ratio of their speeds is:

A.1 : 3      B.3 : 2            C.3 : 4 D.None of these

Answer: B

23. What is the sum of all numbers between 100 and 1000 which are divisible by 14 ?

A.35393 B.35392 C.35352 D.35329

Answer: B

Explanation: 
The number closest to 100 which is greater than 100 and divisible by 14 is 112, which is the first term of the series which has to be summed. The number closest to 1000 which is less than 1000 and divisible by 14 is 994, which is the last term of the series. 112 + 126 + .... + 994 = 14(8+9+ ... + 71) = 35392

24. Gavaskar's average in his first 50 innings was 50. After the 51st innings, his average was 51. How many runs did he score in his 51st innings. (supposing that he lost his wicket in his 51st innings)

A.101 B.105  C.98      D.102

Answer: A

Explanation: 
Total score after 50 innings = 50*50 = 2500 Total score after 51 innings = 51*51 = 2601 So, runs made in the 51st innings = 2601-2500 = 101 If he had not lost his wicket in his 51st innings, he would have scored an unbeaten 50 in his 51st innings.

25. I drove 60 km at 30 kmph and then an additional 60 km at 50 kmph. Compute my average speed over my 120 km.

A.37 ½ kmph B.40 kmph       C.35 ½ kmph D.38 kmph

Answer: A

Explanation: 
37 ½ kmph Explanation: Time required for the first 60 km = 120 min. Time required for the second 60 km = 72 min. Total time required = 192 min Average speed = (60*120)/192 = 37 1/2

26. A can do a certain work in the same time in which B and C together can do it. If A and B together could do it in 10 days and C alone in 50 days, then B alone could do it in

A.15 days B.20 days C.25 days D.30 days

Answer: C

27. Two trains of equal length are running on parallel lines in the same direction at 46 km/hr and 36 km/hr. The faster train passes the slower train in 36 seconds. The length of each train is:

A.50 m B.72 m           C.80 m D.82 m

Answer: A

28. A boat can travel with a speed of 13 km/hr in still water. If the speed of the stream is 4 km/hr, find the time taken by the boat to go 68 km downstream.

A.2 hours B.3 hours C.4 hours D.5 hours

Answer: C

Explanation: 
Speed downstream = (13 + 4) km/hr = 17 km/hr. Time taken to travel 68 km downstream =(68/17) hrs = 4 hrs

29. Z5  (Image)

A.2 B.3 C.4 D.5

Answer: D

30. Three candidates contested an election and received 1136, 7636 and 11628 votes respectively. What percentage of the total votes did the winning candidate get?

A.57% B.60% C.65% D.90%

Answer: A
Powered by Blogger.
© Copyright Careers Pack
Back To Top