❔ I would appreciate some help.

So i have this assignment and in lieu of my grandma who passed this past week i've not had the opportunity to rewrite it. I would like some help writing it into pseudocode as i don't know where to begin. The rest of the assignment (Coding part) i'll try to work on it myself fully. I rewrote the chart from Swedish to English so its not perfect, but i hope it makes sense the assignment itself is to make a fully working blogpost this is just to help me think in the right direction
51 Replies
sunny innit
sunny innitOP2y ago
Sorry for the mess
Buddy
Buddy2y ago
I've done this, this is graded. So no, we cannot help you cheat.
sunny innit
sunny innitOP2y ago
graded?
Buddy
Buddy2y ago
It's a test
sunny innit
sunny innitOP2y ago
I dont intend on cheating, i still need to make it a fully working code
Buddy
Buddy2y ago
That gives you grades
sunny innit
sunny innitOP2y ago
program thing not in my case?
Buddy
Buddy2y ago
Yes, that is also a part of the test
sunny innit
sunny innitOP2y ago
Not for me o_o i just always write pseudocode before actually writing the code, the pseudocode part isn't part of the assignment
Buddy
Buddy2y ago
The task is to write pseudocode, and flowchart, as well as the code itself after you've written the flowchart and pseudocode. That is what gives you the grade, if we help you in any of those three. It is considered cheating.
sunny innit
sunny innitOP2y ago
I see; i dont want to cheat as i have a final exam coming up in two weeks. But they didnt ask me to write pseudocode for this just turn that into working c# code the coding part im going to do fully myself at least help push me into the right direction?
Buddy
Buddy2y ago
Note that C-level requires both pseudocode and flowchart in the planning stage.
sunny innit
sunny innitOP2y ago
its not part of my criterias o_o is this a universal Sweden-wide assignment or something? there's no grades for me aside from F and E. (fail and passing grade) You dont need to give me the answer
Buddy
Buddy2y ago
I'm guessing you've done pseudocode in one of your previous tests, just follow said structure.
sunny innit
sunny innitOP2y ago
just help point me in the right direction? my main problem is this part
sunny innit
sunny innitOP2y ago
sunny innit
sunny innitOP2y ago
anything below that is a case thing or so i feel but how do i map out those two? in a concise way
Buddy
Buddy2y ago
You pretty much write in Swedish, but follow a specific structure.
sunny innit
sunny innitOP2y ago
I mean yes, well i guess i'll keep trying thanks anyway
Buddy
Buddy2y ago
The book should have a chapter on pseudocode
sunny innit
sunny innitOP2y ago
it does, but im not understanding it fully here; its just those side notes that are confusing me lol I dont need to write pseudocode either way as part of the assignment i just do it to better understand it this is assignment number 9 for me; i just want to know what those boxes i highlighted should be in terms of "IF" etc if you know what i mean
Pobiega
Pobiega2y ago
Whats the struggle with the two red marked ones? Like, how is "quit the program" hard to write pseudocode for?
sunny innit
sunny innitOP2y ago
I guess whats holding me back is the how to go to them; like OR/IF etc. the ones below i have a little sense of understanding it
Pobiega
Pobiega2y ago
you mean the whole menu step?
sunny innit
sunny innitOP2y ago
Well this is what i typed and im almost 90% sure its wrong hahaha
Pobiega
Pobiega2y ago
Show us what you got.
sunny innit
sunny innitOP2y ago
Start Write out the menu load the menu IF print out all blogposts IF false Quit the program Case 1) Write a new post in the blog load a title load a text text Save the Blogg post IF NOT return to Write out the menu Case 2) Search posts within the blog deploy the search IF the post exists within the blog IF TRUE write and present the result return to Write out the menu IF FALSE return to Write out the menu Hahaha i went back to my notes
Pobiega
Pobiega2y ago
um.. yeah that seems weird.
sunny innit
sunny innitOP2y ago
told ya :/
Pobiega
Pobiega2y ago
Start Write out the menu load the menu
? explain your thinking here what exactly is "load the menu", and why is it done after printing the menu? 😄
sunny innit
sunny innitOP2y ago
Well i suppose i tried to write it in English and the right words may or may not have been used welllll i basically went with the chart presented itself
Pobiega
Pobiega2y ago
I'm fluent in swedish, so if you have it written down in that it works too
sunny innit
sunny innitOP2y ago
I dont have it in Swedish; as it was optional to choose whichever language we wanted
Pobiega
Pobiega2y ago
okay. I think the problem is this:
Pobiega
Pobiega2y ago
this box shouldn't be "read out the menu"
sunny innit
sunny innitOP2y ago
Also yes i remember you; You helped me understand some assignments before i started formally going to classes
Pobiega
Pobiega2y ago
it should be "get the users menu choice" we've already shown the menu, the next logical step is to check what the user wants to do by reading their choice
sunny innit
sunny innitOP2y ago
Yeah the words used are questionable at best here as i tried translating it for the purpose of asking here hehe
Pobiega
Pobiega2y ago
Appreciate the effort 🙂
sunny innit
sunny innitOP2y ago
True! in Swedish that step was "Läs in menyval" Which i took as "Load" my biggest gripe here is the ones to the left and right Are they an IF? well IFs
Pobiega
Pobiega2y ago
no, all 4 "out" arrows from "read out the menu" are individual menu choices pseudocode doesnt have strictly defined rules, but I'd probably write it like
Print menu
Read user menu choice
Find blog posts:
...
Write a new blog post:
...
search for a post:
...
quit:
...
Print menu
Read user menu choice
Find blog posts:
...
Write a new blog post:
...
search for a post:
...
quit:
...
honestly, not sure why you need application-level pseudocode I'd rather write pseudocode for each individual "block" on the flowchart otherwise you are just doing duplicate work
sunny innit
sunny innitOP2y ago
Honestly; the reason why i am doing this pseudocode in the first place is because i have an exam coming up where Pseudocode will play a big role within 2 weeks but also because im taking an SAT to hopefully get into college for this within a couple weeks
Pobiega
Pobiega2y ago
Högskoleprov my friend!
sunny innit
sunny innitOP2y ago
so im just trying to make it harder for myself haha well i didnt do it this year or in the past couple years haha I've applied to various Yrkeshögskolor within Stockholm
Pobiega
Pobiega2y ago
YH is the way to go for sure
sunny innit
sunny innitOP2y ago
Yeah! so i want to make it harder for myself so i can hopefully make it for those exams
Pobiega
Pobiega2y ago
regardless, for this... try writing out the pseudocode for each block on its own, then combine them thats more or less how I do my problemsolving IRL whiteboard out a basic flowchart, then pseudo each item on the flow
sunny innit
sunny innitOP2y ago
Okay i will! I can post what i've done afterwards if you guys want to see some easter memes Start SKRIV ut Meny LÄS in menyval Fall 1) SKRIV ut alla blogginlägg GÅ tillbaka till Skriv ut Meny Fall 2) SKRIV nytt inlägg i bloggen LÄS in titel Spara blogginlägg GÅ tillbaka till Skriv ut Meny Fall 3) SÖK inlägg i bloggen LÄS in sökning OM inlägg finns i bloggen OM SANT Skriv ut och presentera resultat OM FALSKT Skriv ut och presentera resultat Gå tillbaka till skriv ut meny Fall 4) Avsluta programmet @Pobiega Wrote it in Swedish; Im going to redo it in English after this. Its not perfect, but getting there i think
Pobiega
Pobiega2y ago
seems okay
sunny innit
sunny innitOP2y ago
Thanks a ton 😄 When stuff works its a lot of fun, hopefully i wont bald before i start studying @LLVM Thanks to you too for replying!
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server