FILTER BY SUBTOPIC

Showing 781–800 of 1372

Q781.Which is not a necessary condition for deadlock?

Easy
A Preemption
B Mutual Exclusion
C Hold and Wait
D Circular Wait
Other PPSC

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?

Easy
A RAID
B Paging
C Mutex
D None of these
Other PPSC

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?

Easy
A Round Robin
B FCFS
C SJF
D None of these
Other PPSC

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?

Easy
A System
B Integration
C Regression
D None of these
Other PPSC

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?

Easy
A System
B Black box
C White box
D None of these
Other PPSC

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?

Easy
A Usability
B Performance
C Security
D All of them
Other PPSC

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?

Easy
A Prototyping
B Waterfall
C Agile/DevOps
D None of these
Other PPSC

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?

Easy
A float*
B int*
C void*
D None of these
Other PPSC

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?

Easy
A []
B *
C &
D None of these
Other PPSC

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?

Easy
A Switch
B If else
C Else if
D All of them
Other PPSC

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?

Easy
A Bool
B Long
C Int
D Char
Other PPSC

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?

Easy
A Excess 127
B 1's complement
C 2's complement
D None of these
Other PPSC

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?

Easy
A O(n log n)
B O(1)
C O(log n)
D None of these
Other PPSC

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?

Easy
A FIFO
B LIFO
C SJF
D None of them
Other PPSC

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?

Easy
A Exclusive
B Pessimistic
C Optimistic
D None of these
Other PPSC

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?

Easy
A 1NF
B 2NF
C 3NF
D None of these
Other PPSC

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 _____?

Easy
A Run macros
B Add music
C Overlay multiple datasets
D None of these
Other PPSC

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?

Easy
A Embed Media
B Save As
C Media Compression
D None of these
Other PPSC

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 _____?

Easy
A Comfortable viewing
B Editing
C Reviewing
D None of these
Other PPSC

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 _____?

Easy
A Sensors in keyboards
B Satellites or aircraft
C Local computers
D None of these
Other PPSC

Correct Answer: B

Remote sensing gathers Earth geographic data by using active sensors mounted on high-altitude satellites or aircraft.