You are on page 1of 9

r

Practical I5O Markstr

?ssfo 3.: Pumwani maternityhospital in l$airabi has recentb computerized their


information systems. Create the following tables and perforrn the tasks that
follow;
N/B: $et apprcpriate prinury key for each table based on the unique data field.
Set appropriate data types for each field e.g. Age, Weight as Number. Basic pay
and allowances a$ currency etc.

MEDTCAL S?AFF
EUP lTO EIIIP ITAME GENDER AGE BASIC PAY AttowlulcEs POSITIOT
FH948 Dff,ilEL l,ifi-{NUMA r.1.1.,-;t 5? 1SS,000 2,O00 a--;1, :i:-1 ,ill i-r.::_,.f

F11934 I\JNT J\T\Y\}LT !r1Al -1, 52 50,6000 1,OOS GEITERALFRACT1TTONER


Pi1588 AGNES NDAMBUKI FE]tIdLE +5 50,2000 1,OO0 CL]MCAL NURSE
P!{88? AAMATIIS KARA}I.'A 50,600 1,O00 CUHICALI{IIRSE
P?T747 JA}{SS NJARAMBA r,t4.LE 44 90,000 2,OOO GYNAECCLOGIST
PH8A4 JAMES NJARA}{BA h.{,{LE 50 90,000 2,O00 GYNAECOLCGIST
PH468 JAMES }AJARAMBA 120,OGO 2,OO8 a!.,':{.1., _: i)i -)i]:tt'

SUPPORTSTAFF

EIiIP ilO Ei{F fiANfiE GENDER AGE BASIIC PAY ALLOY'IEC POSITIOI{ PERHAISEXT
gs
ruturt n IvluDDtvrDl :* DiVldLD AJ 9,O00 NO
IglCC980 KEN OUKO MALE 58 7,@A l.OOO C-Efu''IER NO
NCCgtsI JGYCE I-IJO}TOGS FEM}UE 23 6,mo 1,COO 1': s+ 1-'iailR \-F-S,

NCC989 AG$.ES MWANGI FEMALE 44 8,000 1,OO0 CI^EANER


PB?EROI\TYANCFN MATE 42 7.OOO 1,OOS at_rR!: YES
NC_aa tr i r;.: '.: t< MAI,E 25 o nflo \raq
15,OOO 1 l.r-.R:..

NCC944 KEN AI{I}-'IDA M41,f, 36 6,000 1,O80 .T FANEP NO

BABIES DELIVtrRED iI{ AUGUST 2O13

AiDXlYO I{g?IIEE ffilau+ na BII"I, GI}ARDIAIT.


GEHDER DELIVERY KG
-\i / ifl EEAfi*CEEANTTiE 5:. 1 r_-,.- 3-2 ;rleitL_

', (.,
M776
ruU&If IUffiI lYl:al L z.J Ll:,Jh1tEK

OI"TDYS ATINNO FE\f AL-a l,:.,)la: <l:-' 2.8 I",ItrSSANG PATRICE-

ltdUMBI Fi\iI: F 2.3 /1i i1;r ar!a; r nl{Fc


1.1789 J\1cr wAMBUI T..[ALE GERA.i_-r 3.5 CLERK DAr\
M443 PERIS ATOTI trlT q NONE 3.1 CLERK JOSSCK
JACI(YIIOGARE $jiE ;r LJi\ i- 3-6 rLErli,lEk

*t
\
F'urther Tasks;
*
k.) Create the following forms
'i
a. Medical staff form I

b. Support staJlform \1

c. Babies born in August form


l.) Create the following reports; I
lr

ri

i.l Medical staff report l


ii., Support staffreport
iii.) Babies report

rn-)Create the follorxing queries


a. Babies born with a weight .3Kg a:r,.ti 3,!]Ov=
i|
b. Cleaners
ii
c. Those on
d. Males earlrllrgmore than Ksh.
e. Increase Iess tfran by 20o/o
a. l Apply beautitul

...fEsd ef Examl...

"<:

,t

XI1

N
t* ;i.._
PfiA#TTSAL TA$KS
Assum+ th;t va'* are.pii..= of the rerf,put*r iiterate tcachers
in Strathmore High
$ch*ni, tir* *eh**{hasdecid*{i i* *rr=*rputeriec
their gai* ft*"$ag*rfient* t**fus.
foiicrving tables ir: d*sigri view and
fe+1e .th* S*rfarm that tas*kr
that icil*x-"i*l&; *s* eh* atrFreprisie dat+ rype=anet p*{*rary
key s
in youlr t*h{es.

Staff rrterylil*ns
' : '": !-'::l 2a-1*l;1-r 5 i=ii;
*€.?+-gsy€-.-
il
Fe*l*r"e
i
i.l i*,s-}i}*:,i Ftcimhi tEs #pr*=i* 1;!,_r i fr*;:=t{;!6

':'i ' :..:,-i. :a ; i ,-'ii ii ii i

irr :l _i---t.,i: il

-q iiias-- r*n,-

nrE:.,qi*t
SS{i*E+18
?tss8387
-'--
'::.: -i'.i :i;;,'l
P*ruTWe*jlru
, : , ., qr
ii
Fet8laAii ekaner---^* ti
.r.+_i;S

:::
.:
::1:i4:a:r
.'rr-jf _1J:.i
FEE[iEt-."-
jt:
L.,#i
Fgt fln I rl, l: -:r,.i
+*.<

{fHrfr
t: Se!usl** d.rc

;, Rd*i-*
!
Ea*m a ?s1 1
Enver 't :'- :t ; ..
l:::,1

1 I \ l',!:',:
&8*!e
]:31 .*.} :,..,,'.:':,,::
r. I iU* irr.t, +{:g;rta6rt
*;-]ii.*lf--*-____
Farnn 3
rsft=:t{*E iid Fema!e
a r+11:i +
f:_=
; "i?-iTiitS
Fery**
F*rr* ?
ru{Fr#{f
frtss L
:f
':! Form 3 ,t H E, tr_lE_e-l.a
F*s ?
fr*.*. rt
!,'
t
Frrrrerr , *533
fii*ii:'e 1s*{t?,i#,Ai Senn 3
A$i**,!€*tlw*i Fgntn**-
!&iiij::,, r. rl.irfrr_
'cr{. l ii"tfl: i,f*r* rirr

! i:, r*
Nr+i*bski q
*E n:ria 5-f!fift
s3tr&fit $n.^!-
rC
*]ierh llI.tdle
F*rsli 3-
€ra'st;,ts.i*,ma ;lr'i4t#
E*st*o Eara !
. :;;{ 1
a-Ettt6tE
l E
948*B-ftF-4*q E *ffifi&
a @rus*

i"-*.-^** h!"",r+ii; i &i|l


{rh*ytf hrx
i S*ek*

rfrrtrd,:!

S+r'k=rh+-+o
_-
-r..!. i**+ *e*.*
r'Gir

,xi
ir.i
trl

rffitI

s€€t**eE*ititE

.ii. f Assers farqls


$trrde,?ts f*rms
v.) ${aff?crrrns
trt*t* tim fe*i*r*i*g rs$+ns;:
i :.'$tudextc
!i!ti ,ea<.htrs "€n*rF"
rspr+
,tt.l AssetE.-€pf;r:t _..
irr,i

fuer**mt!*

.If:a+ fi*:; . i.+* SraS rebi+

-.hh*'
4,

NAME

EXERC'SE 1A. ACCESS

1, A11T {: Bit-Bytr Computer rqlres. inr. tras opened rrllt}ettcu* br.anobe* tFatlghaur the
and related
northwestern U.S. during the past year. In order to keep track of the branches
infoimatian, ycu harre Ger asked tc create a databsse ta organize this inform*tio*.

1. Openup Access aad create anew Database. Narne it C$MPUTER'


2. Seiect the option to create a nerr tabie-
3. Using Design View, cleate a tabie design using the datalisted below:
(Aiiowltore frumber to be the primary key - NOTE: A primary key must be a unique
nuraber.)

rIELD hIA*TS, DATA TYPE SIZE DESCRIPTTT}N


(:-r:r\D r IT\ 'r. ^-.a a
-) t \JNI- t1-,

BRANC&{ Text ?5
"fI.ILE Text 5S Title of Software Used
TYPE T'pr-t ef S+*'l'are ljsed
PRICE Currency Use Fixed F*rmat At Time ofPurchase
PTjRDATE l)atelTime Date Software was
tise Shcri llate Form*t
Purcl:ased
FiOTE: As x general rule, it is Lretter to make text fields larger then expected then to
In**r h*ye t+ r'*:rrlir-lst a field nadne text data $'pe lengt& trt**se a nerr' recorel is
lrrir*g truncateri" Access wifl oniy st*re thc *ctual tex{ i+ngtit rithin the datahast.

tr. $ave'rhedesigri*nder the name SOFTW'a.BE'


2. Listed below is tln data for ths SOFT1VARE data&Le. Eater tlre inf*rmaticn
-rr-ElE DDICF PI.RI}ATE
5T$Rg,_- tfstA_i\r- i-! Iltf,r{"

ID
1110 Con:puters Etc. Word-O \\ ord Processing 499.95 8/17103
n--1-4^- c< 1 !'1dll{t1
tllr zippy's Pegereator l-rts$rltlJIJ "oo
1 1zfi Y=*ur PC Center Micro Words Word Pracessing 459.8t) 6114103

InfoBase IJatabase 495.95 3i2Ois3


1 1?5 Bits and Bytes Co.,
Word-* \fford Prccessiag ,199"S5 51951*3
1 13S Lakeviern' Compuiers
Pacific Co. Accessor Database 550.50 i 1ru3i03
1 135
-s nf
t \ ''- I srrsi
^-l c-"^1, Ev-cell'=r Spreadsheet 56.1.20 2EDlA3
i r{i{i \Jill-Y -rwr.
1141 S+ttr"*ar* Galot* Otticel"tate Integrated 479.95 3115/03

1150 Wheatland tztwa3 Quattrain Spreadsheet 475.50


1rE dJX 4 t"t lf\z
r !hIt Tawer Ciries C**tputes llt),n 17J,JIJ C,;:xrviunieeti*rs
il*{}TlE: If you are inputfing a date irrtc a data f.vpe dateltime fcrmat, You do not
have to inptt the year if the yesr )'ou want is the current year" This is the stme for
Exeel" E{owever=, if theye*r i* not the turreat year, you wilt lieetl to rerncrnhcr El-r
input it. The actual input can he in almost an-1'format and Aesess will reformat to
5i
U +_1 , 'r\.?
r ",r i
u) nt ." \i11"-,! ',
x.iv-P- \* . r _,i- \-
' r'-\- Y" f
\ \ tl
v r,'.1)
i\' r
\1.
t\
.,,.- ..',i
,\. L1

r'\'' ')' \J
\?!
!
",,

MICROSOFT OFF'ICE PRACTTilH QUESTIONS

a) Activak a dalabase pack*ge that you are fandtiar


with & create a database flie called
*CLASS
REGISTER.
bi Create a t*trle within the database with a sfac&re belcrw: Add six reccr*s. Save if as
class register D* not set lhe primary key"

Field name Data typr


SiJRNAME Text
NA]VfES Text
DOB DatelTime
GENDER Text
FEES PAID Currercy

*NB: T*te.fortnat af the da* thauld be Medium Date


c) Sort the records iu aseeading order af the field sumame a:rd print a copy"
d) Desiga a {F}ery that displ*ys the details af al} tbmales a:rd *ave ii as Fesmtre Qaery and
print acapy"
e) Ilesign a tabular report basing on tlre class rcgister tabte" Ttre rep*rt shsuld be titted
CLASS LIST 2011, savs ia and print a copy.

