

Software Development Qs
#1
Posted 15 September 2005 - 03:13 PM
(b) State 2 features which make modules portable.
2- (a) Explain what robust and fit for the purpose means.
(b) Describe 2 features of a structured listing.
3- Explain what is meant by the term "passed by value" in relation to paramters.
4- Use code of programming eviroment with which you are familiat to illustrate ONE example of a syntax error and ONE logic error.
*If you can help with some of the Qs, it'd be ok.
#2
Posted 15 September 2005 - 03:47 PM
2 features that make them portable is that they are external to any program and they compiled so can be used on any computer
2a) robust means the program can handle problems like unexpected data and other run time errors and not crash
fit for purpose means the program meets the specification for the project
3) passed by value means in parameter passing that when the procedure calling the variable asks for it a copy of the variable is made and used by the procedure. This means the variable isnt passed back out to the main part of the program
4) syntax error in comal would be number1 == 4
one logic error would be
repeat
number1 = 1
until number1 = 5
logic error as would creat an infinite loop, not good!
If i am not here i am somewhere else
#4
Posted 15 September 2005 - 04:13 PM
Describe 2 features of a structured listing.
#5
Posted 15 September 2005 - 04:24 PM
structured listing has tabbing for procedures and functions and such like
also has the colour coding for key words
If i am not here i am somewhere else
#7
Posted 15 September 2005 - 04:26 PM
#8
Posted 15 September 2005 - 08:35 PM
PRUNT "Enter a number"
So simple, and yet when our teacher read that out as a possible answer I found it hilarious!

#9
Posted 21 September 2005 - 08:45 PM
(b) State 2 features which make modules portable.
2- (a) Explain what robust and fit for the purpose means.
(b) Describe 2 features of a structured listing.
3- Explain what is meant by the term "passed by value" in relation to paramters.
4- Use code of programming eviroment with which you are familiat to illustrate ONE example of a syntax error and ONE logic error.
*If you can help with some of the Qs, it'd be ok.
#10
Posted 21 September 2005 - 09:03 PM
(b) State 2 features which make modules portable.
A module library is a collection of pre-written procedures/functions which have been tested for correctness, reliability etc. These would be used to help create /modify other programs more quickly. The code in such libraries is generally high-level and so compilation is not involved.
Modules are portable if the code is high-level, and, if the procedures are closed and use parameter passing they are also easier to modify, so increasing their portability. High level code that conforms to some recognised standard for the language used also aids portability.
#11
Posted 21 September 2005 - 10:04 PM
i get the impression u see a module library as a file where u copy and paste procedures. Where it really is a file which to declare in the main part of ur project which library you will be calling to
a very good example of this is in JAVA but also VB uses this a lot when u wish to use parts of windows in your project
If i am not here i am somewhere else
#13
Posted 22 September 2005 - 11:19 AM
however there is an important point here, for higher you seriously dont need to know that much detail on a module library
If i am not here i am somewhere else
#14
Posted 22 September 2005 - 03:15 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users