❔ 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
Sorry for the mess
I've done this, this is graded.
So no, we cannot help you cheat.
graded?
It's a test
I dont intend on cheating, i still need to make it a fully working code
That gives you grades
program thing
not in my case?
Yes, that is also a part of the test
Not for me o_o
i just always write pseudocode before actually writing the code, the pseudocode part isn't part of the assignment
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.
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?
Note that C-level requires both pseudocode and flowchart in the planning stage.
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
I'm guessing you've done pseudocode in one of your previous tests, just follow said structure.
just help point me in the right direction?
my main problem
is this part
anything below that is a case thing
or so i feel
but how do i map out those two?
in a concise way
You pretty much write in Swedish, but follow a specific structure.
I mean yes, well i guess i'll keep trying
thanks anyway
The book should have a chapter on pseudocode
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
Whats the struggle with the two red marked ones?
Like, how is "quit the program" hard to write pseudocode for?
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
you mean the whole menu step?
Well
this is what i typed
and im almost 90% sure its wrong hahaha
Show us what you got.
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
um.. yeah that seems weird.
told ya :/
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? 😄
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
I'm fluent in swedish, so if you have it written down in that it works too
I dont have it in Swedish; as it was optional to choose whichever language we wanted
okay. I think the problem is this:
this box shouldn't be "read out the menu"
Also yes i remember you; You helped me understand some assignments before i started formally going to classes
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
Yeah the words used are questionable at best here
as i tried translating it for the purpose of asking here hehe
Appreciate the effort 🙂
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
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
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
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
Högskoleprov my friend!
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
YH is the way to go for sure
Yeah! so i want to make it harder for myself so i can hopefully make it for those exams
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
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
seems okay
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!
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.