Qualification > Miscellaneous

Computer studies help HERE only !!

<< < (14/55) > >>

astarmathsandchemistry:

--- Quote from: eddie_adi619 on May 24, 2009, 11:35:37 am ---k..u handle it..

but i need the paper for my reference..
don't worry..
-ADi

--- End quote ---
sorry couldnt find it i got the hard copy

Igcseboy:
How to solve these algorithm questions in general like wat shud be the approach

and wat are the most important topics tht we shud concentrate on
!!!!!!

Ghost Of Highbury:
u have to look at the question very carefully...and identify wat type of algo. it might be
think abt wat to use...maybe a loop...if so ...which 1?

also, keep it simple...don't complicate ur algorithms using many loops...u maybe able to merge all the loops to from 1 loop

if u don't answer the algo. question correctly, still u have good chances of getting some marks...if ur logic, loop or any imp. statement is correct..

chk out the markscheme for more help..

hope it helped u
thanks :)

astarmathsandchemistry:

--- Quote from: cactus_360 on May 24, 2009, 11:29:16 am ---plz  post da the answer 4 algo  nov 2001

--- End quote ---
cactus here is your answer:

   IF customer is employee THEN
      check type of product
      IF product is electrical THEN
         discount is 10%
   else
        input number of years of work
        IF number of years of works is greater than or equal to 5 THEN
            discount is 20%
   else
            discount is only 10%
  end if
  end if
  else    NO discount (THIS IS FOR THE IF THAT SAYS IF IT IS AN EMPLOYEE BECAUSE ONLY THEM GAIN DISCOUNT)
  end if

HOPE THIS HELPED :D
  end if
:D

bebo26:
hey rakan, thanks for the warm welcome man.. hehe ;D
nice answer up here (wonder who helped u out wid it???? :D)
any way.. i thout id just post in a more presentable way so that it is clear which commands belong to which if statment
.. here:

Check customer status
IF customer is employee THEN
         check type of product
         IF product is electrical THEN
                  discount is 10%
        else
                  input number of years of work
                  IF number of years of works is greater than or equal to 5 THEN
                            discount is 20%
                  else
                            discount is only 10%
                  end if
        end if
else   
        NO discount
end if

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version