Download OU B.Sc 5th Year 2019 B.Sc Computer Science Question Bank Question Paper

Download OU (Osmania University) B.Sc Fifth Year (5th Year) B.Sc Computer Science Question Bank Question Paper

WithEffectfromtheAcademicYear2018-2019
lavaLabBSSOS
PracticalZllours/Weeklcredlt
Wrltelavaprogramstofhdthefollowing
la)largestolglventhreenumbersb)revcrsesthedlgltsolanumber
c)glvennumberlsprI-neornotd)GCDolglventwointegers
WrltelavaprogramsthatImplementthefollowing
a)defaultconstructorb)panmeterhedconstructorc)constructoroverloading
a)Wrlteahvaprognmtnflndrhesmallestolglvenlistlnnegersuslngarrayandscannerclass
b)Wrlealavaprop-amformultbllcatlonoltwomatrices.
a)Wrkealavaprogramfordemonstrathganlnnerchsosornestedchsses.
4b)WrkealavaprogramtoImplementmethodoverloading,methodoverrldlngnlynamlcmethod
dlspanch
SWrltealavaprogramtoImplementslngle,multlleveLhlerarchaLmultlple,hybrldlnherltanoes.
6Wrltelavaprogramsthatdemonstratetheuse0l3b$U3Cl.!hl$.Stlp?l'.statlollnalkeywords
a)Wrlealavaprogramforcreatlngapackapanduslngapackage.
b)WrIealavaprogramtodemonm-atetheuseolwrapperchsses
a)Wrltealavaprogramuslngall?vekeywordsofexceptlonhandlingmechankm.
b)Wrkealavaprogramforcreatingcustomized(user)exceptlon
a)Wrltealavaprognmthatcheckswhetheraglvenstrlnglsapallndmmeornot.
b)Wrlealavapropamlorsortlngaglvonlktolnamoshascendingorder.
a)Wrltealavaprogramtocreatea?lc.wrltothedataanddlsphythedata.
wb)Wrkealavaprogramthatreadsalllenamefromuseranddlsplaysltslnformatlon.
Ha)Wrkealavaprogramforcontrollingmalnthread.
b)WrkealavaprogramforcreatlngnewthreadbycxtendlngThreadclass.
l2a)Wrlealavaprogramforcreatlngnewthreadbylmplementhgllunnablehterface.
b)Wriealavaprogramlorthreadsynchronization.
l3a)Wrtealavaprogrammcream-followingAWTcomponents:Button,Checkbox,Cholce,andList.
b)WrlelavaprogramstocreateAWTappllcatlonusingcontainersandlayouts.
Ha)WrkelavaprogramstocreateaslmpleAppletandcreamswhgbasedApplet.
b)Wrlealavaprogamtohandledlllerenttyposolevontshaswlngappllmtlon.
l5Wrltelavaprogramstocreateaswlngapplicationuslngswhgcomponentsandlayouts.
l6WrltealavaprogramtostoneandretrlcvedatafromdatabaseushglDBC.
"M?Wrltetheprogramusingslmpletmttedltor?notIDE).compileandrunfromcommandprompt.
EncouragestudentsnodevelopsmallavaappllcatbnsushglDE.llkoglvlngasasslgnment.
Wrlteasmalllavaapplicationuslngsomefeaturesollava
B.Sc.(ComputerScience)?OsmaniaUniversityPage|21

