Google Interview Question
Software Engineer InternsCountry: United States
Hey Bhaskar,
Thanks for detailed answer. I have seen many replies from you and they are good. Do you mind if i ask where u work?
Collect the following data for every machine for debugging purposes:
CPU
Memory(Total and Available at the time program is running)
Memory taken by the editor
Other programs running and installed
Languages used
Plugins installed on the editor
OS type
Country/Region
GPU
Hdd space
N/w speed
Collect the following measures for checking the improvement after a fix is submitted
For all the user facing features, collect reliability and performance and no. of active users.
File I/O
- Bhaskar March 05, 2014Note the time and cpu utilization taken for Reading (load in memory and opening) and writing the file to the disk.
Every time data is written and saved in the file, the changes are sent from memory to disk and the file is reloaded in the memory and set in view/edit mode.
Note time and cpu utilization it takes to send the changes to the disk from the memory and time taken to reload the file into disk.
Note time and cpu utilization taken to search for a single non-duplicate word and duplicate words. Also note time taken to search for non-duplicate sentence and duplicate sentences
Note time and cpu utilization it takes to edit the file such as make changes to a single word and/or multiple duplicate words (such as search and replace). Perform same observation to changes made to sentences and/or duplicate sentences
Note the gpu utilization for changes in text versus graphics . Also note the time it takes to make these changes.