P. 1
(www.entrance-exam.net)-Oracle Placement Sample Paper 9

(www.entrance-exam.net)-Oracle Placement Sample Paper 9

|Views: 44|Likes:
Published by alokpratapsingh

More info:

Published by: alokpratapsingh on Mar 25, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

10/29/2011

pdf

text

original

CkACLL Þ|acement Þapers

1Ŧ A cerLaln number of men can flnlsh a plece of work ln 10 davsŦ lf however Lhere were 10 men less lL
wlll Lake 10 davs more for Lhe work Lo be flnlshedŦ Pow manv men were Lhere orlalnallv?

(A) 110 men

(8) 130 men

(C) 100 men

(u) none of Lhese

2Ŧ ln slmple lnLeresL whaL sum amounLs of 8sŦ1120/Ŵ ln 4 vears and 8sŦ1200/Ŵ ln 3 vears ?

(A) 8sŦ 300

(8) 8sŦ 600

(C) 8sŦ 800

(u) 8sŦ 900

3Ŧ lf a sum of monev compound annuallv amounLs of Lhrlce lLself ln 3 vearsŦ ln how manv vears wlll lL
become 9 Llmes lLselfŦ

(A) 6

(8) 8

(C) 10

(u) 12

4Ŧ 1wo Lralns move ln Lhe same dlrecLlon aL 30 kmph and 32 kmph respecLlvelvŦ A man ln Lhe slower
Lraln observes Lhe 13 seconds elapse before Lhe fasLer Lraln compleLelv passes bv hlmŦ

WhaL ls Lhe lenaLh of fasLer Lraln ?

(A) 100m

(8) 73m

(C) 120m

(u) 30m

3Ŧ Pow manv mashes are Lhere ln 1 squrare meLer of wlre aauae lf each mesh ls 8mm lona and 3mm
wlde ?

(A) 2300

(8) 23000

(C) 230

(u) 230000

6Ŧ xƷ of v ls vƷ of ?

(A) x/v

(8) 2v

(C) x

(u) can'L be deLermlned

7Ŧ 1he prlce of suaar lncreases bv 20Ʒţ bv whaL Ʒ should a housewlfe reduce Lhe consumpLlon of suaar
so LhaL expendlLure on suaar can be same as before ?

(A) 13Ʒ

(8) 16Ŧ66Ʒ

(C) 12Ʒ

(u) 9Ʒ

8Ŧ A man spends half of hls salarv on household expensesţ 1/4Lh for renLţ 1/3Lh for Lravel expensesţ Lhe
man deposlLs Lhe resL ln a bankŦ lf hls monLhlv deposlLs ln Lhe bank amounL 30ţ whaL ls hls monLhlv
salarv ?

(A) 8sŦ300

(8) 8sŦ1300

(C) 8sŦ1000

(u) 8sŦ 900

9Ŧ WhaL ls Lhe dlfference beLween Lhe Lwo declaraLlon ?

#lnclude ƼsLdloŦhƽ

Ǝ

#lnclude ºsLdloŦh"

(A) no ulfference

(8) 1he 2nd declaraLlon wlll noL complle

(C) llrsL case Compller looks ln all defaulL locaLlon and ln 2nd case onlv ln Lhe worklna dlrecLorv

(u) uepends on Lhe Compller

10Ŧ Pow can l prlnL a ºƷ" characLer ln a ln beLween Lhe sLrlna foo and Lhe value held ln Lhe varlable foo
uslna prlnLf formaL sLrlna?

