A Level Computer Science 9618 Paper 2: Linear Search

  Рет қаралды 5,868

Haguin School

Haguin School

Күн бұрын

Пікірлер: 15
@haguinschool
@haguinschool 9 ай бұрын
How to master Paper 2 pseudocode 👉🏼 link.haguin.school/pseudocode
@nidaaamir7161
@nidaaamir7161 9 ай бұрын
please make more videos for p2 as I find it difficult. Your videos are amazing❤
@haguinschool
@haguinschool 9 ай бұрын
Checkout the playlist at kzbin.info/www/bejne/b4fCdIFsqM6fqJI
@ahmedao888
@ahmedao888 Жыл бұрын
Thank you so much, great explanations. keep it up!
@haguinschool
@haguinschool Жыл бұрын
You are most welcome Ahmedao, I am glad you enjoyed the video!
@selinisilva5123
@selinisilva5123 5 ай бұрын
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 : )
@haguinschool
@haguinschool 5 ай бұрын
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!
@selinisilva5123
@selinisilva5123 5 ай бұрын
@@haguinschool that makes so much sense! thank you!
@haguinschool
@haguinschool 5 ай бұрын
@@selinisilva5123 You're most welcome, I'm glad to know that you try to simplify your code whenever possible as well!
@mnqobipanashe6816
@mnqobipanashe6816 Жыл бұрын
thank you for your paper 2 videos... will there be paper 3 & 4?
@haguinschool
@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!
@arthurleywin2549
@arthurleywin2549 Жыл бұрын
Thanks sir
@haguinschool
@haguinschool Жыл бұрын
My pleasure Arthur!
@NetWeb-hc9we
@NetWeb-hc9we Жыл бұрын
DONE
@haguinschool
@haguinschool Жыл бұрын
A few more to go! 👏
A Level Computer Science 9618 Paper 2: Functions
7:00
Haguin School
Рет қаралды 5 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,3 МЛН
A-Level Computer Science (9618) - Pseudocode
1:15:50
The CS Classroom
Рет қаралды 5 М.
A Level Computer Science 9618 Paper 2: Easy Tips & Strategies
56:45
Haguin School
Рет қаралды 41 М.
Binary Search Algorithm | CIE A Level Computer Science (9618)
24:53
Robert Morrison: Computer Science Lessons
Рет қаралды 2,1 М.
Bubble Sort Algorithm | CIE A Level Computer Science (9618)
17:02
Robert Morrison: Computer Science Lessons
Рет қаралды 2,3 М.
9618 Computer Science May June 2024 Paper 41 | Python
1:08:53
Sorting Algorithms Explained Visually
9:01
Beyond Fireship
Рет қаралды 538 М.
Python 1D Array | A Level Computer Science 9618 Paper 4
12:48
Haguin School
Рет қаралды 1,9 М.
Stack ADT | CIE A Level Computer Science (9618)
17:15
Robert Morrison: Computer Science Lessons
Рет қаралды 3,5 М.
Intro to Competitive Programming
11:41
Junferno
Рет қаралды 777 М.
ПРИКОЛЫ НАД БРАТОМ #shorts
00:23
Паша Осадчий
Рет қаралды 6 МЛН