Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 8 Weeks Ago, 2 Days Ago |
Questions Answered: | 7559 |
Tutorials Posted: | 7341 |
BS,MBA, PHD
Adelphi University/Devry
Apr-2000 - Mar-2005
HOD ,Professor
Adelphi University
Sep-2007 - Apr-2017
CIS 267 Week 9 Discussion 1
"Passing Data" Please respond to the following:
·        The concept of parameter passing is critical in writing and maintaining software. Passing arguments is a standard method used in all programming languages. Explain the difference when you use these two (2) methods: passing an argument by value and passing data by reference. Provide an example of each type.
·        Give an example of how you could send data to a subroutine. Do you expect the data to change or remain the same?
CIS 267 Week 9 Discussion 2
"Exception Error Trapping" Please respond to the following:
·        No program will work 100% of the time. It is important for a program to be able to handle various types of unexpected errors. Try-Catch has multiple ways to trap the failures. Write a Visual Basic snippet example to trap an error. Consider: running out of disk space, database failure, and hard drive failures.
Â
·        After trapping an error, describe some of the basic factors that need to be considered in order to determine if you would allow the program to continue or stop. (For example, if you ran out of disk space writing out banking transactions, it would make sense to stop the program and display an error message.) Develop two (2) best practices using various situations to stop a program from continuing.
C-----------IS -----------267----------- We-----------ek -----------8 D-----------isc-----------uss-----------ion----------- 1 -----------and----------- 2 ----------- -----------Â -----------