Showing 281–300 of 653

Q281.Why are constants ignored in Big-O analysis?

Easy
A They are irrelevant for large input sizes
B They are always zero
C They depend on memory
D They improve performance
Hardware PPSC

Correct Answer: A

As inputs scale to infinity, constant coefficients become negligible in determining asymptotic growth rate.

Q282.Which usability heuristic focuses on system recovery from user mistakes?

Easy
A Match between system and real world
B User control and freedom
C Consistency and standards
D Aesthetic and minimalist design
Hardware PPSC

Correct Answer: B

User control and freedom provides features like Undo and Redo to help users gracefully recover from errors.

Q283.What is the main purpose of software documentation?

Easy
A To write code faster
B To provide guidance for users and developers
C To compile the program
D To secure software
Hardware PPSC

Correct Answer: B

Documentation provides comprehensive instructions, requirements, and guides for users and developers.

Q284.Determine the output of the program: int x = 0; while (x < 5) { x += 2; } cout << x;

Easy
A 4
B 5
C 6
D 7
Hardware PPSC

Correct Answer: C

Initial value: x = 0. Loop runs while x < 5. Iterations: 1st: x = 0 + 2 = 2. 2nd: x = 2 + 2 = 4. 3rd: x = 4 + 2 = 6. Now x = 6, condition x < 5 becomes false, loop stops. Final value printed is 6.

Q285.What does data redundancy refer to?

Easy
A Storing the same data in multiple places within a system
B Increasing the speed of data retrieval
C Encrypting data for security
D Removing unnecessary data from a system
Hardware PPSC

Correct Answer: A

Data redundancy occurs when the same piece of data is stored in more than one location. It often happens in databases or storage systems. Redundant data can waste storage space and increase the risk of inconsistencies.

Q286.Which symbols in a Use Case Diagram represent the start and end of a process?

Easy
A Oval
B Rectangle
C Circle
D Rounded rectangle or filled circle
Hardware PPSC

Correct Answer: D

In Use Case Diagrams or Activity Diagrams, the start of a process is shown with a filled circle. The end of a process is represented by a filled circle inside another circle (final node). Ovals represent use cases, and rectangles are typically used for system boundaries.

Q287.In a Use Case Diagram, what is the purpose of the oval symbol?

Easy
A Represents the start of a process
B Represents an actor
C Represents a use case or functionality
D Represents the end of a process
Hardware PPSC

Correct Answer: C

In a Use Case Diagram, an oval denotes a use case, which is a specific functionality of the system. Actors (users or external systems) are represented by stick figures.

Q288.In NLP, the sentence "He has duck" can create ambiguity. What is the issue here?

Easy
A Grammar is correct and unambiguous
B Lexical ambiguity - "duck" could be a noun or verb
C Spelling mistake
D Semantic ambiguity about "he"
Hardware PPSC

Correct Answer: B

Lexical ambiguity occurs when a word has multiple meanings. In "He has duck," "duck" could be a noun (the bird) or a verb (to lower the head quickly). The sentence is grammatically correct but unclear in meaning.

Q289.Which of the following describes unsupervised learning?

Easy
A Learning from labeled data
B Learning patterns from unlabeled data
C Learning by reinforcement
D Learning via rules only
Hardware PPSC

Correct Answer: B

Unsupervised learning finds patterns or structures in data without labeled outputs. Common tasks include clustering and dimensionality reduction. Supervised learning uses labeled data, while reinforcement learning is based on rewards and penalties.

Q290.What is a mutex lock primarily used for in programming?

Easy
A To encrypt data
B To prevent multiple threads from accessing shared resources simultaneously
C To speed up execution
D To handle recursion
Hardware PPSC

Correct Answer: B

A mutex (mutual exclusion) lock ensures that only one thread can access a shared resource at a time. It prevents race conditions, where multiple threads modify data simultaneously.

Q291.Which statement best describes a transitive relation?

Easy
A If A > B and B > C, then A > C
B If A = B and B is not equal to C, then A = C
C If A is adjacent to B, then B is adjacent to A
D If A is connected to B, then B is disconnected from A
Hardware PPSC

Correct Answer: A

A transitive relation means that if a relation holds between A and B, and B and C, it also holds between A and C. Example: "greater than" (>) is transitive: if A > B and B > C, then A > C.

Q292.Which of the following is true about preemptive scheduling?

Easy
A A process cannot be interrupted once started
B A process can be interrupted to allow a higher-priority process to run
C CPU is always allocated in a fixed order
D All processes run simultaneously
Hardware PPSC

Correct Answer: B

Preemptive scheduling allows the CPU to pause a running process if a higher-priority process needs it. This ensures important tasks are handled promptly.

Q293.If evidence is altered accidentally, which security factor is compromised?

Easy
A Confidentiality
B Integrity
C Privacy
D Accuracy
Hardware PPSC

Correct Answer: B

Integrity ensures that data or evidence remains accurate and unaltered. If evidence is accidentally changed, its integrity is compromised.

Q294.Time complexity measures?

Easy
A Memory usage
B Speed of execution
C Code length
D Output size
Hardware PPSC

Correct Answer: B

Time complexity describes the amount of time an algorithm takes to run, typically measured as a function of the input size (representing execution speed). Memory usage is measured by space complexity.

Q295.Data authentication ensures?

Easy
A Data is compressed
B Data is encrypted
C Data is from a valid source
D Data is deleted
Hardware PPSC

Correct Answer: C

Data authentication is a security process that verifies whether data originates from a valid and trusted source.

Q296.In programming, the boolean value false is treated as?

Easy
A 1
B -1
C 0
D Undefined
Hardware PPSC

Correct Answer: C

In most programming languages, boolean values are represented numerically, with false treated as 0 and true treated as 1.

Q297.Which of the following is a type of computer memory that is used to temporarily store data and instructions that are currently being processed?

Easy
A RAM
B CPU
C Motherboard
D None of these
Hardware PPSC

Correct Answer: A

RAM (Random Access Memory) temporarily stores data and instructions currently in use by the CPU. It is volatile memory.

Q298.Which term is used for moving a paragraph closer to or farther away from the margin?

Easy
A Spacing
B Indent
C Shading
D None of these
Hardware PPSC

Correct Answer: B

Indent is used to move a paragraph closer to or farther away from the margin in word processors. It helps in structuring documents, highlighting paragraphs, or creating lists.

Q299.Which of the following is an example of an input device?

Easy
A Plotter
B MICR
C Processor
D LCD
Hardware PPSC

Correct Answer: B

MICR (Magnetic Ink Character Recognition) is an input device used to read characters printed with magnetic ink, commonly used in banks to process cheques.

Q300.Which of the following would NOT be considered a form of secondary storage?

Easy
A RAM
B Floppy Disk
C Optical Disk
D RAM
Hardware PPSC

Correct Answer: D

RAM (Random Access Memory) is primary, volatile memory used for temporary data storage during processing, whereas flash drives, floppy disks, and optical disks are forms of secondary storage.