You are on page 1of 8

1 cau hoi

Which of the following performs the task of managing


storage space and structures? m

traloi1: 1,Database administrator m
traloi2: 2,Database manager m
traloi3: 3,Application programmer m
traloi4: 4,ile manager m
dapan: 4
2 cau hoi What is the first stage in the DD!"? m

traloi1: 1,#reliminar$ planning m
traloi2: 2,"onceptual design m
traloi3: 3,easibilit$ stud$ m
traloi4: 4,%e&uirements definition m
dapan: 1
3 cau hoi
At which stage of the DD!" will $ou inter'iew the
database users to determine if their re&uirements ha'e
been met? m

traloi1: 1,easibilit$ stud$ m
traloi2: 2,"onceptual design m
traloi3: 3,Database e'aluation and maintenance m
traloi4: 4,(mplementation m
dapan: 3
4 cau hoi
A newl$ implemented database in an organi)ation fails*
What could be the reason of this failure? m

traloi1:
1,+nl$ some limited users are allowed access to the
database* m
traloi2:
2,,here is some time gap between the purchase of the
database s$stem and its implementation* m
traloi3:
3,,he important emplo$ees are included in the
database planning and design process* m
traloi4:
4,Ade&uate resources are not allocated to the database
de'elopment pro-ect* m
dapan: 4
. cau hoi
At which stage of the DD!" will $ou determine the
a'ailabilit$ of the hardware and software re&uired to
fulfill the information needs? m

traloi1: 1,"onceptual design m
traloi2: 2,easibilit$ stud$ m
traloi3: 3,%e&uirements definition m
traloi4: 4,#reliminar$ planning m
dapan: 2
/tatement A: ,he database manager acts as an interface
1 cau hoi
#redict the output of the following /0! statement if
the date of sale for the gi'en product is 1ul$ 13, 2221*
/elect dateadd3dd, 12, sale4dt5 from transaction where
prod4id 6 7122228 m

traloi1: 1,1ul$ 23,2221 m
traloi2: 2,Apr 13, 2222 m
traloi3: 3,1ul$ 2221 m
traloi4: 4,2221 m
dapan: 1
2 cau hoi
"onsider the following statements: /tatement A:
/ub&ueries can be used to retrie'e data from multiple
tables and can be used as an alternati'e to a -oin*
/tatement 9: A sub&uer$, when used with the :;(/,/
clause, alwa$s returns data in terms of a ,%<: or
A!/: 'alue* Which of the following is correct about
the abo'e statements? m

traloi1: 1,9oth statements are true* m
traloi2: 2,9oth statements are false* m
traloi3: 3,/tatement 1 is true and statement 2 is false* m
traloi4: 4,/tatement 1 is false and statement 2 is true* m
dapan: 2
3 cau hoi
=ou are managing a >% consultanc$ firm* =our
organi)ation maintains data in a /0! 2222 database*
=ou ha'e created two stored procedures* +ne for
printing the name of the organi)ations that ha'e
recruited contract emplo$ees and the other for printing
name of emplo$ees that ha'e been recruited in a
particular cit$* =ou want to print a report that displa$s
name of the organi)ations that ha'e recruited contract
emplo$ees and name of emplo$ees that ha'e been
recruited in a particular cit$* (dentif$ the correct piece
of code that $ou will use in the gi'en scenario* m

traloi1:
1,"%:A,: #%+":D<%: prcDispla$9oth ?cit$
char31.5 A/ 9:@(A :;:" prc!ist"ontract%ecruiter
?cit$ :;:" prc#rint"ontract:mplo$ees ?cit$ :AD
m
traloi2:
2,"%:A,: #%+":D<%: prc!ist"ontract%ecruiter
?cit$ char31.5 A/ 9:@(A :;:"
prc!ist"ontract%ecruiter ?cit$ :;:"
prc#rint%ecruitmentAgenc$!ist ?cit$ :AD m
traloi3:
3,"%:A,: #%+":D<%: prcDispla$9oth :;:"
prc!ist"ontract%ecruiter ?cit$ :;:"
prc#rint%ecruitmentAgenc$!ist ?cit$ m
traloi4:
4,"%:A,: #%+":D<%: prcDispla$9oth ?cit$
char31.5 A/ 9:@(A :;:" prc!ist"ontract%ecruiter
1 cau hoi
=ou want to send in'itations for the annual da$ to parents of all
the students* or this purpose, $ou want to generate a report
detailing student id, student name and student address* =ou can
retrie'e these records from the student master table named
/tudent4details* ,he fields of the student master table are: st4id,
st4name, st4ph, st4add, st4course* or eas$ readabilit$ $ou want
the column heading of the report to be: /tudent (D, /tudent
Aame, and /tudent Address* (dentif$ the correct piece of code
that $ou will use in the gi'en scenario* m

traloi1:
1,/:!:", /tudent (dentit$6st4(d, /tudent Aame6st4name
%+B /tudent4details m
traloi2:
2,/:!:", C/tudent (dentit$C6st4(d, C/tudent AameC6st4name,
7/tudent Address86st4add %+B /tudent4details m
traloi3:
3,/:!:", st4id C/tudent (dC, st4name C/tudent AameC, st4add
7/tudent Address8 %+B /tudent4details m
traloi4:
4,/:!:", st4id C/tudent (dentit$C, st4name C/tudent AameC,
st4add 7/tudent Address8 %+B /tudent4details m
dapan: 4
2 cau hoi
(dentif$ the correct piece of code that returns all student names
from the /tudents table in which the t$pe of the course starts with
7bus8* m

traloi1:
1,/:!:", st4name %+B /tudents W>:%: course !(D: Cbus
EC m
traloi2:
2,/:!:", st4name %+B /tudents W>:%: course /,%(A@
CEbusC m
traloi3:
3,/:!:", st4name %+B /tudents W>:%: CFbusEC !(D:
course m
traloi4:
4,/:!:", st4name %+B /tudents W>:%: course /,%(A@
CbusEC m
dapan: 2
3 cau hoi
(n the annual da$ function of the college, eGcellence awards are to
be gi'en to the 3 students who ha'e scored highest marks in the
completi'e eGam that was conducted in august 2222* (dentif$ the
correct piece of code that $ou will eGecute in the gi'en scenario to
find all the details of these 3 students* m

traloi1:
1,/:!:", ,+# 3 H %+B /tudents W>:%: d,estDate I6
C3J1J22C AAD d,estDate K6 C3J31J22C +%D:% 9= si,est/core
A/" m
traloi2:
2,/:!:", ,+# 3 st4names %+B /tudents W>:%: d,estDate
K6 C3J1J22C AAD d,estDate I6 C3J31J22C +%D:% 9= si,est/core
A/" m
traloi3:
3,/:!:", ,+# 3 H %+B /tudents W>:%: d,estDate I6
C3J1J22C AAD d,estDate K6 C3J31J22C +%D:% 9= si,est/core
D:/" m
4,/:!:", ,+# 3 st4names %+B /tudents W>:%: d,estDate

You might also like