2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
16th August 2014, 02:37 PM
Super Moderator
 
Join Date: Apr 2013
Re: Placement paper for Oracle

You are looking for Oracle placement exam model question paper, i am giving here:
1. If CALENDER is coded as DBMFOEFS, then SCHOOL is coded as :

a. TDIPPM

b. RBGNNK

c. LOOHCS

d .RBGPPM


2. Anne says, ‘This man’s wife is the only daughter of my father.’ How is the man related to her ?

a. Husband

b. Son

c . Uncle

d.Brother


3. Five children are sitting in a row. A is sitting next to B but not C.D is sitting next to E who is sitting on the extreme left and C is not sitting next to D, then who are sitting adjacent to A?

a. D and B

b. E and B

c. B and C

d. Insufficient information


4. Select the option that is true about the Statement and Conclusions given :

Statement :

All shirts are trousers

No trouser is a towel

Conclusions:

Some shirts are towel

No shirt is towel

a. Only conclusion I follows

b. Only conclusion II follows

c. Both conclusion I and II follows

d. None of the conclusion I and II follows


5. If 26 kg rice costs Rs.299, how much would 22 kg cost?

a. 243

b. 253

c. 247

d. 223



Instruction for questions 7 to 8: In a hospital every day patients are to follow a specific procedure for check up either general or emergency. This consists of going through various in-charges: A, B, C, D, E, F, G.

· All general patients are registered by either A or B.

· All emergency patients are registered by either A or D.

· All patients processed by A are then sent to G. All patients processed by B are then sent to F.

· General patients processed by G are then sent to C, whereas all emergency patients are then sent to D.

· All patients processed by F are then sent either to G or C.

· All patients processed by D are then sent to either C or E.

· General patients processed by C are then sent to D, which all emergency patients are sent to E.

· E issues the final slip for treatment.


7. A general patient can reach E by how many ways?

a.2

b.3

c.4

d.5


8. Which of the following is not possible?

a. A sends a patient directly to G.

b. F sends a patient directly to D.

c. D sends a patient directly to C.

d. F sends a patient directly to C.


9. Find the option that follows the same analogy as given below :

Foot : Man : : Hoof : ?



a.Leg

b.Dog

c.Horse

d.Shoe



10. If ANSWER is coded as BMUUHO, then QUESTION is coded as :
RTFRUHPM
RTGQWFSJ
RTGQFWJS
RTGQFWSJ

11. The following question is based on an encryption system in which:

‘Talk to me’ is coded as ‘Tu nam Pit’

‘Give me that’ is coded as ‘Su Ram Nam’

‘Give to him’ is coded as ‘Pi Tu Su’

Give to me’ is coded as

a.Nam Ram Su

b.Su Tu Nam

c.Pi Tu Ram

d.Pi Tu Su

12. The following question is based on an encryption system in which :

‘You are good’ is coded as ‘Lu Le La’

‘They are players’ is coded as ‘Le Ne Me’

‘He is good’ is coded as ‘La Si Su’

Which word is coded as ‘Lu’?

a. Good

b. They

c. He

d. You


13. Prasad says. ‘The man in the photograph is the husband of my father’s sister’s mother.’ How is the man related to Prasad ?

a. Father

b. Grandfather

c. Great Grandfather

d. Uncle


14. How many 7’s are there in the following sequence that are immediately followed by 1 but not immediately preceded by 9?

4 3 7 1 6 7 1 4 7 7 2 4 9 1 1 7 9 9 7 1 2 7 1 1 7 9 1 4

a. One

b. Two

c. Three

d. More than three

15. How many odd numbers are there in the following sequence of numbers which are immediately followed by an even number as well as immediately preceded by an odd number?

9 7 8 7 9 1 4 3 8 6 4 5 3 3 4 6 6 3 3 9 2 2 9

a. One

b. Two

c. Five

d. None of these


16. Which of the following four addresses in NOT EXACTLY the same as the one given below?

M. Andree TROMMER

BP 5019

L-1050 Luxembourg

LUXEMBOURG

(i) M. Andree TROMMER

BP 5019

L-1050 Luxembourg

LUXEMBOURG

(ii) M. Andree TROMMER

BP 5019

L-1050 Luxemburg

LUXEMBOURG

(iii) M. Andree TROMMER

BP 5019

L-1050 Luxembourg

LUXEMBOURG

(iv) M. Andree TROMMER

BP 5019

L-1050 Luxembourg

LUXEMBOURG

a. i

b. ii

c. iii

d. iv


17. Complete the series choosing the missing letter/s :

C,X,E,V,G,-------

a. L

b. T

c. R

d. U




18. Complete the series choosing the missing number/s

36, 6, 49, 7, 64, 8, 81, ---

a.10

b. 9

c.12

d.13




19. Select the statement which is logical equivalent to the given statement:

No people who assign work are lovable. All supervisors assign work.

a. No supervisor is lovable

b. All supervisors are lovable

c. Some supervisors are lovable

d. None of these answers.


20. Select the option that is true about the Statement and conclusions given :

Statements:

All boys are intelligent,

Syam is intelligent

Conclusions:

Shyam is a boy

All intelligent are boys

a. Only conclusion I follows

b. Only conclusion II follows

c. Both conclusion I and II follows

d. None of the conclusion I and II follows


21.Select the option that is true about the Statements and Conclusions given:
Statements All juices are drinks
Some drinks are beverages

Conclusions :

Some juices are beverages

Some beverages are juices

a. Only conclusion I follows

b. Only conclusion II follows

c. Both conclusion I and II follows

d. None of the conclusion I and II follows


22. Inder is 28 years younger to his father. Two years from now, his father will be five times the age of Inder. What is Inder’s present age?

a. 5 years

b. 6 years

c. 7 years

d. 11 years


23.The difference between Shabana and her father’s age is as many years as Shabana’s age. 12 years back, her age was one third of her father’s age. How old is Shabana’s father?

a.12 years

b. 24 years

c. 36 years

d. 48 years


24. If the length of a rectangle is increased by 5%, then its area will increase by:

a.25%

b.5%

c. 10%

d. 7.5%


25. A garrison has provisions that can last 30 days for 1200 soldiers. If 600 soldiers join them after 15 days, how many more days would the provisions last ?

a.5

b. 10

c. 15

d. 20


26. Tap – A fills a tank in 5 hours, Tap-B fills the same tank in 15 hours and Tap-C empties the same tank in 10 hours. With all the three taps open together, the tank will fill in:

a. 10 hours

b. 6 hours

c. 5 hours

d. Never fill




Instructions for questions 28 to 29: A publishing house has decided to change the format of its magazine by introducing features in 5 broad areas of general interest: Current affairs, Politics, Sports, Films, and youth. Each issue of the magazine must meet the following conditions :

· In every issue at least two different features must be done.

· If the feature on youth is done, the feature on politics cannot be done.

· Each issue must carry 3 features only, where in an area may be repeated.

· If the Current affairs feature is done, then the Films feature must also be done, and vice versa.

· If the Politics feature is done, the issue cannot carry the feature on Youth.

· The issue can carry the Sports feature only if the feature on youth is done.



28. An acceptable order cannot include 2 features on :

a. Politics

b. Youth

c. Sports

d. Films

29. Which of the following is an acceptable order?

a. One feature on Films, one on politics and one on youth.

b. One feature on Current affairs, one on Sports and one on youth.

c. One feature on politics, one on Sports and one on Youth.

d. One feature on current affairs, one on Films and one on youth.


30. Find the option that follows the same analogy as given below :

London : Heathrow :: ? : Dum Dum

a. Djakarta

b.Darjeeling

c. Kolkata

d. Phnom Penh


31. ‘She is my mother’s husband’s only son’s sister,’ said the doctor about Asha. The doctor is Asha’s ---------

a. Brother

b. Sister

c. Either A or B

d. None of the above


32. Which one of the following four addresses is NOT EXACTLY the same as the one given below?

