IITP · Semester ISummaries · Quizzes · Assignments

ECS 5102 · FCS

FCS assessment 20 questions 2026-11-14 14-39

Source: IITP\Sem-1\ECS5102-FCS\Quiz\FCS assessment 20 questions_2026-11-14_14-39.md

FOUNDATION OF COMPUTER SYSTEMS (FCS)

IIT Patna — Quiz Questions & Answers

Question 1

A company upgrades its application framework. The new version runs on the same hardware and operating system, but its performance characteristics change. The infrastructure team initially suspects that the hardware must have changed because the application's behavior is different. Which explanation best reflects the layered-machine model? A. Software layers can change how system resources are used, even when the underlying hardware remains unchanged. B. An operating system guarantees identical application performance regardless of software changes. C. The application framework executes independently of the operating system and all lower layers. D. Hardware behavior can change only when the physical processor is replaced. Correct Answer: A. Software layers can change how system resources are used, even when the underlying hardware remains unchanged.


Question 2

A data platform uses priority scheduling for urgent customer-facing workloads. A background reconciliation job repeatedly receives little CPU time because higher-priority work keeps arriving. The business requires the reconciliation job to make progress eventually, while still favoring urgent work. Which scheduling strategy is most directly suited to this requirement? A. Permanently assign the reconciliation job the lowest priority. B. Apply aging by gradually improving the effective priority of work that has waited for a long time. C. Increase the CPU clock frequency without changing scheduling behavior. D. Disable preemption for every process. Correct Answer: B. Apply aging by gradually improving the effective priority of work that has waited for a long time.


Question 3

A company develops an application that uses operating-system services through documented interfaces rather than directly depending on specific hardware registers. It later moves the application to a different computer platform with a compatible software environment. Which design principle most directly helps make this migration manageable? A. Eliminating the operating system so the application can communicate directly with every device. B. Requiring every application component to implement its own disk controller. C. Using abstraction interfaces that separate application logic from hardware-specific implementation details. D. Hardcoding physical memory addresses throughout the application. Correct Answer: C. Using abstraction interfaces that separate application logic from hardware-specific implementation details.


Question 4

A processor-design team is reviewing an instruction format. The instruction contains an operation code, register identifiers, and a limited number of bits for specifying an operand. Engineers discover that some operations require more information than can fit in the current format. Which design consideration is most directly relevant? A. Every instruction must use all available bits to represent a memory address. B. The instruction format must allocate bits among the opcode and operand fields, balancing encoding requirements against the available instruction length. C. The processor's instruction format should be determined by the monitor's display resolution. D. The operating system should assign a process ID to every operand field. Correct Answer: B. The instruction format must allocate bits among the opcode and operand fields, balancing encoding requirements against the available instruction length.


Question 5

An engineering team maintains a program written in a high-level language. A developer edits the high-level source code and then attempts to submit the text directly to a processor's machine-code execution interface without compilation or assembly. Which response is technically correct? A. The processor automatically translates any high-level source code into machine instructions during every instruction fetch. B. The appropriate translation toolchain must convert the source into an executable machine-code representation, with assembly involved where applicable. C. An assembler is used only to manage files and does not produce machine-code representations. D. The source code must be stored on an SSD of a specific capacity before the processor can understand it. Correct Answer: B. The appropriate translation toolchain must convert the source into an executable machine-code representation, with assembly involved where applicable.


Question 6

A low-level engineer traces a calculation and finds that the ALU receives the correct two operand values. However, it performs a logical operation when the program requires addition. The operand values themselves have been verified. Which component of the instruction-processing path should be investigated first? A. The persistent-storage device's capacity. B. The control signals that select the ALU operation. C. The monitor's refresh frequency. D. The operating system's process identifier allocation. Correct Answer: B. The control signals that select the ALU operation.


Question 7

A processor design uses a shared internal hardware resource to transfer values during instruction execution. During a design review, an engineer proposes allowing two independent control paths to drive the same resource simultaneously without defining how competing requests are resolved. What is the principal design concern? A. Every register will become permanent storage. B. The instruction set will automatically increase the number of physical CPUs. C. Conflicting control signals may cause an invalid or ambiguous data transfer; the datapath needs coordinated control and resource selection. D. The operating system will be unable to assign process IDs. Correct Answer: C. Conflicting control signals may cause an invalid or ambiguous data transfer; the datapath needs coordinated control and resource selection.


