Google interview question

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

Interview Answers

Anonymous

9 Jan 2017

1 CPU 2 Memory 3 Context switching 4 Disk

3

Anonymous

2 Jul 2015

context switch - 3

5

Anonymous

4 Jun 2022

context switching is costlier than RAM access. I think we all have read this in those operating system lectures.

Anonymous

18 Aug 2014

read cpu register-1 context switch-2 read from main memory-3 disk seek-4

1