SlideShare une entreprise Scribd logo
1  sur  10
BIS 311 FINAL EXAMINATION ANSWERS
To Download tutorial Copy and Paste belowLink into your Browser
https://www.essayblue.com/downloads/bis-311-final-examination-answers/
for any inquiry email us at ( essayblue@gmail.com)
BIS 311 Final Examination Answers
Question 1.1. (TCO 1) In the systems development life cycle, the goalof the design activity is
to _____. (Points : 5)
determine exactly what a new or modified information system should do
create a set of detailed plans or blueprints for the system
build the application
ensure that the application works as desired
Question 2.2. (TCO 2) To plan the code for a procedure, _____ uses standardized symbols to
show the steps the procedure must follow to reach its goal. (Points : 5)
pseudocode
a TOE chart
a class diagram
a flowchart
Question 3.3. (TCO 3) Computer memory locations where programmers can temporarily store
and change data while an application is running are _____. (Points : 5)
classes
literals
constants
variables
Question 4.4. (TCO 3) In Visual Basic, which of the following correctly declares a named
constant with the name strCOURSE that contains the string value “BIS311”? (Points : 5)
Const strCOURSE As String = “BIS311”
String Constant strCOURSE = “BIS311”
Dim strCOURSE As “BIS311”
Const String “BIS311” As strCOURSE
Question 5.5. (TCO 5) A _____ structure is used in an application when a decision needs to be
made, followed by an action derived from that decision. (Points : 5)
selection
sequence
repetition
interrogative
Question 6.6. (TCO 5) If intQty contains 60, what will be the value of intPrice after executing
the following code?
Select Case intQty
Case 1 To 50
intPrice = 10
Case 51 To 100
intPrice = 8
Case > 100
intPrice = 6
Case Else
intPrice = 0
End Select (Points : 5)
10
8
6
0
Question 7.7. (TCO 6) The loop below is classified as a(n) _____ loop.
Dim intNum As Integer = 2
Do
MsgBox( intNum.ToString() )
intNum *= intNum
Loop While intNum < 1000 (Points : 5)
infinite
pretest
posttest
counter-controlled
Question 8.8. (TCO 6) Which element of the following array contains the value “Red”?
Dim strColors() As String = {“Red”, “Green”, “Blue”, “Yellow”} (Points : 5)
strColors(4)
strColors(3)
strColors(1)
strColors(0)
Question 9.9. (TCO 7) The _____ of an independent Sub procedure usually begins with the
Private keyword. (Points : 5)
Call statement
argument list
procedure footer
procedure header
Question 10.10. (TCO 7) In the following function, what should go in the blank in the function
header?
Private Function GetRatio(dblNumerator As Double, dblDenominator As Double) _____
Dim dblRatio As Double
dblRatio = dblNumerator/dblDenominator
Return dblRatio
End Function (Points : 5)
ByVal
ByRef
As Integer
As Double
Question 11.11. (TCO 2) An application for a shipping company needs to keep track of the
length, width, height, and weight of packages. Using object-oriented programming methods,
in this application, the weight of a package would be represented by a(n) _____. (Points : 5)
object
attribute
method
class
Question 12.12. (TCO 4) (TCO 4) Consider the following class definition:
Public Class Box
Public Length As Double
Public Width As Double
Public Height As Double
Public Function GetVolume() As Double
Return Length * Width * Height
End Function
End Class
If crate is an instance of Box, which of the following statements assigns a value to a
property? (Points : 5)
crate.Length = 42
dblVolume = crate.GetVolume()
crate.GetVolume(42)
Call crate.Length(42)
Question 13.13. (TCO 8) A programmer makes a connection between a Visual Basic
application and a database using the _____. (Points : 5)
Database Integration tool
data box control
Data Source Configuration Wizard
Dataset Designer
Question 14.14. (TCO 9) The components of a two-tier architecture are _____. (Points : 5)
the primary and the secondary
the client and the server
the master and the subordinate
the alpha and the beta
Page 2
Question 1. 1. (TCOs 1, 2, and 3) You have been asked to develop an application with the
following business requirements: The user will enter an original price. When the user clicks a
Calculate Sale Price button, the application will calculate a sale price by multiplying the
original price by 80%. The application will display the sale price to the user.
(a) Develop a TOE chart for this application. You do not need to put it in table form, but list
what would go in the Task column, what would go in the Object column, and what would go
in the Event column for each row of the chart. Your chart should have at least three rows: one
for input, one for processing, and one for output.
(b) Write pseudocode for the button-click event procedure in this application.
(c) Identify two variables and one constant that you would declare for this application. For
each, provide a variable or constant name that follows the syntax rules of Visual Basic and
the Hungarian naming convention, and an appropriate Visual Basic data type. (Points : 30)
Spellchecker
Question 2. 2. (TCO 5) Consider the following Visual Basic code snippet:
If intScore >= 100 Then
lblMessage.Text = “Great job!”
Else
lblMessage.Text = “Better luck next time”
End If
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
(b) Describe step by step how this code will be executed and what will be displayed to the
user for each of the following values of intScore: 99, 100, and 101.
(c) Rewrite this code snippet so that it still produces the same results, but changing the
condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
The control structure is an if statement that returns a message based on the value of the variable
intScore.
(b) Describe step by step how this code will be executed and what will be displayed to the user for
each of the following values of intScore: 99, 100, and 101.
For 99, the message displayed on the screen will be “Better luck next time” because 99 is less than
100.
For 100, the message will be “Great job” as the value is included in the scoop on the variable
intScore. i.e. 100 =100 evaluates to true.
For 101, the message will be “Great job” as the value is included in the scoop on the variable
intScore. i.e 101 >100 evaluates to true.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in
the first line from intScore >= 100 to intScore < 100. (Points : 30)
Question 3. 3. (TCO 6) Consider the following code snippet:
Dim intTotal As Integer = 0
For intNum As Integer = 1 To 5
intTotal += intNum
Next intNum
MessageBox.Show( intTotal.ToString() )
(a) What type of control structure is this? Be as specific as possible, and explain your
answer.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your
answer.
(c) Describe step by step how this code will be executed and what value will be displayed in a
message box to the user. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
The control structure is a “for” loop that controls the execution of the condition and incrementing the
intNum variable by 1, until the value 5 is reached.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
The counter variable is intNum as it is increased by one within the loop and used to control the loop
while the accumulator variable is intTotal because it stores the incremented value.
(c) Describe step by step how this code will be executed and what value will be displayed in a
message box to the user. (Points: 30)
The variable intTotal is initialised to 0, then the counter variable (intNum) is increased by one at each
step until it obtains a value 5, then the loop stops. The message displayed on the screen will be: 0 1
2 3 4 5.
Question 1. 1. (TCO 7) (a) Explain the difference between passing by value and passing by
reference when passing variables to a Sub procedure or function.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by
value.
(c) Describe a specific example of using a Sub procedure when you would pass a variable b y
reference. (Points : 30)
Spellchecker
(a) Explain the difference between passing by value and passing by reference when passing
variables to a Sub procedure or function.
Passing by value refers to a method of referencing variables by initialising them to real values while
passing by reference is a reference method that involves assigning values to functions through other
variables.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
Function sum {
Result=12 ;}
(c) Describe a specific example of using a Sub procedure when you would pass a variable by
reference. (Points : 30)
Function sum {
a=10, b=12;
Sum=a+b ;}
Question 2. 2. (TCOs 2 and 4) You have been asked to develop an application to keep track of
employees’ scheduled vacations and ensure that all vacations are approved by the manager
and that each employee does not exceed his or her maximum annual vacation time. Maximum
annual vacation time is determined by the number of years the employee has worked for the
firm. You are using object-oriented programming (OOP) to develop this application.
(a) Describe at least two classes that you could use in this application and what each class
would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the
data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the
method name and the action performed by the method. (Points : 30)
Spellchecker
(a) Describe at least two classes that you could use in this application and what each class would
represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type
you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method
name and the action performed by the method. (Points : 30)
Question 3. 3. (TCOs 8, 9, and 10) (a) Explain the roles of primary and foreign keys in a
relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed
by the client and by the server in processing a request by a user for information from a
database.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a
TableAdapter object. (Points : 30)
Spellchecker
(a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the
client and by the server in processing a request by a user for information from a database.
.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a
TableAdapter object. (Points : 30)

Contenu connexe

Tendances

Python GUI Programming
Python GUI ProgrammingPython GUI Programming
Python GUI ProgrammingRTS Tech
 
Python lambda functions with filter, map & reduce function
Python lambda functions with filter, map & reduce functionPython lambda functions with filter, map & reduce function
Python lambda functions with filter, map & reduce functionARVIND PANDE
 
Ch6 pointers (latest)
Ch6 pointers (latest)Ch6 pointers (latest)
Ch6 pointers (latest)Hattori Sidek
 
VISUAL BASIC 6 - CONTROLS AND DECLARATIONS
VISUAL BASIC 6 - CONTROLS AND DECLARATIONSVISUAL BASIC 6 - CONTROLS AND DECLARATIONS
VISUAL BASIC 6 - CONTROLS AND DECLARATIONSSuraj Kumar
 
Unit iii vb_study_materials
Unit iii vb_study_materialsUnit iii vb_study_materials
Unit iii vb_study_materialsgayaramesh
 

Tendances (17)

Intake 38 7
Intake 38 7Intake 38 7
Intake 38 7
 
Ch5 array nota
Ch5 array notaCh5 array nota
Ch5 array nota
 
Functionincprogram
FunctionincprogramFunctionincprogram
Functionincprogram
 
Intake 38 9
Intake 38 9Intake 38 9
Intake 38 9
 
Python GUI Programming
Python GUI ProgrammingPython GUI Programming
Python GUI Programming
 
Intake 38 3
Intake 38 3Intake 38 3
Intake 38 3
 
C# p9
C# p9C# p9
C# p9
 
Intake 38 2
Intake 38 2Intake 38 2
Intake 38 2
 
Python lambda functions with filter, map & reduce function
Python lambda functions with filter, map & reduce functionPython lambda functions with filter, map & reduce function
Python lambda functions with filter, map & reduce function
 
Cc code cards
Cc code cardsCc code cards
Cc code cards
 
C function
C functionC function
C function
 
Chapter 02 functions -class xii
Chapter 02   functions -class xiiChapter 02   functions -class xii
Chapter 02 functions -class xii
 
Ch6 pointers (latest)
Ch6 pointers (latest)Ch6 pointers (latest)
Ch6 pointers (latest)
 
VISUAL BASIC 6 - CONTROLS AND DECLARATIONS
VISUAL BASIC 6 - CONTROLS AND DECLARATIONSVISUAL BASIC 6 - CONTROLS AND DECLARATIONS
VISUAL BASIC 6 - CONTROLS AND DECLARATIONS
 
Unit 3
Unit 3 Unit 3
Unit 3
 
C++ Language
C++ LanguageC++ Language
C++ Language
 
Unit iii vb_study_materials
Unit iii vb_study_materialsUnit iii vb_study_materials
Unit iii vb_study_materials
 

Similaire à Bis 311 final examination answers

Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 solIIUM
 
cscript_controller.pdf
cscript_controller.pdfcscript_controller.pdf
cscript_controller.pdfVcTrn1
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docxrosemarybdodson23141
 
CIS 115 Education Specialist / snaptutorial.com
CIS 115  Education Specialist / snaptutorial.comCIS 115  Education Specialist / snaptutorial.com
CIS 115 Education Specialist / snaptutorial.comMcdonaldRyan138
 
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxBottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxAASTHA76
 
CIS 115 Exceptional Education - snaptutorial.com
CIS 115   Exceptional Education - snaptutorial.comCIS 115   Exceptional Education - snaptutorial.com
CIS 115 Exceptional Education - snaptutorial.comDavisMurphyB33
 
Cis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.comCis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.comBaileya126
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0PMILebanonChapter
 
Cis 115 Extraordinary Success/newtonhelp.com
Cis 115 Extraordinary Success/newtonhelp.com  Cis 115 Extraordinary Success/newtonhelp.com
Cis 115 Extraordinary Success/newtonhelp.com amaranthbeg143
 
Cis 115 Education Organization -- snaptutorial.com
Cis 115   Education Organization -- snaptutorial.comCis 115   Education Organization -- snaptutorial.com
Cis 115 Education Organization -- snaptutorial.comDavisMurphyB99
 
Chapter 16-spreadsheet1 questions and answer
Chapter 16-spreadsheet1  questions and answerChapter 16-spreadsheet1  questions and answer
Chapter 16-spreadsheet1 questions and answerRaajTech
 
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paperInformatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paperHarish Gyanani
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comWilliamsTaylorza48
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comStephenson22
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Alpro
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.comHarrisGeorg12
 
Cis 115 Enhance teaching / snaptutorial.com
Cis 115  Enhance teaching / snaptutorial.comCis 115  Enhance teaching / snaptutorial.com
Cis 115 Enhance teaching / snaptutorial.comHarrisGeorg51
 
Mcs 011 ignou question paper c language
Mcs 011 ignou question paper c languageMcs 011 ignou question paper c language
Mcs 011 ignou question paper c languagewolverine x-man
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comclaric130
 

Similaire à Bis 311 final examination answers (20)

Mid term sem 2 1415 sol
Mid term sem 2 1415 solMid term sem 2 1415 sol
Mid term sem 2 1415 sol
 
cscript_controller.pdf
cscript_controller.pdfcscript_controller.pdf
cscript_controller.pdf
 
Name _______________________________ Class time __________.docx
Name _______________________________    Class time __________.docxName _______________________________    Class time __________.docx
Name _______________________________ Class time __________.docx
 
CIS 115 Education Specialist / snaptutorial.com
CIS 115  Education Specialist / snaptutorial.comCIS 115  Education Specialist / snaptutorial.com
CIS 115 Education Specialist / snaptutorial.com
 
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docxBottom of FormCreate your own FunctionFunctionsFor eac.docx
Bottom of FormCreate your own FunctionFunctionsFor eac.docx
 
CIS 115 Exceptional Education - snaptutorial.com
CIS 115   Exceptional Education - snaptutorial.comCIS 115   Exceptional Education - snaptutorial.com
CIS 115 Exceptional Education - snaptutorial.com
 
Cis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.comCis 115 Education Organization / snaptutorial.com
Cis 115 Education Organization / snaptutorial.com
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0
 
Cis 115 Extraordinary Success/newtonhelp.com
Cis 115 Extraordinary Success/newtonhelp.com  Cis 115 Extraordinary Success/newtonhelp.com
Cis 115 Extraordinary Success/newtonhelp.com
 
Cis 115 Education Organization -- snaptutorial.com
Cis 115   Education Organization -- snaptutorial.comCis 115   Education Organization -- snaptutorial.com
Cis 115 Education Organization -- snaptutorial.com
 
Chapter 16-spreadsheet1 questions and answer
Chapter 16-spreadsheet1  questions and answerChapter 16-spreadsheet1  questions and answer
Chapter 16-spreadsheet1 questions and answer
 
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paperInformatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
Informatics practises 12th CBSE INDIA 2012-2013 MAIN EXAM paper
 
E7
E7E7
E7
 
Cmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.comCmis 102 Success Begins / snaptutorial.com
Cmis 102 Success Begins / snaptutorial.com
 
Cmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.comCmis 102 Enthusiastic Study / snaptutorial.com
Cmis 102 Enthusiastic Study / snaptutorial.com
 
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
Computer paper 3 may june 2004 9691 cambridge General Certificate of educatio...
 
Cmis 102 Effective Communication / snaptutorial.com
Cmis 102  Effective Communication / snaptutorial.comCmis 102  Effective Communication / snaptutorial.com
Cmis 102 Effective Communication / snaptutorial.com
 
Cis 115 Enhance teaching / snaptutorial.com
Cis 115  Enhance teaching / snaptutorial.comCis 115  Enhance teaching / snaptutorial.com
Cis 115 Enhance teaching / snaptutorial.com
 
Mcs 011 ignou question paper c language
Mcs 011 ignou question paper c languageMcs 011 ignou question paper c language
Mcs 011 ignou question paper c language
 
CIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.comCIS 115 Become Exceptional--cis115.com
CIS 115 Become Exceptional--cis115.com
 

Dernier

How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...SOFTTECHHUB
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environmentelijahj01012
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreNZSG
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Peter Ward
 
Supercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsSupercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsGOKUL JS
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxran17april2001
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers referencessuser2c065e
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFChandresh Chudasama
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerAggregage
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdfChris Skinner
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdfMintel Group
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSendBig4
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfDanny Diep To
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Americas Got Grants
 
Entrepreneurship lessons in Philippines
Entrepreneurship lessons in  PhilippinesEntrepreneurship lessons in  Philippines
Entrepreneurship lessons in PhilippinesDavidSamuel525586
 

Dernier (20)

How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
How To Simplify Your Scheduling with AI Calendarfly The Hassle-Free Online Bo...
 
Cyber Security Training in Office Environment
Cyber Security Training in Office EnvironmentCyber Security Training in Office Environment
Cyber Security Training in Office Environment
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource Centre
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...
 
Supercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebsSupercharge Your eCommerce Stores-acowebs
Supercharge Your eCommerce Stores-acowebs
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
BAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptxBAILMENT & PLEDGE business law notes.pptx
BAILMENT & PLEDGE business law notes.pptx
 
Excvation Safety for safety officers reference
Excvation Safety for safety officers referenceExcvation Safety for safety officers reference
Excvation Safety for safety officers reference
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDF
 
Driving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon HarmerDriving Business Impact for PMs with Jon Harmer
Driving Business Impact for PMs with Jon Harmer
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.com
 
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdfGUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
GUIDELINES ON USEFUL FORMS IN FREIGHT FORWARDING (F) Danny Diep Toh MBA.pdf
 
Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...Church Building Grants To Assist With New Construction, Additions, And Restor...
Church Building Grants To Assist With New Construction, Additions, And Restor...
 
Entrepreneurship lessons in Philippines
Entrepreneurship lessons in  PhilippinesEntrepreneurship lessons in  Philippines
Entrepreneurship lessons in Philippines
 

Bis 311 final examination answers

  • 1. BIS 311 FINAL EXAMINATION ANSWERS To Download tutorial Copy and Paste belowLink into your Browser https://www.essayblue.com/downloads/bis-311-final-examination-answers/ for any inquiry email us at ( essayblue@gmail.com) BIS 311 Final Examination Answers Question 1.1. (TCO 1) In the systems development life cycle, the goalof the design activity is to _____. (Points : 5) determine exactly what a new or modified information system should do create a set of detailed plans or blueprints for the system build the application ensure that the application works as desired Question 2.2. (TCO 2) To plan the code for a procedure, _____ uses standardized symbols to show the steps the procedure must follow to reach its goal. (Points : 5) pseudocode a TOE chart a class diagram a flowchart Question 3.3. (TCO 3) Computer memory locations where programmers can temporarily store and change data while an application is running are _____. (Points : 5) classes literals
  • 2. constants variables Question 4.4. (TCO 3) In Visual Basic, which of the following correctly declares a named constant with the name strCOURSE that contains the string value “BIS311”? (Points : 5) Const strCOURSE As String = “BIS311” String Constant strCOURSE = “BIS311” Dim strCOURSE As “BIS311” Const String “BIS311” As strCOURSE Question 5.5. (TCO 5) A _____ structure is used in an application when a decision needs to be made, followed by an action derived from that decision. (Points : 5) selection sequence repetition interrogative Question 6.6. (TCO 5) If intQty contains 60, what will be the value of intPrice after executing the following code? Select Case intQty Case 1 To 50 intPrice = 10 Case 51 To 100 intPrice = 8 Case > 100 intPrice = 6 Case Else
  • 3. intPrice = 0 End Select (Points : 5) 10 8 6 0 Question 7.7. (TCO 6) The loop below is classified as a(n) _____ loop. Dim intNum As Integer = 2 Do MsgBox( intNum.ToString() ) intNum *= intNum Loop While intNum < 1000 (Points : 5) infinite pretest posttest counter-controlled Question 8.8. (TCO 6) Which element of the following array contains the value “Red”? Dim strColors() As String = {“Red”, “Green”, “Blue”, “Yellow”} (Points : 5) strColors(4) strColors(3) strColors(1) strColors(0)
  • 4. Question 9.9. (TCO 7) The _____ of an independent Sub procedure usually begins with the Private keyword. (Points : 5) Call statement argument list procedure footer procedure header Question 10.10. (TCO 7) In the following function, what should go in the blank in the function header? Private Function GetRatio(dblNumerator As Double, dblDenominator As Double) _____ Dim dblRatio As Double dblRatio = dblNumerator/dblDenominator Return dblRatio End Function (Points : 5) ByVal ByRef As Integer As Double Question 11.11. (TCO 2) An application for a shipping company needs to keep track of the length, width, height, and weight of packages. Using object-oriented programming methods, in this application, the weight of a package would be represented by a(n) _____. (Points : 5) object attribute method class
  • 5. Question 12.12. (TCO 4) (TCO 4) Consider the following class definition: Public Class Box Public Length As Double Public Width As Double Public Height As Double Public Function GetVolume() As Double Return Length * Width * Height End Function End Class If crate is an instance of Box, which of the following statements assigns a value to a property? (Points : 5) crate.Length = 42 dblVolume = crate.GetVolume() crate.GetVolume(42) Call crate.Length(42) Question 13.13. (TCO 8) A programmer makes a connection between a Visual Basic application and a database using the _____. (Points : 5) Database Integration tool data box control Data Source Configuration Wizard Dataset Designer Question 14.14. (TCO 9) The components of a two-tier architecture are _____. (Points : 5) the primary and the secondary the client and the server the master and the subordinate
  • 6. the alpha and the beta Page 2 Question 1. 1. (TCOs 1, 2, and 3) You have been asked to develop an application with the following business requirements: The user will enter an original price. When the user clicks a Calculate Sale Price button, the application will calculate a sale price by multiplying the original price by 80%. The application will display the sale price to the user. (a) Develop a TOE chart for this application. You do not need to put it in table form, but list what would go in the Task column, what would go in the Object column, and what would go in the Event column for each row of the chart. Your chart should have at least three rows: one for input, one for processing, and one for output. (b) Write pseudocode for the button-click event procedure in this application. (c) Identify two variables and one constant that you would declare for this application. For each, provide a variable or constant name that follows the syntax rules of Visual Basic and the Hungarian naming convention, and an appropriate Visual Basic data type. (Points : 30) Spellchecker Question 2. 2. (TCO 5) Consider the following Visual Basic code snippet: If intScore >= 100 Then lblMessage.Text = “Great job!” Else lblMessage.Text = “Better luck next time” End If (a) What type of control structure is this? Be as specific as possible, and justify your answer. (b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
  • 7. (c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30) Spellchecker (a) What type of control structure is this? Be as specific as possible, and justify your answer. The control structure is an if statement that returns a message based on the value of the variable intScore. (b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101. For 99, the message displayed on the screen will be “Better luck next time” because 99 is less than 100. For 100, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e. 100 =100 evaluates to true. For 101, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e 101 >100 evaluates to true. (c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30) Question 3. 3. (TCO 6) Consider the following code snippet: Dim intTotal As Integer = 0 For intNum As Integer = 1 To 5 intTotal += intNum Next intNum MessageBox.Show( intTotal.ToString() ) (a) What type of control structure is this? Be as specific as possible, and explain your answer. (b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
  • 8. (c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points : 30) Spellchecker (a) What type of control structure is this? Be as specific as possible, and explain your answer. The control structure is a “for” loop that controls the execution of the condition and incrementing the intNum variable by 1, until the value 5 is reached. (b) Identify the counter variable and the accumulator variable in this loop. Explain your answer. The counter variable is intNum as it is increased by one within the loop and used to control the loop while the accumulator variable is intTotal because it stores the incremented value. (c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points: 30) The variable intTotal is initialised to 0, then the counter variable (intNum) is increased by one at each step until it obtains a value 5, then the loop stops. The message displayed on the screen will be: 0 1 2 3 4 5. Question 1. 1. (TCO 7) (a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function. (b) Describe a specific example of using a Sub procedure when you would pass a variable by value. (c) Describe a specific example of using a Sub procedure when you would pass a variable b y reference. (Points : 30) Spellchecker (a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function. Passing by value refers to a method of referencing variables by initialising them to real values while passing by reference is a reference method that involves assigning values to functions through other variables. (b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
  • 9. Function sum { Result=12 ;} (c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30) Function sum { a=10, b=12; Sum=a+b ;} Question 2. 2. (TCOs 2 and 4) You have been asked to develop an application to keep track of employees’ scheduled vacations and ensure that all vacations are approved by the manager and that each employee does not exceed his or her maximum annual vacation time. Maximum annual vacation time is determined by the number of years the employee has worked for the firm. You are using object-oriented programming (OOP) to develop this application. (a) Describe at least two classes that you could use in this application and what each class would represent in the real world. (b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property. (c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30) Spellchecker (a) Describe at least two classes that you could use in this application and what each class would represent in the real world. (b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property. (c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
  • 10. Question 3. 3. (TCOs 8, 9, and 10) (a) Explain the roles of primary and foreign keys in a relational database. (b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database. (c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30) Spellchecker (a) Explain the roles of primary and foreign keys in a relational database. (b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database. . (c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)