Unisa Fac1601 Assignment 2 Semester 2 2015

1. Students, do NOT click on any thread topics which are web links or adverts (you may risk infecting your PC/phone with a virus). If the thread topic does not make sense to you then DO NOT CLICK IT!

2. Do NOT post ADVERTS in the MAIN FORUM - you could be banned.

3. There are many SCAMMERS selling notes packs etc which are simply UNISA material recycled. For your OWN safety - DO NOT PAY ANY MONEY to anyone selling notes on the forum.
 ForumTopics Replies Last Post
If the subject specific forum you want does not exist, post your messages in here.
604 8331
Anything related to Accounting Systems in a Computer Environment (AIN1501/DPA101P)
65 485
Anything to do with Advanced Theory of Auditing and the Performing of the Audit Process (AUE303R)
31 83
by nhla | 03/01/2018 10:08
Anything to do with Advertising And Public Relations (COM3708)
3 7
Anything to do with Air Transport (TRL3703)
4 28
by Yuni | 09/07/2017 07:05
Anything to do with Application of Financial Management Techniques (MAC3702)
31 700
by Jeetd | 01/20/2018 10:47
Anything to do with Application Of Management Accounting Techniques (MAC3701)
41 1202
by 7755 | 03/09/2018 13:33
Anything to do with Aspects of Internal Control of Importance to an Auditor (AUE301P)
16 63
Anything to do with Auditing II: Module 1 (AUD2M1W)
3 4
by Tavy | 02/07/2013 20:25
Anything to do with Banking: Introduction (BAN1501)
8 125
Anything to do with Business Management 1A (MNB1501/MNB101D)
99 972
by nhla | 08/15/2017 18:01
Anything to do with Business Management 1B (MNB1601/MNB102E)
116 1685
by Gamaz | 02/18/2017 15:25
Anything to do with Commercial Law 1A (CLA1501/CLA101S)
115 1083
Anything related to Commercial Law 1B (CLA1502/CLA104V)
49 356
Anything to do with Commercial Law 2A (CLA2601/CLA201V)
39 293
Anything to do with Commercial Law 2B (CLA2602/CLA202W)
36 274
by CA12 | 07/11/2017 07:46
Anything to do with Communication Context and Applications (COM1502)
3 4
Anything to do with Compensation Management (MNH306K/HRM3705)
10 365
by yika | 01/26/2018 09:28
Anything to do with Contemporary Issues in Human Resource Management (HRM3704/MNH301E)

Assignment 2

Re: Assignment 2
March 22, 2010 06:36PM
IP/Host: ---.umts.vodacom.co.za
Registered: 9 years ago
Posts: 1,625
Rating: 0
cbrunsdonza Wrote:
-------------------------------------------------------
><snip>
>
> ... ok done, now I can concentrate on my
> ICT262{1,2}

damn, you're doing those too? damn! i though i was a loner, ah well,!
Re: Assignment 2
March 22, 2010 11:23PM
IP/Host: ---.telkomadsl.co.za
Registered: 9 years ago
Posts: 423
Rating: 0
@cbrunsdonza

Are ICT2621/2 using the same book, or has that changed now?
Re: Assignment 2
March 23, 2010 05:02AM
IP/Host: ---.umts.vodacom.co.za
Registered: 9 years ago
Posts: 1,625
Rating: 0
^-^same book: Systems analysis and design in a changing world, 5th edition.

how do i submit the INF assignment, screen shots of the code and of the interface, or the code itself + screen shot of the interface, or just the interface?
Re: Assignment 2
March 23, 2010 01:46PM
IP/Host: 198.54.206.---
Registered: 9 years ago
Posts: 423
Rating: 0
I did a screen shotof the object tree from all three question and a also a screen shot of UI at design time for Q 1 and 2 and run time for Q3 (as asked).
I copied and pasted the code requested and formated to courier, so nesting and indenting are shown correctly.

In question 2, they also mentioned the randomize function must be in the forms OnShow event, but they did not ask it as a question. So how they to know you did this? So I also copied this procedure with the UI and objects screen shots.
Re: Assignment 2
March 23, 2010 04:07PM
IP/Host: ---.telkomadsl.co.za
Registered: 7 years ago
Posts: 3
Rating: 0
Question 2.7 user can only add 5 names, the constant and disabling the two buttons?
Re: Assignment 2
March 23, 2010 07:46PM
IP/Host: ---.telkomadsl.co.za
Registered: 9 years ago
Posts: 423
Rating: 0
Quote

2.7) Just do a check after each name added to make sure you have not reached the count. If you have reached the count then disable the button.
Umm, The buttons are disabled before adding names. When there is at least one name then you enable the buttons.

That is the way I understand it.
Re: Assignment 2
March 23, 2010 08:05PM
IP/Host: ---.telkomadsl.co.za
Registered: 7 years ago
Posts: 3
Rating: 0
This is how far i've managed to go:-


procedure TForm1.btnAddNamesClick(Sender: TObject);
const maxbookings = 5;
var
stadium: string;
NoOfStadiums: integer;
begin
stadium := InputBox('FIFA Stadium', 'Please enter the name of the stadium:', '');
lstStadiums.Items.Add(stadium);
end;
end.

(what else do you code afterwards coz anything i try raises an error. what have i done wrong in the code so far)
Re: Assignment 2
March 23, 2010 10:18PM
IP/Host: ---.telkomadsl.co.za
Registered: 9 years ago
Posts: 423
Rating: 0
@aviwe.
There is nothing wrong with that code?

