Access Methods | File Access Methods | operating systems | Sequential | Direct | Indexed | File Syst

Поделиться
HTML-код
  • Опубликовано: 28 сен 2024
  • #AccessMethods #FileAccessMethods #operatingsystemlectures
    When a file is used, information is read and accessed into computer memory and there are several ways to access this information of the file. Some systems provide only one access method for files. Other systems, such as those of IBM, support many access methods, and choosing the right one for a particular application is a major design problem.
    There are three ways to access a file into a computer system: Sequential-Access, Direct Access, Index sequential Method.
    Sequential Access -
    It is the simplest access method. Information in the file is processed in order, one record after the other. This mode of access is by far the most common; for example, editor and compiler usually access the file in this fashion.
    Read and write make up the bulk of the operation on a file. A read operation read next read the next position of the file and automatically advance a file pointer, which keeps track I/O location. Similarly, for the writewrite next append to the end of the file and advance to the newly written material.
    Key points:
    Data is accessed one record right after another record in an order.
    When we use read command, it move ahead pointer by one
    When we use write command, it will allocate memory and move the pointer to the end of the file
    Such a method is reasonable for tape.
    Direct Access -
    Another method is direct access method also known as relative access method. A filed-length logical record that allows the program to read and write record rapidly. in no particular order. The direct access is based on the disk model of a file since disk allows random access to any file block. For direct access, the file is viewed as a numbered sequence of block or record. Thus, we may read block 14 then block 59 and then we can write block 17. There is no restriction on the order of reading and writing for a direct access file.
    A block number provided by the user to the operating system is normally a relative block number, the first relative block of the file is 0 and then 1 and so on.
    Index sequential method -
    It is the other method of accessing a file which is built on the top of the direct access method. These methods construct an index for the file. The index, like an index in the back of a book, contains the pointer to the various blocks. To find a record in the file, we first search the index and then by the help of pointer we access the file directly.
    Key points:
    It is built on top of Sequential access.
    It control the pointer by using index.