Daniela Sosa

Casilla de Correo 432

Correo Central

C1000WAM Capital Federal

ARGENTINA

i.Daniela Sosa

Casilla de Coreo 432

Correo Central

C1000WAM Capital Federal

ARGENTINA



ii.Daniela Sosa

Casilla de Correo 432

Correo Central

C1000WAM Capital Federal

ARGENTINA

ii.Daniela Sosa

Casilla de Correo 432

Correo Central

C1000WAM Capital Federal

ARGENTINA

iv.Daniela Sosa

Casilla de Correo 432

Correo Central

C1000WAM Capital Federal

ARGENTINA

a.i

b.ii

c.iii

d.iv


33. Complete the series choosing the missing letter/s

rrs-ssrrr-tssr-rst-sr

a. r,r,s,t

b. t,s,s,r

c. s,t,t,r

d.t,s,r,s

34. Select the statement, which is the logical equivalent to the given statement:

It is not true that both Ramya and Soumya are intelligent

a. Ramya is intelligent or Soumya is intelligent

b. Ramya is intelligent and Soumya is intelligent

c. Ramya is not intelligent and Soumya is intelligent.

d. Ramya is intelligent and Soumya is not intelligent.


35. Select the statement, which is the logical equivalent to the given statement:

It is not true that both Swapna and Ratna are selected.

a. Swapna is selected or Ratna is selected

b. Swapna is selected and Ratna is selected

c. Swapna is not selected and Ratna is selected

d. Swapna is selected and Ratna is not selected


36. In a college Campus, students are offered an installment scheme on a branded calculator with a discounted price of Rs.72. The calculator can be purchased at Rs.5 cash down and 10 monthly installments of Rs. 7.50 each. Find out by how much is the installment price greater than the cash price?

a. 8 ½%

b. 9 1/3%

c. 11 1/9%

d. 12 2/3%


37. The population of a country grows by 2% in one year and 3% in the next. The combined growth for the two years is:

a.5%

b.6%

c.5.06%

d.4.94%


38. Anuj started a business by investing Rs.20,000. Six months later Pankaj joined him with a capital of Rs.15,000. After another three months Puneet joined the team by investing Rs.50,0000. Find the ratio in which the profit at the end of two years should be divided by the three.

a. 8:3:5

b.3:2:1

c.16:9:25

d. 4:2:1


39. A boat travels upstream at a speed of 6 kmph and travels downstream at a speed of 8 kmph. What is the ratio of speed of stream to speed of boat in still water?

a. 1 : 7

b. 7 : 1

c. 1 : 6

d. 6 : 1






Oracle Verbal Ability Questions





Section B – English Proficiency


Instructions for questions 41 to 45 : Read the following passage and answer the questions given below :

Instruction Manual : Mixer Grinder (Mixie)

DO’S & DON’TS

DO’S:

Motor :

1.If your mixer stops due to overload, switch off the unit, reduce the contents in the jar/remove the cause of overload and then push the reset button located at the bottom. Before starting the mixer grinder, wait for 2-3 minutes to allow the motor to cool down.

2. For long life of motor, run the mixie for short durations, pause for 3 minutes and then resume grinding instead of grinding at a stretch.

Jar:

3. Clean the jar immediately after every use:

For thorough cleaning, pour a cup of luke warm water into the jar and operate the pulse button for 10 seconds.

4. Wash Lid and Gasket after every use:

5. Before first/long term non-use, check to see if blade/shaft rotates smoothly before mounting the jar on the mixer.

DON’TS

Motor:

6. Never use the mixer on a wet surface.

7. Do not expose the mixer to heat or direct sunlight.

8. Do not run the mixie when the blade appears to be stuck/jammed/ does not rotate freely.

9. Do not let the motor housing / power cord get in contact with water or any other liquid. To clean, wipe using a damp cloth.

10. Do not run the mixie on a low voltage or during voltage fluctuations.

11. Do not clean the mixie by holding it directly under running water from a tap, or by immersing it under water as it may damage the motor & other electrical parts in it.

12. Do not tilt or drop the mixer, as it will lead to motor failure.

13. Never load the mixer with ingredients beyond the recommended maximum level.

Jar :

14. Your mixer jar cannot substitute a storage container, so avoid storing food in the jar.

15. Do not attempt to mount or remove the jar while the motor is running.

Caution:

Please note that our warranty does not cover wear and tear, and misuse.

41. What does rule 5 of the Do’s section regarding the Jar suggest ?

a. to exercise caution when you use the mixie after a long time or at the first time

b. to call the company to check the blades

c. to mount the jar first and then use it

d. to smoothly wipe the blades.

42. In the Don’ts section, regarding the Motor we are warned not to :

a. leave the mixie in the storeroom

b. allow children to use it

c. run the mixie on a low voltage or during voltage fluctuations

d. try new recipes

43. What do the words “wear and tear” means exactly, at the end of these instructions?

a. how worn out the blades are

b. the way you use it and how often, and whether you misuse it

c. the warranty periods expires after a year

d. we can find out if you have misused it

44. If your motor stops due to overload:

a. a.switch off the unit and restart

b. push the reset button at the bottom of the machine and restart

c. call the nearest showroom for help

d. disconnect it from the power, remove some of the contents and press the re-set button and let the motor cool

45. Mixies may stop working sooner than expected because:

a. they have been used as storage devices

b. their gaskets were not washed after every use

c. they were run for long durations without pausing

d. they were tilted in the direct sunlight by maidservants

46. Choose the correct form of tense for the given sentence:

I---------------------- this coat for very long. It still looks quite new.

a. wasn’t having

b. haven’t had

c. hadn’t

d. have had

47. Choose appropriate articles for the given sentence :

They were having -------- essential debate on the topic of child labour in -------- auditorium

a. the, a

b. a, the

c. a,a

d. an, the

48. Choose the incorrect sentence from the sentences given below:

a. A migratory bird coos in a human voice and everyone listens to it

b. Ordinary people were been gathered to speak about the issues.

c. A medium for and by the people booms in a corner of Gujarat.

d. For 50 years, no one cared about providing electricity to this village.

49. Choose the option that correctly sequences the following phrases:

1.to life imprisonment

2.the judge had sentenced him

3.for

4.attacked the judge

5.the disturbed man

a. 21354

b. 1243

c. 23541

d.53142

50. Choose the option that correctly sequences the following sentences :

1.Or we are ignorant about the points to be covered.

2. When we pick up a sheet of paper, our minds go blank.

3. Or we may have ideas but don’t know how to align them.

4. One of the challenges when making a presentation is to prepare for it.

a. 3241

b. 1243

c.2431

d.4231



51. Choose the word that is opposite in meaning to the italicized word and complete the following sentence:

If you smile, you get friends; but if you …………… people hate you.

a. stare

b. frown

c. jabber

d. grin



52. Choose the words that are closest in meaning to the words italized in the following sentence:

They can handle it with the same fortitude and grace that most women in our society have.

a. strength, elegance

b. polite, common

c. front, retro

d. offence, good

53. Choose appropriate prepositions for the given sentence:

My parents have been married …………. Forty-nine years but you can still see the love …………. their eyes.

a. since, with

b. for, among

c. for, in

d. against, since

54. Choose the correct form of verb for the given sentence:

Jill did not repair the roof. He …………..

a. had it repair

b. has it repaired

c. have it repaired

d. had it repaired

55. Choose appropriate articles for the given sentence:

------ importance of having ------copy of all ---------- documents in your computer cannot be minimized.

a. A,a, an

b. An, a, the

c. The, a, the

d. A, an, the

56. Choose the correct sentence from the sentences given below:

a. Erratic working hours and the night shifts make it increasingly difficult for couples with have time for each other.

b. But it took us a few days to get that ‘homely’ feeling in our new house since we were away for the such long hours.

c. It is also necessary to explain to the children that it is not a vacation activity but something that can be carried on during the entire year, whenever they have the time.