(A) fprlnLf(ºfoo " ºƷ" ºƷdŲn"ţ foo)Ť

(8) fprlnLf(ºfoo 'Ʒ' ƷdŲn"ţ foo)Ť

(C) fprlnLf(ºfoo ŲƷ ƷdŲn"ţ foo)Ť

(u) fprlnLf(ºfoo " ºƷdŲn"ţ foo)Ť

11Ŧ WhaL ls Lhe ouLpuL of Lhe followlna proaram

#lnclude ƼsLdloŦhƽ

#deflne ll8S1_ÞA81 7

#deflne LAS1_ÞA81 3

#deflne ALL_ÞA81S ll8S1_ÞA81 + LAS1_ÞA81

lnL maln() ž

prlnLf (º1he Square rooL of all parLs ls ƷdŲn ţ ALL_ÞA81S * ALL_ÞA81S) Ť

reLurn(0)Ť

ſ

(A) 33

(8) 144

(C) 49

(u) 47

12Ŧ WhaL ls Lhe use of a make flle

(A) uo deLecL memorv leakaae

(8) 1o opLlmlse Lhe code

(C) 1o llnk and complle source code Lo exe

(u) 1o dlsassemble Lhe exe Lo source code

13Ŧ WhaL ls Lhe dlfference beLween calloc and malloc

(A) calloc allocaLes memorv ln conLlauous bvLesţ malloc does noL ensure conLlauous memorv allocaLlon

(8) Memorv allocaLed Lhrouah calloc need noL be freed expllclLlvţ Whlle memorv allocaLed Lhrouah
malloc needs Lo be freed expllclLlvŦ

(C) calloc lnlLlallses Lhe memorv bv seLLlna allŴblLsŴzeroţ malloc does noL does anv zero flllŦ

(u) all of Lhe above

14Ŧ WhaL ls Lhe ouLpuL ť

vold maln()

ž

lnL aţbƹ3ţcƹ10Ť

a ƹ (bŴc) ƽ (cŴb) ? b ť cŤ

prlnLf(ºƷd"ţa)Ť

ſ

(A) 10

(8) 3

(C) 0

(u) Lrror

13Ŧ WhaL ls Lhe value of *second_pLr

lnL *flrsL_pLrŤ

lnL *second_pLrŤ

*second_pLr ƹ 30Ť

pLr value ƹ 1Ť

flrsL_pLr ƹ Ǝvalue

second_pLr ƹ flrsL_pLrŤ

(A) 30

(8) 1

(C) flrsL_pLr

(u) none of Lhe above

16Ŧ Pow manv columns are reLrleved from Lhls quervť

SLLLC1 address1||'ţƌ||address2||'ţƌ||address2 ºAdress" l8CM emploveeŤ

(A) 1

(8) 2

(C) 3

(u) 0

17Ŧ 1o produce a meanlnaful resulL seL wlLhouL anv carLeslan producLsţ whaL ls Lhe mlnlmum number of
condlLlons LhaL should appear ln Lhe WPL8L clause of a fourŴLable [oln?

(A) 8

(8) 3

(C) 4

(u) 3

18Ŧ Assumlna Lodav ls Mondavţ 10 !ulv 2000ţ whaL ls reLurned bv Lhls sLaLemenLť

SLLLC1 Lo_char(nLx1_uA?(svsdaLeţ 'MCnuA?')ţ 'uuŴMCnŴ88') l8CM dualŤ

(A) 10Ŵ!uLŴ00

(8) 12Ŵ!uLŴ00

(C) 11Ŵ!uLŴ00

(u) 17Ŵ!uLŴ00

19Ŧ Whlch characLer ls used Lo conLlnue a sLaLemenL ln SCL*Þlus?

(A) *

(8) /

(C) Ŵ

(u) «

20Ŧ When a user creaLes an ob[ecL wlLhouL a 1A8LLSÞACL clauseţ where wlll Cracle sLore Lhe seamenL?

(A) SvsLem Lablespace

(8) users Lablespace

(C) uefaulL Lablespace for Lhe user

(u) Cracle wlll alve an error

21Ŧ 1he prlmarv kev on Lable LMÞ ls Lhe LMÞnC columnŦ Whlch of Lhe followlna sLaLemenLs wlll noL use
Lhe assoclaLed lndex on LMÞnC?

(A) selecL * from LMÞ where nvl(LMÞnCţ '00000) ƹ '39384Ť

(8) selecL * from LMÞ where LMÞnC ƹ '39384Ť

(C) selecL LMÞnCţ LAS1nAML from LMÞ where LMÞnC ƹ '39384Ť

(u) selecL 1 from LMÞ where LMÞnC ƹ '39834Ť

22Ŧ Whlch characLer funcLlon can be used Lo reLurn a speclfled porLlon of a characLer sLrlna?

(A) lnS18

(8) Su8S18lnC

(C) Su8S18

(u) ÞCS

23Ŧ Whlch command wlll deleLe all daLa from a Lable and wlll noL wrlLe Lo Lhe rollback seamenL?

(A) u8CÞ

(8) uLLL1L

(C) CASCAuL

(u) 18unCA1L

24Ŧ Whlch of Lhe followlna can be a valld column name?

(A) Column

(8) 1966_lnvolces

(C) CaLch_#22

(u) #lnvolces

23Ŧ Whlch Cracle access meLhod ls Lhe fasLesL wav for Cracle Lo reLrleve a slnale row?

(A) Þrlmarv kev accessŦ

(8) Access vla unlque lndex

(C) 1able access bv 8CWlu

(u) lull Lable scan

26Ŧ ln Lhls ÞL/SCL sLaLemenLţ whlch of Lhe followlna llnes wlll produce an error?

(A) cursor CAÞl1ALS ls selecL Cl1?ţ S1A1L

(8) lnLo mv_clLvţ mv_sLaLe

(C) from Cl1lLS

(u) where CAÞl1AL ƹ '?'Ť

27Ŧ ln a ÞL/SCL blockţ a varlable ls declared as nuM8L8 wlLhouL an lnlLlal valueŦ WhaL wlll lLs value be
when lL ls used ln Lhe execuLable secLlon of Lhe ÞL/SCL block?

(A) nuLL

(8) 0

(C) 8esulLs ln a compllaLlon error

(u) An excepLlon wlll be ralsed

28Ŧ ÞL/SCL ralses an excepLlonţ ln whlch 1WC of Lhe followlna casesť

(A) When a SLLLC1 sLaLemenL reLurns one row

(8) When a SLLLC1 sLaLemenL reLurns more Lhan one row

(C) When Lhe daLaLvpes of SLLLC1 clause and ln1C clause do noL maLch

(u) When ln1C sLaLemenL ls mlsslna ln Lhe SLLLC1 sLaLemenL

29Ŧ WhaL ls Lhe resulL lf Lwo nuLL values are compared Lo each oLher?

(A) 18uL

(8) lALSL

(C) undeflned

(u) nuLL

30Ŧ luncLlons for error Lrapplna are conLalned ln whlch secLlon of a ÞL/SCL block?

(A) Peader

(8) ueclaraLlve

(C) LxecuLable

(u) LxcepLlon

9fn ¯ °9f½ ¾   n f°°¯ €¯ °nf°€°¾f½ n €° f¾ €      ¯ ° ¾¾ f  f¾¯ €  €°¾ ¯f°¯ °    –°f"  %%¯ °  % %¯ °  %.

%¯ °  %%°° € ¾    °¾¯½ °  ¾f¾¯f¯°¾€¾ $ ° f¾f° ¾ $ ° f¾"  %%¾   % %¾   %.

%¾   %%¾    €f¾¯€¯° n¯½° f°°ff¯°¾€n ¾ €° f¾ °¯f° f¾ n¯ ¯ ¾¾ €   .

%%  % %  %.

%  %%   @f°¾¯ ° ¾f¯   n°f¯½f° ¯½ ¾½ n  ¯f°° ¾  f° ¾  ¾ ¾ n° ¾ f½¾  €  €f¾ f°n¯½  ½f¾¾ ¾ ¯   Jf¾  °–€€f¾ f°"  %%¯  % %¯  %.

%¯  %%¯   ¯f°¯f¾ ¾f   °¾f ¯  € –f– € fn¯ ¾¾¯¯°–f° ¯¯  "  %%  .

% %  %.

%  %%    €¾ €"  %%$  % %  %.

%  %%nf°#   ¯°    @ ½n €¾–f°n f¾ ¾   f ¾ f¾ €  n  n°¾¯½°€¾–f ¾f ½ °  °¾–fnf° ¾f¯ f¾ € "  %%   % %    %.

%   %%  .

  ¯f°¾½ ° ¾f€€¾¾ff°¾   ½ °¾ ¾ $€ ° $€f  ½ °¾ ¾   ¯f° ½¾¾  ¾°f f° €¾¯° ½¾¾°  f°f¯° f¾¾¯° ¾ff"  %%¾   % %¾   %.

%¾   %%¾    Jf¾  €€  °n   °  nff°"  °n  ¾       °n #¾  #  %%-€€  °n   % %@ °  nff°°n¯½   %.

%¾nf¾ .

¯½ ¾°f €fnf°f° °° nf¾ °° °–  n .

 %% ½ ° ¾° .

¯½    nf°½°f# #nffn °f°  ° ¾°–€f°  f   ° ff  € ¾°–½°€€¯f¾°–"  %%€½°€%#€## ## °# €%   % %€½°€%#€# # °# €%   %.

%€½°€%#€  %%€½°€%#€## °# €%    Jf¾ ½€ €°–½–f¯  °n  ¾      €° @%9@   €° @%9@   €° %9@@%9@+@%9@  °¯f°%%    °# €%  .

½°€%#@ f €f½f¾¾ ° %9@&%9@%    °%%     %%  % %  %.

%  %%   Jf¾ ¾ €f¯f €   %%  n¯ ¯ ff–   % %@½¯¾  n   %.

%@°f° n¯½ ¾n n     %%@ ¾f¾¾ ¯     ¾n n    Jf¾  €€  °n   °nfnf° ¯fn .

¯fnf –nfn° ° €  ½n J ¯ ¯fnf – ¯fn° ¾ €  ½n   %. %%nfnfnf ¾¯ ¯°n°–¾  ¾ ¯fn  ¾° °¾ n°–¾¯ ¯fnf°  % %.

%nfn°f¾ ¾ ¯ ¯ ¾ °–f ¾   ¯fn  ¾°  ¾f° €   %%f€ f     Jf¾ ½    ¯f°%%    °f  n    f % n% %n %"  n   ½°€%# # f%     %%  .

% %  %.

%  %%   Jf¾ f €&¾ n° %½  °&€¾%½   °&¾ n° %½   &¾ n° %½    ½f     €¾%½  f   ¾ n° %½ €¾%½   %%  % %  %.

%€¾%½ .

 %%-° € f     ¯f°n¯°¾f    €¯¾    .

@f  ¾¾$$# $$f  ¾¾$$# $$f  ¾¾#  ¾¾#. ¯½   %%  % %  %.

%  %%   @½ n f¯ f°°–€ ¾¾ f°nf ¾f°½ n¾ f¾ ¯°¯¯°¯ € n° °¾f¾ f½½ f° Jnf¾ €f€ f  ©°"  %%  % %  %.

%  %%  .

 ¾¾¯°– f¾.° f  f¾ °  ¾¾f ¯ °   .

.-#% # . f   %% D   % % D   %.#%.@%nf%-O@%%¾¾ f #.

% D   %% D    Jnnffn ¾¾ n°° f¾f ¯ °°.&9¾"  %%&  % %$  %.

%   %%'   J °f¾ n f ¾f° © nf@ 9.

nf¾   fn ¾  ¾ –¯ °"  %%¾ ¯f  ¾½fn  .

 % %D¾ ¾f  ¾½fn   %.

9- #% #   % %¾  n&€¯.% €ff  ¾½fn € ¾   %%fn – f°    @ ½¯f °f  .9¾ .9- #   %.9-n¯° Jn€ €°–¾f ¯ °¾°¾   f¾¾nf ° °.9  .9  °%.9-"  %%¾  n&€¯.

€¯.9  .9- @-.9- #    Jnnffn €°n°nf° ¾  °f¾½ n€ ½°€fnffn ¾°–"  %%-@  % %D @-  %.9- #   %%¾  n€¯.9  .%¾  n.

%D @  .

%%9   Jnn¯¯f°    f ff€¯ff  f° °   fn¾ –¯ °"  %%9  % %@  %.

%.

.

  %%@D-.

@   Jn€ €°–nf° ff n¯°°f¯ "  %%.

¯°  % %%°n ¾  %.

%.

fn%  %%°n ¾   Jnfn fnn ¾¾¯  ¾ €f¾ ¾f€fn    f¾°– "  %%9¯f fnn ¾¾  .

 % %nn ¾¾f° °   %.

¾f ¯ ° n€ €°–° ¾½ n f° "  %%n¾.%@f  fnn ¾¾ J  %%f  ¾nf°   °¾9$.

9@¾¾  n.

@ @@  % %°¯%n ¯%¾f   %.

%€¯.

@  %%  .

 n fff  ¾ nf f¾-D. f°°ff Jf¾f    °¾¾ °   nf  ¾ n°€ 9$.9@ ##    °f9$. n"  %%-D  % %  %.

% ¾¾°fn¯½f°   .

f¾ ¾f° n ½° °n@J€ €°–nf¾ ¾   %%J °f.%%° n ½° f¾    9$.

@¾f ¯ ° °¾°   % %J °f.

@¾f ¯ ° °¾¯ f°°   %.

%J °  ff½ ¾€.

@nf¾ f° -@nf¾  °¯fn  %%J °-@¾f ¯ °¾¯¾¾°–° .

@¾f ¯ °   Jf¾  ¾€-Df ¾f n¯½f  fn "  %%@D  % %  %.

%D° €°   %%-D   °n°¾€ f½½°–f n°f° °n¾ n°€f9$. n"  %% f  .

 % % nff   %.

% nf    %%n ½° .

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->