Комментарии • 128

  • @gopavaramsaimadhuree520
    @gopavaramsaimadhuree520 3 года назад +12

    I watch all your videos for OS
    U r amazing
    u explain all the concepts with so much clarity that I need not refer any textbook
    Thank u so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +4

      Thanks Madhuree. if possible share with your friends. Thanks in advance.

  • @ayushigoyal6853
    @ayushigoyal6853 3 года назад +4

    Your lectures are Easy to understand.. I m following for my university exams.. And will follow for more

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +2

      Thanks Goyal. Plz subscribe to the channel and if possible share with your friends. Thanks

  • @hajeeralhajeeral7745
    @hajeeralhajeeral7745 Год назад +3

    Very clear explanation sir. Now I'm preparing for my exam from watching your vedios sir . Thank you so much sir🥰

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      All the best for your exam. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @syedzaveriyaanjum9454
    @syedzaveriyaanjum9454 Год назад +2

    The way u explained is so clear thank you sir😁👍🏻

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      You are welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @ManchiManishi-m8l
    @ManchiManishi-m8l 8 месяцев назад +1

    Well explained sir your 4years video is now useful for me. Thank you sir ❤️‍🩹

    • @SudhakarAtchala
      @SudhakarAtchala  8 месяцев назад +2

      The subject won't change even after 20 years. All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @imrankhan-nk8zd
    @imrankhan-nk8zd 5 лет назад +64

    I fall in love with your accent

    • @SudhakarAtchala
      @SudhakarAtchala  5 лет назад +18

      Hai Imran Khan, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @bhupeshgupta7832
    @bhupeshgupta7832 3 года назад +6

    Great Efforts sir .Learning easily from your lectures .

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      Glad to hear that Bhupesh Gupta. Plz subscribe to the channel and if possible share with your friends. Thanks

  • @ashmitasaha4681
    @ashmitasaha4681 4 года назад +1

    Thank u Sir.......ur videos are informative

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +1

      Hai Ashmita Saha, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @sireeshajangam1561
    @sireeshajangam1561 2 года назад

    Sir ,very nice expalanation thank u so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      You're most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @novicecoder5753
    @novicecoder5753 3 года назад

    Sir why should we use index sequential access method we have direct access method also that locates the file directly 🙄🙄🙄

  • @abdurrahman9594
    @abdurrahman9594 2 года назад +1

    Thank you so much 💚

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад +1

      Welcome.Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @dbalaji0204
    @dbalaji0204 4 года назад

    Thank you very much sir great explanation

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +2

      Hai Balaji, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @UPPUNUTHULASAIVARUN
    @UPPUNUTHULASAIVARUN 8 месяцев назад

    U hv good stuff❤
    Keep it up 🎉

    • @SudhakarAtchala
      @SudhakarAtchala  8 месяцев назад

      Thank you so much 😄 Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @thrivenireddy8277
    @thrivenireddy8277 3 года назад

    Sir you are my guru sir

  • @mohammadzubair5657
    @mohammadzubair5657 Год назад

    Very god explaining

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Thanks a lot. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @dasunnirmitha7693
    @dasunnirmitha7693 3 года назад

    Well described, thanks!

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      You're welcome! Dasun Nirmitha. Plz subscribe to the channel and if possible share with your friends. Thanks

  • @jeevanmegavath9370
    @jeevanmegavath9370 4 года назад +1

    plz do videos on
    computer organization & arch
    for GATE

  • @shivaprasad927
    @shivaprasad927 2 года назад

    👌 excellent explanation sir tq

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Arun_Codingblog
    @Arun_Codingblog 2 года назад +1

    very good sir, as advice I think you should focus on whiteboard more than camera to attract your students

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      K. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @sibashisnayak7449
    @sibashisnayak7449 2 года назад

    Thank you sir🙏

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @kamaleshbs2888
    @kamaleshbs2888 3 года назад

    Thank you sir 🙌🏻😍

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      Welcome 😊 Kamalesh. Plz subscribe to the channel and if possible share with your friends. Thanks

  • @BoyaManvitha
    @BoyaManvitha 5 месяцев назад

    Sir please upload Operating system important questions R20 regulation JNTUA please sir

  • @shaunpaul9584
    @shaunpaul9584 Год назад

    thank
    you

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @sudheerpullagura1387
    @sudheerpullagura1387 3 года назад

    thanks you sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      so nice of you sudheer. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @sahilbheke4083
    @sahilbheke4083 10 месяцев назад

    which algorithm sir said at 9:58???

    • @SudhakarAtchala
      @SudhakarAtchala  10 месяцев назад

      binary search. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @balasooriyawdcl6192
    @balasooriyawdcl6192 3 года назад

    examples For sequential access plz

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      Magnetic tape, tape recorder etc. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @angothvijaykumar7936
    @angothvijaykumar7936 4 года назад +2

    Tq...sir

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +1

      Plz subscribe to the channel and if possible share with your friends. Thanks

  • @yashubhai143
    @yashubhai143 10 месяцев назад

    Tq

    • @SudhakarAtchala
      @SudhakarAtchala  10 месяцев назад

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @kandikantisaiganesh1460
    @kandikantisaiganesh1460 2 года назад +35

    Your explanation is very clear and it is easy to understand and I'm preparing for my exams from your lecture ,thank you sir ❣️.

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад +3

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @sriramboina8658
    @sriramboina8658 4 года назад

    Thank u so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Sriram, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @nagatejasvi4376
    @nagatejasvi4376 3 года назад +6

    Sir thank you very much. I have passed my sem exams only because of you. Thank you sir 🙏🙏

  • @R_sravani
    @R_sravani 4 года назад +4

    Thanku u so much sir u r vedios are helping me a lot. 🙏

  • @MOHAMEDMAHIRBINHABIBULLA-ov8wi
    @MOHAMEDMAHIRBINHABIBULLA-ov8wi 8 дней назад

    sir, I would like to hug you so bad, you made us understand, alhamdullillah. keep teaching sir we appreciate you. and please add caption as well sir

    • @SudhakarAtchala
      @SudhakarAtchala  6 дней назад +1

      Thanks, captions will be auto generated by youtube, but some videos captions are not generating. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @coolcandy3236
    @coolcandy3236 Год назад +2

    Thank you so much sir
    I will definitely 👍share this video to my friends
    U r a great lecturer sir

  • @shivamfans1276
    @shivamfans1276 5 месяцев назад

    Legend watching 1 hour before exam 😅😢

    • @SudhakarAtchala
      @SudhakarAtchala  5 месяцев назад

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @pujithagaddale7171
    @pujithagaddale7171 4 года назад +2

    I don't have u as my OS sir 😭😭... Where are u working sir in which city and college ???

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      I am working in Andhra Pradesh. may I know where r u studying

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      plz subscribe to the channel and share with your friends. thanks

    • @pujithagaddale7171
      @pujithagaddale7171 4 года назад

      @@SudhakarAtchala sure sir already subscribed 😍

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Lakireddy Bali Reddy College

  • @wasalawyer.1179
    @wasalawyer.1179 3 месяца назад

    Hello Sir ,Are you current teaching Faculty in any college ?
    Excellent way of presentation !!

    • @SudhakarAtchala
      @SudhakarAtchala  3 месяца назад

      Yes. Plz subscribe to the channel and if possible share with your friends. Thanks in advance

  • @Goat.Editz1212
    @Goat.Editz1212 2 месяца назад

    Thank you for your clean explanations sir I want to ask a question for you sir Ronaldo or Messi

    • @SudhakarAtchala
      @SudhakarAtchala  2 месяца назад

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @likhidaddy991
    @likhidaddy991 4 года назад +2

    Really your way of explaining is superb sir...thank you so much😊

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +1

      Hai Likhi, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @cc_1enjoyer487
    @cc_1enjoyer487 4 года назад +4

    thank you sir, i will give you free ice cream.

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai , plz go through my playlists once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @joshnajosh7507
    @joshnajosh7507 3 года назад +1

    Most helpful for me sirr at the time of my seminor sessions thankqu for explaining particular points sirr

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      Welcome Joshna. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @kavii1696
    @kavii1696 3 дня назад

    Thankyou sir

  • @akashrajendraprasad3717
    @akashrajendraprasad3717 3 года назад +1

    thank you so much sir your way of teaching is amazing

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      Thanks and welcome Rajendra. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @jyothsnamukhee9915
    @jyothsnamukhee9915 3 года назад +1

    Superb explanation sir

  • @perlaeswar2495
    @perlaeswar2495 4 года назад +1

    Thank u sir it is easy to learn now ,

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Eswar, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @dhanushsivajaya1356
    @dhanushsivajaya1356 3 года назад

    Thankyou sir

  • @OmDevOps825
    @OmDevOps825 3 месяца назад

    Thank You So Much Sir...Your Accent is Very Goodddd

    • @SudhakarAtchala
      @SudhakarAtchala  3 месяца назад

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @AmmuAmmu-mr6cv
    @AmmuAmmu-mr6cv 4 года назад

    Lifesaver

  • @ameenamuskan8388
    @ameenamuskan8388 7 месяцев назад

    Nice thank you so much ❣️

    • @SudhakarAtchala
      @SudhakarAtchala  7 месяцев назад

      You’re welcome 😊 Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @anjalijayadevan9749
    @anjalijayadevan9749 3 года назад

    Thank u sir. It was clearly a good lecture

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад +1

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @ShankarShankar-oq5qc
    @ShankarShankar-oq5qc 7 месяцев назад

    Best teaching ever💐🥰

    • @SudhakarAtchala
      @SudhakarAtchala  7 месяцев назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @municharandoddareddy3147
    @municharandoddareddy3147 Год назад

    very nyc explanation

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @Architha-y2j
    @Architha-y2j 8 месяцев назад

    Thankyou sir

    • @SudhakarAtchala
      @SudhakarAtchala  8 месяцев назад

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @arunjithr5984
    @arunjithr5984 Год назад

    Well explained sir ❤

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Thanks and welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @susheelapatgar3640
    @susheelapatgar3640 2 года назад

    Thank you sir ❤️

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @govardhanregalla9983
    @govardhanregalla9983 3 года назад

    Thank u sir

    • @SudhakarAtchala
      @SudhakarAtchala  3 года назад

      Welcome Govardhan. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @amitgoswami7856
    @amitgoswami7856 4 года назад

    Thanks a lot sir...please provided video for GATE

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      K

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Amit, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @amirghorban2044
    @amirghorban2044 2 года назад

    nice

    • @SudhakarAtchala
      @SudhakarAtchala  2 года назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @Strange2039
    @Strange2039 4 года назад

    Thank you sir

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Prakash, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @shifnazarnazs3868
    @shifnazarnazs3868 4 года назад

    Sir can u pls upload topic on I/O system?

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Plz send me I/O system topics. So that i will try to upload videos on those topics.

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад

      Hai Shifna Zarnaz S, plz go through my videos once. Definitely you will like more videos. Thanks
      for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @jeevanmegavath9370
    @jeevanmegavath9370 4 года назад

    superb sir

    • @SudhakarAtchala
      @SudhakarAtchala  4 года назад +1

      Hai Jeevan Nayak , plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.

  • @muhammedfarismp3218
    @muhammedfarismp3218 Год назад

    • @SudhakarAtchala
      @SudhakarAtchala  Год назад

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @sainathreddy2632
    @sainathreddy2632 3 года назад +1

    sir can u pls tell me how to solve this question using above concept
    a sequential access file has a fixed sie of 17 byte records what is the logical location of the first byte of record5
    a)81
    b)70
    c)92
    d)51

    • @puttasaikiran7447
      @puttasaikiran7447 3 года назад

      As I have seen in Google the formula is (n-1)m
      Where m =17 n=5 I don't know it correctly bro but this is wt I got

  • @Utubechannel009
    @Utubechannel009 7 месяцев назад

    Is it enough for 5 marks?

    • @SudhakarAtchala
      @SudhakarAtchala  7 месяцев назад

      Yes. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..