d. At the same time, the baby mother should be encouraged to touch, talk and sing to the baby.

57. Choose the option that correctly sequences the following phrases:

1. gradual change in the genetic composition

2. evolution is defined as the

3. of a population through natural selection

4. resulting in the development of a new species

a. 4321

b. 2134

c. 2341

d.1324

58. Choose the option that correctly sequences the missing sentences:

1. She had been here for three years.

………………………………………

………………………………………

6.Then on Wednesday she was moved to the hospital.

2. It’s been a terrible shock to us.

3. On Tuesday she was worse and the doctor came

4. She was almost like one of the family

5. She came home on Monday complaining of a headache and went to bed.

a. 2345

b.5432

c.5342

d.4253

59. Choose the word that is opposite in meaning to the italicized word and complete the following sentence:

Narrow-minded people always disagree with the view of the

a. broad-minded

b. hard-headed

c. fickle-minded

d. closed-minded

60. Choose the words that are closest in meaning to the words italicized in the following sentence:

Even the most ardent reader of any magazine would be disappointed with the degradation caused to the environment due to the foray of tourists in the Philippines.

a. fervent, egress

b. avid, sudden arrival

c. apathetic, outlet

d. lethargic, doormat.
  #3  
19th May 2015, 05:24 PM
Unregistered
Guest
 
Re: Placement paper for Oracle

I am searching for the ORACLE Placement Papers? Can you please you please provide me ORACLE Placement Papers?
  #4  
19th May 2015, 05:27 PM
Super Moderator
 
Join Date: Apr 2013
Re: Placement paper for Oracle

You are looking for the ORACLE Placement Papers. Here I am uploading a file that contains the ORACLE Placement Papers. You can download the ORACLE Placement Papers. Here I am also provide you some content of the file. This is as follows:



1) A. Final Year students would like a good career.

B. All final year students are eligible as candidates for MBA entrance
exam.
C.Final Year students are entitled to work towards a good career.
D.Some of those who are candidates for an MBA entrance exam are final
year students
E.All those eligible as candidates for an MBA exam are eligible for a
good career
F.All those who would like a good career are entitled to it.

1. AEF 2. EBC 3.BCF 4.CDF

2) A. All bright people acknowledge brains in others
B. Some knowledgeable men are bright
C. Some knowledgeable men do not acknowledge brains in others
D.Some knowledgeable men are persons who are bright
E.Some knowledgeable men are not bright
F.All bright people do not necessarily acknowledge brains in others

1. ABE 2. ACF 3.ADE 4. ACE

3) A.Some thoughts lack clarity
B.Anything unclear is not worth writing about
C.Some thoughts are worth writing about
D.All thoughts lack clarity
E.Some thoughts are clear
F. No thought is worth is writing about

1. ABF 2.BCD 3.BEF 4.BDF

Directions for questions 4 to 6:Arrange the sentences A,B,C,D in a logical
sequence to form a coherent paragraph.

4) A. How do you set your mental co-ordinates vis a vis the external
variables if every-
thing changes so fast ?
B. Modern life is about managing the prices and consequences of changes
C. That is creating a problem
D. The pace of the changing process seems to be getting quicker overtime

1. ABDC 2.DCAB 3.BDCA 4.BCDA

5) A. Infact trying to calculate an element of chance
B. The rather fanciful idea of Lady Luck favouring her own can be traced
back to
Pagan times when lucky gamblers were thought to be the beloved of
the goddess of
Good fortune
C.Risks were taken in order to gain her approval ,and one of these risks
was trying to
Guess what would happen -for example ,which way a leaf would fall
,which way a
Frog would jump
D.She was seen as being capricious and prone ,occasionally ,to mockery


How compiler treats variables of recursive functions

What is orthogonal matrix?

Given two tables and asked 2 qns on those table ,

One is on join and another is on NOT IN

Given some qns on pointers( pretty easy)

Given five qns on data structures like , lifo, fifo

Qtn on primary key

How NULL in sql is treated?

Given a doubly linked list and asked r->left->right->data ans: r->data

Explain const char *ptr and char *const ptr

