• We need your support!

    We are currently struggling to cover the operational costs of Xtremepapers, as a result we might have to shut this website down. Please donate if we have helped you and help make a difference in other students' lives!
    Click here to Donate Now (View Announcement)

computer studies questions

Messages
11
Reaction score
0
Points
11
hello sir/madam,

can i get some tips or expected questions on computer studies which is on thursday 28 october.
 
Messages
11
Reaction score
0
Points
11
i think you must work all the papers as cambridge has no more new questions.work especially june 2006 and 2007.
 
Messages
123
Reaction score
0
Points
0
Guys! Whats the code in algorithm to arrange a set of numbers in ascending or descending? i know there is an easier way than writing 100's of line which will make the examiner :evil:
 
Messages
2
Reaction score
0
Points
0
revise well on how to create an expert system and how to use an expert system... also dnt forget proces control..
 
Messages
91
Reaction score
0
Points
16
d0nt forget to revise on trace tables and system flowcharts...these types of questions are recurring..!! :p
 
Messages
22
Reaction score
0
Points
0
mimmi said:
Guys! Whats the code in algorithm to arrange a set of numbers in ascending or descending? i know there is an easier way than writing 100's of line which will make the examiner :evil:

Input A,B,C,D
If A>B then
T=B
B=A
A=T
Endif
If A>C then
T=C
C=A
A=T
Endif
If A>D then
T=D
D=A
A=T
Endif
If B>C then
T=C
C=B
B=T
Endif
If B>D then
T=D
D=B
B=T
Endif
If C>D then
T=D
D=C
C=T
Endif
Output A,B,C,D

Thats for acceding order, i think
 
Messages
123
Reaction score
0
Points
0
Azheen!! O_O

What if it's a 1000 numbers >_>

And what's the code for making the program wait for let's say 24hrs?
 
Messages
389
Reaction score
202
Points
53
Yea work exam papers for the year 2005, 2006, 2007 !
Remember the answers !
U might get a distinction!
 
Messages
22
Reaction score
0
Points
0
mimmi said:
Azheen!! O_O

What if it's a 1000 numbers >_>

And what's the code for making the program wait for let's say 24hrs?

for 1000 numbers, array concept should be used. i don't know how :(
and i once used 'timer=x' at school but cant recall how it was done...
 
Messages
35
Reaction score
0
Points
16
axhynic said:
mimmi said:
Guys! Whats the code in algorithm to arrange a set of numbers in ascending or descending? i know there is an easier way than writing 100's of line which will make the examiner :evil:

Input A,B,C,D
If A>B then
T=B
B=A
A=T
Endif
If A>C then
T=C
C=A
A=T
Endif
If A>D then
T=D
D=A
A=T
Endif
If B>C then
T=C
C=B
B=T
Endif
If B>D then
T=D
D=B
B=T
Endif
If C>D then
T=D
D=C
C=T
Endif
Output A,B,C,D

Thats for acceding order, i think

try putting loops ... btw, it wont come for 1000 numbers o_O

loops such as
For Counter,
While Do, And
Repeat UNTIL

Use the forcounter its the easiest.... for instance to find the total number of negeative numbers in 1000 numbers below is the algorithim

Neg = 0
For Counter = 1 to 1000
Input Number
If Number < 0 THEN
Neg = Neg + 1
Next Counter.
Output Neg.


then ask me anything regarding algorithms ;)
btw, im doing my olevel next year im in year 9 xD
 
Messages
22
Reaction score
0
Points
0
examman said:
try putting loops ... btw, it wont come for 1000 numbers o_O

loops such as
For Counter,
While Do, And
Repeat UNTIL

Use the forcounter its the easiest.... for instance to find the total number of negeative numbers in 1000 numbers below is the algorithim

Neg = 0
For Counter = 1 to 1000
Input Number
If Number < 0 THEN
Neg = Neg + 1
Next Counter.
Output Neg.


then ask me anything regarding algorithms ;)
btw, im doing my olevel next year im in year 9 xD

could you try using a for counter, while do or repeat until to input 4 numbers and output them in descending order?

bamteck said:
It was a decent paper ! Isn't it?

i lost myself at question 19 :x
the algorithm was a piece of cake but overall, a decent paper :)
 
Messages
123
Reaction score
0
Points
0
Question 19? o_O

i only had problem with 1 mark! everything else IS CORRECT lol
 
Messages
599
Reaction score
3,840
Points
253
mimmi said:
Guys! Whats the code in algorithm to arrange a set of numbers in ascending or descending? i know there is an easier way than writing 100's of line which will make the examiner :evil:
for next statement is best 1
eg print even nos in desc order from 100 to 1
1 start
2 for a= 100 to 1 step -2
3 print a
4 next a
5 end...
as simple as that
 
Top