Computer Network Lab | VTU | Program 10 - Leaky Bucket

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • Hi All,
    I have explained computer network lab program "Program 12: Write a program for congestion control using leaky bucket algorithm." in this video.
    You can find algorithm, logic, code tracing and execution steps!
    Please find the code in comment section. (The first comment by me)
    Regards,
    Dr. Roopashree H R

КОМЕНТАРІ • 40

  • @roopamam7005
    @roopamam7005  4 роки тому +48

    Here is the code
    import java.util.Scanner;
    import java.lang.*;
    public class lab7 {
    public static void main(String[] args)
    {
    int i;
    int a[]=new int[20];
    int buck_rem=0,buck_cap=4,rate=3,sent,recv;
    Scanner in = new Scanner(System.in);
    System.out.println("Enter the number of packets");
    int n = in.nextInt();
    System.out.println("Enter the packets");
    for(i=1;i

  • @coder_life3750
    @coder_life3750 2 роки тому +5

    Gave 100/100 by watching your video

  • @fashiononyourway
    @fashiononyourway 3 роки тому +2

    Thank you so much ma'am, I got this experiment in my lab exam and I did it well only because of you explaination ma'am...thank you so much for making such useful videos 🙏🙏
    Keep making such videos ma'am.

    • @roopamam7005
      @roopamam7005  3 роки тому

      I am glad that it helped you! All the best :)

  • @HelloWorld-du2pf
    @HelloWorld-du2pf 3 роки тому +1

    Thankyou so much mam for your efforts to teach us in a simple way. I am from Kolkata.

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

    Thank you so much mam for your excellent explanation 👍

  • @spriya9836
    @spriya9836 3 роки тому +1

    thank u so much mam🙏explanation is fantastic and easy to understand

  • @prajwalrbhat7853
    @prajwalrbhat7853 3 роки тому +3

    Thank you ma'am. Awesome explanation :)

  • @hiteshm9014
    @hiteshm9014 3 роки тому +1

    Thank you so much mam it was very helpful

  • @paragroy5359
    @paragroy5359 3 роки тому +1

    nice explanation mam.....thanks for the video

  • @NAYANABS-me5nt
    @NAYANABS-me5nt 4 роки тому +1

    Perfectly explained mam

  • @fashiononyourway
    @fashiononyourway 3 роки тому +1

    Thank you ma'am for this video, your explanation is very nice ma'am ♥️😍
    Love to see more of cns lab vidoes

    • @roopamam7005
      @roopamam7005  3 роки тому +1

      here u can find other CN programs ua-cam.com/play/PL8wrajtY2b2P_CNlJaut959GfgHUdHkF3.html

    • @fashiononyourway
      @fashiononyourway 3 роки тому +1

      @@roopamam7005 thank you ma'am

  • @mr_atul_
    @mr_atul_ 2 роки тому +1

    🤞🤞 really helpful content

  • @lokeshwarreddy8801
    @lokeshwarreddy8801 3 роки тому +2

    Tq u so much mam

  • @mahadevaswamyn6197
    @mahadevaswamyn6197 4 роки тому +1

    Nice mam👍 thanks

  • @gouthamir1807
    @gouthamir1807 3 роки тому +1

    Thank you ma'am

  • @dhyanmohan9229
    @dhyanmohan9229 2 роки тому +1

    why output for congestion control is not there ?

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

    If we sent 1 packet of value 10 then it should sent 3 packet and remaing value shoul be 7 ??

  • @desaidesai.b.j1726
    @desaidesai.b.j1726 4 роки тому +1

    suuuuuuuuuuuupar medam

  • @anonymoushuman6406
    @anonymoushuman6406 2 роки тому +1

    Maam how can we implement the discarded packet

    • @roopamam7005
      @roopamam7005  2 роки тому

      This code shows whether the packet is dropped or not

  • @ashwinishreem2999
    @ashwinishreem2999 4 роки тому +1

    Could you please mam coding class upload madi
    I am rural student 10th completeagi diploma admission agide (computer since)

  • @mangalagowramma3066
    @mangalagowramma3066 4 роки тому +1

    Mam 2020 year Navodaya last date to apply for class 5th

  • @darshikabalakrishna8778
    @darshikabalakrishna8778 3 роки тому +1

    mam code

  • @desaidesai.b.j1726
    @desaidesai.b.j1726 4 роки тому +1

    psi kannada ninda english ge translation madi medam