What are you trying that raises an error?

Also, because a max of 5 stadia must be entered, you need to check how many you have already before using the inputbox in case there are five already entered.
Re: Assignment 2
March 25, 2010 08:52PM
IP/Host: ---.telkomadsl.co.za
Registered: 7 years ago
Posts: 1
Rating: 0
Hey guys!!!

I am stuck on the 2.7 & 2.8 parts of the assignment.

My code works for 2.7 & everything but how am i meant to limit it to 5 inputs?

My code also does everything its meant to for 2.8 but how are u meant to work out the total cost from the random numbers generated? It keeps telling me that it cant convert the string into integer cause its not compatable.

Help!!
Re: Assignment 2
March 25, 2010 08:55PM
IP/Host: ---.umts.vodacom.co.za
Registered: 9 years ago
Posts: 1,625
Rating: 0
gooi your code here and let us have a go at it,

begin//make sure you gooi it like this;{so we can have a go at it};
Re: Assignment 2
March 28, 2010 08:30PM
IP/Host: ---.umts.vodacom.co.za
Registered: 9 years ago
Posts: 1
Rating: 0
Hi folks...

I'm stuck on part 2.8 of assignment 2 and don't know how to proceed...
I'd be extremely grateful if someone could just point me in the right direction...

Thanks...
Rid1...
Re: Assignment 2
March 28, 2010 11:23PM
IP/Host: ---.telkomadsl.co.za
Registered: 9 years ago
Posts: 423
Rating: 0
Quote
45741549
Hi folks...

I'm stuck on part 2.8 of assignment 2 and don't know how to proceed... confused smiley
I'd be extremely grateful if someone could just point me in the right direction...

Thanks...
Rid1...

Ex 7.2 step 5 can be used as a basic structure for the answer.
Yeah, ICT2621 is easy, but I'm behind on ICT2622 with the pretty pictures. Going to have to concentrate seriously on this one. As a heads up, learn how to write (and draw) stuff by hand as no computers in the exam.

My worst exam was 2yrs back, COS111, where I had to do a basic C++ app and struggled to write the code by hand. Took me 30minutes to do a basic hello world.

--------------------------------------------------------------
Don't Assume Everything is a Nail Just Because You Have a Really Big Hammer
I did a cut 'n paste of the code, and then screenshots of the UI as per their requirements.

Not 100% sure if I supplied the correct ones (object Tree). Its seems that for Q3 you need to supply a screenshot of your actual AP in progress, where in Q1 you supply just a screenshot of the form designer.

Guys, please correct me if you feel I'm wrong. We are here to help.

--------------------------------------------------------------
Don't Assume Everything is a Nail Just Because You Have a Really Big Hammer
may I ask for help with regard to this question 2.7 & 2.8
I have not got a grasp of the topic yet and time's hammering me down with ICT2621/2 and FAC1601 breathing down my neck.
2.7) Just do a check after each name added to make sure you have not reached the count. If you have reached the count then disable the button.

I also added a check to make sure the name added was not blank - habit.

2.8) You need to randomise your rand generator!!!!!!!!!!

--------------------------------------------------------------
Don't Assume Everything is a Nail Just Because You Have a Really Big Hammer
basicgerm Wrote:
-------------------------------------------------------
> may I ask for help with regard to this question
> 2.7 & 2.8
> I have not got a grasp of the topic yet and time's
> hammering me down with ICT2621/2 and FAC1601
> breathing down my neck.


Personally I would just moving on with ICT262{1,2} as its more time consuming. You can always come back to Delphi next week.

--------------------------------------------------------------
Don't Assume Everything is a Nail Just Because You Have a Really Big Hammer
kiolb Wrote:
-------------------------------------------------------
> 2.7) Just do a check after each name added to make
> sure you have not reached the count. If you have
> reached the count then disable the button.
> Umm, The buttons are disabled before adding names.
> When there is at least one name then you enable
> the buttons.
>
> That is the way I understand it.


Sorry, your right. You need to enable the button after the first entry has been added. Can see my brain has moved on to other modules

--------------------------------------------------------------
Don't Assume Everything is a Nail Just Because You Have a Really Big Hammer
leandi90 Wrote:
-------------------------------------------------------
> Hey guys!!!
>
> I am stuck on the 2.7 & 2.8 parts of the
> assignment.
>
> My code works for 2.7 & everything but how am i
> meant to limit it to 5 inputs?

Use a constant (remember) and before each input, check the count of your list. If your list has fewer than 5 items, then proceed with the input box, if its already five (or more?) then do nothing.



> My code also does everything its meant to for 2.8
> but how are u meant to work out the total cost
> from the random numbers generated? It keeps
> telling me that it cant convert the string into
> integer cause its not compatable.

>
> Help!!

IntToStr

Remember this and type it out a hundred times. I suspect that we will get this in our exams as its use pops up too often during this module.

--------------------------------------------------------------
Don't Assume Everything is a Nail Just Because You Have a Really Big Hammer
Hi Guys

Please help!

Im having trouble with converting the values from sedScore1 to string in lblResult?

...
begin
Score1 := sedScore1.Value;
Score2 := sedScore2.Value;
if Score1 > Score2 then
begin
lblResult.Caption := edtTeamName1.Text + ' beat ' + edtTeamName2.Text + InToStr(sedScore1.Value) ...

Thanks

Krish
...

0 comments

Leave a Reply

Your email address will not be published. Required fields are marked *