Aoa sir JazakAllah for these videos you're in my prayers u have a good way of teaching please upload more Past paper sessions for A level p2 9618 as you know papers are near & we are facing difficulties
you're wrong, both conditions need to be satisfied to make the loop run. if one of the conditions is broken the loop will shut down. like is the data isnt found, the flag will still be false but the loop will terminate because one condition is broken and it needs both to run
It's only inefficient for the linear search meaning to say when you use FOR loop you know the amount of values being processed (they give it in the question ) {eg: FOR index 1 to 50 } then when you input Value which is equal to any value in the array' s index any loop will stop but 'for' loop would continue reading the other values since you already mentioned { : FOR index 1 to 50 }
Sir g kamal psedo code nai damag ki dajia uradi thi kia baat gai sir brand hai ap
Zainematics of computer science ❤
jon?
thankyou, lots of love from africa
From Africa ?? Are there Schools ?
@@MuhammadUmar_88No they study on elephants
Sir khud African lagte hai
@@Unkbownthing09 ha sheedi ha sheedi goth ka
Aoa sir JazakAllah for these videos you're in my prayers u have a good way of teaching please upload more Past paper sessions for A level p2 9618 as you know papers are near & we are facing difficulties
23:00 sir wouldnt search work perfectly fine if we use break command in for loop?
23:53 sir yahan per apna input loop kay bahar kyn rkha hai apne bola tha keh input loop kay under ata hai repeat mein
Best teacher ❤
Thank you
36:05
I think there is an error
Error : While (Index
you're wrong, both conditions need to be satisfied to make the loop run. if one of the conditions is broken the loop will shut down. like is the data isnt found, the flag will still be false but the loop will terminate because one condition is broken and it needs both to run
Best teacher 👍
13:57
if 30 is in two indexes ??
BEST TEACHER❤
Sir y didn't u took 2 inputs in while...do...end while loop 36:00
best teacher ever thank you so much sir
Your welcome ❤️
sir shouldnt input be taken after starting the loop
13:50
Sir FOR x loop is eneffecient but will it work ? Or if we use it in our exam would it be acceptable?
Please clear the query.
It's only inefficient for the linear search meaning to say when you use FOR loop you know the amount of values being processed (they give it in the question ) {eg: FOR index 1 to 50 } then when you input Value which is equal to any value in the array' s index any loop will stop but 'for' loop would continue reading the other values since you already mentioned { : FOR index 1 to 50 }
FOR loop will work but it would be a time waste and its inefficient
@@zaaramohiddin9876 ok thanks
@@zaaramohiddin9876 i was going through the video again and saw your reply thanks mate ❤❤
@zampa098 no problem ❤️
Nice 👌🏻
12:30
sir 2d array ki linear search kaise hoti hai
Sir you said that WHILE loop requires 2 inputs , however , the example you showed in this video contained only one.
There is 2 cases of while loop
1 loops as counter
2. Loop as validation
sir jaise aapne flag variable liya hai mai found as a variable lesakta hoon?
4 mahine hogeya so kya hum found kar sakte he use batona?
Sir validation if then else and while end while dono se ho sakti hai?
Sir agar A level karu tu insallah ap sa paruga
Sir 2d arrays plss
Soon
@@CSbyAqibkhan sir kab tak aaigi
@@CSbyAqibkhan sir pls upload of 2D arrays
ez