humzzay
Badges: 8
Rep:
?
#1
Report Thread starter 5 years ago
#1
Anyone good with computer science
python or javascript?
0
reply
mos182
Badges: 6
Rep:
?
#2
Report 5 years ago
#2
(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.
0
reply
humzzay
Badges: 8
Rep:
?
#3
Report Thread starter 5 years ago
#3
(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.
0
reply
mos182
Badges: 6
Rep:
?
#4
Report 5 years ago
#4
(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.
0
reply
humzzay
Badges: 8
Rep:
?
#5
Report Thread starter 5 years ago
#5
(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
0
reply
humzzay
Badges: 8
Rep:
?
#6
Report Thread starter 5 years ago
#6
(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
0
reply
Planto
Badges: 16
Rep:
?
#7
Report 5 years ago
#7
What precisely are you stuck on? If you don't know how to approach the task you should speak to your teachers.
0
reply
humzzay
Badges: 8
Rep:
?
#8
Report Thread starter 5 years ago
#8
(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.
0
reply
mos182
Badges: 6
Rep:
?
#9
Report 5 years ago
#9
(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
0
reply
Planto
Badges: 16
Rep:
?
#10
Report 5 years ago
#10
(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.
0
reply
FTSE420
Badges: 11
Rep:
?
#11
Report 5 years ago
#11
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.)
0
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

Personalise

University open days

  • University of Hertfordshire
    All Subjects Undergraduate
    Sat, 22 Feb '20
  • Ravensbourne University London
    Undergraduate Open Day Undergraduate
    Sat, 22 Feb '20
  • Sheffield Hallam University
    Get into Teaching in South Yorkshire Undergraduate
    Wed, 26 Feb '20

People at uni: do initiations (like heavy drinking) put you off joining sports societies?

Yes (368)
67.15%
No (180)
32.85%

Watched Threads

View All