You are on page 1of 6

AMCAT

Previous Year Questions Based on


Computer Fundamentals &
Programming Logics
PART-4

Round robin scheduling falls under the category of:


A) Non Preemptive
B) Preemptive
C) Mutli Preemptive
D) None of these
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-4

What is the default subnet mask for a class C network?


A) 127.0.0.1
B) 255.0.0.0
C) 255.255.0.0
D) 255.255.255.0
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-4

Consider the following set of processes, the length of the CPU burst time given in milliseconds: Process
Burst time P1 6 P2 8 P3 7 P4 3 Assuming the above process being scheduled with the SJF scheduling
algorithm :

A) The waiting time for process P2 is 3ms.


B) The waiting time for process P2 is 0ms.
C) The waiting time for process P2 is 16ms.
D) The waiting time for process P2 is 9ms.

Process B.T. A.T. TAT W.T.


P1 6
P2 8
P3 7
P4 3
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-4

Which of the following is true about linked list implementation of stack?

A. in push operation, if new nodes are inserted at the beginning of linked list, then in pop operation,
nodes must be removed from end.

B. In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be
removed from the beginning.

C. Both of the above

D. None of the above


AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-4

Which sorting method is slowest?


(A) Quick sort
(B) Heap sort
(C) Shell sort
(D) Bubble sort
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-4

Farhan writes a code to find the factorial of an inputted number. His code gives correct answers for
some inputs and incorrect answers for others. What kind of error does his program have?
a) Syntactical error
b) Run-time Error
c) Logical Error
d) None of these

You might also like