a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 181|回复: 2

[考试试题] Oracle笔试真题

[复制链接]
发表于 2012-8-4 14:01:27 | 显示全部楼层 |阅读模式
只有部分;大家参考;
& ^$ o/ s+ J2 T7 C1 p5 S0 bQuestion Number 20In the implementation of many linear linked structures it is often useful to keep a pointer to the last node in addition to the first, so that a new node can be added at the end without having to loop through the entire structure looking for the last node. In what ways would adding a pointer to the last node improve the efficiency of this dictionary implementation?It would speed up put operations when the dictionary contains an item with the designated key.It would speed up put operations when the dictionary does not contain an item with the designated key.
( t& ~2 k* }8 l5 pneither
: ~' s) d1 h4 U8 U- Z) ^; CA but not B
' q3 D( L! b& m2 b. K4 N4 \- Iboth / J8 d$ n7 T; z/ r8 f' |1 P
B but not A------------1 R( U% Y1 Z6 Q3 q% O# x4 E7 e1 P
ABC Housekeeping Forces are responsible for maintaining a building that comprises of 100 floors. The maintenance company decides to use a database to schedule work for its employees and also check the status of the work. When an assigned housekeeper does not report for work, an alternate resource is allotted to complete the job.
2 h# g: p* u4 H9 M% f" m& OThe Housekeeping database in its un-normalized form is given below:
3 W3 g7 K5 f2 `+ ^8 vHouseKeeperID   – ID of the housekeeper
; l# p2 L4 q" qHouseKeeperName – Housekeeper's Name
) P$ r. U8 X  F9 `3 p( aSupervisorID    – ID of the Housekeeper's; B5 [' u$ H: b- d) l
                  Supervisor
8 f# F) R9 T4 F9 ySupervisorName  - Name of the Housekeeper's
' Y0 Y3 ~" e/ U                  Supervisor* ?- S4 F# O& Q, G
DutyID          – ID of an assigned duty$ |! Y) k1 }5 f& Z) h  r; S
FloorNo         – Floor to which the duty is! I+ J) i3 O& X9 V
                  assigned: {6 W: ~" x8 a
DutyDate        – Date on which the duty has to be
* C* A# ]8 @2 l) A                  done
9 A2 r) \7 x2 P, I, {( b4 jWorkStatus      - Status of the duty* b8 D5 i* u9 j9 c/ q3 R+ y
AlternateHID    - ID of the alternate housekeeper's
" ~5 y9 n, y& y                  assigned to complete the job, in % j  V  P! O" Y1 c( c
                  case the originally assigned : j" Y" m  P7 i# j5 d* Q8 n/ ~
                  housekeeper is absent.5 ^/ `) h. Y) ~" K6 t( y
AlternateWorkSt – Work Status of the Alternate
; i$ T# W# G4 y; N& s% E; e                      Housekeeper's duty.
( w- ^4 t7 E) [( XFrom the following options, select the Housekeeping database in 2NF.6 k/ T0 B1 H0 O0 u9 ~
Housekeeper$ g2 X4 l: `  _* q. X
HouseKeeperID
9 H8 _4 o. u; THouseKeeperName, p$ S( U( O5 d$ W3 J( p+ U
Supervisor
回复

使用道具 举报

 楼主| 发表于 2012-8-4 14:01:28 | 显示全部楼层

Oracle笔试真题

SupervisorID
- z  o/ g1 [, I7 p7 P5 ~# rSupervisorName
5 u: v* R8 ^! l  i* d/ _Duty
0 {' k0 k8 M% K' |5 ]' W1 n( QDutyID
" n+ |7 Y; t/ ]: eFloorNo5 d! y8 s/ b  b" B/ ^0 K
DutyDate) n: Z( B4 e9 I+ B& J
Transaction1 \# a& u# N7 c, ]
DutyID
' G- K% i) J8 ]FloorNo. Q5 S# Y5 V+ p) V9 w
-----------
: `  @% Q: \% X' S' J9 Q  ~5 ~6 VHouseKeeperID
6 l7 j" L# {* s5 K; HWorkStatus0 G; e! @% t# g: `9 f
AlternateHID
" L) r3 o1 E4 e' U1 jAlternateWorkSt0 e# q; C* r% ]" X1 B/ D0 k
--------------
/ N9 _5 N& ?* H$ d/ LHousekeeper& F0 b; ?2 |& p1 K9 Z; H
HouseKeeperID
$ {2 x$ f$ |9 b5 I/ VHouseKeeperName9 T, j4 v- T/ x
SupervisorID' A4 o- I7 p7 N5 R  a5 y3 c
Supervisor
& q) B# X% z5 B5 n. t$ j: k/ b2 SSupervisorID
) B$ R+ K) |7 E% G; }" eSupervisorName
& r* b) G2 q7 k- W0 vDuty
$ ?- P/ Y3 G; z- |1 ?DutyID
. C( W/ }2 R+ f* ]FloorNo  x) D5 q- M  S
DutyDate9 a- V! ]( m3 ]2 }
-----------
" X# x- b! y$ `HouseKeeperID4 `4 {% k# j/ o) f
WorkStatus
9 b  c: N1 t, J- CAlternateHID
$ m( g4 Y" T; g2 s! hAlternateWorkSt
4 n+ F, `8 W8 G& @0 a) @------------
( `. B  s1 R9 A/ R7 f) O# vHousekeeper
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-8-4 14:01:29 | 显示全部楼层