FirstRanker.com-FirstRanker'sChoice
WithEffectfromtheAcademicYear2018-2019
lavaLabBSSOS
PracticalZllours/Weeklcredlt
Wrltelavaprogramstofhdthefollowing
la)largestolglventhreenumbersb)revcrsesthedlgltsolanumber
c)glvennumberlsprI-neornotd)GCDolglventwointegers
WrltelavaprogramsthatImplementthefollowing
a)defaultconstructorb)panmeterhedconstructorc)constructoroverloading
a)Wrlteahvaprognmtnflndrhesmallestolglvenlistlnnegersuslngarrayandscannerclass
b)Wrlealavaprop-amformultbllcatlonoltwomatrices.
a)Wrkealavaprogramfordemonstrathganlnnerchsosornestedchsses.
4b)WrkealavaprogramtoImplementmethodoverloading,methodoverrldlngnlynamlcmethod
dlspanch
SWrltealavaprogramtoImplementslngle,multlleveLhlerarchaLmultlple,hybrldlnherltanoes.
6Wrltelavaprogramsthatdemonstratetheuse0l3b$U3Cl.!hl$.Stlp?l'.statlollnalkeywords
a)Wrlealavaprogramforcreatlngapackapanduslngapackage.
b)WrIealavaprogramtodemonm-atetheuseolwrapperchsses
a)Wrltealavaprogramuslngall?vekeywordsofexceptlonhandlingmechankm.
b)Wrkealavaprogramforcreatingcustomized(user)exceptlon
a)Wrltealavaprognmthatcheckswhetheraglvenstrlnglsapallndmmeornot.
b)Wrlealavapropamlorsortlngaglvonlktolnamoshascendingorder.
a)Wrltealavaprogramtocreatea?lc.wrltothedataanddlsphythedata.
wb)Wrkealavaprogramthatreadsalllenamefromuseranddlsplaysltslnformatlon.
Ha)Wrkealavaprogramforcontrollingmalnthread.
b)WrkealavaprogramforcreatlngnewthreadbycxtendlngThreadclass.
l2a)Wrlealavaprogramforcreatlngnewthreadbylmplementhgllunnablehterface.
b)Wriealavaprogramlorthreadsynchronization.
l3a)Wrtealavaprogrammcream-followingAWTcomponents:Button,Checkbox,Cholce,andList.
b)WrlelavaprogramstocreateAWTappllcatlonusingcontainersandlayouts.
Ha)WrkelavaprogramstocreateaslmpleAppletandcreamswhgbasedApplet.
b)Wrlealavaprogamtohandledlllerenttyposolevontshaswlngappllmtlon.
l5Wrltelavaprogramstocreateaswlngapplicationuslngswhgcomponentsandlayouts.
l6WrltealavaprogramtostoneandretrlcvedatafromdatabaseushglDBC.
"M?Wrltetheprogramusingslmpletmttedltor?notIDE).compileandrunfromcommandprompt.
EncouragestudentsnodevelopsmallavaappllcatbnsushglDE.llkoglvlngasasslgnment.
Wrlteasmalllavaapplicationuslngsomefeaturesollava
B.Sc.(ComputerScience)?OsmaniaUniversityPage|21

16
Note
8.5c.(ComputerScience)?OsmaniaUniversity
WithEifectfromtheAcademicYear2018-2019
OperatingSystemsLabBSS06
Practical2Hours/Weeklcredit
a)Usevieditormcreanedlfierent?iemwrltingdataintoflesmodlyingdalahfles.
b)UsediflerenttypesofUnixcommandsonthe?lescreatedin?rstprogram.
Writeshellpmgramsushgtaselthen?and?If8.'eke'statements
Writeshellproglamsushgwhilmdo-whileandforloopsmtements.
a)Wrkeashellscrbtthatameptstwointegersasi5argumentsandcomputersthevalueol?lst
numberraisedtothepoweroitheseoondnumber.
b)Wrkeashellscripttiiattakesacommand-ilneargumentandreportsonwhetheritisdirectory;
?lmorsomethlngelse.
a)Wrkeashellmrptthataoceptsa?lename,startingandendingline-numbersasargumentsand
displaysallthelinesbetweenthegivenlinenumbers"
b)Wrkeashellseriptthatdeletesalilineseontahhgaspeci?edwordinoneormoreflessupplied
asargumentstoit
a)Wrlteashellscrbtthatdkplaysalistofallthe?lesinthecurrentdirecnorytowhlchtheuserhas
read,writeandexecutepermissions.
b)Developanlnteractivescriptthataskforawordanda?lenameandthentelshowmanytimes
thatwordoccurredinthe?le.
WriteaprogramthatsimulatethefollowingUnixcommandslikels,mv.qa.
WrlteaprogamtoconvertuppercasetolowercaselettersolagivenASCIIfle.
Wrlteaprogramtoprogramtosearchthegivenpatterninafle.
WrlteaprogramtodemonstrateFCl-?Sprocessschedulesonthegivendata.
Wrlteaprogramtodemonm-ateSIFprocessschedulesonmegivendata.
WriteaprogramtodemonstratePrioritySchedulhgonthegivenbursttimeandarrivaltimes.
WrlteaprogramtodemonstrateRoundRobinSchedulhgontheglvenhursttimeandarrivaltimes.
WrlteaprogramtoimplementingProducerandConsumerproblemusingSemaphores
WrlteaprogramnosimulateFIFO,LRU.LFUPapreplacementakoritiims.
WrlteaprogramnosimulateSequential,lndexed,andLinked?leallocationsrategies
RecommendedtouseOpenSourceSoltwarellteFedora.Ubuntu.CentOS.etc_
Page|23

