Hey there! Sign in to join this conversationNew here? Join for free
    • Thread Starter
    Offline

    4
    ReputationRep:
    Anyone good with computer science
    python or javascript?
    Offline

    1
    ReputationRep:
    (Original post by humzzay)
    Anyone good with computer science
    python or javascript?
    If you're looking for help you're going to have to post what you're stuck on in this thread. I've got experience using Python, though I haven't done much Javascript.
    • Thread Starter
    Offline

    4
    ReputationRep:
    (Original post by mos182)
    If you're looking for help you're going to have to post what you're stuck on in this thread. I've got experience using Python, though I haven't done much Javascript.
    Thanks A lot im stuck on coding on python Task 3
    iv asked many people, no one every really gave an answer but advised me if understood the advice but i really just need a coding for the task :/

    complete all tasks and provide evidence to meet all the marking criteria.
    For the following scenario analyse the detailed requirements for each situation and, using suitable
    algorithms, design a solution to be coded in a suitable high-level programming language. Show the
    iterative development of the individual solutions with suitable testing throughout the process. Test
    the final products and evaluate your solutions against the detailed requirements you identified in the
    analysis.
    The results for a task may be used without further testing in any subsequent task, or each of the tasks
    may be solved as a separate system.
    Arithmetic quiz


    Task 1
    A primary school teacher wants a computer program to test the basic arithmetic skills of her students.
    The program should generate a quiz consisting of a series of random questions, using in each case
    any two numbers and addition, subtraction and multiplication. The system should ask the student’s
    name, then ask 10 questions, output if the answer to each question is correct or not and produce a final
    score out of 10.
    Analyse the requirements in detail and design, code, test and evaluate a program to meet these
    requirements.
    Task 2
    The teacher wants to keep track of the scores each member of the class obtains in the quiz. There are
    three classes in the school and the data should be kept separately for each class.
    Analyse the requirements in detail for this program and design, code, test and evaluate a program that
    will record and store the data for three separate classes of students using the arithmetic quiz.
    Task 3
    The teacher wants to use the results from students taking these quizzes to log their performance. The
    system should store the last three scores for each student. The teacher would like to be able to output
    the results of the quiz for a particular class, sorted:
    • in alphabetical order with each student’s highest score for the tests
    • by the highest score, highest to lowest
    • by the average score, highest to lowest.
    Analyse the requirements in detail for this program and design, code, test and evaluate a program that
    will allow the teacher to select which class group to look at and which field to use when sorting the
    output data.
    Offline

    1
    ReputationRep:
    (Original post by humzzay)
    Thanks A lot im stuck on coding on python Task 3
    iv asked many people, no one every really gave an answer but advised me if understood the advice but i really just need a coding for the task :/

    complete all tasks and provide evidence to meet all the marking criteria.
    For the following scenario analyse the detailed requirements for each situation and, using suitable
    algorithms, design a solution to be coded in a suitable high-level programming language. Show the
    iterative development of the individual solutions with suitable testing throughout the process. Test
    the final products and evaluate your solutions against the detailed requirements you identified in the
    analysis.
    The results for a task may be used without further testing in any subsequent task, or each of the tasks
    may be solved as a separate system.
    Arithmetic quiz


    Task 1
    A primary school teacher wants a computer program to test the basic arithmetic skills of her students.
    The program should generate a quiz consisting of a series of random questions, using in each case
    any two numbers and addition, subtraction and multiplication. The system should ask the student’s
    name, then ask 10 questions, output if the answer to each question is correct or not and produce a final
    score out of 10.
    Analyse the requirements in detail and design, code, test and evaluate a program to meet these
    requirements.
    Task 2
    The teacher wants to keep track of the scores each member of the class obtains in the quiz. There are
    three classes in the school and the data should be kept separately for each class.
    Analyse the requirements in detail for this program and design, code, test and evaluate a program that
    will record and store the data for three separate classes of students using the arithmetic quiz.
    Task 3
    The teacher wants to use the results from students taking these quizzes to log their performance. The
    system should store the last three scores for each student. The teacher would like to be able to output
    the results of the quiz for a particular class, sorted:
    • in alphabetical order with each student’s highest score for the tests
    • by the highest score, highest to lowest
    • by the average score, highest to lowest.
    Analyse the requirements in detail for this program and design, code, test and evaluate a program that
    will allow the teacher to select which class group to look at and which field to use when sorting the
    output data.

    Do you have the answers for the first two tasks? If so, could you please provide them because it looks like these tasks are linked.
    • Thread Starter
    Offline

    4
    ReputationRep:
    (Original post by mos182)
    Do you have the answers for the first two tasks? If so, could you please provide them because it looks like these tasks are linked.
    Okay so iv explained what iv done for each of the tasks on the document.
    Hope you understand what i meant on task 2.- where I saved excel documents as (class1.csv) (class2.csv) (class3.csv)

    Hope you can help with task 3 now!
    Attached Files
  1. File Type: docx Python- tasks.docx (473.3 KB, 901 views)
    • Thread Starter
    Offline

    4
    ReputationRep:
    (Original post by mos182)
    Do you have the answers for the first two tasks? If so, could you please provide them because it looks like these tasks are linked.
    sorry the other document was all messed I have no idea why :confused:

    Check this one if you can see each Task clearly

    (If there are any mistakes or things to edit- Feel free to let me know please)
    Attached Files
  2. File Type: docx Python- task.docx (469.8 KB, 766 views)
    Offline

    16
    ReputationRep:
    What precisely are you stuck on? If you don't know how to approach the task you should speak to your teachers.
    • Thread Starter
    Offline

    4
    ReputationRep:
    (Original post by Planto)
    What precisely are you stuck on? If you don't know how to approach the task you should speak to your teachers.
    Iv already spoke to my teachers. Not much help and im stuck on the coding which code I have to use for those three things that is on task 3.
    Offline

    1
    ReputationRep:
    (Original post by humzzay)
    sorry the other document was all messed I have no idea why :confused:

    Check this one if you can see each Task clearly

    (If there are any mistakes or things to edit- Feel free to let me know please)
    Okay so I've had a look at your work so far, thanks for sending it. So in the last part it asks you to sort the scores from highest to lowest and then to sort by highest average score. I'm guessing since you have 3 test scores, the easier thing to do would be to add a 4th and 5th column, one being the total score and the last being the average score. These are the two columns you'll have to sort.

    I've found a website which explains how to sort csv files. They convert the csv file into a list and then sort the list.

    Here's the website: http://nbviewer.ipython.org/github/r...ing_csvs.ipynb

    I hope this helps
    Offline

    16
    ReputationRep:
    (Original post by humzzay)
    Iv already spoke to my teachers. Not much help and im stuck on the coding which code I have to use for those three things that is on task 3.
    Then you should speak to them again. It is their job to ensure you know how to complete the task.
    Online

    11
    ReputationRep:
    Do what you can and use www.stackoverflow.com if you have any problems with syntax or how to use specific functions etc. Make flow charts and then decide what specific parts of the program should consists of (e.g. while loops, for loops, if statements etc.)
 
 
 
Poll
Who is your favourite TV detective?

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.