Author Topic: Computer studies help HERE only !!  (Read 34515 times)

Offline CrEaTuRe_X

  • SF Immigrant
  • **
  • Posts: 63
  • Reputation: 117
Re: Computer studies help HERE only !!
« Reply #75 on: May 24, 2009, 01:42:49 pm »

http://www.freeexampapers.com/Dndex.php?d=SUdDU0UvQ29tcHV0ZXIgU3R1ZGllcy9DSUUvMjAwNSBKdW4=&catagory=
This is the paper ( may/june 05.)
Last question

This is what I wrote, Need someone to tell me weather correct or not.Thankyou.

Set "Distinction" "Mert" "Pass" "Fail"

While mark <= 25 do
Input mark
  If mark >69 than "Distinction"
  if mark >60 AND <69 than "Mert"
  If mark >50 AND <59 than "Pass"
  End if
  Print Distinction Merit Pass Fail

 






Offline astarmathsandchemistry

  • SF Citizen
  • ***
  • Posts: 293
  • Reputation: 1135
  • Gender: Male
  • 10/06/09---> BEST DAY EVER <3
Re: Computer studies help HERE only !!
« Reply #76 on: May 24, 2009, 01:46:59 pm »

http://www.freeexampapers.com/Dndex.php?d=SUdDU0UvQ29tcHV0ZXIgU3R1ZGllcy9DSUUvMjAwNSBKdW4=&catagory=
This is the paper ( may/june 05.)
Last question

This is what I wrote, Need someone to tell me weather correct or not.Thankyou.

Set "Distinction" "Mert" "Pass" "Fail"

While mark <= 25 do
Input mark
  If mark >69 than "Distinction"
  if mark >60 AND <69 than "Mert"
  If mark >50 AND <59 than "Pass"
  End if
  Print Distinction Merit Pass Fail

 






i am sorry but this is completely wrong.......correct answer.....................
THERE ARE ABSOLUTELY NO BOUNDARIES FOR ANYTHING

Offline Ghost Of Highbury

  • O_o_O lala!
  • SF Farseer
  • *******
  • Posts: 4096
  • Reputation: 41428
  • Gender: Male
  • Namaskaram!
Re: Computer studies help HERE only !!
« Reply #77 on: May 24, 2009, 01:49:11 pm »
i guess its this way
-------------------------------
we take sum, average --> for average...
and as the markscheme says...min and max...too,,,,to compare the values and swap them accordingly..
we limit count to 24 as there are 24 hours in a day..and they want the readings hourly
the markscheme sets the min too 100  and max to 0....because a normal temperature reading for a day (0-50) will fall atlesast in 1 range
============================
sum = 0
min = 100
max = 0
count = 1 (initially)
let the temp be x

for (count=1;count<=24;count +1)
   {
     input x
     F= (x*1.8) + 32
     sum = sum + F
     if F <min, min = F
     if F >max, max = F
(note theres no else)
increment count
                                      }

average = sum/24
print average, max, min

divine intervention!

Offline astarmathsandchemistry

  • SF Citizen
  • ***
  • Posts: 293
  • Reputation: 1135
  • Gender: Male
  • 10/06/09---> BEST DAY EVER <3
Re: Computer studies help HERE only !!
« Reply #78 on: May 24, 2009, 01:52:47 pm »
i guess its this way
-------------------------------
we take sum, average --> for average...
and as the markscheme says...min and max...too,,,,to compare the values and swap them accordingly..
we limit count to 24 as there are 24 hours in a day..and they want the readings hourly
the markscheme sets the min too 100  and max to 0....because a normal temperature reading for a day (0-50) will fall atlesast in 1 range
============================
sum = 0
min = 100
max = 0
count = 1 (initially)
let the temp be x

for (count=1;count<=24;count +1)
   {
     input x
     F= (x*1.8) + 32
     sum = sum + F
     if F <min, min = F
     if F >max, max = F
(note theres no else)
increment count
                                      }

average = sum/24
print average, max, min


oh so you just put the counter to 24 and do the rest like usual??
thanks man really helped
+rep :D
THERE ARE ABSOLUTELY NO BOUNDARIES FOR ANYTHING

Offline Ghost Of Highbury

  • O_o_O lala!
  • SF Farseer
  • *******
  • Posts: 4096
  • Reputation: 41428
  • Gender: Male
  • Namaskaram!
Re: Computer studies help HERE only !!
« Reply #79 on: May 24, 2009, 01:56:39 pm »
hey creatur x ... its not completely wrong..ur logic is still correct..
only minor changes required..

========
Set m, p , d, f