a) Aetivate kfS Access $r a$y database maeagefiie$t packag* ycr: are f:uniiiar with and
crsatfa datatrase fiie and saye it as Hotei Accomrnsdaticn.
b) Create a tabie within t&is database r*-i& a str*cture below:

R.coms No. *fReds Facilities Ccst Sinele


Room tr 2 General 20ixl Yes
Eoom 2 I Speeiai r15
Roorn 3 1 Special 15t]0 Yes
Ito*m 4 2 Genr.r*i I At(\ No
Ro*m 5 I Special r{n0 No

c) Save fhn table as acrar*n* and prodtce a pri*tout,


d) FoEL.{
i" Create an iaput f*rra
ii. Enter any 5 records af y*ur shr:ice"
ii;. Check if y*ur table has &e arlditi*nal rec*rds y*u have er:tered-
iv- Sase the inputf*rtnas *tc*mmo input-

e) Besigr a rrsart and save i{ as scc#rl*?i* {eryrt aad pre*uce a print clrt.

f) Desigr a +Iery that displays c*sts abcr.e 1S0, save it as query 1

rvv"w*kaha,@gya*iJ..ao y* $;
,8,

MICROSOFT fiFFTCE PRACTTCtr QUSSTICNS

DATABASES

OUESTION
{restc r daf ahece rqlled f-{-)T I l;(lfi

Creak a table lb'ithin the *atabase ealtrad students with the f*ll*rving detaitrs:

.rE inal
suit1lAl?'r_l1
i xri- t\r1t!i
u-Lrl1ff. l tYtrln t EClir AGE S:ILA,HY
TEMBO rLt 45r,3 40 500ix)00
MAI]}{GA STORES 43e7 3rl 4txi0000
PI}r}r}ITC"TTft]\I 4aa'7
TOKC \AI F\ 45tri 33 ?{}irCrfifill
P}{IRI Vt/lkKFlli\rl' 1l Xh 1
3UL)00{Xi
HOVE ICT 45k9 /+ 4tr0O00{)
\LItr\tGp HRM 21 45t)00{}t}

