A list of puns related to "Pseudocode"
I've noticed similarities in the 2, are they kinda the same thing?
I am in my second semester of IT right now and we constantly have to understand or read pseudocode. In my opinion the pseudocode that our prof writes is just terrible. It has a million variables and no damn explanation what they even are so I need to scroll through the script of the whole semester to see if he ever defined it before. For some reason there is also a function that calls itself?
I need to implement this stupid pseudo thing into Java until 10 am or I'll fail this class and every time I try to start I find another variable or string where I have no clue what it's supposed to stand for. It'd be so much easier if he could just put at the top what each abbreviation and variable stands for. I am just wondering if I'm the only one having a hard time understanding and implementing pseudocodes? It's 1 am and I can't tell anymore if my brain is just fried or if this shit really is harder to understand than chinese.
My professor has asked me to figure out a pseudocode that uses the technique used in Bellman-ford algorithm and find the all pairs shortest paths. The graph contains negative edges and is a directed and weighted graph.
My professor follows the CLRS book and I did read it and found that if you run a single source shortest path algo like the bellman-ford algo V times like for all the vertices, this will find the all pairs shortest path.
Should the pseudocode be like this?
Mod-Bellman-Ford(G,w,s)
Initialise-Single-Source(G,s)
For each vertex v that belongs to V
For i=1 to |G.V|-1
For each edge (u,v) that belongs to G.E
Relax(u,v,w)
For each edge (u,v) that belongs to G.E
If v.d > u.d + w(u,v)
Return False
Return True
Can anybody help me with this? :( i don't know if its correct or not. Just want to verify whether its correct or completely wrong.
It was a big surprise that IB teaches Pseudocode rather than a programming language and they have specific formatting.
So, I wrote a compiler, good for both teachers and students, to test their code.
The link is: Pseudocode Compiler
It uses the 2014 IB syllabus which is continued ever since.
The project is still under development. Feel free to contact me for any changes or contributions.
I am not really into pseudocode and flowchart. I just write the code based on the problem directly and it's very easy for me. But in our exam our professor always wants a pseudocode, flowchart, then code.
My code really solve the problem but I have trouble in translating it to flowchart and pseudocode. I also think it's pointless to make a pseudocode and flowchart to it because the code is real long and involved many switch statement. So, should I focus on writing pseudocode and flowchart first?
I don't understand the pseudocode at all:(
Idk how I am supposed to write the final CS exam, please give me some tips or resources
hi could anyone tell me what does <= mean in pseudocode please?
the title.
Hey, so for the NEA project what does the pseudocode have to be like?
Can it be like structured English so if password == password in database
or does it have to be almost programming syntax/python like (so code that acc retrieves the password from the database rather than saying 'password in database')?
I'm really confused because I'm not sure how much in detail and how technical the pseudocode has to be and I don't want to lose any marks if it's too English like. If anyone is doing or has done their project please let me know what you did or what your teacher said.
Btw I do OCR and did you guys do both pseudocode and flowcharts?
Thanks.
So I've made my own basic Translator that "interprets" the "Pseudocode" syntax used by one of the school Syllabi. Feedback would be very appreciated.
Hold up, in the AP Computer Science Principles exam, the pseudocode they use starts The list index at 1?? Why?!? Start at 0 like a normal programming language!
I'm starting my first formal class on programming, and beginning with Java. I've done self study for awhile previous in C# and Unity.
Many of the modules point to pseudocode and explain a code in that form, ask the student to write in that form, etc.
My question is, how applicable is pseudocode in a career? Is it just a tool to teach students by varying styles, or is it an applicable skill I should focus on to become a better programmer for an employer?
Thanks in advance!
Hey everyone. I am learning how to use pseudocode to create Python programs. I know this is backwards, but I have created a simple program to calculate paychecks based on hourly/overtime rates and am converting it to pseudocode. I have a few questions. This is my program:
h = int(input('Enter hours '))
rate = 20
if h <= 40:
pay = h * rate
elif h > 40:
pay = ((h-40) * rate * 1.5) + rate * 40
print("Your pay is %.2f" % pay)
For my pseudocode, I've come up with:
Set hourly rate to 20
Input hours worked
If hours worked is under 40
Compute hours worked times hourly rate equals pay
Else hours worked is over 40
Compute ?
Endif
Print pay
Using PyCharm, I keep getting a message saying "Name 'pay' can be undefined" - can anyone clarify what that means? Secondly, I am having trouble understanding how to convert the elif statement "pay = ((h-40) * rate * 1.5) + rate * 40" to pseudocode. I am not entirely sure how it would need to be written out considering it has an order of operations. Thanks all, any help is appreciated.
Iβm struggling with this section the most in CS
Right! To start off, its my last year of highschool, in which I learned our new subject, roughly translated its 'software development in a programming enviroment'. In which I learned Pascal, translated in greek. So I guess pseudocode. I basically learned everything ranging from comparing (if,if then,else, else if), repetition (while do,until,repeat,for x:=? to ?) and its subprograms which im not sure how they translate(which i hope ive done well till now). What I've done until now is what I'm guessing are basic programs to do basic stuff, everything that was needed for the panhellenic exams for example,a program reading temperatures, finding maximum,minimum, looking for their spot on arrays, or moving their spot in their array (for example to put the top temperature on the first spot, while the last temperature goes to the last). My question is, what can i do with this knowledge?. I'm not looking to go to a university in which i'll need programming knowledge, whoever I'd like to learn something, on the side, some way to use what i've learned, for my daily life possibly or just that random thing that pops in your head and you think It'd be cool to create. I'm looking forward to reading your answers, thank you for reading
So I've made my own basic Translator that "interprets" the "Pseudocode" syntax used by one of the school Syllabi. Feedback would be very appreciated.
Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.