Computer Science
Computer Science
  • 4
  • 232 822
First and Follow Sets Explained
Computer Science - Language Translators - " Compilers " - Syntax Analysis
LL1 Parsing table construction, FIRST and FOLLOW Sets help us formalize the task of picking a production rule using two functions. We pick a rule when we have a choice between two or more r.h.s. by predicting the first symbol that each r.h.s. can derive. This task is generally encountered senior year for Computer Science & Software Engineering Students while taking the Compilers course. I derive the first and follow set during this presentation and attempt to clarify parts that generally cause confusion for students.
r.h.s - right hand side
มุมมอง: 18 027

วีดีโอ

Optimal Page Replacement Algorithm
มุมมอง 13K7 ปีที่แล้ว
Computer Science -Operating Systems OS Algorithm for paging when virtual memory management is required. The optimal page replacement algorithm is a best case scenario used to evaluate the efficiency of other page replacement algorithms. You might also want to check out: Banker's Algorithm explained th-cam.com/video/T0FXvTHcYi4/w-d-xo.html First-in First-out Page Replacement th-cam.com/video/nkV...
Banker's Algorithm explained
มุมมอง 157K7 ปีที่แล้ว
Computer Science - Operating systems - Banker's Algorithm Resource allocation and deadlock avoidance algorithm developed by Edsger Dijkstra that tests for safety by simulating the allocation of predetermined maximum possible amounts of all resources. I explain in a very precise and detailed way exactly how you go about getting the need matrix and then working through the banker's algorithm in o...
(FIFO) First-in, First-out page replacement
มุมมอง 45K7 ปีที่แล้ว
Computer Science -Operating systems Algorithm for paging when virtual memory management is required. This is an inefficient algorithm that would not be used in practice but is presented at university for proof of concept. You might also want to check out: Banker's Algorithm explained th-cam.com/video/T0FXvTHcYi4/w-d-xo.html Optimal Page Replacement th-cam.com/video/LvBpXzqKWDE/w-d-xo.html

