Professional Documents
Culture Documents
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
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