Тёмный

4.9 Previous year gate questions on Semaphores | Process synchronization | OS 

KnowledgeGATE by Sanchit Sir
Подписаться 717 тыс.
Просмотров 236 тыс.
50% 1

📝 Please message us on WhatsApp: wa.me/91800012...
💻 KnowledgeGate Website: www.knowledgeg...
📲 KnowledgeGate Android App: tiny.cc/KG_Offi...
➡ Do not miss our Bestseller Courses:
🔴 GATE Guidance-2025: www.knowledgeg...
🟠 GATE Guidance-2026: www.knowledgeg...
➡ Contact Us:
🟩 Whatsapp Chat: wa.me/91859512...
📞Call on: +91-8000121313
🟦 Telegram Updates: t.me/kg_gate
🟩 Whatsapp Updates: www.whatsapp.c...
📧 Email: contact@knowledgegate.in
➡ Our One Shot Semester Exam Videos: 👇
▶ Operating System: • Complete Operating Sys...
▶ DBMS: • Complete DBMS Data Bas...
▶ Computer Network: • Complete CN Computer N...
▶ Digital Electronics: • Complete DE Digital El...
▶ Computer Architecture: • Complete COA Computer ...
▶ Data Structure: • Complete DS Data Struc...
▶ Algorithm: • Complete DAA Design an...
▶ Software Engineering: • Complete Software Engi...
▶ Theory of Computation: • Complete TOC Theory of...
▶ Compiler: • Complete CD Compiler D...
▶ Discrete Maths: • Complete DM Discrete M...
➡ Free Subject-Wise Complete PlayList: 👇
▶️ DBMS: tiny.cc/kg_yt_DBMS
▶️ Operating System: tiny.cc/kg_yt_OS
▶️ TOC|Automata: tiny.cc/kg_yt_toc
▶️ Computer Networks: tiny.cc/kg_yt_CN
▶️ Digital Electronics: tiny.cc/kg_yt_D...
▶️ Compiler Design: tiny.cc/kg_yt_C...
▶️ Computer Architecture: tiny.cc/kg_yt_COA
▶️ Data Structure: tiny.cc/kg_yt_D...
▶️ Algorithms: tiny.cc/kg_yt_A...
▶️ Set, Relation, Function: tiny.cc/kg_yt_D...
▶️ Graph Theory: tiny.cc/kg_yt_g...
▶️ Group Theory: tiny.cc/kg_yt_g...
▶️ Proposition: tiny.cc/kg_yt_p...
#knowledgegate #GATE #sanchitjain
*********************************************************

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 147   
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Год назад
For complete Operating System, check out this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xw_OuOhjauw.html
@piratedvirus
@piratedvirus 5 лет назад
This might be the first time that I clicked on adverts between video just to make sure that my one click on ad could help you to earn more.... It's great that all of your videos are free... Salute Sir! What you are doing is way way better than our college professors. Keep it up Sir...!
@ShivamSingh-jw8ey
@ShivamSingh-jw8ey 7 лет назад
very interesting question, GATE has some good ones.
@hemantapat2258
@hemantapat2258 7 лет назад
Thnkuuu excellent video ...
@nidhinandani1827
@nidhinandani1827 4 года назад
No words to appreciate your effort!!!!! 'Padhai ghol kar pyne ki chij nahi hoti' ye aksar ghar ke bade bolte hai.But you know ap na kisi bhi topic ko ghol kar pilane ki hi dumkham rakhte ho. I thank GOD for the day when I came in touch with your os videos. You made os so interesting for me.Hope !!! I can crack the exams for which I have started my preparation once again after a long duration.
@shivrajhulbatte7439
@shivrajhulbatte7439 6 лет назад
This was an extraordinary explanation...hats off sir...
@zaidmanzoor6939
@zaidmanzoor6939 8 лет назад
teaching art at its best. thnx sir
@ruchideshpande9878
@ruchideshpande9878 8 лет назад
I had watched all your videos...and because of you sir..I had developed , interest towards the subject...and cleared all topics...Thank u Sir:):):)
@AbhishekSingh-og7kf
@AbhishekSingh-og7kf 4 года назад
Such a beautiful question. And Sir , your explanation is great👍
@AdeshPaul
@AdeshPaul 4 года назад
Khatarnaak question ko Aapne easy bana Diya. thanks a lot sir.
@AshishBhardwaj100
@AshishBhardwaj100 6 лет назад
i guess you're explaining this course better than most of the professors that are currently teaching in IITs , NITs , IIITs . A big thumbs up to you Sir :)
@NishantSingh-ds8he
@NishantSingh-ds8he 5 лет назад
Best question. Very informative video ❤️
@chipsfanatic
@chipsfanatic 8 лет назад
The concepts are explained very clearly. Thank you for this video series.
@dhavalkumarprajapati6966
@dhavalkumarprajapati6966 7 лет назад
really help full sir please continue ... because there is less video of this topic on youtube
@saumyaranjan9256
@saumyaranjan9256 Год назад
This was a brilliant problem and a beautiful solution. Also this might have been difficult to figure out on my own so the way you explained this definitely helped a lot. Thank You!
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg Год назад
You're very welcome @Saumyaranjan! 😍keep learning! Do like, subscribe & share the video, you can also visit our website www.knowledgegate.in for more amazing videos & contents👍
@DeepakKumar-mq4zg
@DeepakKumar-mq4zg 7 лет назад
I have learnt many new things from your videos. Can you upload videos on computer graphics, neural network and automata.
@poojabajaj.
@poojabajaj. 7 лет назад
Thank You Sir. Yours videos are The Best Sir. Please upload more videos in TOC playlist also, many of us are waiting for the same.
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
Hello Radha, Thank you so much for showing your interest, We are working on TOC. Please subscribe our channel to follow all updates. :)
@skzafar9783
@skzafar9783 7 лет назад
I'm waiting for more videos on OS🤕 Sir Plzz Upload more🙏
@lilarta2
@lilarta2 8 лет назад
very nice explanation of this topic..really gud work..thank you sir ..can you upload the explanation of previous years gate questions based on test and set instruction(semaphore)?
@lavendernlily
@lavendernlily 6 лет назад
Thankyou Sir for such an easy explanation
@vikrantverma5500
@vikrantverma5500 6 лет назад
a shared variable should provide latest valuE of variable to all process (if Declared Volatile) then how process w is retaining its local copy of var.
@narendraparmar1631
@narendraparmar1631 6 лет назад
Now I know semaphore much better. Thanks sir ji😆
@ramanprasad9612
@ramanprasad9612 7 лет назад
Thank you sir, I am studying in Computer Science in University College Dublin and couldn't understand this concept but now it's very clear. Thanks again
@muhammadiqbalbazmi9275
@muhammadiqbalbazmi9275 7 лет назад
amazing teaching style. quality unmatched. sir I am in MCA 1st year ,can I attempt GATE of 2018(in 2nd year).plzzz reply sir
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
shukriya iqbal bhai, allah ka fazr hai sab...it depends every year that have a different rule...but i think most probably in 2019
@ghyr3740
@ghyr3740 4 года назад
Sir hum logo ko computer networks aur computer organisation bhi bohot tough Lagta hai. Please sir unpe bhi apka help mil jaye to gate me koi rokne wala nhi hoga.
@97viral
@97viral 7 лет назад
Sir, can Semaphores cause deadlock? Please explain it with an example!
@gulrezeqbal3048
@gulrezeqbal3048 6 лет назад
Sir u r amazing ...I salute u sir !
@sidharthdash841
@sidharthdash841 7 лет назад
Sir, Thanks for ur explanation.you explain so nicely.
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
appreciated sidharth bhai :)
@chetansingh7936
@chetansingh7936 4 года назад
What an amazing problem sir thanku for explaining this 🙏
@akankshachuchra
@akankshachuchra 4 года назад
Explained really well! Thanks a lot.
@mdramishhasan0
@mdramishhasan0 5 лет назад
Sir I like your videos. It increases my interest in study.
@MdRumanHossain
@MdRumanHossain 7 лет назад
Thank you sir. At last i got the working process after seeing this
@murtuzashareef7906
@murtuzashareef7906 7 лет назад
This is awesomeness at its best.
@Birendrakumar-en9yi
@Birendrakumar-en9yi 7 лет назад
Doubt!! after executing read of Process(w),Does read(x) store value of x in local memory of Process(W)? is only line x=x+1 and x=x-2 is a critical section?
@raghavbharadwaj8245
@raghavbharadwaj8245 4 года назад
This blew up my mind 😵🔥
@jayishasaha3093
@jayishasaha3093 5 лет назад
sir, You explained very well.. its helpfull.
@rahulkhandelwal8781
@rahulkhandelwal8781 8 лет назад
Sir please upload counting semaphore algorithm.Your video was very nice.
@kumariabha1382
@kumariabha1382 7 лет назад
great!!!! 👍👍👍👌👌👌👌👍👌👍👌👌hv learnt so many ..**new things***thank you sir😄😄
@kaushalsengupta8624
@kaushalsengupta8624 8 лет назад
Excellent explanation, sir.
@chloekimball536
@chloekimball536 6 лет назад
Sir, I think you are the best instructor ever!
@RajendraKumar-oz4fx
@RajendraKumar-oz4fx 4 года назад
What an amazing solution
@balajirekadi8535
@balajirekadi8535 8 лет назад
Your tutorials are just very good sir.. But plz try to put everything in english and sir try to put some videos on computer organization also. Thankyou!!
@sharnagatthakur3540
@sharnagatthakur3540 3 года назад
Such an amazing explanation. Thank you so much
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 3 года назад
Glad it was helpful! You can also visit our website www.knowledgegate.in for more courses and contents. Keep learning !!
@DanielAngali
@DanielAngali 8 лет назад
Superb Explanation Sir,Thanks alot.
@jayeshgade7913
@jayeshgade7913 6 лет назад
sir please explain this question. Suppose there is a rope that crosses a river (or canyon, if you prefer). There are monkeys on both sides of the river that want to cross the river using the rope. Lets call the two sides Left and Right. The following constraints must be satisfied: 1.At any time, only one side is allowed to cross. That is, either the monkeys from the left side should be crossing, or the monkeys from the right side should be crossing. Presumably, if both sides were allowed to cross at the same time, they would get stuck when they meet. Worse still they would fight, and perhaps kill each other. 2.The rope can take the weight of at most 10 monkeys at a time.
@ytg6663
@ytg6663 6 лет назад
Jayesh Gade Its like dining philosophers problem.
@naturewandereruk
@naturewandereruk 7 лет назад
Thanks Sir, From Pakistan
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
appreciated brother :)
@sharkk2979
@sharkk2979 7 лет назад
Really good videos,enjoying a lotExcellent workBest wishes to u
@sidharthdash841
@sidharthdash841 7 лет назад
So Nice explanation.
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
Thank you so much for appreciation brother :)
@tsuki_val
@tsuki_val Год назад
My left ear enjoyed this
@danyal_250
@danyal_250 7 лет назад
nice.upload tutorials for system programming course along with code to understand it in a better way.thank you
@kavyarallabhandi
@kavyarallabhandi 7 лет назад
Sir how do we know kab kis process ko context switch karna hain aur konsi order main process lo use Karna hai? Alag alag order main liyetho Kya x ka value change hoga?
@chandrikav9197
@chandrikav9197 6 лет назад
Questions is asked for maximum possible value, we have to apply all the possible combinations to get the maximum value. Here logically the Y,Z were decreasing the value so initially so X Y was taken to get the maximum value.
@yashadattsawant2380
@yashadattsawant2380 7 лет назад
hands off for ur all videos.....
@akashkroy
@akashkroy 6 лет назад
Hi sir, you explained the concept very well. But as the definition of the critical section, we can't preempt a process while in the critical section. If I am right then how the process is being preempted from the critical section. Please clear the cloud.
@anuragmodi02
@anuragmodi02 6 лет назад
we can preempt a process from anywhere whether it is in critical section or not.
@rahulkhandelwal46578
@rahulkhandelwal46578 6 лет назад
we can context switch in the critical section by another process but it will be of no use because another process will be trapped in while loop.
@raviraj8209
@raviraj8209 6 лет назад
then won't it cause the deadlock..? i mean now other processes cant go in . then how is this different from lock variable
@shalukumari2463
@shalukumari2463 6 лет назад
Thank you sir for explain very well ..
@hassanyasin9724
@hassanyasin9724 7 лет назад
Sir just wanted to know can context switch occur after wait and before reading the value of x? if yes then what will happen? because if that happens then we can't ignore process y and z as it will read the value of x again.
@bhawanirathore3105
@bhawanirathore3105 8 лет назад
please upload banker's algorithm sir...for gate point of view
@vendetta3953
@vendetta3953 8 лет назад
excellent explanation
@naveedhassan7399
@naveedhassan7399 5 лет назад
what an amazing question.
@leepakshiyadav1643
@leepakshiyadav1643 4 года назад
Nice explaination
@divyachauhan5281
@divyachauhan5281 8 лет назад
really good videos :) easy to understand stuff
@AB-uw7ge
@AB-uw7ge 7 лет назад
really helpful
@vedgupta916
@vedgupta916 6 лет назад
Please do lectures on Computer Architecture
@sahilbansal4684
@sahilbansal4684 5 лет назад
x can hold all these options when s=1 and even then max. possible value of x will be 2 and min. will be -4 i am right?..
@rishitmayank4458
@rishitmayank4458 7 лет назад
thank you
@ravirajshinde465
@ravirajshinde465 7 лет назад
you are amazing keep uploading pleasse
@pavankalyannaika5276
@pavankalyannaika5276 5 лет назад
Sir, ur explanation was good. But,the given solution is violating the first and mandatory condition which is mutual exclusion. How can you say that given solution is correct to solve critical section problem?
@kumariabha1382
@kumariabha1382 7 лет назад
sir can u also make vedio on .. a problem is given in which no. of shared variables are given nd say two processes are given nd order is given that first shared variable is completed before second process completes shared variable 1 , ... then how many semaphores are required ? ... as in GATE2005 One question was there?
@itishreeparida9028
@itishreeparida9028 4 года назад
Bless me sir today is my gate exam
@rohitmondal6876
@rohitmondal6876 6 лет назад
if s=3 or more; then the max and min. value obtained possible will remain the same, isnt it?
@rajeshbammidy180
@rajeshbammidy180 6 лет назад
But we need to contextswitch only ater reading the variable x? Cant we switch to another process between wait(s) and read(x)?
@tapaswinisingh7299
@tapaswinisingh7299 7 лет назад
Thank u so much .. Sir :) God bless u
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
Hi Tapaswini, Thank you so much, would like to hear more from you. We upload more topics every week, Please subscribe this channel for best GATE tutorials. :)
@jasmeetsingh4516
@jasmeetsingh4516 6 лет назад
God bless you bacha
@rajendrakujur2078
@rajendrakujur2078 7 лет назад
but sir you told between wait() and signal() there is critical section right and in previous videos you said that we can't perform context switch then why here ? please answer as fast as possilbe ? :-(
@rimpashaw4506
@rimpashaw4506 7 лет назад
he never said we cant apply context switching because context switching can definitely be done any time
@PAVANKUMAR-qj3ih
@PAVANKUMAR-qj3ih 6 лет назад
At any time a process can contact switch to the other process
@ronniebanerjee953
@ronniebanerjee953 7 лет назад
Sir,Har ek process ke execution ke baad x ki value change ni hogi ?
@alphaprokiller7438
@alphaprokiller7438 5 лет назад
What we have context switch between wait and r(x) ... Now it do not have prev. Value of x. So how it will deal with it?
@muhammadsafiullah8428
@muhammadsafiullah8428 5 лет назад
nice explanation!
@rubysing9263
@rubysing9263 6 лет назад
sir counting semaphore and binary ane i think discuss nhi kiya please uska video bhi bana dijiye
@sibuawasthi1095
@sibuawasthi1095 3 года назад
Practice question is best for clearing gate exams
@snehayadav7198
@snehayadav7198 2 месяца назад
Thank you sir it was a very clear explanation
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 2 месяца назад
You're welcome, Sneha. Keep learning, supporting & stay connected for more content👍
@ravimalik2494
@ravimalik2494 7 лет назад
keep it up sir thanks....
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
sure,we will :) thanks for your support.
@satadhi
@satadhi 6 лет назад
what really happens during context switching ? i mean why will x remember the value as 0 or what ever even after context switching
@ArjunSoota
@ArjunSoota 6 лет назад
Audio Encoding of the video is not properly done. The sound mode is MONO. Please correct it next time.
@parthpercy3210
@parthpercy3210 7 лет назад
sir , i just need to know , why can't the same process which has just completed execution enter the critical section ,as the value of s is now 2.
@madhusudanrathore3520
@madhusudanrathore3520 7 лет назад
because in the question it is said that each process is executed once, and as we need to find max value we take them in any order but once.
@polumurupushpa23
@polumurupushpa23 8 лет назад
Is there no chance that two Y process or any process happens twice when s=1?Y so?
@AkashSingh_de
@AkashSingh_de 7 лет назад
the question asserts that each process executes only once until all processes have executed . And that's how it is simplified!
@SandeepKumar-zn6vf
@SandeepKumar-zn6vf 6 лет назад
akash singh here where in the qutn written about execute each procress once ??... becoz here no bounded wait so each process can execute every point of time after came back from critical section.
@palakaggarwal5888
@palakaggarwal5888 4 года назад
Sir i need os gate question bank topicwise. Where can i get it?
@chiraggupta8165
@chiraggupta8165 5 лет назад
Nice question
@kashishjain78
@kashishjain78 5 лет назад
awsm sir maza aa gaya
@akshayparseja4718
@akshayparseja4718 3 года назад
my left ear learnt everything
@ardent307
@ardent307 Год назад
For q3,min value will be -2
@allmighty2000
@allmighty2000 4 года назад
Sir you are GOD , 🙏
@RaviSingh-yf6jd
@RaviSingh-yf6jd 4 года назад
Thanks sir buy also upload LRU FCFS optimal page replacement algo
@KaranMehta2594
@KaranMehta2594 7 лет назад
I would have selected -2 for sure if i had not come across this Problem earlier
@abhijeetmathur1285
@abhijeetmathur1285 5 лет назад
Nice Explanation :)
@GoutamNarayan
@GoutamNarayan 7 лет назад
Hope you were my course teacher !
@KNOWLEDGEGATE_kg
@KNOWLEDGEGATE_kg 7 лет назад
Never mind brother, we are here for you :)
@RaviSingh-yf6jd
@RaviSingh-yf6jd 6 лет назад
Sir also solved q of ugc net in pervious year
@himanshusattavan1335
@himanshusattavan1335 5 лет назад
thank you sir ji
@apurvsawant5703
@apurvsawant5703 5 лет назад
nice question
@SHIVANGRAJBCE
@SHIVANGRAJBCE 8 лет назад
Brilliant
@sourabhsinghyadav5637
@sourabhsinghyadav5637 5 лет назад
Why We Assume That read and write are done in different instructions cycles.
@tmw9
@tmw9 5 лет назад
Will you give gate exam instead of me? I will do all sort preparations like changing photo on hall ticket and all. P
@shroud3354
@shroud3354 5 лет назад
Lol I was thinking the same😂😂
@parthh3963
@parthh3963 4 года назад
why these videos are not supporting audio in right earbud?
@subhendukundu4595
@subhendukundu4595 7 лет назад
what is contact switch?
@ateendragaur
@ateendragaur 6 лет назад
it is context switch. not contact switch................lol
@subhendukundu4595
@subhendukundu4595 6 лет назад
besi bojhe!!!!!!!!
@chayamougha5897
@chayamougha5897 7 лет назад
if we change the sequence to execute the process thn answer is different..plz tell me how we select the process fot exection
@chayamougha5897
@chayamougha5897 7 лет назад
thanku you sir
Далее
Тренд Котик по очереди
00:10
Просмотров 317 тыс.
40 - BUBBLE SORT WITH EXAMPLE
24:47
Просмотров 354 тыс.
4.8 Semaphores in Process Synchronization in OS
19:28
Просмотров 740 тыс.
4.6 What is Logical or IP Addressing
16:19
Просмотров 263 тыс.
Semaphores
22:51
Просмотров 474 тыс.