ความคิดเห็น

  • @roboter8666
    @roboter8666 6 วันที่ผ่านมา

    thank you so much, I study BSc computer science and this helped

  • @duc2113
    @duc2113 หลายเดือนก่อน

    thank you jesus a guy with good accent here

  • @xix1252
    @xix1252 หลายเดือนก่อน

    11:35

  • @paradoxine6287
    @paradoxine6287 หลายเดือนก่อน

    Hey, good video! Is this a queueing data structure?

  • @yobinauq
    @yobinauq 3 หลายเดือนก่อน

    Thankkk youu alot my Guy. Fcking Savoir right there!

  • @alexanderg.5426
    @alexanderg.5426 3 หลายเดือนก่อน

    i have no clue how my professor made it seem so complicated when in reality its that fucking simple wow. thank you very much!

  • @erenaltay7061
    @erenaltay7061 3 หลายเดือนก่อน

    Hey, why we skip Allocation p1 (1000) in 6:14 ?

  • @saeky7682
    @saeky7682 3 หลายเดือนก่อน

    So i didnt have to recalculate P1, after P4🤔

  • @marioskasolas9210
    @marioskasolas9210 4 หลายเดือนก่อน

    After 7 years as i give os , very helpful video surely recommend!

  • @AndrijaMilikic
    @AndrijaMilikic 4 หลายเดือนก่อน

    SOOOOOOOOOOOOU

  • @denizerdemozkan
    @denizerdemozkan 4 หลายเดือนก่อน

    Thank you so much for giving extra attention to the difference between LRU and FIFO.

  • @Shinnnn..
    @Shinnnn.. 5 หลายเดือนก่อน

    Bro I have operating system exam tomorrow and this video really saved me 😭 thanks and i would appreciate if you can share more knowledge about os. Love the way you explain

  • @da7ma758
    @da7ma758 6 หลายเดือนก่อน

    ba7bk ya fanaaaaaaaaaaan ye5rebetak hamoooooott mn gamal 4ar7ak ye5rebet omak wla agda3ha doctooooor

  • @alfiesiddons4616
    @alfiesiddons4616 6 หลายเดือนก่อน

    i love you man you have saved me you sexy devil

    • @gojo9620
      @gojo9620 6 หลายเดือนก่อน

      facts 🥰😍😘😻💝💖💘🙉

  • @samuelevendramin3221
    @samuelevendramin3221 7 หลายเดือนก่อน

    ti meriti un bacino

  • @NinjaOG1
    @NinjaOG1 7 หลายเดือนก่อน

    I swear i been on this for 3h now and you explained it with 1 minute FUCKING FINALLY!

  • @glowsand229
    @glowsand229 7 หลายเดือนก่อน

    Thank you mr computer

  • @uritaabdelmasih292
    @uritaabdelmasih292 7 หลายเดือนก่อน

    THANKS!

  • @ronaldjavier7611
    @ronaldjavier7611 10 หลายเดือนก่อน

    Great explanation

  • @Dramatically__Yours
    @Dramatically__Yours 10 หลายเดือนก่อน

    Thank you for this video ❤

  • @semanur69
    @semanur69 10 หลายเดือนก่อน

    good question

  • @batnoy779
    @batnoy779 10 หลายเดือนก่อน

    when we doing step 2, must we do the P0 firstly? Can I start with with other, say, like P3 first?

  • @furkansarmehmet9568
    @furkansarmehmet9568 10 หลายเดือนก่อน

    hard

  • @jfkdujgujmc5jtrppdlwkscsce709
    @jfkdujgujmc5jtrppdlwkscsce709 11 หลายเดือนก่อน

    it's the end of 2023 and this video is the best, big thumbs up!

  • @EllenbridgetDanda
    @EllenbridgetDanda ปีที่แล้ว

    Well explained thank you

  • @loganmarsh3584
    @loganmarsh3584 ปีที่แล้ว

    Thanks 🙏

  • @imtrjii1275
    @imtrjii1275 ปีที่แล้ว

    Sry but how did 1520 come from i mean is it a dynamic number it is concluded ? in one word how did available come from "? thank you

  • @jacksonmurdock8207
    @jacksonmurdock8207 ปีที่แล้ว

    sat before an exam watching this thinking this guy is a god lmao

  • @davidokpara6
    @davidokpara6 ปีที่แล้ว

    thanks

  • @MisanthropyPure
    @MisanthropyPure ปีที่แล้ว

    You are a savior. Thanks

  • @PaigeNamoc
    @PaigeNamoc ปีที่แล้ว

    this was terrible

  • @Butter9322
    @Butter9322 ปีที่แล้ว

    This was so helpful and well explained. Thank you!

  • @sabinomuniz5542
    @sabinomuniz5542 ปีที่แล้ว

    Clear and simple, thank you for explaining very clearly and well.

  • @nullpointer8553
    @nullpointer8553 ปีที่แล้ว

    At 3:17 why did you skip 3 and 2? At that point 2 was the longest standing so it should be replaced with 3. so it's 0|3|3 -> 0|3|2 -> ...

    • @dvoraklovelace2801
      @dvoraklovelace2801 ปีที่แล้ว

      He skip them because 3 and 2 don't produce page fault

    • @Astronomy.532lifenspace
      @Astronomy.532lifenspace 7 หลายเดือนก่อน

      ​@dvoraklovelace2801 can you pliz explain

    • @fahtongfah
      @fahtongfah 7 หลายเดือนก่อน

      @@Astronomy.532lifenspace hi, i understand it as, the page frame 3:17 currently holds [0|3|2]. once you encounter 3 and 2 in the reference string, it counts as a "page hit" since those are in the page table. since they "hit", they do not page fault. part of the reference string will only page fault when it is not contained in the page frame. hence, at 3:22, when he encounters 1 in the reference string, he inserts it into the page frame, as it is new and was NOT in the page frame before the specified timestamp. i think that is correct - hope that helps! EDIT: corrected some terminology that wasnt consistent

  • @tula1308
    @tula1308 ปีที่แล้ว

    Finally I found an English video

  • @TheHickjc1222
    @TheHickjc1222 ปีที่แล้ว

    Very good video!

  • @khomo12
    @khomo12 ปีที่แล้ว

    Good job! Thanks!

  • @jabu9
    @jabu9 2 ปีที่แล้ว

    Where do those original numbers in the matrix come from? At 3:06

  • @krumss
    @krumss 2 ปีที่แล้ว

    will there be more videos?

  • @Bv1.00
    @Bv1.00 2 ปีที่แล้ว

    I usually don't comment on videos, but this was well explained and simplified the steps nicely. I was struggling to find out what to do with my available and need and it ended up helping me understand it well. Thank you.

  • @JIRONewin
    @JIRONewin 2 ปีที่แล้ว

    thanks

  • @lashra
    @lashra 2 ปีที่แล้ว

    thx for nice accent

  • @nickbell6311
    @nickbell6311 2 ปีที่แล้ว

    Excellent top notch video, very easy to understand in simple language, thanks a lot. Thanks🙏🙏🙏🙏 made me easy to understand bankers algorithm

  • @joechang1958
    @joechang1958 2 ปีที่แล้ว

    Thank you so much !!

  • @alphabetsalphabets5242
    @alphabetsalphabets5242 2 ปีที่แล้ว

    During the steps in 3:06 where you caclulated the need, is is possible for any values in the max matrix for any process be smaller than the values in the allocation matrix for the same process?

  • @manueltylan827
    @manueltylan827 2 ปีที่แล้ว

    Kindly revise; Isn't the correct Safe state = [P0, P2, P1, P3, P4]?

  • @owenfranke7857
    @owenfranke7857 2 ปีที่แล้ว

    THANK YOU!!

  • @olivewoohoo
    @olivewoohoo 2 ปีที่แล้ว

    Thx so much for the explanation in detail!

  • @pwny4995
    @pwny4995 3 ปีที่แล้ว

    What about the unsafe sequence? Do we just reverse the condition when comparing with the need and the available from true to false?

  • @JaimeD.
    @JaimeD. 3 ปีที่แล้ว

    Thanks for the video.