fcfs with arrival time program in c

  Рет қаралды 123,111

Study Extent

Study Extent

Күн бұрын

Пікірлер: 133
@StudyExtent
@StudyExtent 6 жыл бұрын
This is the second video series in learning the programming of cpu scheduling in operating system . Hope you learn a l;ot from it the next video if based on sjf cpu scheduling & it will be uploaded very soon till then stay tuned to study extent
@sakshichavanke4626
@sakshichavanke4626 3 ай бұрын
This is amazing....😊 Your explanation is bang on.....
@StudyExtent
@StudyExtent 3 ай бұрын
Thanks for appreciation🙏
@saurabhpandey1231
@saurabhpandey1231 5 жыл бұрын
outstanding job, with great simplicity. thanks for helping.
@pranit8441
@pranit8441 2 ай бұрын
Thanks sir❤❤
@StudyExtent
@StudyExtent 2 ай бұрын
Most welcome ✌
@eshafatima789
@eshafatima789 3 жыл бұрын
Thanku so much sir it's very very helpful 😊😊😊😊😊😊
@StudyExtent
@StudyExtent 3 жыл бұрын
Glad to help :)
@ateefkhan4692
@ateefkhan4692 3 жыл бұрын
thank you very much sir, it helped me in my external labs
@shubhankar3164
@shubhankar3164 3 жыл бұрын
if you have a condition in which the cpu is at idle state add this condition in your code if (AT[i] > temp[i]) //temp is basically the time at which CPU is just allocated to the process {temp[i] = AT[i];}
@ShoubhikDa
@ShoubhikDa 6 жыл бұрын
Seriously this program was very helpful!!! pls kep uploading such videos!!!
@shuvamsahoo1130
@shuvamsahoo1130 6 жыл бұрын
Great one 😘😘😘😘
@_Shakshi_Patra
@_Shakshi_Patra 2 жыл бұрын
explanation is very easy
@newapdateranjayraj581
@newapdateranjayraj581 Жыл бұрын
Good teacher sir
@1003_AmanMaurya
@1003_AmanMaurya Жыл бұрын
Thanku !
@thisisthewayiliketoworking3309
@thisisthewayiliketoworking3309 5 жыл бұрын
Very nice.. Keep it up👌👍
@AbhishekRathore-zd7mk
@AbhishekRathore-zd7mk 3 жыл бұрын
Thank you so much for this video 😘😘
@isha4080
@isha4080 2 жыл бұрын
Ty sir ji for this video 🙏
@saifdevan6060
@saifdevan6060 5 жыл бұрын
V-nice bro...
@Himricks
@Himricks 5 жыл бұрын
Bro you explained in the most easy , fuckin manner hat's off bro🙂
@bhaktiawasarkar7387
@bhaktiawasarkar7387 6 ай бұрын
Too good sir gant chart ka bhi agar de sakte ho to please de dena
@gm_03
@gm_03 Жыл бұрын
instead of first process if any other process arrival time 0 then output will be wrong
@biswajitbarge143
@biswajitbarge143 2 жыл бұрын
Thank you sir 😘☺️
@deveshrautela26
@deveshrautela26 3 жыл бұрын
Great Explanation, Keep it up.
@bhanujkumar6151
@bhanujkumar6151 5 жыл бұрын
this program doesn't give valid result for problem in which burst time is smaller but arrival time is quit greater. eg: burst time (2,3,5) and arrival time is(0,6,7). it shows negative result for waiting time and tat....which is quite obvious according to this algorithm......please modify this video asap.
@shikharyadav2007
@shikharyadav2007 Жыл бұрын
Exactly
@ashu_gaming_and_vlog
@ashu_gaming_and_vlog 5 жыл бұрын
Wow excelente But bhai aap system analysis ka class krwate hai kya
@BettysThreadStore
@BettysThreadStore 3 жыл бұрын
Thank you sir
@ansh2647
@ansh2647 2 жыл бұрын
thanks sir
@rajput5861-h9x
@rajput5861-h9x 4 жыл бұрын
Thanks alot
@What-why209
@What-why209 2 жыл бұрын
owsom bhai ,bahoot easy way me bta diya
@-Jyothi-mv2yv
@-Jyothi-mv2yv 3 жыл бұрын
Excellent
@Motabhai-di9bp
@Motabhai-di9bp 2 жыл бұрын
Everything is good sir But if the background color might be black and the fonts in white color then it will be more comfortable
@somyaomar4946
@somyaomar4946 5 жыл бұрын
outstanding vedio sir ,sir provide the sjf with arrival time tutorial
@StudyExtent
@StudyExtent 5 жыл бұрын
Ok soon
@sufiyaantamboli7394
@sufiyaantamboli7394 Жыл бұрын
Hello sir. The formulas used for waiting time and turnaround time are different from what it is given in books and Google ! Can you please explain how you got these formulas ?
@vedprakashpal4582
@vedprakashpal4582 6 жыл бұрын
Very nice
@sabitaojha2871
@sabitaojha2871 4 жыл бұрын
Please make videoes to implement lock variable, producer consumer problem using message passing
@avikbachhar9337
@avikbachhar9337 3 жыл бұрын
Insuffient, Changing order of arrival time wont make a diffrence on reverse the order of arrival..... it should change accordingly
@raphulali8937
@raphulali8937 3 жыл бұрын
arrival time serially hone ae kam krta hai pr agr kisi question mai arrival time shuffled hon..i mean agr process 1 ka arrival time 5 hon process 2 ka 0 th tab minus maia ta hai waitingtime
@priyanshudhameniya1471
@priyanshudhameniya1471 9 ай бұрын
Hello Sir.. Actually when I am running the same code.. It's showing 0 in arrival time of all the processes
@StudyExtent
@StudyExtent 9 ай бұрын
Try again if still not working then mail us on our mail id
@CODINGBYSIR
@CODINGBYSIR 3 ай бұрын
same issu bro
@syedsohaib5256
@syedsohaib5256 2 жыл бұрын
This code is not working for arrival time from one or other number Only work for from zero
@kanadimoon3968
@kanadimoon3968 3 жыл бұрын
but how can i do for unsorting arrivel time, your arrivel time is already sorted , if my input arrivel time is not sorted and if i use any sorting method i lost the process number , then how can i do it
@StudyExtent
@StudyExtent 3 жыл бұрын
you can enter unsorted arrival time, it still working because the program will first sort the arrival times of the respective process and then start computing
@kanadimoon3968
@kanadimoon3968 3 жыл бұрын
@@StudyExtent Though I already solved the provlem by using sorting method and for traking the process i used struct, but sorry in your program u r not sorting the arrival time , as the loop start with i=0 , and u r calculating the waiting time = tem[i] - at[i] (starting time -arrival time) , as i=0 so u r calculating for 1st arrivel time ......not for the minimum arrival time
@raviyadav2552
@raviyadav2552 4 жыл бұрын
simply awesome
@ajaychaursiya1929
@ajaychaursiya1929 2 жыл бұрын
Nice sir
@ROHANBOSE-l2p
@ROHANBOSE-l2p 10 ай бұрын
In this code, what is the use of j, we are not using j for looping!
@shrutisethi9319
@shrutisethi9319 5 жыл бұрын
Pls provide video for srtf scheduling program...round robin scheduling program and bankers algorithm program in c language...as soon as possible
@yashwanth4395
@yashwanth4395 5 жыл бұрын
please do round robin scheduling too
@Atul_Agnihotri
@Atul_Agnihotri 2 жыл бұрын
sir whuy we make temp array & whats its need ???
@akankshayadav5139
@akankshayadav5139 Жыл бұрын
what if the arrival times are not in ascending order
@prashantrasaily4905
@prashantrasaily4905 2 жыл бұрын
Can anyone tell me what is the use of that temp array??
@kaustubhphatangare7790
@kaustubhphatangare7790 Жыл бұрын
Exit time
@akashraut6745
@akashraut6745 4 ай бұрын
Is this program run on Linux
@StudyExtent
@StudyExtent 4 ай бұрын
Yes it will run
@AmanSingh-ve9fp
@AmanSingh-ve9fp 5 жыл бұрын
How to Display Gant Chart with this method ..?
@muhammadahsan-qn4xf
@muhammadahsan-qn4xf 5 жыл бұрын
outstanding video sir but veriable "j" tw use hua nai?
@samruddhikamthe7214
@samruddhikamthe7214 Жыл бұрын
how to write this program which also gives gantt chart
@ujjawalpatidar410
@ujjawalpatidar410 Жыл бұрын
what if we not give the arival time in sequence
@meg33333
@meg33333 3 жыл бұрын
Sir what is the diff between 2 videos pf fcfs programs if we use 2 program insisted of first did it become some difference.
@kambhampatijayasaivarshith3013
@kambhampatijayasaivarshith3013 4 жыл бұрын
sir why we are using temp variable and pls do a program which include completion time also
@missqueen3877
@missqueen3877 2 жыл бұрын
Have you got answer of it? Explain
@missqueen3877
@missqueen3877 2 жыл бұрын
What is the use of temp array
@sahilshah2667
@sahilshah2667 2 жыл бұрын
It gives you the completion time
@utsavveersingh3855
@utsavveersingh3855 5 жыл бұрын
Plz upload round Robin and other scheduling algorithm program....
@sualehansari7036
@sualehansari7036 2 жыл бұрын
The value of int j is never used and it does not give appropriate results
@745_riyasaha8
@745_riyasaha8 2 жыл бұрын
sir, what if all the process arrive at the same time then how will we arrange the brust time......and if there is a idle situation in between 2 process how will we find that?
@pranayvonteru6886
@pranayvonteru6886 2 жыл бұрын
If all the process arive at the same time we can use processid to run the processes And If there is an idle state use if condition: If(at[i] > temp[i]){ temp[i] = at[i]; }
@745_riyasaha8
@745_riyasaha8 2 жыл бұрын
@@pranayvonteru6886 thank you sir
@VaishnaviChavare-w5f
@VaishnaviChavare-w5f Жыл бұрын
j loop nahi use Kiya assign int mai krne ka nhi kya
@vikashsingh1356
@vikashsingh1356 4 жыл бұрын
Output of this program is wrong, when we take three processes having Arrival Time=3,1,2 and Burst time=13,9,3 . Please tell me which line will change
@mridul_chandrawanshi
@mridul_chandrawanshi 3 жыл бұрын
Arrival time ko sort bhi karna hota hai, Sort wala bhi code karke daal do.
@dev_discovery
@dev_discovery 5 жыл бұрын
if arrival time start with any random number without (0) it doesn't work
@StudyExtent
@StudyExtent 5 жыл бұрын
Wait i will check
@brundhaaa
@brundhaaa 3 жыл бұрын
what is the role of temp here?
@StudyExtent
@StudyExtent 3 жыл бұрын
Temp is used to keep track of the burst time of executing process
@Sm_DevOps
@Sm_DevOps 6 жыл бұрын
What if we apply it in linked list because we don't that how much process user want to enter so in that case linked list is useful
@kanhagupta7400
@kanhagupta7400 4 жыл бұрын
Must
@praveenreddynandimandalam6388
@praveenreddynandimandalam6388 5 жыл бұрын
want remaining algorithm programs with response ratio,gantt chart
@StudyExtent
@StudyExtent 5 жыл бұрын
Sure
@kumoulicakumoulica4675
@kumoulicakumoulica4675 3 жыл бұрын
can u add the gannt chart also please'
@StudyExtent
@StudyExtent 3 жыл бұрын
Sure very soon
@Not_kodi
@Not_kodi 5 жыл бұрын
Wt abt random arrival time..?
@StudyExtent
@StudyExtent 5 жыл бұрын
You will take any random arrival time by your own and the program will give you the correct output
@monjitsaikia9816
@monjitsaikia9816 5 жыл бұрын
Random arrival time doesn't give correct output
@mohamedusaied6949
@mohamedusaied6949 5 жыл бұрын
How to get gantt chart sir
@shubhalibhamre4932
@shubhalibhamre4932 4 жыл бұрын
Sir please tell the logic of program
@kapilsahu2275
@kapilsahu2275 6 жыл бұрын
Sir ,when arrival time given random.. So how to solve..
@piyushwankhade5177
@piyushwankhade5177 3 жыл бұрын
Wrong program. It doesn't work when we specify the arrival time in discontinued manner (like 0,1,5,6). There must be a function which will return the smallest arrival time and then the operations should be performed one by one.
@ashu_gaming_and_vlog
@ashu_gaming_and_vlog 5 жыл бұрын
My programme is not opening in tabler form what to do
@StudyExtent
@StudyExtent 5 жыл бұрын
Write the code exactly as I had written
@mdfaizanalam_
@mdfaizanalam_ 2 жыл бұрын
It will be correct only when AT is given in sorted order😶😶
@yatharthtyagi4559
@yatharthtyagi4559 Жыл бұрын
Temp kyu use kiya h isme ye bta do yrr?
@shameemkhan224
@shameemkhan224 5 жыл бұрын
Sir mere turbo c pr run ni hi rha ye programm
@StudyExtent
@StudyExtent 5 жыл бұрын
Please check o think you probably make a mistake while writing program
@milindjoshi7790
@milindjoshi7790 3 жыл бұрын
Here, please check the spelling of define sir you have written 'definne'
@amandrolia157
@amandrolia157 3 жыл бұрын
Lekin classes ka use karna chahiye tha , college me function se mana kar rahe h, aage dikkat aayegi
@simon8284
@simon8284 2 жыл бұрын
Bro i don't know what subject it's but was here watching different fcfs video for os... Can you elaborate this subject and what things it contains?
@kale-lb5pr
@kale-lb5pr 11 ай бұрын
why wt[i]=temp[i]-a[i]??????
@rambhaktuchihaobito7987
@rambhaktuchihaobito7987 Ай бұрын
There is a difference between understanding the logic and just memorizing the code like a fool
@taslimasultana3795
@taslimasultana3795 5 жыл бұрын
round robin er c program need plz.
@StudyExtent
@StudyExtent 5 жыл бұрын
Sure
@namariq3177
@namariq3177 5 жыл бұрын
I wish that you put the source code
@anmolpatil9657
@anmolpatil9657 4 жыл бұрын
please add gannt chartcode within 2days
@abdulwasay2424
@abdulwasay2424 4 жыл бұрын
Plz upload SJF algorithm with arrival time
@aadarshrakeshvalmiki5412
@aadarshrakeshvalmiki5412 4 жыл бұрын
Not good at all What will you do if Aarival times are 6 6 2 0 5 8
@StudyExtent
@StudyExtent 4 жыл бұрын
good question 1- No two process are having same arrival time 2- taking the first point into consideration if you entered the arrival time as per your requirement the program will provide you the correct output
@meghanachippada8051
@meghanachippada8051 3 жыл бұрын
Your code is only executing with your particular inputs .No other inputs are giving the correct outputs with this code!!!
@georgekutty9207
@georgekutty9207 2 жыл бұрын
Suppose that arrival time of process is not in the Order 0123….. Then what
@lemonlimu8256
@lemonlimu8256 6 жыл бұрын
vaiya int line tate problem dekhacce kno
@lakshyarajput1023
@lakshyarajput1023 4 жыл бұрын
Cam you provide us with the code too
@RajeshKumar-ju3pq
@RajeshKumar-ju3pq 2 жыл бұрын
where ww "j" in our program?
@lakshamipati5611
@lakshamipati5611 6 жыл бұрын
is waiting time for process is correct check once .
@StudyExtent
@StudyExtent 6 жыл бұрын
Absolutely it's correct
@yohereim
@yohereim 2 жыл бұрын
bhaiya completion time nai h
@741_sonalighodkhande8
@741_sonalighodkhande8 5 жыл бұрын
Sir, it is not running true over codeblocks Ide
@StudyExtent
@StudyExtent 5 жыл бұрын
Please use turbo c
@bonsramk508
@bonsramk508 2 жыл бұрын
Where is completion time?
@shikharyadav2007
@shikharyadav2007 Жыл бұрын
Arrival time 0 3 5 Burst time 2 1 6 Try for this it won't give accurate result
@mariyamamreen439
@mariyamamreen439 2 жыл бұрын
Source code plz ????
@aditishukla9950
@aditishukla9950 4 жыл бұрын
Gantt chart
@StudyExtent
@StudyExtent 4 жыл бұрын
Sorry but in order to reduce the program size I didn't add Gantt chart
@singh-fi5wu
@singh-fi5wu 3 жыл бұрын
Output is not correct
@shahabaz6042
@shahabaz6042 4 ай бұрын
output is wrong
@nabeelnavab1282
@nabeelnavab1282 3 жыл бұрын
tat[i]=0? wtf?
@Karthikchary-sy3go
@Karthikchary-sy3go Жыл бұрын
Rai wrong result haara...check the code once
sjf program in c
19:39
Study Extent
Рет қаралды 129 М.
fcfs program in c
14:47
Study Extent
Рет қаралды 107 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
priority scheduling with arrival time program in c
27:08
Study Extent
Рет қаралды 28 М.
mkdir/ls/cd/cp/mv(basic commands) in linx[part 1]
21:41
kwl zerotwonine
Рет қаралды 50 М.
C program for Banker's safety algorithm to detect deadlock in operating system
21:54
Avinash Kokare - CS-IT Tutorials
Рет қаралды 30 М.
L-2.3: First Come First Serve(FCFS) CPU Scheduling Algorithm with Example
10:34
Putin and Trump Meeting / Venue Preparation
12:07
NEXTA Live
Рет қаралды 301 М.
FCFS(First Come First Serve) CPU Scheduling Algorithm with example | Operating System
17:50
Files in C | C Language Tutorial
16:37
Naresh i Technologies
Рет қаралды 520 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН