Senior Software Developer Interview Questions

7,032 senior software developer interview questions shared by candidates

If a static variable in one class enclosed in an assembly is being referred by two different assemblies, would the change in static variable caused by one assembly be reflected in the other assembly. Assume all the assemblies are getting executed in one process. Same question was repeated for singleton class as well instead of static variable
avatar

Senior Software Engineer (.NET Developer)

Interviewed at Philips

3.8
Dec 20, 2012

If a static variable in one class enclosed in an assembly is being referred by two different assemblies, would the change in static variable caused by one assembly be reflected in the other assembly. Assume all the assemblies are getting executed in one process. Same question was repeated for singleton class as well instead of static variable

Implement a periodic task scheduler in C++ (not plain C). The tasks in this scheduler will be network or system probes, possibly with a wide variety of execution times. It should be possible to set a separate execution frequency for each task. These tasks will return one or more "metrics" in the form of decimal values. Store both the raw metric data and some aggregate metrics (such as average, minimum, and maximum) in a SQLite database. The aggregate metrics should be kept up to date for each new data point that you collect. If the program is run multiple times, it should continue where it left off, augmenting the existing data. Implement tasks to measure any two of the following metrics: Time to connect to a TCP server, e.g. google.com port 80 ICMP ping time to a server, e.g. google.com Total virtual memory size and current usage Current physical memory used by your process Total packets sent and received on a specific network interface Notes Some tasks are platform specific, so please indicate the platform used for development in your response. The program need only compile and run on one major operating system (whichever one you like). Focus more on the scheduler and its design than the two tasks you choose. Before submitting your source code, keep in mind that we will be reviewing your submission not just for completeness, but for code quality as well.
avatar

Senior Software Developer

Interviewed at ThousandEyes

4.2
Dec 19, 2019

Implement a periodic task scheduler in C++ (not plain C). The tasks in this scheduler will be network or system probes, possibly with a wide variety of execution times. It should be possible to set a separate execution frequency for each task. These tasks will return one or more "metrics" in the form of decimal values. Store both the raw metric data and some aggregate metrics (such as average, minimum, and maximum) in a SQLite database. The aggregate metrics should be kept up to date for each new data point that you collect. If the program is run multiple times, it should continue where it left off, augmenting the existing data. Implement tasks to measure any two of the following metrics: Time to connect to a TCP server, e.g. google.com port 80 ICMP ping time to a server, e.g. google.com Total virtual memory size and current usage Current physical memory used by your process Total packets sent and received on a specific network interface Notes Some tasks are platform specific, so please indicate the platform used for development in your response. The program need only compile and run on one major operating system (whichever one you like). Focus more on the scheduler and its design than the two tasks you choose. Before submitting your source code, keep in mind that we will be reviewing your submission not just for completeness, but for code quality as well.

Viewing 931 - 940 interview questions

Glassdoor has 7,032 interview questions and reports from Senior software developer interviews. Prepare for your interview. Get hired. Love your job.