Computer Science Questions
Explore questions in the Computer Science category that you can ask Spark.E!
What is the advantage of the exokernel scheme? *1/1Try to use somebody else's resourceMaintain tables to remap disk addressSave a layer of mapping All of the others
A disk queue with requests for I/O blocks on cylinders in orders: 10, 22, 20, 2, 40, 6, 38. Assume that the disk head is initially at cylinder 9. How many cylinder do Total head movement using SSF algorithms? *0/169 4547None of the others
If scope of control is used in subsystem structuring, then:(a) A user interface object is placed in the same subsystem as an entity object it updates.(b) A state-dependent control object is placed in the same subsystem as the objects it controls.(c) A state-dependent control object is placed in a different subsystem from the objects it controls.(d) A user interface object is placed in a different subsystem from an entity object it updates.
Objects that are in geographically different locations should be:(a) In the same subsystem(b) In different subsystems(c) In a composite subsystem(d) In layered subsystems
Which problem is described two following statements? 1. No reader will be kept waiting unless a writer has already obtained permission to use the shared object. Or, readers have higher priorities; 2. Once a writer is ready, the writer performs its write as soon as possible *0/1Readers-WritersProducer-Consumer BankersAll of the others
What's different between asynchronous and synchronous transfer in principles of I/O software? *0/1All of the othersThe CPU starts the transfer and goes off to do something else until the interrupt arrivesThe CPU starts the transfer and goes off to do something else until the data are available in the buffer None of the others
In "No Memory Abstraction", the static relocation technique is ____ *0/1None of the othersWhen the program is loaded at address n, the constant n was added to every program addressWhen the program is compiled, the address of program is added with the constant value where the program will be loaded After the program is loaded at address n, the constant n is stored at a particular register.
In a system in which a client object executes a state machine and communicates with a service, which of the following is true?(a) The client has a state-dependent control object but the service does not.(b) The service has a state-dependent control object but the client does not.(c) Both the client and the service have state-dependent control objects.(d) Neither the client nor the service has a state-dependent control object.
_____ is a small computer that fits in a shirt pocket and performs a small number of functions, such as an electronic address book and memo pad *0/1Personal Operating System Personal ComputerPersonal Digital AssistantPersonal Device
A producer sends a message to a consumer. Which one of the following is synchronous message communication with reply?(a) The producer waits for a response from the consumer.(b) The producer does not wait for a response from the consumer.(c) The producer goes to sleep.(d) The producer waits for a timeout.
Which of the following is unlikely to be a graphical user interface class?(a) A menu(b) A window(c) A button(d) A pin
Most common software tool in data analytics?
Criteria in ____, ______, and _____ are not surrounded by any characters.
Which of the following is an entity class?(a) An information hiding class(b) A subclass(c) A control class(d) A data abstraction class
Assume that process A-D make up the set of runnable processes on memory asB1 B2 B3 A1 A2 A5 A7 D3 D4 D6 C1 C6 C5. Suppose D gets a page fault. Which page is replaced using the local policy? Assume that the replaced page is always a last page. *0/1D6C5 None of the othersB3
Time Complexity for Search in Hash Tables is:A. O(logn)B. O(n)C. O(1)D. O(nlogn)
An input message to a state-dependent control object corresponds to:(a) An event on the internal state machine(b) An action on the internal state machine(c) A condition on the internal state machine(d) A state on the internal state machine
Which of the following could happen on an interaction diagram?(a) A state-dependent control object sends a message to an entity object.(b) A state-dependent control object sends a message to a coordinator object.(c) A state-dependent control object sends a message to a printer object.(d) All of the above
What is a class interface?(a) Specifies the internals of the operations of a class(b) Specifies the externally visible operations of a class(c) Specifies the parameters of a class operation.(d) Specifies the signature of a class operation
What does a state-dependent interaction involve?(a) A control object(b) A state-dependent entity object(c) A state-dependent control object(d) A state-dependent user interaction object
