[Discrete Math] - Can I think of proofs, as writing a pseudocode program?

I've noticed similarities in the 2, are they kinda the same thing?

πŸ‘︎ 13
πŸ’¬︎
πŸ“…︎ May 29 2021
🚨︎ report
An explanation of Rust's Stacked Borrow model with pseudocode github.com/rust-lang/unsa…
πŸ‘︎ 37
πŸ’¬︎
πŸ‘€︎ u/Uncaffeinated
πŸ“…︎ Jun 20 2021
🚨︎ report
Pseudocode for days
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/Skeleton-East
πŸ“…︎ Feb 26 2021
🚨︎ report
Why does it seem like pseudocode is a lot more complicated than just normal code?

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.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Keplars
πŸ“…︎ Jun 24 2021
🚨︎ report
pseudocode looks the same as actual code
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/enzineer
πŸ“…︎ Mar 08 2021
🚨︎ report
Shell sort in C\C++ (Algorithm, Pseudocode and output) technotoken.blogspot.com/…
πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Jul 04 2021
🚨︎ report
What is the pseudocode for finding the all pairs shortest path using specifically the Bellman-Ford's Algorithm?

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.

πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/BabaYaga141
πŸ“…︎ May 21 2021
🚨︎ report
A pseudocode compiler for IB teaching and testing purposes.

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.

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/DeepSJain123
πŸ“…︎ May 29 2021
🚨︎ report
Guys does this qualify as a pseudocode?
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/Crumblingnoodles
πŸ“…︎ Mar 22 2021
🚨︎ report
Are flowchart and pseudocode important?

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?

πŸ‘︎ 77
πŸ’¬︎
πŸ‘€︎ u/ImCristopher
πŸ“…︎ Feb 13 2021
🚨︎ report
Pseudocode for days
πŸ‘︎ 272
πŸ’¬︎
πŸ‘€︎ u/Skeleton-East
πŸ“…︎ Feb 26 2021
🚨︎ report
Last-minute tips for pseudocode CS HL

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

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/mairaaltyn
πŸ“…︎ May 10 2021
🚨︎ report
Is Computer science 9618 paper 2 all pseudocode cuz syllabus says write in pseudocode and even specimen papers only has questions asking for pseudocode but past year papers have programming code as well
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/vishnu60420
πŸ“…︎ May 18 2021
🚨︎ report
What does <= mean in pseudocode

hi could anyone tell me what does <= mean in pseudocode please?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/venusactivist
πŸ“…︎ Apr 28 2021
🚨︎ report
What happens if you get the syntax of the pseudocode off in CS paper 2?

the title.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/SubhanKhanReddit
πŸ“…︎ May 18 2021
🚨︎ report
NEA Pseudocode Question

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.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/tattoostogether
πŸ“…︎ Apr 19 2021
🚨︎ report
IGCSE CS PseudoCode Transpiler

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.

Link

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Sherlemious
πŸ“…︎ Apr 06 2021
🚨︎ report
A little pseudocode but double quote gang is objectively better
πŸ‘︎ 110
πŸ’¬︎
πŸ‘€︎ u/lokuthi7s
πŸ“…︎ Jan 21 2021
🚨︎ report
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!β€” Twin Citian R Buck (@ianrbuck) May 9, 2021

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!

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/ianrbuck
πŸ“…︎ May 09 2021
🚨︎ report
How important is pseudocode?

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!

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Spartan4228
πŸ“…︎ Mar 20 2021
🚨︎ report
9608 Computer Science AS level may june 2021 pre release: does anybody have the solutions in pseudocode and/or python??
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/gjs574
πŸ“…︎ Mar 19 2021
🚨︎ report
Questions about paycheck calculator, pseudocode, and Pycharm

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 &lt;= 40:
    pay = h * rate
elif h &gt; 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.

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/love2loot
πŸ“…︎ Mar 18 2021
🚨︎ report
What books are great for algorithmic thinking and pseudocode

I’m struggling with this section the most in CS

πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Apr 18 2021
🚨︎ report
Looking to learn some language after learning pseudocode

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

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/RawFishie
πŸ“…︎ Mar 16 2021
🚨︎ report
Pseudocode
πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/Silly_goose27
πŸ“…︎ Apr 23 2021
🚨︎ report
IGCSE CS PseudoCode Transpiler

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.

Link

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/Sherlemious
πŸ“…︎ Apr 06 2021
🚨︎ report

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.