FirstRanker.com-FirstRanker'sChoice
WithEffectfromtheAcademicYear2018-2019
lavaLabBSSOS
PracticalZllours/Weeklcredlt
Wrltelavaprogramstofhdthefollowing
la)largestolglventhreenumbersb)revcrsesthedlgltsolanumber
c)glvennumberlsprI-neornotd)GCDolglventwointegers
WrltelavaprogramsthatImplementthefollowing
a)defaultconstructorb)panmeterhedconstructorc)constructoroverloading
a)Wrlteahvaprognmtnflndrhesmallestolglvenlistlnnegersuslngarrayandscannerclass
b)Wrlealavaprop-amformultbllcatlonoltwomatrices.
a)Wrkealavaprogramfordemonstrathganlnnerchsosornestedchsses.
4b)WrkealavaprogramtoImplementmethodoverloading,methodoverrldlngnlynamlcmethod
dlspanch
SWrltealavaprogramtoImplementslngle,multlleveLhlerarchaLmultlple,hybrldlnherltanoes.
6Wrltelavaprogramsthatdemonstratetheuse0l3b$U3Cl.!hl$.Stlp?l'.statlollnalkeywords
a)Wrlealavaprogramforcreatlngapackapanduslngapackage.
b)WrIealavaprogramtodemonm-atetheuseolwrapperchsses
a)Wrltealavaprogramuslngall?vekeywordsofexceptlonhandlingmechankm.
b)Wrkealavaprogramforcreatingcustomized(user)exceptlon
a)Wrltealavaprognmthatcheckswhetheraglvenstrlnglsapallndmmeornot.
b)Wrlealavapropamlorsortlngaglvonlktolnamoshascendingorder.
a)Wrltealavaprogramtocreatea?lc.wrltothedataanddlsphythedata.
wb)Wrkealavaprogramthatreadsalllenamefromuseranddlsplaysltslnformatlon.
Ha)Wrkealavaprogramforcontrollingmalnthread.
b)WrkealavaprogramforcreatlngnewthreadbycxtendlngThreadclass.
l2a)Wrlealavaprogramforcreatlngnewthreadbylmplementhgllunnablehterface.
b)Wriealavaprogramlorthreadsynchronization.
l3a)Wrtealavaprogrammcream-followingAWTcomponents:Button,Checkbox,Cholce,andList.
b)WrlelavaprogramstocreateAWTappllcatlonusingcontainersandlayouts.
Ha)WrkelavaprogramstocreateaslmpleAppletandcreamswhgbasedApplet.
b)Wrlealavaprogamtohandledlllerenttyposolevontshaswlngappllmtlon.
l5Wrltelavaprogramstocreateaswlngapplicationuslngswhgcomponentsandlayouts.
l6WrltealavaprogramtostoneandretrlcvedatafromdatabaseushglDBC.
"M?Wrltetheprogramusingslmpletmttedltor?notIDE).compileandrunfromcommandprompt.
EncouragestudentsnodevelopsmallavaappllcatbnsushglDE.llkoglvlngasasslgnment.
Wrlteasmalllavaapplicationuslngsomefeaturesollava
B.Sc.(ComputerScience)?OsmaniaUniversityPage|21