Oracle笔试真题

HouseKeeperID2 S& [0 J7 G9 n% j2 ]) q
HouseKeeperName7 q. s' m" O4 q  d1 G( I+ u
SupervisorID& t# r' B! a$ U4 U2 O0 s. N  p+ |8 p
Supervisor
7 C' s9 \, _" \0 gSupervisorID
; X4 e, P( B3 H- N2 F% S' B8 LSupervisorName& ^/ t1 d- m: u2 _  ?3 M) w  @3 d
Duty
2 U6 p& d" D7 t' _! a* o% kDutyID
8 @1 N  s! i% h. hFloorNo& a6 L8 P% C1 P6 |" f5 g, C
DutyDate
. |1 U  W) W- z2 p9 Z1 `) M/ _3 E: B* }Transaction6 W2 ^0 X, l4 {" t8 H0 F2 X5 `
DutyID3 A' F# l2 W6 `1 y9 M1 X4 X% J  Q
------------, F* m9 |" y9 W7 p
HouseKeeperID* C2 O  o# I; N9 _2 W5 P
WorkStatus8 Z4 Z2 i8 x* m* b% L- Z! e
AlternateHID
2 @( _% o' r, c) t/ _9 a& R9 n, c& ZAlternateWorkSt 1 I$ ?4 Q: h  A
------------
* S+ C7 N3 ^' w9 K0 u6 e: o, t$ ^  D% GHousekeeper
7 }( `  ]1 ], r# A8 y) |; iHouseKeeperID
# n' Y1 |5 Y; c' G. `& ^- t9 mHouseKeeperName, P: f) ^4 b5 D/ K- @. G+ }
Supervisor
% J( a; t4 E4 K9 u7 W0 s- BSupervisorID
" }3 S% v+ {  V% H1 bSupervisorName
! z1 q: d8 f' \7 X% W1 `' y) qDuty1 i- i: r$ a1 J3 K
DutyID
: f4 p$ Q# O* A$ x0 n5 kFloorNo
, J* O# @, U# Q/ [5 P7 CDutyDate
! Z/ v8 y  \8 [) C3 K3 kTransaction5 G0 ]* ]7 I* U. j1 x# b3 [$ Z  P
DutyID
6 K2 b# G9 c8 @HouseKeeperID
' \; U! m% o& O' Z9 e! i: k- dWorkStatus. ^- H' d- ^; v1 s% ~) S0 I8 c, \
AlternateHID
! B& v& i! q# f* W- |" DAlternateWorkSt</p>
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-8 19:37 , Processed in 0.246084 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表