• Want to take part in this year's BoS Trials event for Maths and/or Business Studies?
    Click here for details and register now!
  • YOU can help the next generation of students in the community!
    Share your trial papers and notes on our Notes & Resources page

code-similar or word-based pseudocode? (1 Viewer)

onedaysnotice

Member
Joined
Aug 27, 2011
Messages
261
Gender
Male
HSC
2012
Which way do you write your pseudocode? Does code-similar pseudocode have any sort of advantage in terms of marks as opposed to word-based pseudocode which can potentially reduce otherwise 10 lines of code-similar pseudocode into 1?

Personally, my pseudocode is akin to code (because of my extensive work on my major xD), in that I try to minimise word statements as much as possible. Here's my solution to some trial paper question we did as practice a few days ago (i hope the logic's fine LOL):

 
Last edited:

MrBrightside

Brightest Member
Joined
Jan 18, 2010
Messages
2,032
Gender
Undisclosed
HSC
N/A
Pseudocode is code that does not have to confine to any syntax of a particular language. E.g.

BEGIN
play song
If end of song
NextTrack = true
END

Think of it as 'fake' code. It does not compile. It's only used to get a better understand of the scenario.

Have a look at my notes in this thread: http://community.boredofstudies.org/showthread.php?t=290712&page=2 to see how the Board of Studies expects your algorithms to look like in the exams.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top