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.
Sr Software Developer Interview Questions
7,033 sr software developer interview questions shared by candidates
Could you please explain some of the recent project architecture?
Question more on core java?
What is invariant? What is an instance? Mention sorting algorithms you know. What testing methodologies do you know? What is an object? What did you like about open day at Cloudera? What did you not apply earlier ? What is not stored in inode?
Regarding react components and life cycle.
Why Java is advantages and disadvantages?
Questions level will be medium, they will ask 25 questions in test. Although HR will mail you like direct face to face discussion (Complete waste of time).
Find a loop in a simply linked list
1. What is interface 2. which base class object is used for ajax 3. how to restrict class from creating object(Two Ways)
Selenium questions Difference between driver.quit() and driver.close(). Difference between implicit wait() and explicit wait () in Java. Describe the Automation framework. what is the output of these two print statements in java? System.out.println("Hello, World!"+ 12 +150); System.out.println(12 + 150 "Hello, World!"); Replace or create a new json object in the array? Array [ { "name" : "bob", "status" : "Active" // change key "status" to output and "Active" to true -- something like that } ]
Viewing 931 - 940 interview questions