Hey there! Sign in to join this conversationNew here? Join for free
x Turn on thread page Beta

AS AQA Computer Science 2016 Revision Help watch

Announcements
    Offline

    2
    ReputationRep:
    (Original post by mahmzo)
    yeah, if you miss you lose a certain amount, and for each ship hit I did it in a dictionary e.g {"A":6} so if A is hit it gives 6 points etc. Or you can randomise it.

    Do you know of anything else that people have not done yet?
    The multiplayer component, but wouldn't that be a bit too much for the exam time, bc you'd need separate arrays etc. or are you saying to just switch between each player after each turn?
    Offline

    1
    ReputationRep:
    (Original post by KnightCode)
    Is this for the new spec from 2015+
    or the old spec.
    I'm taking the old spec comp1, comp2, comp3 this year.
    So if anyone else is also doing old spec, we can revise together and exchange notes xD
    I'm doing old spec comp 3 and done the coursework this year, did 1 and 2 last year


    Posted from TSR Mobile
    Offline

    11
    ReputationRep:
    (Original post by brodingoson)
    The multiplayer component, but wouldn't that be a bit too much for the exam time, bc you'd need separate arrays etc. or are you saying to just switch between each player after each turn?
    I mean it is actually pretty simple, people keep saying you need to create 2 different boards. No there is no need.

    If they ask for a simple multiplayer you can do the following , ill write a little algorithm :P

    Create a new menu option.
    Copy and paste PlayGame (Rename it to MultiplayerGame)
    create a new array at the top, that has 2 default names or ask user for their name via input and add it into the array (perhaps make one similar to ships so you can have a score as well EG [["PlayerOne",0]])

    Now the only hard bit is using the % operator to alternate between the players. You can set a number = 2 then % with 2. check I the remainder is = 0 then itll be player 1 turn else if the remainder = 1 itll be player 2 turn.

    Then you need to pass this array to the getplayerchoice. pass it through the getrowcolumn. then before asking for input print (player[0]) enter your choice.

    That's pretty much it. It sounds complex but it is much easier

    I really want an A badly haha good luck to all taking the exam. We have like 2 weeks left right?
    Offline

    2
    ReputationRep:
    (Original post by mahmzo)
    I mean it is actually pretty simple, people keep saying you need to create 2 different boards. No there is no need.

    If they ask for a simple multiplayer you can do the following , ill write a little algorithm :P

    Create a new menu option.
    Copy and paste PlayGame (Rename it to MultiplayerGame)
    create a new array at the top, that has 2 default names or ask user for their name via input and add it into the array (perhaps make one similar to ships so you can have a score as well EG [["PlayerOne",0]])

    Now the only hard bit is using the % operator to alternate between the players. You can set a number = 2 then % with 2. check I the remainder is = 0 then itll be player 1 turn else if the remainder = 1 itll be player 2 turn.

    Then you need to pass this array to the getplayerchoice. pass it through the getrowcolumn. then before asking for input print (player[0]) enter your choice.

    That's pretty much it. It sounds complex but it is much easier

    I really want an A badly haha good luck to all taking the exam. We have like 2 weeks left right?
    It does seem complex haha, I'll have a go at it thanks tho!

    And yeah 2 weeks, if my coding doesnt go well, im aiming for 100% in the theory exam
    Good luck!
    Offline

    8
    ReputationRep:
    If you guys are making a whatsapp GC for computer science add me too
    Offline

    11
    ReputationRep:
    (Original post by GarlicBread01)
    If you guys are making a whatsapp GC for computer science add me too
    No one has joined yet, if you want PM Me your No
    • Thread Starter
    Offline

    10
    ReputationRep:
    Does anyone know any good websites for practising coding. I am doing python
    Offline

    1
    ReputationRep:
    (Original post by DibbyDabby)
    Does anyone know any good websites for practising coding. I am doing python
    Code academy if you want to learn more, if not think of a project and just do it, feel free to PM me if you need help, I have just done my coursework in Python


    Posted from TSR Mobile
    Offline

    2
    ReputationRep:
    (Original post by DibbyDabby)
    Does anyone know any good websites for practising coding. I am doing python
    Are you doing the new spec of computer science?

    And what i do, basically think of simple program you could make, could be anything, try and get the background code to work and then add little touches to it, but try do it without help, that's how i got better
    But probably should focus on the skeleton code if i was you
    Offline

    1
    ReputationRep:
    Anyone doing java here?
    Offline

    2
    ReputationRep:
    Does anyone know where i can get past papers for computing before 2013 because they only have 2013 to 2015 on the AQA website
    Offline

    1
    ReputationRep:
    (Original post by brodingoson)
    Does anyone know where i can get past papers for computing before 2013 because they only have 2013 to 2015 on the AQA website
    Is this for the old spec?


    Posted from TSR Mobile
    Offline

    2
    ReputationRep:
    (Original post by OllieGidman)
    Is this for the old spec?


    Posted from TSR Mobile
    Yeah but I'm doing the new spec. I just want as many questions to do as possible haha
    Offline

    1
    ReputationRep:
    (Original post by brodingoson)
    Yeah but I'm doing the new spec. I just want as many questions to do as possible haha
    Okay, what units are you looking for because I might have some?


    Posted from TSR Mobile
    Offline

    2
    ReputationRep:
    (Original post by OllieGidman)
    Okay, what units are you looking for because I might have some?


    Posted from TSR Mobile
    Units 2 & 3, but if have any unit 1's i could check them out
    Offline

    1
    ReputationRep:
    (Original post by brodingoson)
    Units 2 & 3, but if have any unit 1's i could check them out
    PM me your email and I will see if I can find some and send them to you


    Posted from TSR Mobile
    Offline

    16
    ReputationRep:
    It's about GCSE Computer Science rather than AS but could anyone tell me about Lists & Arrays and Parameters please I'm really confused? Xxx
    And good luck for AS Computer Scienece exam xx
    Offline

    1
    ReputationRep:
    (Original post by abc_123_)
    It's about GCSE Computer Science rather than AS but could anyone tell me about Lists & Arrays and Parameters please I'm really confused? Xxx
    And good luck for AS Computer Scienece exam xx
    What exactly would you like to know about them?
    Offline

    16
    ReputationRep:
    (Original post by OllieGidman)
    What exactly would you like to know about them?
    The difference between lists and arrays and why they help writing code easier
    Also what do parameters do and why they make programs easier? Xx
    Sorry I don't understand the revision guide xxx
    Offline

    11
    ReputationRep:
    (Original post by abc_123_)
    It's about GCSE Computer Science rather than AS but could anyone tell me about Lists & Arrays and Parameters please I'm really confused? Xxx
    And good luck for AS Computer Science exam xx
    Ok a List is an Array, it is a very fundamental data structure lol. You can declare one using (in Python) square brackets ([ ])
    What we have there is an empty list, you can do ALOT using lists, they are a very strong for programmers because they are muteable (changeable).

    Parameters are used in functions (def etc etc), the parameters can be used to do alot of things such as move data from one function to other (very bad explanation). It can stop the use of global variables which are not good to have when coding.

    EG
    def main():
    a = 5
    example(a) # here the function example is taking one parameter (a)
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: June 18, 2016
Poll
Do you agree with the proposed ban on plastic straws and cotton buds?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.