Computer Science

Solution Library


Memory Management Techniques which Divides a Program and Stores in Frames-Multiple Choice Question

Question Which of the following describes a memory management technique in which a program is divided into fixed sized sections and stored into areas of memory called frames? A) Single contiguous  B) Logical address  C) Physical address D) Round robin E) Paged   ... Read More

Reads ( 416 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

The Act of Bringing in a Page from Secondary Memory-Multiple Choice Question

Question Which of the following describes the act of bringing in a page from secondary memory, which may cause another to be written back to secondary memory? A) Swapping  B) Context switch C) Demand paging  D) Thrashing E) Virtual memory     ... Read More

Reads ( 450 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

Situation in Which Memory Appears to be Unlimited-Multiple Choice Question

Question Which of the following describes the situation in which memory appears to be unlimited because the program size is not restricted? A) Swapping  B) Context switch C) Demand paging  D) Thrashing E) Virtual memory   ... Read More

Reads ( 483 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

Currently Executing Process Returns to which State when it is Interrupted by the Operating System-Multiple Choice Question

Question To which state does the currently executing process return when it is interrupted by the operating system? A) Ready B) New C) Blocked D) Suspended E) Running   ... Read More

Reads ( 389 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

State that a Process Reside if it is not Currently Resident in Main Memory-Multiple Choice Question

Question In which state does a process reside if it is not currently resident in main memory? A) Ready B) New  C) Blocked  D) Suspended E) Running     ... Read More

Reads ( 389 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

In which State Process Reside if it does not have a Needed Resource-Multiple Choice Question

Question In which state does a process reside if it does not have a needed resource, such as a page from secondary memory? A) Ready B) New C) Blocked D) Suspended E) Running   ... Read More

Reads ( 412 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

CPU Scheduling Algorithm-Multiple Choice Question

Question To which state does a process move when the CPU scheduling algorithm determines it may next use the CPU? A) Ready B) New C) Blocked D) Suspended E) Running   ... Read More

Reads ( 432 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

Binary Search Algorithm-Multiple Choice Question

Question Consider the following Binary Search Algorithm upper = length - 1; lower = 1; while (upper >= lower) { mid_pt = (upper + lower) / 2; if (data[mid_pt] < target) ; comparison A { lower = mid_pt + 1; } else if (data[mid_pt] == target) ; comparison B { return mid_pt; } e ... Read More

Reads ( 415 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

Bubble Sort Algorithm-Multiple Choice Question

Question A Bubble Sort algorithm as discussed in lectures is given below index1 = 1; repeat exchange = false; { for index2 ← length – 1 downto index1 { if data[index2] < data[index2-1] { //exchange exchange = true; tmp = data[index2]; data[index2] = data[index2-1]; da ... Read More

Reads ( 468 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

Quicksort Algorithm to Complete given Trace-Multiple Choice Question

Question Consider the following quicksort algorithm Quicksort(first, last) {IF (first < last) // There is more than one item splitVal = data[first]; splitPoint = Split(splitVal); left = first + 1; right = last; WHILE (left <= right) {Increment left until data[left] > splitVa ... Read More

Reads ( 316 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

Scientific Notation of Numbers-Multiple Choice Question

Question Complete the following table. Where appropriate you may use scientific notation (eg 1.5E+6) Give values to 6 significant figures.     ... Read More

Reads ( 342 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart

First-served Algorithm of Numbers-Multiple Choice Question

Question Complete the following table stating the start and end times for each process using the first-come, first-served algorithm.     ... Read More

Reads ( 303 )
Price: Original Price: $2.00 Now at: $1.00     Add to Cart