You are on page 1of 7

AMCAT

Previous Year Questions Based on


Computer Fundamentals &
Programming Logics
PART-3

Consider the following page reference string: 1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6


For LRU page replacement algorithm with 4 frames, the number of page faults is:
A) 14
B) 8
C) 11
D) 10
Answer: - D
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-3

Bankers Algorithm is a technique of _________.


A) deadlock avoidance
B) deadlock prevention
C) deadlock detection
D) deadlock creation
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-3

A pseudo-code is used. Assume that when two data-types are processed through an operator, the
answer maintains the same data-type as the input data-types. Assume that all data-types have enough
range to accommodate any number. If two different data-types are operated on, the result assumes the
more expressive data-type.
What will be the output of the following pseudo-code statements?
Integer a = 456, b, c, d =10
b = a/d
c=a-b
print c
a) 410
b) 410.4
c) 411.4
d) 41
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-3

For FIFO page replacement algorithms with 4 frames, the number of page faults is :
A) 16
B) 14
C) 11
D) 15
Answer:- B
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-3

Group A Group B
A. Physical Layer 1. Network security
B. Network Layer 2. Data transmission rate
C. Application Layer 3. Error detection and control
D. Data Link Layer 4. End to end transmission of packets

A A-2, B-1, C-4, D-3


B A-2, B-4, C-1, D-3
C A-3,B-1,C-4,D-2
D A-4. B-1, C-2, D-3
Answer:- D
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-3

Which data structure is needed to convert infix notations to postfix notations?


(A) Linear list
(B) Tree
(C) Stack
(D) Queue
Answer: Option C
AMCAT
Previous Year Questions Based on
Computer Fundamentals &
Programming Logics
PART-3

Sunil is working on a database management system. He wants to program transactions such that a
transaction is completed only if all the database operations are completed and committed, otherwise the
transaction is aborted and rolled back. Which of the following database characteristics is he trying to
implement?

A. Atomicity
B. Consistency
C. Isolation
D. Durability

You might also like