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

  Рет қаралды 175,206

Sudhakar Atchala

Sudhakar Atchala

4 жыл бұрын

#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.

Пікірлер: 124
@imrankhan-nk8zd
@imrankhan-nk8zd 4 жыл бұрын
I fall in love with your accent
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
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.
@kandikantisaiganesh1460
@kandikantisaiganesh1460 2 жыл бұрын
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 жыл бұрын
All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@R_sravani
@R_sravani 4 жыл бұрын
Thanku u so much sir u r vedios are helping me a lot. 🙏
@gopavaramsaimadhuree520
@gopavaramsaimadhuree520 3 жыл бұрын
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 жыл бұрын
Thanks Madhuree. if possible share with your friends. Thanks in advance.
@nagatejasvi4376
@nagatejasvi4376 3 жыл бұрын
Sir thank you very much. I have passed my sem exams only because of you. Thank you sir 🙏🙏
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
congrats tejasvi. well done
@dasunnirmitha7693
@dasunnirmitha7693 3 жыл бұрын
Well described, thanks!
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
You're welcome! Dasun Nirmitha. Plz subscribe to the channel and if possible share with your friends. Thanks
@ayushigoyal6853
@ayushigoyal6853 3 жыл бұрын
Your lectures are Easy to understand.. I m following for my university exams.. And will follow for more
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Thanks Goyal. Plz subscribe to the channel and if possible share with your friends. Thanks
@hajeeralhajeeral7745
@hajeeralhajeeral7745 Жыл бұрын
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..
@likhidaddy991
@likhidaddy991 4 жыл бұрын
Really your way of explaining is superb sir...thank you so much😊
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
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.
@joshnajosh7507
@joshnajosh7507 3 жыл бұрын
Most helpful for me sirr at the time of my seminor sessions thankqu for explaining particular points sirr
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Welcome Joshna. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@coolcandy3236
@coolcandy3236 Жыл бұрын
Thank you so much sir I will definitely 👍share this video to my friends U r a great lecturer sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks for your support
@syedzaveriyaanjum9454
@syedzaveriyaanjum9454 Жыл бұрын
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..
@abdurrahman9594
@abdurrahman9594 2 жыл бұрын
Thank you so much 💚
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
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 жыл бұрын
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.
@akashrajendraprasad3717
@akashrajendraprasad3717 3 жыл бұрын
thank you so much sir your way of teaching is amazing
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Thanks and welcome Rajendra. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@dhanushsivajaya1356
@dhanushsivajaya1356 3 жыл бұрын
Thankyou sir
@ashmitasaha4681
@ashmitasaha4681 4 жыл бұрын
Thank u Sir.......ur videos are informative
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
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.
@bhupeshgupta7832
@bhupeshgupta7832 3 жыл бұрын
Great Efforts sir .Learning easily from your lectures .
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Glad to hear that Bhupesh Gupta. Plz subscribe to the channel and if possible share with your friends. Thanks
@anjalijayadevan9749
@anjalijayadevan9749 2 жыл бұрын
Thank u sir. It was clearly a good lecture
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@OmDevOps825
@OmDevOps825 Ай бұрын
Thank You So Much Sir...Your Accent is Very Goodddd
@SudhakarAtchala
@SudhakarAtchala Ай бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@user-fd8hs4vf7x
@user-fd8hs4vf7x 6 ай бұрын
Well explained sir your 4years video is now useful for me. Thank you sir ❤️‍🩹
@perlaeswar2495
@perlaeswar2495 4 жыл бұрын
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.
@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.
@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.
@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.
@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.
@kamaleshbs2888
@kamaleshbs2888 3 жыл бұрын
Thank you sir 🙌🏻😍
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Welcome 😊 Kamalesh. Plz subscribe to the channel and if possible share with your friends. Thanks
@AmmuAmmu-mr6cv
@AmmuAmmu-mr6cv 4 жыл бұрын
Lifesaver
@shaunpaul9584
@shaunpaul9584 Жыл бұрын
thank you
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@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.
@ameenamuskan8388
@ameenamuskan8388 5 ай бұрын
Nice thank you so much ❣️
@SudhakarAtchala
@SudhakarAtchala 5 ай бұрын
You’re 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 жыл бұрын
so nice of you sudheer. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@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.
@thrivenireddy8277
@thrivenireddy8277 3 жыл бұрын
Sir you are my guru sir
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Thanks sishya
@jyothsnamukhee9915
@jyothsnamukhee9915 3 жыл бұрын
Superb explanation sir
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Thanks and welcome Jyothsna.
@mohammadzubair5657
@mohammadzubair5657 10 ай бұрын
Very god explaining
@SudhakarAtchala
@SudhakarAtchala 10 ай бұрын
Thanks a lot. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@ShankarShankar-oq5qc
@ShankarShankar-oq5qc 5 ай бұрын
Best teaching ever💐🥰
@SudhakarAtchala
@SudhakarAtchala 5 ай бұрын
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..
@jeevanmegavath9370
@jeevanmegavath9370 4 жыл бұрын
superb sir
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
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.
@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..
@user-le7wv5wq3k
@user-le7wv5wq3k 5 ай бұрын
U hv good stuff❤ Keep it up 🎉
@SudhakarAtchala
@SudhakarAtchala 5 ай бұрын
Thank you so much 😄 Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@amirghorban2044
@amirghorban2044 2 жыл бұрын
nice
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@novicecoder5753
@novicecoder5753 2 жыл бұрын
Sir why should we use index sequential access method we have direct access method also that locates the file directly 🙄🙄🙄
@Goat.Editz1212
@Goat.Editz1212 12 күн бұрын
Thank you for your clean explanations sir I want to ask a question for you sir Ronaldo or Messi
@SudhakarAtchala
@SudhakarAtchala 10 күн бұрын
Most welcome. 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.
@yashubhai143
@yashubhai143 8 ай бұрын
Tq
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@wasalawyer.1179
@wasalawyer.1179 Ай бұрын
Hello Sir ,Are you current teaching Faculty in any college ? Excellent way of presentation !!
@SudhakarAtchala
@SudhakarAtchala Ай бұрын
Yes. Plz subscribe to the channel and if possible share with your friends. Thanks in advance
@jeevanmegavath9370
@jeevanmegavath9370 4 жыл бұрын
plz do videos on computer organization & arch for GATE
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Definitely i will do as early as possible
@angothvijaykumar7936
@angothvijaykumar7936 3 жыл бұрын
Tq...sir
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Plz subscribe to the channel and if possible share with your friends. Thanks
@muhammedfarismp3218
@muhammedfarismp3218 Жыл бұрын
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@sahilbheke4083
@sahilbheke4083 7 ай бұрын
which algorithm sir said at 9:58???
@SudhakarAtchala
@SudhakarAtchala 7 ай бұрын
binary search. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
@BoyaManvitha
@BoyaManvitha 3 ай бұрын
Sir please upload Operating system important questions R20 regulation JNTUA please sir
@cc_1enjoyer487
@cc_1enjoyer487 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.
@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.
@Arun_Codingblog
@Arun_Codingblog 2 жыл бұрын
very good sir, as advice I think you should focus on whiteboard more than camera to attract your students
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
K. 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.
@sainathreddy2632
@sainathreddy2632 3 жыл бұрын
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
@pujithagaddale7171
@pujithagaddale7171 3 жыл бұрын
I don't have u as my OS sir 😭😭... Where are u working sir in which city and college ???
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
I am working in Andhra Pradesh. may I know where r u studying
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
plz subscribe to the channel and share with your friends. thanks
@pujithagaddale7171
@pujithagaddale7171 3 жыл бұрын
@@SudhakarAtchala sure sir already subscribed 😍
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Lakireddy Bali Reddy College
@shivamfans1276
@shivamfans1276 3 ай бұрын
Legend watching 1 hour before exam 😅😢
@SudhakarAtchala
@SudhakarAtchala 3 ай бұрын
All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
@Utubechannel009
@Utubechannel009 5 ай бұрын
Is it enough for 5 marks?
@SudhakarAtchala
@SudhakarAtchala 5 ай бұрын
Yes. 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.
@user-zx8mp6ce2w
@user-zx8mp6ce2w 6 ай бұрын
Thankyou sir
@SudhakarAtchala
@SudhakarAtchala 6 ай бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН
Types of Operating Systems
14:16
Sudhakar Atchala
Рет қаралды 73 М.
Internship & Job Schemes in Budget 2024 [Telugu] | Vamsi Bhavani
8:29
TYPES OF VARIABLES - JAVA PROGRAMMING
16:52
Sundeep Saradhi Kanthety
Рет қаралды 194 М.
6 File access methods
3:02
OU Education
Рет қаралды 54 М.
deadlock prevention in os | deadlock prevention in operating system
13:06
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 6 МЛН