While x <= 25 do (don't use mark again here, use another variable like count)
Input mark
  If mark >69 then then d=d+1
  else if mark >= 60 AND <=69 then m=m+1
  else If mark >=50 AND <=59  then p=p+1
  else f=f+1
  
print m, p, d, f
divine intervention!

Offline Ghost Of Highbury

  • O_o_O lala!
  • SF Farseer
  • *******
  • Posts: 4096
  • Reputation: 41428
  • Gender: Male
  • Namaskaram!
Re: Computer studies help HERE only !!
« Reply #80 on: May 24, 2009, 02:00:09 pm »
u identified the result for each student but forgot to count them..u also forgot to include 60 and 50...

divine intervention!

Offline astarmathsandchemistry

  • SF Citizen
  • ***
  • Posts: 293
  • Reputation: 1135
  • Gender: Male
  • 10/06/09---> BEST DAY EVER <3
Re: Computer studies help HERE only !!
« Reply #81 on: May 24, 2009, 02:20:49 pm »
i HAVE THIS FOR CREATURE'S ANSWER..........


Set DISTINCTION, MERIT, PASS, AND FAIL TO 0
SET COUNTER TO 0
While counter is < 25....DO
   Input mark
   Case mark of
         greater than 69=distinction=distinction+1
         greater than 60 or less than 69=merit=merit+1
         greater than 50 or less than 59=pass=pass+1
   otherwise
         Fail=fail+1
   end case
counter=counter+1
end while
PRINT Distinction merit pass or fail


I HOPE THIS IS CORRECT AND IT HELPS :D

THERE ARE ABSOLUTELY NO BOUNDARIES FOR ANYTHING

Offline Ghost Of Highbury

  • O_o_O lala!
  • SF Farseer
  • *******
  • Posts: 4096
  • Reputation: 41428
  • Gender: Male
  • Namaskaram!
Re: Computer studies help HERE only !!
« Reply #82 on: May 24, 2009, 02:25:59 pm »
thats correct rekomeko ... only a few minor changes..
=========
Set DISTINCTION, MERIT, PASS, AND FAIL TO 0
SET COUNTER TO 0
While counter is <= 25....DO
   Input mark
   Case mark of
         greater than 69=distinction=distinction+1
         greater than or equal to 60 or less than or equal to 69=merit=merit+1
         greater than or equal to 50 or less than or equal to 59=pass=pass+1
   otherwise
         Fail=fail+1
   end case
counter=counter+1
end while
PRINT Distinction merit pass or fail
divine intervention!

Offline astarmathsandchemistry

  • SF Citizen
  • ***
  • Posts: 293
  • Reputation: 1135
  • Gender: Male
  • 10/06/09---> BEST DAY EVER <3
Re: Computer studies help HERE only !!
« Reply #83 on: May 24, 2009, 02:28:28 pm »
oh ya the equals, thanks for the correction
:D still looking for your papers :)
THERE ARE ABSOLUTELY NO BOUNDARIES FOR ANYTHING

Offline Ghost Of Highbury

  • O_o_O lala!
  • SF Farseer
  • *******
  • Posts: 4096
  • Reputation: 41428
  • Gender: Male
  • Namaskaram!
Re: Computer studies help HERE only !!
« Reply #84 on: May 24, 2009, 02:29:30 pm »
hey thanks bro...

i hope i'm not disturbing you..

if its troubling you..its ok...i'll find it myself
sry
and thank u once again.
divine intervention!

Offline astarmathsandchemistry

  • SF Citizen
  • ***
  • Posts: 293
  • Reputation: 1135
  • Gender: Male
  • 10/06/09---> BEST DAY EVER <3
Re: Computer studies help HERE only !!
« Reply #85 on: May 24, 2009, 02:33:47 pm »
hey thanks bro...

i hope i'm not disturbing you..

if its troubling you..its ok...i'll find it myself
sry
and thank u once again.
noooo man ofcourse ur not disturbing me, i love looking for stuff on the internet haha lolz
NO PROBLEM BRO, :D
THERE ARE ABSOLUTELY NO BOUNDARIES FOR ANYTHING

Offline Ghost Of Highbury

  • O_o_O lala!
  • SF Farseer
  • *******
  • Posts: 4096
  • Reputation: 41428
  • Gender: Male
  • Namaskaram!
Re: Computer studies help HERE only !!
« Reply #86 on: May 24, 2009, 02:35:30 pm »
tks mate
divine intervention!

Offline cactus_360

  • SF Citizen
  • ***
  • Posts: 275
  • Reputation: 61
  • if ......u r a BE........so.....be a.........BEE!!
Re: Computer studies help HERE only !!
« Reply #87 on: May 24, 2009, 04:25:45 pm »
can anyone do the algo for nov 2003!!!!!
Newtons (pimped) Law: Every BOOK continues to be in a state of rest or uniform motion UNLESS and UNTIL  an External or Internal exams COME!!!!!!!!!!!!

Offline Ghost Of Highbury

  • O_o_O lala!
  • SF Farseer
  • *******
  • Posts: 4096
  • Reputation: 41428
  • Gender: Male
  • Namaskaram!
Re: Computer studies help HERE only !!
« Reply #88 on: May 24, 2009, 05:25:02 pm »
heres ur answer...
-------
x- number of values out of range..
y - percentage
-----------------
x=0
repeat
     {
      input number
      if number < 1000 or number > 9999
      then x = x+1
      endif
until count<=50
y = x/50  * 100
print x, y

divine intervention!

Offline sarsam

  • SF Immigrant
  • **
  • Posts: 59
  • Reputation: -1
Re: Computer studies help HERE only !!
« Reply #89 on: May 24, 2009, 10:45:41 pm »
Can anyone tell why do we use firewall?


is this correct answer
firewall is used to prevent any unauthorised programs, users to access our computer?