How to master Paper 2 pseudocode 👉🏼 link.haguin.school/pseudocode
@nidaaamir71619 ай бұрын
please make more videos for p2 as I find it difficult. Your videos are amazing❤
@haguinschool9 ай бұрын
Checkout the playlist at kzbin.info/www/bejne/b4fCdIFsqM6fqJI
@ahmedao888 Жыл бұрын
Thank you so much, great explanations. keep it up!
@haguinschool Жыл бұрын
You are most welcome Ahmedao, I am glad you enjoyed the video!
@selinisilva51235 ай бұрын
great video! just wanted to mention, please correct me if I'm wrong; LowerBound and UpperBound would not be necessary in this example for a linear search, isn't it? we already know the two bounds (as the array describes), therefore an alt. for the REPEAT condition could be: 'UNTIL (Found=TRUE) OR (Index >8). reduces the amount of variables used as well! may be helpful when doing lengthy questions : )
@haguinschool5 ай бұрын
Good suggestion there! In general, for good coding practice, we don't hardcore value in our code, in fact, I should write DECLARE MyList : ARRAY[LowerBound:UpperBound] OF INTEGER too. The reason is pretty simple, let's say we increase the size of the array for some reasons, the only thing I need to change would be the value of UpperBound and it will work as intended. If we skip declaration of variables and hardcode the value within the code, there is a high likelihood of you forgetting to update some of the hardcoded value in the code, hope that helps!
@selinisilva51235 ай бұрын
@@haguinschool that makes so much sense! thank you!
@haguinschool5 ай бұрын
@@selinisilva5123 You're most welcome, I'm glad to know that you try to simplify your code whenever possible as well!
@mnqobipanashe6816 Жыл бұрын
thank you for your paper 2 videos... will there be paper 3 & 4?
@haguinschool Жыл бұрын
Hello Mnqobi, you are most welcome! Currently the channel will focus on paper 1 and paper 2 videos first to help students to tackle AS level, hope that helps!