dbains20
Badges: 4
Rep:
?
#1
Report Thread starter 1 year ago
#1
Has anyone started the GCSE NEA for next year and has a draft for their code? Any help would be appreciated
1
reply
jimmycode14
Badges: 5
Rep:
?
#2
Report 1 year ago
#2
yeah i can give you a hand if you want
0
reply
aaaade
Badges: 1
Rep:
?
#3
Report 1 year ago
#3
(Original post by jimmycode14)
yeah i can give you a hand if you want
would it be alright if you could help me get through my NEAs please?
literally no one in my class knows how to code for it.
thank you!!!!!!!!!!!
0
reply
BrandonSHlow
Badges: 6
Rep:
?
#4
Report 1 year ago
#4
i need help
1
reply
BrandonSHlow
Badges: 6
Rep:
?
#5
Report 1 year ago
#5
jimmy help me out we can chat, please PM me

(Original post by jimmycode14)
yeah i can give you a hand if you want
0
reply
BrandonSHlow
Badges: 6
Rep:
?
#6
Report 1 year ago
#6
(Original post by BrandonSHlow)
jimmy help me out we can chat, please PM me
Pm me , we can use google hangouts
0
reply
anonymoustudent6
Badges: 1
Rep:
?
#7
Report 1 year ago
#7
what actually is it?
0
reply
Serena240704
Badges: 4
Rep:
?
#8
Report 1 year ago
#8
Lol someone just type the code here pls
2
reply
nclCompSci
Badges: 3
Rep:
?
#9
Report 1 year ago
#9
Give me a question or problem and I can write some code for you.
0
reply
Aghulan
Badges: 3
Rep:
?
#10
Report 11 months ago
#10
1A menu is displayed allowing the user to select fromthe following options:Enter RLEDisplay ASCII artConvert to ASCII artConvert to RLEQuit.2If the user selects the ‘Quit’ optionthen a suitable message should be displayedand the program ends. 3If the user selects the ‘Enter RLE’option:a.the user isasked how manylines of RLE compressed data they want toenterb.the program should check that the number entered is greater than 2 and if it isn’t display a suitable error message and get the user to keep re-entering the number until it is validc.if the user entered a valid number,they thenenter the compressed data one line at a time until they have entered the specified number of linesd.once all the compressed data has been entered, the program decompresses the data and displays the ASCII art imagee.theuser is returned to the main menu.4If the user selects the ‘Display ASCII art'option:a.the userisasked to enter the name of the text file that contains the ASCII artb.the program reads the contents of the text file and displays the ASCII art imagec.the user is returned to the main menu.5If the user selects the ‘Convert to ASCII art’ option:a.the user is asked to enter the name of the text file that contains the RLE compressed datab.the program reads the contents of the text file, decompresses the data anddisplays the ASCII artimagec.the user is returned to the main menu.6If the user selects the ‘Convert to RLE’ option:a.the userisasked to enter the name of the text file that contains the ASCII artb.the program reads the contents of the text file, compresses each line and stores the compressed data in a new text filec.the program calculates the difference between the number of characters used in the compressed and uncompressed versions of the ASCII art and displays this valued.theuser is returned to the main menu.END OF PROGRAMMINGPROJECT TASKCopyright © 2019AQA and its licensors. All rights reserved.
2
reply
My xoxox
Badges: 1
Rep:
?
#11
Report 11 months ago
#11
(Original post by dbains20)
Has anyone started the GCSE NEA for next year and has a draft for their code? Any help would be appreciated
Same i don't understand file handling at all
0
reply
winterscoming
Badges: 19
Rep:
?
#12
Report 11 months ago
#12
(Original post by My xoxox)
Same i don't understand file handling at all
Is it just file handling? Are you comfortable with using lists, dictionaries, for/while, strings, etc?

Have a look at some of these to explain file handling:
https://www.py4e.com/lessons/files
https://student.craigndave.org/video...ing-operations
https://www.youtube.com/watch?v=Z-Hp...5B213E&index=5

The easiest way to work with files is to do all the 'read' logic at once and get all of that file's contents/data into a list in one go, because then you don't need to write any logic which messes about with files, instead doing everything in the program's memory using a list.

If you do that, when it comes to saving/updating the file, you can just overwrite the whole file by cycling through the whole list.

The reason for doing that is files only allow you to read/write sequentially, so that puts a lot of very difficult limitations on what you can do with a file. Lists are a lot more versatile, so if you build all the logic around lists and only interact with the physical files by doing 'read all' or 'write all' then it makes everything a lot easier.

Its good to write separate functions which Read and Write to/from the list as well, because then you can use them at any time. keeping the file read/write logic separate from the rest of the program, which is much easier to use. It avoids cluttering up the rest of the program with file read/write logic too.
Last edited by winterscoming; 11 months ago
0
reply
Serena240704
Badges: 4
Rep:
?
#13
Report 11 months ago
#13
What about doing ascii art and rle???
0
reply
winterscoming
Badges: 19
Rep:
?
#14
Report 11 months ago
#14
(Original post by Serena240704)
What about doing ascii art and rle???
It's all just plain text, so there's no difference. The fact that it just happens to be ASCII art is totally irrelevant to the problem or any of the code you need to write. Wherever you see 'ASCII art' just replace it with 'plain text' instead and nothing changes
0
reply
Olracuk
Badges: 4
Rep:
?
#15
Report 11 months ago
#15
(Original post by dbains20)
Has anyone started the GCSE NEA for next year and has a draft for their code? Any help would be appreciated
can anyone help me, i am really really stuck
0
reply
imgonnafailgcse
Badges: 3
Rep:
?
#16
Report 11 months ago
#16
can anyone supply a example code? not for copying, just as a example to look at
1
reply
Bymipu
Badges: 1
Rep:
?
#17
Report 11 months ago
#17
Could you help me too? I’m so stuck!
0
reply
Bymipu
Badges: 1
Rep:
?
#18
Report 11 months ago
#18
(Original post by nclCompSci)
Give me a question or problem and I can write some code for you.
Can you pm me please so I could get some help too?
0
reply
theebaddestb
Badges: 3
Rep:
?
#19
Report 10 months ago
#19
(Original post by jimmycode14)
yeah i can give you a hand if you want
Would you like to help me because siiiiiiissss my class are struggling 110%
1
reply
theebaddestb
Badges: 3
Rep:
?
#20
Report 10 months ago
#20
(Original post by Olracuk)
can anyone help me, i am really really stuck
Help me too man, dont snake it. We are in this together
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

How are you feeling ahead of starting University?

I am excited and looking forward to starting (58)
13.88%
I am excited but have some apprehension around Covid-19 measures (55)
13.16%
I am concerned I will miss out on aspects of the uni experience due to new measures (158)
37.8%
I am concerned the Covid-19 measures at uni are not strong enough (45)
10.77%
I am nervous and feel I don't have enough information (80)
19.14%
Something else (let us know in the thread!) (22)
5.26%

Watched Threads

View All