Amazon Interview Question
SDE-2sCountry: India
class Job
{
Device targetDevice;
int Pages;
bytes[] data;
JobStatus Status;
}
enum JobStatus {}
eunm DeviceStatus {}
enum DeviceType {}
class Device
{
string Name;
DeviceType Type;
DeviceStatus Status;
string Description;
//properties
}
class Printer : Device
{
public void Print();
}
class Scheduler
{
List<Device> Devices;
List<Job> Jobs;
}
Can you please give some more inputs, like: what kind of job scheduler, in what area?
- SK January 26, 2014Printer Job scheduler,
OS job scheduler
or any other type job scheduler, there must be little more follow up inputs, please share in brief ?