You are viewing our Forum Archives. To view or take place in current topics click here.
COMPUTING GCSE HELP?!
Posted:
COMPUTING GCSE HELP?!Posted:
Status: Offline
Joined: Dec 22, 201211Year Member
Posts: 172
Reputation Power: 6
Hi, i'm doing a practice GCSE computing coursework. we are using the little man computer. i have never done coursework for computing before so i don't even know if I'm including the right things or setting it out right :/ does anyone know where i can get a example coursework? so i can see what to include. doesn't matter what program they are using i just want to know the correct info i must include and how it should be set out
+
if you know how to use LMC. how would you make a program that when the user inputs a number. it multiplies that number 1-10. so if the user inputs 11. the program outputs 11,22,33,44,55,66,77,88,99 and 110.
thanks any help appreciated
+
if you know how to use LMC. how would you make a program that when the user inputs a number. it multiplies that number 1-10. so if the user inputs 11. the program outputs 11,22,33,44,55,66,77,88,99 and 110.
thanks any help appreciated
#2. Posted:
Status: Offline
Joined: Jan 01, 201113Year Member
Posts: 1,957
Reputation Power: 401
#3. Posted:
Status: Offline
Joined: Dec 22, 201211Year Member
Posts: 172
Reputation Power: 6
Imp wrote Here is a site i found that should help you out.
[ Register or Signin to view external links. ]
When it comes to the program, remember you can only ADD and SUBtract using LMC. using a LOOP for the 1 - 10 should point you in the right direction
thanks for the help but i spent a whole lesson trying to do the multiplication one and i still cant figure out how to code it in LMC do you have any ideas?
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jan 01, 201113Year Member
Posts: 1,957
Reputation Power: 401
Status: Offline
Joined: Jan 01, 201113Year Member
Posts: 1,957
Reputation Power: 401
Limey wroteImp wrote Here is a site i found that should help you out.
[ Register or Signin to view external links. ]
When it comes to the program, remember you can only ADD and SUBtract using LMC. using a LOOP for the 1 - 10 should point you in the right direction
thanks for the help but i spent a whole lesson trying to do the multiplication one and i still cant figure out how to code it in LMC do you have any ideas?
As I said previously, LMC does not have a Multiplication function. It uses memory allocations and accumulators.
so you need to LOOP through 10 times ADDing the value entered to a total. OUTputting the total each time.
(Please check out the capital letters) I will not give you the complete function. But ready the Wikipedia Page on LMC for help on the LOOP you will require.
[ Register or Signin to view external links. ]
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.