Linear Search | Pseudo code (O and A level Computer Science)

Поділитися
Вставка
  • Опубліковано 9 січ 2025

КОМЕНТАРІ • 44

  • @acXphotos
    @acXphotos Місяць тому +1

    Sir g kamal psedo code nai damag ki dajia uradi thi kia baat gai sir brand hai ap

  • @Crimsonvault56
    @Crimsonvault56 29 днів тому +5

    Zainematics of computer science ❤

  • @menace-kn3fw
    @menace-kn3fw Рік тому +8

    thankyou, lots of love from africa

    • @MuhammadUmar_88
      @MuhammadUmar_88 9 місяців тому +3

      From Africa ?? Are there Schools ?

    • @Axim_FN
      @Axim_FN 7 місяців тому +1

      ​@@MuhammadUmar_88No they study on elephants

    • @Unkbownthing09
      @Unkbownthing09 7 місяців тому +5

      Sir khud African lagte hai

    • @alimustafasolangi123
      @alimustafasolangi123 7 місяців тому

      @@Unkbownthing09 ha sheedi ha sheedi goth ka

  • @Studies-vg2tl
    @Studies-vg2tl Рік тому +2

    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

  • @KhawajaMuhammadAli-o3j
    @KhawajaMuhammadAli-o3j 9 місяців тому

    23:00 sir wouldnt search work perfectly fine if we use break command in for loop?

  • @STARRUDESG
    @STARRUDESG 7 місяців тому

    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

  • @umerbinayaz3443
    @umerbinayaz3443 Рік тому +4

    Best teacher ❤

  • @BurhanMangat
    @BurhanMangat Місяць тому

    36:05
    I think there is an error
    Error : While (Index

    • @areebnafees
      @areebnafees 6 днів тому

      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

  • @rtschilli5844
    @rtschilli5844 Рік тому +3

    Best teacher 👍

  • @blacks-out81
    @blacks-out81 10 місяців тому

    13:57
    if 30 is in two indexes ??

  • @masoomazehra8725
    @masoomazehra8725 Рік тому +1

    BEST TEACHER❤

  • @Artbymodest30
    @Artbymodest30 Місяць тому

    Sir y didn't u took 2 inputs in while...do...end while loop 36:00

  • @antahilkhurram
    @antahilkhurram Рік тому

    best teacher ever thank you so much sir

  • @musakhan2562
    @musakhan2562 9 місяців тому +1

    sir shouldnt input be taken after starting the loop

  • @Studies-vg2tl
    @Studies-vg2tl Рік тому +2

    13:50

  • @zampa098
    @zampa098 11 місяців тому +2

    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.

    • @zaaramohiddin9876
      @zaaramohiddin9876 11 місяців тому +1

      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 }

    • @zaaramohiddin9876
      @zaaramohiddin9876 11 місяців тому +1

      FOR loop will work but it would be a time waste and its inefficient

    • @zampa098
      @zampa098 11 місяців тому

      @@zaaramohiddin9876 ok thanks

    • @zampa098
      @zampa098 9 місяців тому

      ​@@zaaramohiddin9876 i was going through the video again and saw your reply thanks mate ❤❤

    • @zaaramohiddin9876
      @zaaramohiddin9876 9 місяців тому

      @zampa098 no problem ❤️

  • @mikaalsultan8212
    @mikaalsultan8212 9 місяців тому

    Nice 👌🏻

  • @SAMARPANBaral
    @SAMARPANBaral Рік тому

    12:30

  • @Tykeenu
    @Tykeenu Рік тому

    sir 2d array ki linear search kaise hoti hai

  • @Imrankhan-g4h6n
    @Imrankhan-g4h6n Рік тому

    Sir you said that WHILE loop requires 2 inputs , however , the example you showed in this video contained only one.

    • @CSbyAqibkhan
      @CSbyAqibkhan  Рік тому

      There is 2 cases of while loop
      1 loops as counter
      2. Loop as validation

  • @RohaanNadeemMuneer
    @RohaanNadeemMuneer Рік тому +1

    sir jaise aapne flag variable liya hai mai found as a variable lesakta hoon?

    • @SAMARPANBaral
      @SAMARPANBaral Рік тому +1

      4 mahine hogeya so kya hum found kar sakte he use batona?

  • @blackreaper3191
    @blackreaper3191 Рік тому +1

    Sir validation if then else and while end while dono se ho sakti hai?

  • @vlogerzaaiii
    @vlogerzaaiii Рік тому

    Sir agar A level karu tu insallah ap sa paruga

  • @booyahgaming8188
    @booyahgaming8188 Рік тому +5

    Sir 2d arrays plss

  • @usmanrathore1228
    @usmanrathore1228 7 місяців тому

    ez