General MCQs
1372 questions available
FILTER BY SUBTOPIC
Q781.Which is not a necessary condition for deadlock?
Correct Answer: A
For deadlocks to occur, resources must be non-preemptible ('no preemption'). 'Preemption' actually allows systems to resolve or prevent deadlocks.
Q782.Which method ensures mutual exclusion in concurrency control?
Correct Answer: C
A mutex (mutual exclusion object) is a synchronization primitive used in concurrent programming to guarantee exclusive access to shared resources.
Q783.Which scheduling policy gives each process a fixed time slot?
Correct Answer: A
Round Robin is a preemptive scheduling algorithm that allocates a fixed, cyclic time slice (quantum) to each active process.
Q784.Which testing type ensures changes don't introduce new defects?
Correct Answer: C
Regression testing is designed to verify that recent code changes or bug fixes have not introduced regressions or defects into pre-existing stable features.
Q785.Which testing technique involves testing the internal structure of the code?
Correct Answer: C
White-box testing (or structural testing) involves verifying code logic, branches, loops, and conditions with full knowledge of the internal code implementation.
Q786.Which of the following are common non functional requirements?
Correct Answer: D
Non-functional requirements describe system quality characteristics, such as usability (user experience), performance (speed), and security protection.
Q787.Which software development practice involves continuous integration and continuous delivery?
Correct Answer: C
Agile/DevOps software engineering practices emphasize CI/CD (Continuous Integration and Continuous Delivery) to automate and accelerate reliable code releases.
Q788.Which type of pointer can store the address of any data type?
Correct Answer: C
A void* pointer is a generic, type-agnostic pointer that can store memory addresses of any arbitrary data type.
Q789.Which operator is used to access the value at a pointer's address?
Correct Answer: B
The asterisk ('*') is the dereference operator, used in C/C++ to access or modify the actual value located at the pointer's memory address.
Q790.Which branching statement can easily handle complicated nested decisions?
Correct Answer: A
A switch statement structures code cleanly to handle multiple discrete branches, avoiding messy nested if-else ladders.
Q791.Which of the following is not a standard builtin data type in C?
Correct Answer: A
Prior to the C99 standard, the C programming language had no native built-in boolean data type ('bool'), relying on integers for truth checks.
Q792.Most widely used method for representing signed integers in modern computers?
Correct Answer: C
Two's complement is the standard encoding method used to represent signed integers, allowing simple, uniform hardware addition and subtraction operations.
Q793.What is the time complexity of inserting an element in a binary heap?
Correct Answer: C
Inserting an element in a binary heap involves appending it to the end and heapifying it up along the height of the tree, which takes logarithmic O(log n) time.
Q794.A Queue follows which of the following principle?
Correct Answer: A
A queue is a linear data structure that operates strictly on the FIFO (First In, First Out) processing principle.
Q795.Which locking strategy is most effective at minimizing the occurrence of deadlocks?
Correct Answer: C
Optimistic locking minimizes database locks and transaction holding times, vastly reducing the likelihood of deadlocks compared to pessimistic locking.
Q796.Which normalization form addresses transitive dependencies?
Correct Answer: C
Third Normal Form (3NF) eliminates transitive functional dependencies, ensuring all non-key fields depend directly and solely on the primary key.
Q797.GIS layering allows _____?
Correct Answer: C
GIS layering allows users to combine and overlay multiple independent spatial datasets (like elevation, vegetation, and roads) on top of each other.
Q798.Which feature compresses media files?
Correct Answer: C
Media Compression features in presentation suites compress audio and video files directly in the document, reducing the overall file size.
Q799.The "Read Mode" is primarily designed for _____?
Correct Answer: A
Read Mode in MS Word adjusts document layout, hides toolbars, and provides a book-like view optimized for comfortable on-screen reading.
Q800.Remote sensing data is collected through _____?
Correct Answer: B
Remote sensing gathers Earth geographic data by using active sensors mounted on high-altitude satellites or aircraft.