Software Engineer, Site Reliability Engineering Interview
Enumerate the following from 1 to 4, being 1 the fastest to execute and 4 the slowest: - read cpu register - disk seek - context switch - read from main memory
context switch - 3
1 CPU 2 Memory 3 Context switching 4 Disk
context switching is costlier than RAM access. I think we all have read this in those operating system lectures.
read cpu register-1 context switch-2 read from main memory-3 disk seek-4
Add Answers or Comments
To comment on this, Sign In or Sign Up.