Question 8

A Linux service attempts to open a configuration file. The operation fails because the file is unavailable. However, the application continues processing as though the file had been opened successfully, eventually producing incorrect results. Which corrective action is most appropriate? A. Restart the CPU whenever a file operation fails. B. Check the system call's return value, handle the error appropriately, and avoid using a resource that was not successfully acquired. C. Ignore the return value because system calls always succeed when invoked by a valid process. D. Replace every system call with a direct CPU instruction. Correct Answer: B. Check the system call's return value, handle the error appropriately, and avoid using a resource that was not successfully acquired.


Question 9

A security review finds that an application attempts to change protected operating-system state directly rather than requesting the operation through a supported kernel interface. Which architectural principle should guide the remediation? A. Every user application should receive unrestricted kernel privileges. B. The process's PID should be used as a replacement for access-control checks. C. The application should bypass the operating system whenever it needs to modify shared resources. D. User applications should use authorized system-call interfaces for privileged operations, allowing the kernel to enforce access controls and protect system resources. Correct Answer: D. User applications should use authorized system-call interfaces for privileged operations, allowing the kernel to enforce access controls and protect system resources.


Question 10

A team uses a user-space threading runtime that maps many application threads onto a single kernel-scheduled execution entity. One thread performs a blocking operation that prevents the shared execution entity from running. The team observes that other application threads cannot make progress during the blocking operation. Which explanation best fits this behavior? A. The scheduler is guaranteed to promote every user-space thread to a separate process. B. The process must have lost its virtual address space. C. All user-space threads necessarily execute simultaneously on separate CPU cores. D. In a many-to-one threading model, a blocking operation that blocks the single underlying kernel execution entity can prevent the other mapped user threads from progressing. Correct Answer: D. In a many-to-one threading model, a blocking operation that blocks the single underlying kernel execution entity can prevent the other mapped user threads from progressing.


Question 11

A company replaces the internal implementation of a lower-level software component while preserving the interface used by the application above it. If the replacement continues to satisfy that interface's contract, the application may continue working without changes to its own source code. Options: True / False Correct Answer: True


Question 12

A monitoring dashboard reports that a workstation's CPU utilization has decreased after a software deployment. The operations team concludes that the application must therefore have become faster and more responsive. Options: True / False Correct Answer: False


Question 13

Two processors implement the same ISA and comply with the same relevant architectural requirements. A developer can generally expect a correctly compiled binary for that ISA to be compatible with both processors, provided their execution environments and required features are compatible. Options: True / False Correct Answer: True


Question 14

An engineer observes that two assembly instructions use different mnemonics. The engineer concludes that one instruction must always take more clock cycles than the other on every processor implementing the same ISA. Options: True / False Correct Answer: False


Question 15

A CPU's datapath contains registers, an ALU, and data-transfer paths. A design team argues that these components alone determine the complete behavior of every instruction, so control logic is unnecessary. Options: True / False Correct Answer: False


Question 16

A processor trace shows an instruction that operates exclusively on values already held in registers. An engineer claims that every such instruction must access main memory to retrieve its operands during its execution. Options: True / False Correct Answer: False


Question 17

A developer uses documented operating-system interfaces instead of directly manipulating kernel data structures. The developer expects this design to make the application easier to maintain across compatible operating-system environments. Options: True / False Correct Answer: True


Question 18

A Linux application receives an error from a file-related system call. An engineer claims that every failed system call automatically terminates the calling process. Options: True / False Correct Answer: False


Question 19

A server runs multiple threads within one process. One thread updates a shared configuration object, and another thread accesses that object. The team assumes that sharing an address space automatically guarantees safe [question text truncated in the original message]. Options: True / False Correct Answer: False


Question 20

A team develops an interactive terminal application in which users should receive an opportunity to run their tasks promptly, even when several CPU-intensive tasks are active. The team chooses Round Robin scheduling and assumes that making the time quantum smaller will always improve overall system performance. Options: True / False Correct Answer: False


QUICK ANSWER KEY

Multiple Choice (Q1–Q10) 1. A 2. B 3. C 4. B 5. B 6. B 7. C 8. B 9. D 10. D True / False (Q11–Q20) 11. True 12. False 13. True 14. False 15. False 16. False 17. True 18. False 19. False 20. False