INSTRUCTIONS

ai Sa"re &Fti;rt a copy sf the table [& marks]

b) Creale a qlle fsr all studerts belas, 5 000 m


salary-sboeirrg the fotlowing fields ouly:
Sumame, fue, and Salary saye it as salary & produce a pril:tout.
i8 marksl

c) Create an input form far all the fields. [4 *tarks]

d) Create a rep$rt shcwiag all details but arra*ged ia ascending crder aeccrding ta sxfltarres
& prcduce a printcut- [3 mat'<sl

All yaar field *ames or eelts tn*st fit on o*e p*ge r,:tkeruaisc ,nsrfrs ltdJJ be dedvcted" Use yoar prinl previcw
regalor$.

rur;*a*,ah *@ qwat L "caw" tt4 lt-*.-,...-.,.,---


"6.

ia",*eL3qtj:Be3ts E LiE"E"gq_fl rffiJ-t$r-'* E itJ* rii*+ \ iq


rE *" e+(Vui.t *fi Fiu\
ELr:i#

S{IE$TT*H
Activat* a **tabaw paekage t&*t yru *r* faa:riliar wid: and crea{s a rded*haqs filc 'tsELTA'

E*ter the ft*lcwieg rsrrenis, s*rl table by Erapl+yee hi+. in *eeading srdsr, se.r* *.tr table a* *erpl*yr+s &
prlnt a copy"
sR{Btfrv$w& qf tB.\J &.E48 XeF=gE *{_L+=Lryg&cY€*}{
Eltrf u, t Ef

l'inftit rlXU l ti s:EEJ.A 1|i ;; itl il-\tJ HR},{


Rpt;a l : Jl. Si-- Ii-i i. i iTi i tuT-r iiiE&'*;.ffi-.fl

Effa, f M{]YS .I*t{t{ I i;r)l i: 1Jl'1!f,.:i-i }.iN{} PRtltlric?I{fi

yIi_{_}.i Z?EG}q3*ET?* 1-1i'trl al: i#,1.{


i "qevtu.q $!iFiJt3li)3,5 !!a_

a) *etiga a query that di*ptays *11 mrryt*yees wi{k HN& s{rd a{e ilr tiee Humsn Rssr:res DfiFerffitsxrt"
$a're ar q*er3r} *r# priea a rerert-[s warks]
h'r
s.t PerBiqs! t zsry t&* ilisr-:i*va +XI ercrfrlftyie! p.!'!riI!-!E!1!J lrefwe li'l/ft1J?fi€? o-.r ";re r*-i*e
+-v-r-B I{Fd?.t
:ar#" 3=** *<
ia. * ry

qller5r2 **rr*sp*lldi*g rep*rt-fS marksJ

e) &"iir{ e rryert drd. exse.*s {&e f{}trt+*l*ir:g irrfrxmmi*c fr+rx tire ta*i*: Ernployee }4c, $trr**ee, &n:t $ame,
-..l ,^L-i;*^^.:*
r1<l3d:ituutrtr. Fe ..-*l--.a
4CU u uffi Ni

d) k*iA* a {i'ery fcr tfu+se e*tpIn3,e*s rvh* ere is tk }fuffia$ Res+rxees tr}*part*:e*{ Err+3 thsir rlx":rftnafrs

start witfu au '?S* snd have an F{F{D quatrificati*e- tr}irt a e*rre*p*nding rspsrr. f5;ffirl{s}

I
f rd**rq*iifi #.r n6iqrs&{&tit-[&Ei{" Ll/ L,-._..,.--,.,
,4,

MrcRosoFT SFSICE PRACTTCE QUESTIONS

ouEsTLoN
a) Activate a database package that y'ou are fanriliar with & create a database file
"STtIDEI\ru"

b) Create a tabie rvithin ihis riat;&ase and use tke f*lluwing stmcture:
I

l\-umber Student No. IL) Numtrer Surname Nirme


54 85-6SS758 YSlt MA.\YAU C
2 56 _s9-006882 P()7 MASHEREN,iA P
I fi3-VW734t]5 KARI}AANZIRA R
4 60 85-9658?4 K25 MAKLryISE P
5 NZ 85-5S5,548 P23 NYAMLTNBA X
6 64 85-614785 t14 NIIIEDZi Y
7 66 ?4-582_164 T47 iltL:r\ LXJI(I-\ (*, t5A M
8 68 -52-.<84632 858 IVITIRAPA T
a ?n
32-5689?4 G?8 i\UAildADANE
Yatflt Ylatfai\r; L
]Z D\IT lTT
1C
-{6-E9-5631 I{i2 D

e) Save the takle a* STII*ES{f& prda* a print aut


di FORM
i- Create aninputform
ii- Erter aay 5 rrcmds of ytnrr ehoice-
ii!,-. Cttek_r_f Vg$r'-_lqbl-e hqs_tlie additianal records you have entere*-
iv. Save the input form u student input.
e) TABLE
Cbanp the shuctcre of &e dstat*ss m foilcws:
i. Issert the heldname $ir6rilate rigbt after Name of data rype Darei Tisre. The field size is
aui*:catically set. Set the fsmat cf dats as DBlb{M/yy.
ii. Change Name to Initiat
iii. *range field aaaTe Nrrrnber to Rqisfuati**.
iv- .Add a new fleldname Notesat fhe erd of data type Memo.
y- Belefe recsd nrlsber 7-
,1 yi. Silrt the table ia ascendiag order by registraticn
vii- Sase &e table as newstudeat-

4 *SPSE?
i- Usiry &e l*table creals a tabular repart sh*x'ing ID No, Sum*me & Initial.
the 2d tabie create a tabalar rep*rt sh**'iag al1 derails i* ]andscape f*rmar.
_ iL_ _!*hg
g) QUERY
i- Creat* a Q*rery shcwing all pecple with i*itiai p, save query as q*ery 1.
ii. create a Query shcei*g all ID narnkrs wi& prefix 95, save glsry a"s qrery 2.
n iii- Creare a Quely shcwiag all srurlents with s*ff e$t rrurainr greatnr fhau 6S, r*1r
qucry as q*ery 3.

Allyautfuldnames or *r'lk**s*{zt *a*ne page otlerwise mar*switt beded.,ct"A Use yo*rpriglt


regularly-

-^
r*wv+al*ahx@rgwai|".oa*t vI

You might also like