Remaining i didn`t remember

Technical

What is the output of the following program?<?xml:namespace prefix = o ns urn:schemas -microsoft-com officeffice" "
#include<stdio.h>
#include<math.h>
void main( )
{
int a=5,b=7;
printf(“%d\n”,b\a);
}
A. 1.4
B. 1.0
C. 1
D. 0

What is the output of the following program listing?
#include<stdio.h>
void main ( )
{
int x,y:
y=5;
x=func(y++);
printf(“%s\n”,
(x==5)?”true”;”false”);
}
int func(int z)
{
if (z== 6)
return 5;
else
return 6;
}
A True
B false
C either a or b
D neither a nor b

What is the output of the following progarm?
#include<stdio.h>
main( )
{
int x,y=10;
x=4;
y=fact(x);
printf(“%d\n”,y);
}
unsigned int fact(int x)
{
return(x*fact(x-1));
}
A. 24
B. 10
C. 4
D. none

Consider the following C program and chose collect answer
#include<stdio.h>
void main( )
{
inta[10],k;
for(k=0;k<10;k++)
{ a[k]=k;}
printf (“%d\n”,k);
}
A. value of k is undefined ; unpredictable answer
B. 10
C. program terminates with run time error
D. 0

Consider the prog and select answer
#include<stdio.h>
void main ( )
{
int k=4,j=0:
switch (k)
{
case 3: j=300;
case 4: j=400:
case 5: j=500;
}
printf (“%d\n”,j);
}
A. 300
B. 400
C. 500
D. 0

Consider the following statements:
Statement 1 A union is an object consisting of a sequence of named members of various types
Statement 2 A structure is a object that contains at different times, any one of the several members of various types
Statement 3: C is a compiled as well as an interpretted language
Statement 4: It is impossible to declare a structure or union containing an instance of itself
A. all the statements are correct
B. except 4 all are correct
C. statemnt 3 is only correct
D. statement 1,3 are incorrect either 2 or 4 is correct

consider the following program listing and select the output
#include<stdio.h>
main ( )
{
int a=010,sum=0,tracker:
for(tracker=0;tracker<=a;tracker++)
sum+=tracker;
printf(“ %d\n”,sum);}
A. 55
B. 36
C. 28
D. n

Spot the line numbers , that are valid according to the ANSI C standards?
Line 1: #include<stdio.h>
Line 2: void main()
Line 3: {
4 : int *pia,ia;
5 :float *pafa,fa;
6 :ia=100;
7 :fa=12.05;
8 :*pfa=&ia;
9 fa=&ia;
10 ia=pfa;
11 :fa=(float)*pia;
12 :fa=ia;
13 :}
a. 8 and 9
b. 9 and 10
c. 8 and 10
d. 10 and 11

What is the o/p of the follow pgm?
#include<stdio.h>
main()
{
char char_arr[5]=”ORACL”;
char c=’E’;
prinf(“%s\n”,strcat(char_arr,c));
}
a: oracle
b. oracl
c. e
d. none

consider the following pgm listing
#include<stdio.h>
main()
{
int a[3];
int *I;
a[0]=100;a[1]=200;a[2]=300;
I=a;
printf(“%d\n”, ++*I);
printf(“%d\n”, *++I);
printf(“%d\n”, (*I)--);
printf(“%d\n”, *I);
}
what is the o/p
a. 101,200,200,199
b. 200,201,201,100
c. 101,200,199,199
d. 200,300,200,100

which of the following correctly declares “My_var” as a pointer to a function that returns an integer
a. int*My_Var();
b. int*(My_Var());
c. int(*)My_Var();
d. int(*My_Var)();

what is the memory structure employed by recursive functions in a C pgm?
a. B tree
b. Hash table
c. Circular list
d. Stack

Consider the follow pgm listing?
Line 1: #include<stdio.h>
2: void main()
3: {
4: int a=1;
5: const int c=2;
6: const int *p1=&c;
7: const int*p2=&a;
8: int *p3=&c;
9: int*p4=&a;

what are the lines that cause compilation errors?
a. 7
b. 8
c. 6 and 7
d. no errors

what will be the o/p
#include<stdio.h>
main()
{
inta[3];
int *x;
int*y;
a[0]=0;a[1]=1;a[2]=2;
x=a++;
y=a;
printf(“%d %d\n”, x,(++y));
}
a. 0,1
b. 1,1
c. error
d. 1,2
what is the procedure for swapping a,b(assume that a,b and tmp are of the same type?
a. tmp=a; a=b;b=temp;
b. a=a+b;b=a-b;a=a-b;
c. a=a-b;b=a+b;a=b-a;
d. all of the above


1. Tech + Aptitude written
2. Programming written ( main theme is to test our data structure knowledge, proficiency
sorting searching algorithms will clear this round )
3. Technical interview
4. Puzzle solving

Friends if u clear all this four rounds u are ready for ORACLE.


SQL AND SQL*Plus

Which of the following statements contains an error?
a.. SELECT * FROM emp WHERE empid = 493945;
b. SELECT empid FROM emp WHERE empid= 493945;
c. SELECT empid FROM emp;
d. SELECT empid WHERE empid = 56949 AND lastname = 'SMITH';

Which of the following correctly describes how to specify a column alias?
a. Place the alias at the beginning of the statement to describe the table.
b. Place the alias after each column, separated by white space, to describe the column.
c. Place the alias after each column, separated by a comma, to describe the column.
d. Place the alias at the end of the statement to describe the table.

The NVL function
a. Assists in the distribution of output across multiple columns.
b. Allows the user to specify alternate output for non-null column values.
c. Allows the user to specify alternate output for null column values.
d Nullifies the value of the column output

Output from a table called PLAYS with two columns, PLAY_NAME and AUTHOR,is shown below.Which of the following SQL statements produced it?
PLAY_TABLE
"Midsummer Night's Dream", SHAKESPEARE
"Waiting For Godot", BECKETT
"The Glass Menagerie", WILLIAMS

a SELECT play_name || author FROM plays;
b SELECT play_name, author FROM plays;
c SELECT play_name||', ' || author FROM plays;

d SELECT play_name||', ' || author PLAY_TABLE FROM plays;

Issuing the DEFINE_EDITOR="emacs" will produce which outcome?
a. The emacs editor will become the SQL*Plus default text editor.
b. The emacs editor will start running immediately.
c. The emacs editor will no longer be used by SQL*Plus as the default text editor.
d. The emacs editor will be deleted from the system.

The user issues the following statement. What will be displayed if the EMPID selected is 60494? SELECT DECODE(empid,38475, "Terminated",60494, "LOA", "ACTIVE")FROM emp;
a. 60494
b. LOA
c. Terminatedd. ACTIVE

SELECT (TO_CHAR(NVL(SQRT(59483), "INVALID")) FROM DUAL is a valid SQL statement.
a. TRUE
b. FALSE

The appropriate table to use when performing arithmetic calculations on values defined within the SELECT statement (not pulled from a table column) is
a. EMP
b. The table containing the column values
c. DUALD. An Oracle-defined table

Which of the following is not a group function?
a. avg( )
c. sqrt( )
c. sum( )
d. max( )

Once defined, how long will a variable remain so in SQL*Plus?
a. Until the database is shut down
b. Until the instance is shut down
c. Until the statement completes
d. Until the session completes

The default character for specifying runtime variables in SELECT statements is
a. Ampersand
b. Ellipses
c. Quotation marks
d. Asterisk

A user is setting up a join operation between tables EMP and DEPT. There are some employees in the EMP table that the user wants returned by the query, but the employees are not assigned to departments yet. Which SELECT statement is most appropriate for this user?
a. select e.empid, d.head from emp e, dept d;
b. Select e.empid, d.head from emp e, dept d where e.dept# = d.dept#;
c. Select e.empid, d.head from emp e, dept d where e.dept# = d.dept# (+);
d. Select e.empid, d.head from emp e, dept d where e.dept# (+) = d.dept#;

Developer ANJU executes the following statement: CREATE TABLE animals AS SELECT * fromMASTER.ANIMALS; What is the effect of this statement?
a. A table named ANIMALS will be created in the MASTER schema with the same data as the ANIMALS table owned by ANJU
b. A table named ANJU will be created in the ANIMALS schema with the same data as the ANIMALS table owned by MASTER
c. A table named ANIMALS will be created in the ANJU schema with the same data as the ANIMALS table owned by MASTER.
d. A table named MASTER will be created in the ANIMALS schema with the same data as the ANJU table owned by ANIMALS.

User JANKO would like to insert a row into the EMPLOYEE table, which has three columns: EMPID,LASTNAME, and SALARY. The user would like to enter data for EMPID 59694, LASTNAME Harris, but no salary. Which statement would work best?
a. INSERT INTO employee VALUES (59694,'HARRIS', NULL);
b. INSERT INTO employee VALUES (59694,'HARRIS');
c. INSERT INTO employee (EMPID, LASTNAME, SALARY) VALUES (59694,'HARRIS');
d. INSERT INTO employee (SELECT 59694 FROM 'HARRIS');

Which three of the following are valid database datatypes in Oracle? (Choose three.)
a. CHAR
b. VARCHAR2
c. BOOLEAN
d. NUMBER

Omitting the WHERE clause from a DELETE statement has which of the following effects?
a. The delete statement will fail because there are no records to delete.
b. The delete statement will prompt the user to enter criteria for the deletion
c. The delete statement will fail because of syntax error.
d. The delete statement will remove all records from the table.

Creating a foreign-key constraint between columns of two tables defined with two different datatypes will produce an error.
a. TRUE
b. FALSE

Dropping a table has which of the following effects on a nonunique index created for the table?
a. No effect.
b. The index will be dropped.
c. The index will be rendered invalid.
d. The index will contain NULL values.

To increase the number of nullable columns for a table,
a. Use the alter table statement.
b. Ensure that all column values are NULL for all rows.
c. First increase the size of adjacent column datatypes, then add the column.
d. Add the column, populate the column, then add the NOT NULL constraint.

Which line of the following statement will produce an error?
a. CREATE TABLE goods
b. (good_no NUMBER,
c. good_name VARCHAR2 check(good_name in (SELECT name FROM avail_goods)),
d. CONSTRAINT pk_goods_01
e. PRIMARY KEY (goodno));
f. There are no errors in this statement.

MAXVALUE is a valid parameter for sequence creation.
a. TRUE
b. FALSE

Which of the following lines in the SELECT statement below contain an error?
a SELECT DECODE(empid, 58385, "INACTIVE", "ACTIVE") empid
b. FROM emp
c. WHERE SUBSTR(lastname,1,1) > TO_NUMBER('S')
d. AND empid > 02000
e. ORDER BY empid DESC, lastname ASC;
f. There are no errors in this statement.

Which function below can best be categorized as similar in function to an IF-THEN-ELSE statement?
a. SQRT
b. DECODE
c. NEW_TIME
d. ROWIDTOCHAR

Which two of the following orders are used in ORDER BY clauses? (choose two)
a. ABS
b. ASC
c. DESC
d. DISC

You query the database with this command SELECT name FROM employee WHERE name LIKE ‘_a%’; Which names are displayed?
a. Names starting with “a”
b. Names starting with “a” or “A”
c. Names containing “a” as second character
d. Names containing “a” as any letter except the firs

PL/SQL

Which of the following statements is true about implicit cursors?
a. Implicit cursors are used for SQL statements that are not named.
b. Developers should use implicit cursors with great care.
c. Implicit cursors are used in cursor for loops to handle data processing.
d. Implicit cursors are no longer a feature in Oracle.

Which of the following is not a feature of a cursor FOR loop?
a. Record type declaration.
b. Opening and parsing of SQL statements.
c. Fetches records from cursor.
d. Requires exit condition to be defined.

A developer would like to use referential datatype declaration on a variable. The variable name is EMPLOYEE_LASTNAME, and the corresponding table and column is EMPLOYEE, and LNAME, respectively. How would the developer define this variable using referential datatypes?
a. Use employee.lname%type.
b. Use employee.lname%rowtype.
c. Look up datatype for EMPLOYEE column on LASTNAME table and use that.
d. Declare it to be type LONG.

Which three of the following are implicit cursor attributes?
a. %found
b. %too_many_rows
c. %notfound
d. %rowcount
e. %rowtype

If left out, which of the following would cause an infinite loop to occur in a simple loop?
a. LOOP
b. END LOOP
c. IF-THEN
d. EXIT

Which line in the following statement will produce an error?
a. cursor action_cursor is
b. select name, rate, action
c. into action_record
d. from action_table;
e. There are no errors in this statement.

The command used to open a CURSOR FOR loop is
a. open
b. fetch
c. parse
d. None, cursor for loops handle cursor opening implicitly

What happens when rows are found using a FETCH statement
a. It causes the cursor to close
b. It causes the cursor to open
c. It loads the current row values into variables
d. It creates the variables to hold the current row values

CREATE OR REPLACE PROCEDURE find_cpt (v_movie_id {ArgumentMode}NUMBER, v_cost_per_ticket {argument mode} NUMBER)IS
BEGIN
IF v_cost_per_ticket > 8.5 THEN
SELECT cost_per_ticket
INTO v_cost_per_ticket
FROM gross_receipt
WHERE movie_id = v_movie_id;
END IF;
END;
Which mode should be used for V_COST_PER_TICKET?
a. IN
b. OUT
c. RETURN
d. IN OUT

CREATE OR REPLACE TRIGGER update_show_gross {trigger information}
BEGIN
{additional code}
END;
The trigger code should only execute when the column, COST_PER_TICKET, is greater than $3.75. Which trigger information will you add?
a. WHEN (new.cost_per_ticket > 3.75)
b. WHEN (:new.cost_per_ticket > 3.75
c. WHERE (new.cost_per_ticket > 3.75)
d. WHERE (:new.cost_per_ticket > 3.75)

What is the maximum number of handlers processed before the PL/SQL block is exited when an
exception occurs?
a. Only one
b. All that apply
c. All referenced
d. None

For which trigger timing can you reference the NEW and OLD qualifiers?
a. Statement and Row
b. Statement only
c. Row only
d. Oracle Forms trigger

CREATE OR REPLACE FUNCTION get_budget(v_studio_id IN NUMBER) RETURN number
ISv_yearly_budget NUMBER;
BEGIN
SELECT yearly_budget
INTO v_yearly_budget
FROM studio
WHERE id = v_studio_id;
RETURN v_yearly_budget;
END;
Which set of statements will successfully invoke this function within SQL*Plus?
a VARIABLE g_yearly_budget NUMBER EXECUTE g_yearly_budget := GET_BUDGET(11);
b. VARIABLE g_yearly_budget NUMBER EXECUTE :g_yearly_budget := GET_BUDGET(11);
c. VARIABLE :g_yearly_budget NUMBER EXECUTE :g_yearly_budget := GET_BUDGET(11);
d. VARIABLE g_yearly_budget NUMBER :g_yearly_budget := GET_BUDGET(11);

CREATE OR REPLACE PROCEDURE update_theater (v_name IN VARCHAR2, v_theater_id IN NUMBER) IS
BEGIN
UPDATE theater
SET name = v_name
WHERE id = v_theater_id;
END update_theater;
When invoking this procedure, you encounter the error: ORA-00001: Unique constraint (SCOTT.THEATER_NAME_UK) violated.How should you modify the function to handle this error?
a. An user defined exception must be declared and associated with the error code and handled in the EXCEPTION
section.
b. Handle the error in EXCEPTION section by referencing the error code directly.
c. Handle the error in the EXCEPTION section by referencing the UNIQUE_ERROR predefined exception.
d. Check for success by checking the value of SQL%FOUND immediately after the UPDAT statement.

CREATE OR REPLACE PROCEDURE calculate_budget IS v_budget studio.yearly_budget%TYPE;
BEGIN
v_budget := get_budget(11);
IF v_budget < 30000000 THEN
set_budget(11,30000000);
END IF;
END;
You are about to add an argument to CALCULATE_BUDGET. What effect will this have?
a. The GET_BUDGET function will be marked invalid and must be recompiled before the next execution.
b. The SET_BUDGET function will be marked invalid and must be recompiled before the next execution.
c. Only the CALCULATE_BUDGET procedure needs to be recompiled.
d. All three procedures are marked invalid and must be recompiled.

Which procedure can be used to create a customized error message?
a. RAISE_ERROR
b. SQLERRM
c. RAISE_APPLICATION_ERROR
d. RAISE_SERVER_ERROR

The CHECK_THEATER trigger of the THEATER table has been disabled. Which command can yo issue to enable this trigger?
a. ALTER TRIGGER check_theater ENABLE;
b. ENABLE TRIGGER check_theater;
c. ALTER TABLE check_theater ENABLE check_theater;
d. ENABLE check_theater;

Examine this database trigger CREATE OR REPLACE TRIGGER prevent_gross_modification {additional trigger information}
BEGIN
IF TO_CHAR(sysdate,’DY’) = ‘MON’ THEN
RAISE_APPLICATION_ERROR(-20000,’Gross receipts cannot be ‘ || ‘deleted on Monday’);
END IF;
END; This trigger must fire before each DELETE of the GROSS_RECEIPT table. It should fire only once for the entire
DELETE statement. What additional information must you add?
a. BEFORE DELETE ON gross_receipt
b. AFTER DELETE ON gross_receipt
c. BEFORE (gross_receipt DELETE)
d. FOR EACH ROW DELETED FROM gross_receipt

Examine this function CREATE OR REPLACE FUNCTION set_budget (v_studio_id IN NUMBER,
v_new_budget IN NUMBER) IS
BEGIN
UPDATE studio
SET yearly_budget = v_new_budget
WHERE id = v_studio_id;
IF SQL%FOUND THEN
RETURN TRUEl;
ELSE
RETURN FALSE;
END IF;
COMMIT;
END;
Which code must be added to successfully compile this function?
a. Add “RETURN;” right before the “IS” keyword.
b. Add “RETURN number” right before the “IS” keyword.
c. Add “RETURN boolean” right after the “IS” keyword.
d. Add “RETURN boolean” right before the “IS” keyword.

Under which circumstance must you recompile the package body after recompiling the package specification?
a. Altering the argument list of one of the package constructs
b. Any change made to one of the package constructs
c. Any SQL statement change made to one of the package constructs
d. Removing a local variable from the DECLARE section of one of the package constructs

Procedure and Functions are explicitly executed. This is different from a database trigger. When is
a database trigger executed?
a. When the transaction is committed
b. During the data manipulation statement
c. When an Oracle supplied package references the trigger
d. During a data manipulation statement and when the transaction is committed

Which Oracle supplied package can you use to output values and messages from database triggers, stored procedures and functions within SQL*Plus?
a. DBMS_DISPLAY
b. DBMS_OUTPUT
c. DBMS_LIST
d. DBMS_DESCRIBE

What occurs if a procedure or function terminates with failure without being handled?
a. Any DML statements issued by the construct are still pending and can be committed or rolled back.
b. Any DML statements issued by the construct are committed
c. Unless a GOTO statement is used to continue processing within the BEGIN section, the construct terminates. The
construct rolls back any DML statements issued and returns the unhandled exception to the calling environment.

Examine this code
BEGIN
theater_pck.v_total_seats_sold_overall := theater_pck.get_total_for_year;
END;
For this code to be successful, what must be true?
a. Both the V_TOTAL_SEATS_SOLD_OVERALL variable and the GET_TOTAL_FOR_YEAR function must exist only in the body
of the THEATER_PCK package.
b. Only the GET_TOTAL_FOR_YEAR variable must exist in the specification of the THEATER_PCK package.
c. Only the V_TOTAL_SEATS_SOLD_OVERALL variable must exist in the specification of the THEATER_PCK package.
d. Both the V_TOTAL_SEATS_SOLD_OVERALL variable and the GET_TOTAL_FOR_YEAR function must exist in the specification of the THEATER_PCK package.

A stored function must return a value based on conditions that are determined at runtime. Therefore, the SELECT statement cannot be hard-coded and must be created dynamically when he function is executed. Which Oracle supplied package will enable this feature?
a. DBMS_DDL
b. DBMS_DML
c. DBMS_SYN
d. DBMS_SQL

SNAPSHOT is used for [DBA]
a. Synonym, b. Table space, c System server, d Dynamic data replication Ans : D


We can create SNAPSHOTLOG for[DBA]
a. Simple snapshots, b. Complex snapshots, c. Both A & B, d Neither A nor B Ans : A


Transactions per rollback segment is derived from[DBA]
a. Db_Block_Buffers, b. Processes, c. Shared_Pool_Size, d. None of the above
Ans : B


ENQUEUE resources parameter information is derived from[DBA]
a. Processes or DDL_LOCKS and DML_LOCKS, b. LOG_BUFFER, c. DB__BLOCK_SIZE..
Ans : A


LGWR process writes information into
a Database files, b Control files, c Redolog files, d All the above. Ans : C


SET TRANSACTION USE ROLLBACK SEGMENT is used to create user objects in a particular Tablespace
a True, b False Ans : False


Databases overall structure is maintained in a file called
a Redolog file, b Data file, c Control file, d All of the above.
Ans : C

These following parameters are optional in init.ora parameter file DB_BLOCK_SIZE, PROCESSES
a True, b False Ans : False


Constraints cannot be exported through EXPORT command
a True, b False Ans : False


It is very difficult to grant and manage common privileges needed by different groups of database users using the roles
a True, b False Ans : False


What is difference between a DIALOG WINDOW and a DOCUMENT WINDOW regarding moving the window with respect to the application window

a Both windows behave the same way as far as moving the window is concerned.
b A document window can be moved outside the application window while a dialog window cannot be moved
c A dialog window can be moved outside the application window while a document window cannot be moved
Ans : C


What is the difference between a MESSAGEBOX and an ALERT

A messagebox can be used only by the system and cannot be used in user application while an alert can be used in user application also.

A alert can be used only by the system and cannot be use din user application while an messagebox can be used in user application also.

An alert requires an response from the userwhile a messagebox just flashes a message
and only requires an acknowledment from the user

An message box requires an response from the userwhile a alert just flashes a message an only
requires an acknowledment from the user Ans : C

Which of the following is not an reason for the fact that most of the processing is done at the server ?
a To reduce network traffic. b For application sharing, c To implement business rules centrally,
d None of the above
Ans : D


Can a DIALOG WINDOW have scroll bar attached to it ?
a Yes, b No Ans : B


Which of the following is not an advantage of GUI systems ?
a. Intuitive and easy to use., b. GUI's can display multiple applications in multiple windows
c. GUI's provide more user interface objects for a developer d. None of the above
Ans

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
Ans : A

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 Ans : D

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
Ans : A

Which of the following is not an advantage of a client/server model ?
a. A client/server model allows centralised control of data and centralised implementation of business rules.
b A client/server model increases developer;s productivity
c A client/server model is suitable for all applications
d None of the above.
Ans : C

What does DLL stands for ?
a Dynamic Language Library
b Dynamic Link Library
c Dynamic Load Library
d None of the above
Ans : B

POST-BLOCK trigger is a
a Navigational trigger
b Key trigger
c Transactional trigger
d None of the above
Ans : A

The system variable that records the select statement that SQL * FORMS most recently used
to populate a block is
a SYSTEM.LAST_RECORD
b SYSTEM.CURSOR_RECORD
c SYSTEM.CURSOR_FIELD
d SYSTEM.LAST_QUERY
Ans: D

Which of the following is TRUE for the ENFORCE KEY field
a ENFORCE KEY field characterstic indicates the source of the value that SQL*FORMS uses to populate the field
b A field with the ENFORCE KEY characterstic should have the INPUT ALLOWED charaterstic turned off
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 and 2 are TRUE
d Both 1 and 2 are FALSE
Ans : A

What is the maximum size of the page ?
a Characters wide & 265 characters length
b Characters wide & 265 characters length
c Characters wide & 80 characters length
d None of the above
Ans : B

A FORM is madeup of which of the following objects
a block, fields only,
b blocks, fields, pages only,
c blocks, fields, pages, triggers and form level procedures,
d Only blocks.
Ans : C

For the following statements which is true
1 Page is an object owned by a form
2 Pages are a collection of display information such as constant text and graphics.
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 & 2 are TRUE
d Both are FALSE
Ans : B

The packaged procedure that makes data in form permanent in the Database is
a Post
b Post form
c Commit form
d None of the above
Ans : C

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
Ans : B

Which of the following packaged procedure is UNRESTRICTED ?
a CALL_INPUT, b CLEAR_BLOCK, c EXECUTE_QUERY, d USER_EXIT
Ans : D

Identify the RESTRICTED packaged procedure from the following
a USER_EXIT, b MESSAGE, c BREAK, d EXIT_FORM
Ans : D

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.
Ans : A

Name the two files that are created when you generate a form using Forms 3.0
a FMB & FMX, b FMR & FDX, c INP & FRM, d None of the above
Ans : C

What is a trigger
a A piece of logic written in PL/SQL
b Executed at the arrival of a SQL*FORMS event
c Both A & B
d None of the above
Ans : C

Which of the folowing is TRUE for a ERASE packaged procedure
1 ERASE removes an indicated Global variable & releases the memory associated with it
2 ERASE is used to remove a field from a page
1 Only 1 is TRUE
2 Only 2 is TRUE
3 Both 1 & 2 are TRUE
4 Both 1 & 2 are FALSE
Ans : 1

All datafiles related to a Tablespace are removed when the Tablespace is dropped
a TRUE
b FALSE
Ans : B

Size of Tablespace can be increased by
a Increasing the size of one of the Datafiles
b Adding one or more Datafiles
c Cannot be increased
d None of the above
Ans : B

Multiple Tablespaces can share a single datafile
a TRUE
b FALSE
Ans : B

A set of Dictionary tables are created
a Once for the Entire Database
b Every time a user is created
c Every time a Tablespace is created
d None of the above
Ans : A

Datadictionary can span across multiple Tablespaces
a TRUE
b FALSE
Ans : B

What is a DATABLOCK
a Set of Extents
b Set of Segments
c Smallest Database storage unit
d None of the above
Ans : C

Can an Integrity Constraint be enforced on a table if some existing table data does not satisfy the constraint
a Yes
b No
Ans : B

A column defined as PRIMARY KEY can have NULL's
a TRUE
b FALSE
Ans : B

A Transaction ends
a Only when it is Committed
b Only when it is Rolledback
c When it is Committed or Rolledback
d None of the above
Ans : C

A Database Procedure is stored in the Database
a In compiled form
b As source code
c Both A & B
d Not stored
Ans : C

A database trigger doesnot apply to data loaded before the definition of the trigger
a TRUE
b FALSE
Ans : A

Dedicated server configuration is
a One server process - Many user processes
b Many server processes - One user process
c One server process - One user process
d Many server processes - Many user processes
Ans : C

Which of the following does not affect the size of the SGA
a Database buffer
b Redolog buffer
c Stored procedure
d Shared pool
Ans : C

What does a COMMIT statement do to a CURSOR
a Open the Cursor
b Fetch the Cursor
c Close the Cursor
d None of the above
Ans : D

Which of the following is TRUE
1 Host variables are declared anywhere in the program
2 Host variables are declared in the DECLARE section
a Only 1 is TRUE
b Only 2 is TRUE
c Both 1 & 2are TRUE
d Both are FALSE
Ans : B

Which of the following is NOT VALID is PL/SQL
a Bool boolean;
b NUM1, NUM2 number;
c deptname dept.dname%type;
d date1 date := sysdate
Ans : B

Declare
fvar number := null; svar number := 5
Begin
goto << fproc>>
if fvar is null then
<< fproc>>
svar := svar + 5
end if;
End;
What will be the value of svar after the execution ?
a Error
b 10
c 5
d None of the above
Ans : A

Which of the following is not correct about an Exception ?
a Raised automatically / Explicitly in response to an ORACLE_ERROR
b An exception will be raised when an error occurs in that block
c Process terminates after completion of error sequence.
d A Procedure or Sequence of statements may be processed.
Ans : C

Which of the following is not correct about User_Defined Exceptions ?
a Must be declared
b Must be raised explicitly
c Raised automatically in response to an Oracle error
d None of the above
Ans : C

A Stored Procedure is a
a Sequence of SQL or PL/SQL statements to perform specific function
b Stored in compiled form in the database
c Can be called from all client environmets
d All of the above
Ans : D

Which of the following statement is false
a Any procedure can raise an error and return an user message and error number
b Error number ranging from 20000 to 20999 are reserved for user defined messages
c Oracle checks Uniqueness of User defined errors
d Raise_Application_error is used for raising an user defined error.
Ans : C

Is it possible to open a cursor which is in a Package in another procedure ?
a Yes
b No
Ans : A

Is it possible to use Transactional control statements in Database Triggers?
a Yes
b No
Ans : B

Is it possible to Enable or Disable a Database trigger ?
a Yes
b No
Ans : A

PL/SQL supports datatype(s)
a Scalar datatype
b Composite datatype
c All of the above
d None of the above
Ans C

Find the ODD datatype out
a VARCHAR2
b RECORD
c BOOLEAN
d RAW
Ans : B

Which of the following is not correct about the "TABLE" datatype ?
a Can contain any no of columns
b Simulates a One-dimensional array of unlimited size
c Column datatype of any Scalar type
d None of the above
Ans : A

Find the ODD one out of the following
a OPEN
b CLOSE
c INSERT
d FETCH
Ans C

Which of the following is not correct about Cursor ?
a Cursor is a named Private SQL area
b Cursor holds temporary results
c Cursor is used for retrieving multiple rows
d SQL uses implicit Cursors to retrieve rows
Ans : B

Which of the following is NOT VALID in PL/SQL ?
a Select ... into
b Update
c Create
d Delete
Ans : C

What is the Result of the following 'VIK'||NULL||'RAM' ?
a Error
b VIK RAM
c VIKRAM
d NULL
Ans : C

Declare
a number := 5; b number := null; c number := 10;
Begin
if a > b AND a < c then
a := c * a;
end if;
End;
What will be the value of 'a' after execution ?
a 50
b NULL
c 5
d None of the above
Ans : C

Does the Database trigger will fire when the table is TRUNCATED ?
a Yes
b No
Ans : B

SUBSTR(SQUARE ANS ALWAYS WORK HARD,14,6) will return
a ALWAY
b S ALWA
c ALWAYS
Ans : C

REPLACE('JACK AND JUE','J','BL') will return
a JACK AND BLUE
b BLACK AND JACK
c BLACK AND BLUE
d None of the above
Ans : C

TRANSLATE('333SQD234','0123456789ABCDPQRST','01234 56789') will return
a 333234
b 333333
c 234333
d None of the above
Ans : A

EMPNO ENAME SAL
A822 RAMASWAMY 3500
A812 NARAYAN 5000
A973 UMESH 2850
A500 BALAJI 5750
Use these data for the following Questions
Select SAL from EMP E1 where 3 > ( Select count(*) from Emp E2 where E1.SAL > E2.SAL ) will retrieve
a 3500,5000,2500
b 5000,2850
c 2850,5750
d 5000,5750
Ans : A

Is it possible to modify a Datatype of a column when column contains data ?
a Yes
b No
Ans B

Which of the following is not correct about a View ?
a To protect some of the columns of a table from other users
b Ocuupies data storage space
c To hide complexity of a query
d To hide complexity of a calculations
Ans : B

Which is not part of the Data Definiton Language ?
a CREATE
b ALTER
c ALTER SESSION
Ans : C

The Data Manipulation Language statements are
a INSERT
b UPDATE
c SELECT
d All of the above
Ans : D

EMPNO ENAME SAL
A822 RAMASWAMY 3500
A812 NARAYAN 5000
A973 UMESH
A500 BALAJI 5750
Using the above data
Select count(sal) from Emp will retrieve
a 1
b 0
c 3
d None of the above
Ans : C

If an UNIQUE KEY constraint on DATE column is created, will it accept the rows that are inserted with
SYSDATE ?
a Will
b Won't
Ans : B

What are the different events in Triggers ?
a Define, Create
b Drop, Comment
c Insert, Update, Delete
d All of the above
Ans : C

What built-in subprogram is used to manipulate images in image items ?
a Zoom_out
b Zoom_in'
c Image_zoom
d Zoom_image
Ans : C

Can we pass RECORD GROUP between FORMS ?
a Yes
b No
Ans : A

SHOW_ALERT function returns
a Boolean
b Number
c Character
d None of the above
Ans : B

What SYSTEM VARIABLE is used to refer DATABASE TIME ?
a $$dbtime$$
b $$time$$
c $$datetime$$
d None of the above
Ans : A

SYSTEM.EFFECTIVE.DATE varaible is
a Read only
b Read & Write
c Write only
d None of the above
Ans : C

How can you CALL Reports from Forms4.0 ?
a Run_Report built_in
b Call_Report built_in
c Run_Product built_in
d Call_Product built_in
Ans : C

When do you get a .PLL extension ?
a Save Library file
b Generate Library file
c Run Library file
d None of the above
Ans : A

What is built_in Subprogram ?
a Stored procedure & Function
b Collection of Subprogram
c Collection of Packages
d None of the above
Ans : D

GET_BLOCK property is a
a Restricted procedure
b Unrestricted procedure
c Library function
d None of the above
Ans : D

A CONTROL BLOCK can sometimes refer to a BASETABLE ?
a TRUE
b FALSE
Ans : B

What do you mean by CHECK BOX ?
a Two state control
b One state control
c Three state control
d none of the above
Ans : C - Please check the Correcness of this Answer ( The correct answeris 2 )

List of Values (LOV) supports
a Single column
b Multi column
c Single or Multi column
d None of the above
Ans : C

What is Library in Forms 4.0 ?
a Collection of External field
b Collection of built_in packages
c Collection of PL/SQl functions, procedures and packages
d Collection of PL/SQL procedures & triggers
Ans : C

Can we use a RESTRICTED packaged procedure in WHEN_TEXT_ITEM trigger ?
a Yes
b No
Ans : B

Can we use GO_BLOCK package in a PRE_TEXT_ITEM trigger ?
a Yes
b No
Ans : B

What type of file is used for porting Forms 4.5 applications to various platforms ?
a . FMB file
b . FMX file
c . FMT file
d . EXE file
Ans : C

What built_in procedure is used to get IMAGES in Forms 4.5 ?
a READ_IMAGE_FILE
b GET_IMAGE_FILE
c READ_FILE
d GET_FILE
Ans A

When a form is invoked with CALL_FORM does Oracle forms issues SAVEPOINT ?
a Yes
b No
Ans : A

Can we attach the same LOV to different fields in Design time ?
a Yes
b No
Ans : A

How do you pass values from one form to another form ?
a LOV
b Parameters
c Local variables
d None of the above
Ans : B

Can you copy the PROGRAM UNIT into an Object group ?
a Yes
b No
Ans : B
100. Can MULTIPLE DOCUMENT INTERFACE (MDI) be used in Forms 4.5 ?
a Yes
b No
Ans : A

Can MULTIPLE DOCUMENT INTERFACE (MDI) be used in Forms 4.5 ?
a Yes
b No
Ans : A

When is a .FMB file extension is created in Forms 4.5 ?
a Generating form
b Executing form
c Save form
d Run form
Ans : C

What is a Built_in subprogram ?
a Library
b Stored procedure & Function
c Collection of Subprograms
d None of the above
Ans : D

What is a RADIO GROUP ?
a Mutually exclusive
b Select more than one column
c Above all TRUE
d Above all FALSE
Ans : A

Identify the Odd one of the following statements ?
a Poplist
b Tlist
c List of values
d Combo box
Ans : C

What is an ALERT ?
a Modeless window
b Modal window
c Both are TRUE
d None of the above
Ans : B

Can an Alert message be changed at runtime ?
a Yes
b No
Ans : A

Can we create an LOV without an RECORD GROUP ?
a Yes
b No
Ans : B

How many no of columns can a RECORD GROUP have ?
a 10
b 20
c 50
d None of the above
Ans D

Oracle precompiler translates the EMBEDDED SQL statemens into
a Oracle FORMS
b Oracle REPORTS
c Oracle LIBRARY
d None of the above
Ans : D

Kind of COMMENT statements placed within SQL statements ?
a Asterisk(*) in column ?
b ANSI SQL style statements(...)
c C-Style comments (/*......*/)
d All the above
Ans : D

What is TERM ?
a TERM is the terminal definition file that describes the terminal from which you are using R20RUN
( Reports run time )
b TERM is the terminal definition file that describes the terminal from which you are using R20DES
( Reports designer )
c There is no Parameter called TERM in Reports 2.0
d None of the above
Ans : A

If the maximum records retrieved property of a query is set to 10, then a summary value will
be calculated
a Only for 10 records
b For all the records retrieved
c For all therecords in the referenced table
d None of the above
Ans : A

With which function of a summary item in the COMPUTE AT optio required ?
a Sum
b Standard deviation
c Variance
d % of Total function
Ans : D

For a field in a repeating frame, can the source come from a column which does not exist in
the datagroup which forms the base of the frame ?
a Yes
b No
Ans : A

What are the different file extensions that are created by Oracle Reports ?
a . RDF file & .RPX file
b . RDX file & .RDF file
c . REP file & .RDF file
d None of the above
Ans : C

Is it possible to Disable the Parameter form while running the report?
a Yes
b No
Ans : A

What are the SQL clauses supported in the link property sheet ?
a WHERE & START WITH
b WHERE & HAVING
c START WITH & HAVING
d WHERE, START WITH & HAVING
Ans : D

What are the types of Calculated columns available ?
a Summary, Place holder & Procedure column
b Summary, Procedure & Formula columns
c Procedure, Formula & Place holder columns
d Summary, Formula & Place holder columns
Ans.: D

If two groups are not linked in the data model editor, what is the hierarchy between them?
a There is no hierarchy between unlinked groups
b The group that is right ranks higher than the group that is to theleft
c The group that is above or leftmost ranks higher than the group that is to right or below it
d None of the above
Ans : C

Sequence of events takes place while starting a Database is
a Database opened, File mounted, Instance started
b Instance started, Database mounted & Database opened
c Database opened, Instance started & file mounted
d Files mounted, Instance started & Database opened
Ans : B

SYSTEM TABLESPACE can be made off-line
a Yes
b No
Ans : B

ENQUEUE_RESOURCES parameter information is derived from
a PROCESS or DDL_LOCKS & DML_LOCKS
b LOG BUFFER
c DB_BLOCK_SIZE
d DB_BLOCK_BUFFERS
Ans : A

SMON process is used to write into LOG files
a TRUE
b FALSE
Ans : B

EXP command is used
a To take Backup of the Oracle Database
b To import data from the exported dump file
c To create Rollback segments
d None of the above
Ans : A

SNAPSHOTS cannot be refreshed automatically
a TRUE
b FALSE
Ans : B

The User can set Archive file name formats
a TRUE
b FALSE
Ans : A

The following parameters are optional in init.ora parameter file DB_BLOCK_SIZE, PROCESS
a TRUE
b FALSE
Ans : B

NOARCHIEVELOG parameter is used to enable the database in Archieve mode
a TRUE
b FALSE
Ans : B

Constraints cannot be exported through Export command?
a TRUE
b FALSE
Ans : B

It is very difficult to grant and manage common priveleges needed by
different groups of database users using roles
a TRUE
b FALSE
Ans : B

The status of the Rollback segment can be viewed through
a DBA_SEGMENTS
b DBA_ROLES
c DBA_FREE_SPACES
d DBA_ROLLBACK_SEG
Ans : D

Explicitly we can assign transaction to a rollback segment
a TRUE
b FALSE
Ans : A

What file is read by ODBC to load drivers ?
a ODBC.INI
b ODBC.DLL
c ODBCDRV.INI
d None of the above
Ans : A


1. given a square matrix which consists only of 1 and 0......find which rows, which cols and which diagonals consist entirely of 1's.

2. given an array of integers find all possible combinations of the numbers whose sum equal to 90.....

Ans : knapsack problem (in data structures - aho ullman)

Note : for them solution was not the criteria.......but the approach was important......the solution should be generalized and optimized..optimization was given the top priority

3. const int MAX=10;

main()

{ enum a {a,b,MAX};

print MAX;

}

ans. 2

4. enum variable is a const variable which can only be assigned a value at initialization or a non const variable which can be assigned any value in the middle of the program?

ans. const variable

5. void *p;

what operation cannot be performed on p?

Ans : arithmetic operation unless it is properly typecasted


6. char **p="Hello";

print p,*p,**p

ans. Hello (null)

warning: suspicious pointer conversion

7. main()

{ char str[]="Geneius";

print (str);

}



print(char *s)

{ if(*s)

print(++s);

printf("%c",*s);

}

ans. suiene

8. what does the function fcloseall() does ?

ans. fcloseall() closes all open streams except stdin,stdout,stderr,stdprn and stdaux

9. main()

{ printf("Genius %d",fun(123));

}

fun(int n)

{ return (printf("%d",n));

}

ans. 123genius3

10. difference between definition and declaration.

ans. definition once while declaration more than once

11. find the error?

main()

{ void fun();

fun();

}

void fun()

{ int i=10;

if(i<10)

return 2.0;

return 3.0;

}

ans. no error but warning

12. int a=9,b=5,c=3,d;

d=(b-c)<(c-a) ? a : b;

print d

ans 5


13. 1+2/3*4+1=?

Ans. 2

14. In C++, a variable can be defined wherever needed whereas not in C

15. main()

{ int i=4;

fun(i=i/4);

print i;

}

fun(int i)

{ return i/2;

}

ans 1



16. what is an array ?

ans. contiguous collection of memory occupied by similar data types

17. printf("\"NITK %%SURAHKAL%% !\"");

ans. "NITK %SURATHKAL% !"

18. difference between scanf and gets in case of string input

ans. scanf does not accepts white space while gets does

19. table t1 m rows and x cols

table t2 n rows and y cols

in t1*t2 rows? cols=?

ans. m*n ,x+y

20. symbol of relationship between 2 entities?

21. which one cannot come in data modelling

a. customer b. student c. office d. speed

Ans speed

22. can a database table exist without a primary key ?

23. whether higher normal forms better than lower forms as far redundancy is concerned ?

ans. higher

24. file is at which level

ans. conceptual level

25. what is a foreign key

ans. primary key in some other table
  #5  
28th May 2016, 06:55 PM
NBA2K16
Guest
 
wjlrwoa@gmail.com

Particularly insightful... look onward to coming back


Tags
short term

Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 04:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4