Skip to main content

Paper - II (vii) — Computer Organization and Operation System MCQ — 56 Practice Questions with Answers

Paper - II (vii) — Computer Organization and Operation System is a Data Structures & Organization (Basic CI) topic in the RAS/RPSC syllabus. This page gathers exam-style Paper - II (vii) — Computer Organization and Operation System multiple-choice questions with correct answers and explanations, so aspirants can test recall and revise frequently examined concepts.

Practice 56 Paper - II (vii) — Computer Organization and Operation System multiple-choice questions with detailed answers and explanations. Ideal for RAS/RPSC exam preparation.

56 Questions Data Structures & Organization (Basic CI)

Reviewed by: Aspirant Academy Editorial Team

Practice Questions

Q1. A direct-mapped cache has 64 lines, each line stores 32 bytes, and physical addresses are 24 bits. For a byte-addressable memory, how many bits are used for tag, line index, and block offset respectively?

A 13 tag bits, 6 index bits, 5 offset bits Correct
B 14 tag bits, 5 index bits, 5 offset bits
C 12 tag bits, 6 index bits, 6 offset bits
D 12 tag bits, 7 index bits, 5 offset bits

Explanation

The block offset identifies a byte inside a 32-byte line, so it needs log2(32) = 5 bits. A direct-mapped cache with 64 possible lines needs log2(64) = 6 index bits. The physical address is 24 bits, so the remaining 24 - 5 - 6 = 13 bits form the tag used to test whether the indexed line is the requested block.

Q2. An 8-bit ALU adds 0111 1011 and 0100 1110, treating the operands as two's-complement signed integers. Which flag interpretation is correct?

A Neither signed overflow nor unsigned carry occurs
B Unsigned carry occurs, but signed overflow does not occur
C Both signed overflow and unsigned carry occur
D Signed overflow occurs, but there is no carry out of the most significant bit Correct

Explanation

The binary sum is 1100 1001, which is 201 if unsigned but -55 if interpreted as 8-bit two's complement. Since 123 and 78 are both positive signed operands, the negative signed result indicates overflow. Because 201 is below 256, no carry out of bit 7 is generated.

Q3. A system has total resources (A, B, C) = (10, 5, 7). For processes P0-P4, Allocation/Max are: P0 (0,1,0)/(7,5,3), P1 (2,0,0)/(3,2,2), P2 (3,0,2)/(9,0,2), P3 (2,1,1)/(2,2,2), P4 (0,0,2)/(4,3,3). Which sequence is a safe sequence under the Banker's algorithm?

A P4, P0, P1, P2, P3
B P0, P2, P1, P3, P4
C P2, P1, P3, P4, P0
D P1, P3, P4, P0, P2 Correct

Explanation

The currently available vector is total minus allocated: (10,5,7) - (7,2,5) = (3,3,2). P1 needs (1,2,2), so it can finish and release (2,0,0), making (5,3,2). P3 then needs (0,1,1), P4 needs (4,3,1), P0 needs (7,4,3) after those releases, and finally P2 needs (6,0,0). Therefore P1, P3, P4, P0, P2 is safe.

Q4. In a demand-paged operating system, a page fault occurs while a process is executing in user mode. Which sequence best describes what happens before the faulting instruction can complete?

A Trap to the kernel, validate the reference, obtain the page from backing store if valid, update the page table, and restart the faulting instruction Correct
B Disable all interrupts permanently and mark the process as terminated
C Flush the entire virtual address space and allocate a new process identifier
D Directly load the missing page into the CPU register file and continue with the next instruction

Explanation

A page fault is an exception handled by the operating system. If the virtual address is legal but the page is not resident, the OS selects or allocates a frame, reads the page from backing store, records the valid mapping, and resumes execution so that the instruction that faulted can be retried.

Q5. A CPU has separate interrupt-enable and interrupt-pending bits. An I/O device finishes a transfer while interrupts are disabled. Which behaviour is most consistent with interrupt-driven I/O?

A The device completion must be lost because interrupts were disabled
B The completion is recorded as pending, and the service routine runs after interrupts are enabled and priority checks permit it Correct
C The CPU must poll the device forever because interrupt-driven I/O cannot coexist with masking
D The CPU immediately branches to the service routine even though interrupts are disabled

Explanation

Interrupt-driven I/O allows a device to signal that it needs attention, but processors commonly provide masking or enable bits to protect critical sections. If the request is maskable and interrupts are disabled, the event is not serviced immediately. A pending indication lets the processor recognize and handle the interrupt later, subject to priority and enable rules.

You've seen 5 of 56 sample questions

Unlimited practice on Paper - II (vii) — Computer Organization and Operation System comes with the RAS Test Series + Practice pack. Sign up to save progress; practice sets open with a pack or Gate Pass.

More questions (pack required)

Pack unlocks practice

Q6.

A
B
C
D
Pack unlocks practice

Q7.

A
B
C
D
Pack unlocks practice

Q8.

A
B
C
D
Pack unlocks practice

Q9.

A
B
C
D
Pack unlocks practice

Q10.

A
B
C
D
Pack unlocks practice

Q11.

A
B
C
D
Pack unlocks practice

Q12.

A
B
C
D
Pack unlocks practice

Q13.

A
B
C
D
Pack unlocks practice

Q14.

A
B
C
D
Pack unlocks practice

Q15.

A
B
C
D

51 more questions can appear in generated practice.

Frequently Asked Questions

How many Paper - II (vii) — Computer Organization and Operation System MCQ questions are available?
There are 56 Paper - II (vii) — Computer Organization and Operation System practice MCQs available on Aspirant Academy, with detailed answers and explanations for each question.
Are answers and explanations provided for Paper - II (vii) — Computer Organization and Operation System MCQs?
Yes, every Paper - II (vii) — Computer Organization and Operation System question comes with the correct answer and a detailed explanation to help you understand the underlying concept.
How is Paper - II (vii) — Computer Organization and Operation System relevant to the RAS/RPSC exam?
Paper - II (vii) — Computer Organization and Operation System falls under the Data Structures & Organization (Basic CI) section of the RAS/RPSC syllabus. It is a frequently tested area and regular practice with these MCQs will strengthen your preparation.
Can I practice Paper - II (vii) — Computer Organization and Operation System questions in Hindi?
Yes, Aspirant Academy offers bilingual support. You can practice Paper - II (vii) — Computer Organization and Operation System MCQs in both English and Hindi, including questions, options, and explanations.

More Topics in Data Structures & Organization (Basic CI)

Continue your Data Structures & Organization (Basic CI) preparation with these related topics.

Explore Other Subjects

Want unlimited practice on Paper - II (vii) — Computer Organization and Operation System?

Unlimited practice comes with the RAS Test Series + Practice pack. Create a free account to save progress and choose a pack or Gate Pass when you are ready.

Browse all subjects