16
Note
8.5c.(ComputerScience)?OsmaniaUniversity
WithEifectfromtheAcademicYear2018-2019
OperatingSystemsLabBSS06
Practical2Hours/Weeklcredit
a)Usevieditormcreanedlfierent?iemwrltingdataintoflesmodlyingdalahfles.
b)UsediflerenttypesofUnixcommandsonthe?lescreatedin?rstprogram.
Writeshellpmgramsushgtaselthen?and?If8.'eke'statements
Writeshellproglamsushgwhilmdo-whileandforloopsmtements.
a)Wrkeashellscrbtthatameptstwointegersasi5argumentsandcomputersthevalueol?lst
numberraisedtothepoweroitheseoondnumber.
b)Wrkeashellscripttiiattakesacommand-ilneargumentandreportsonwhetheritisdirectory;
?lmorsomethlngelse.
a)Wrkeashellmrptthataoceptsa?lename,startingandendingline-numbersasargumentsand
displaysallthelinesbetweenthegivenlinenumbers"
b)Wrkeashellseriptthatdeletesalilineseontahhgaspeci?edwordinoneormoreflessupplied
asargumentstoit
a)Wrlteashellscrbtthatdkplaysalistofallthe?lesinthecurrentdirecnorytowhlchtheuserhas
read,writeandexecutepermissions.
b)Developanlnteractivescriptthataskforawordanda?lenameandthentelshowmanytimes
thatwordoccurredinthe?le.
WriteaprogramthatsimulatethefollowingUnixcommandslikels,mv.qa.
WrlteaprogamtoconvertuppercasetolowercaselettersolagivenASCIIfle.
Wrlteaprogramtoprogramtosearchthegivenpatterninafle.
WrlteaprogramtodemonstrateFCl-?Sprocessschedulesonthegivendata.
Wrlteaprogramtodemonm-ateSIFprocessschedulesonmegivendata.
WriteaprogramtodemonstratePrioritySchedulhgonthegivenbursttimeandarrivaltimes.
WrlteaprogramtodemonstrateRoundRobinSchedulhgontheglvenhursttimeandarrivaltimes.
WrlteaprogramtoimplementingProducerandConsumerproblemusingSemaphores
WrlteaprogramnosimulateFIFO,LRU.LFUPapreplacementakoritiims.
WrlteaprogramnosimulateSequential,lndexed,andLinked?leallocationsrategies
RecommendedtouseOpenSourceSoltwarellteFedora.Ubuntu.CentOS.etc_
Page|23

WithEifectfromtheAcademicYear2018-2019
SoftwareEngineeringLabBSS06
Practical2Hours/Weeklcredit
CaseStudies:
iBankingSystem
2Hotelmanagementsystem
3InventoryControlSystem
4Librarymanagementsysmm
SRailwayReservationSystem
Chooseanytwoofabovecasestudiesanddothefollowingexercisesforthatcase
studies
1Write-thecompleteproblemstatement
2Writethesoftwarerequirementsspecifkationdocument
3Drawtheentityreiationshbdiagram
4Drawthedata?owdhgams
SDrawusecasediagrams
6Drawactivitydhgramsiorallusecases
7Drawsequencedhgramsiorallusecxes
BDrawcolhboratbndiagram
9AssgnobiectsInsequencediagramstoclasesandmakedasdiagram.
"o":TodrawdatailowdiagramsushgMicmsoitVkioSoinuare.SmartDraw,etc...
TodrawUMLdhgramsusingRationalRoseSoftware.StarUML.etc...
Theteachershouldde?netheboundariesfortheabovecasestudyproblemsandmakethepractice
oiproblemsmentioned.
B.Sc.(ComputerScience)?OsmaniaUniversityPage|25

FirstRanker.com-FirstRanker'sChoice

This post was last modified on 21 November 2019