Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Problem Understanding & AnalysisEasy
Q1. What should you first identify when analyzing a problem?
- A.The user interface color scheme
- B.The input and expected output✓ Correct
- C.The programming language to use
- D.The database engine to deploy
Explanation
Identifying input and output is the first step.
Report an error in this question
Problem Understanding & AnalysisEasy
Q2. What is a problem statement?
- A.A set of test cases for validation
- B.The code implementation of the fix
- C.A clear description of what to solve✓ Correct
- D.The final solution to the problem
Explanation
A clear, concise description of the issue.
Report an error in this question
Problem Understanding & AnalysisEasy
Q3. Which helps understand a problem better?
- A.Identifying examples and edge cases✓ Correct
- B.Skipping requirements gathering
- C.Ignoring constraints on the system
- D.Immediately coding a solution
Explanation
Examples and edge cases develop thorough understanding.
Report an error in this question
Problem Understanding & AnalysisEasy
Q4. What are requirements?
- A.Conditions the solution must satisfy✓ Correct
- B.Bugs found during the testing phase
- C.Test results from the final review
- D.Optional features to consider later
Explanation
Conditions the solution must satisfy.
Report an error in this question
Problem Understanding & AnalysisEasy
Q5. What is an edge case?
- A.Unusual input testing boundary limits✓ Correct
- B.The most common input scenario
- C.A syntax error in the source code
- D.A design pattern used in systems
Explanation
Edge cases test boundary conditions.
Report an error in this question
Problem Understanding & AnalysisEasy
Q6. Why identify constraints?
- A.They serve only as documentation notes
- B.Constraints are completely irrelevant
- C.They define limits the solution must meet✓ Correct
- D.They make the problem harder on purpose
Explanation
Constraints define boundaries for the solution.
Report an error in this question
Problem Understanding & AnalysisEasy
Q7. What does scope mean?
- A.The boundaries of what the problem covers✓ Correct
- B.The programming language being used
- C.The speed of the algorithm execution
- D.The database size for the project
Explanation
Scope defines included and excluded aspects.
Report an error in this question
Problem Understanding & AnalysisEasy
Q8. Most useful analysis question?
- A.What color theme should we apply
- B.What font should the UI display
- C.What are inputs and expected output✓ Correct
- D.How many lines of code are needed
Explanation
Understanding inputs and outputs is fundamental.
Report an error in this question
Problem Understanding & AnalysisEasy
Q9. What is a test case?
- A.A programming paradigm to follow
- B.A particular variable type definition
- C.A debugging tool in the compiler
- D.Scenario with specific input and output✓ Correct
Explanation
Specific input-output pairs for verification.
Report an error in this question
Problem Understanding & AnalysisEasy
Q10. What are functional requirements?
- A.Appearance and visual requirements
- B.Hardware specifications for the project
- C.Network requirements for deployment
- D.What the system should actually do✓ Correct
Explanation
Specify system functions and behaviors.
Report an error in this question
Problem Understanding & AnalysisMedium
Q11. Most important sorting constraint?
- A.Array variable name
- B.Output color format
- C.Input data set size✓ Correct
- D.Code indentation style
Explanation
Input size determines algorithm efficiency needs.
Report an error in this question
Problem Understanding & AnalysisMedium
Q12. What is root cause analysis?
- A.Addressing surface symptoms only
- B.Ignoring all errors and warnings
- C.Guessing the source of the bug
- D.Identifying the fundamental cause✓ Correct
Explanation
Identifies the fundamental underlying cause.
Report an error in this question
Problem Understanding & AnalysisMedium
Q13. Maximum sum subarray is what type?
- A.Optimization problem type✓ Correct
- B.String matching problem
- C.Graph traversal problem
- D.Sorting algorithm problem
Explanation
Optimization problem solved by Kadane's algorithm.
Report an error in this question
Problem Understanding & AnalysisMedium
Q14. What is a precondition?
- A.Must be true before process begins✓ Correct
- B.An error message shown to users
- C.Checked only after the execution
- D.A specific type of loop construct
Explanation
Must be true before execution.
Report an error in this question
Problem Understanding & AnalysisMedium
Q15. What is a postcondition?
- A.Checked before execution begins
- B.A particular variable type in code
- C.A syntax rule for the compiler
- D.Must be true after process completes✓ Correct
Explanation
Must be true after completion.
Report an error in this question
Problem Understanding & AnalysisMedium
Q16. What does feasibility analysis determine?
- A.Whether a solution is practical and achievable✓ Correct
- B.The color scheme for the interface
- C.The marketing strategy to implement
- D.The number of programmers to hire
Explanation
Determines if solution is practical.
Report an error in this question
Problem Understanding & AnalysisMedium
Q17. Functional vs non-functional requirements?
- A.Functional: what it does; non-functional: how well✓ Correct
- B.There is no meaningful difference
- C.Functional requirements are always optional
- D.Non-functional requirements are more important
Explanation
What vs quality attributes.
Report an error in this question
Problem Understanding & AnalysisMedium
Q18. What is stakeholder identification?
- A.Finding all parties affected by it✓ Correct
- B.Identifying who wrote the code
- C.Counting the team members involved
- D.Listing programming languages used
Explanation
Finds all affected parties.
Report an error in this question
Problem Understanding & AnalysisMedium
Q19. What is a use case?
- A.A user-system interaction for a goal✓ Correct
- B.A specific test case for the code
- C.A bug report filed by the team
- D.A comment added to source code
Explanation
Describes specific user-system interactions.
Report an error in this question
Problem Understanding & AnalysisMedium
Q20. Role of domain knowledge?
- A.Helps understand context and terms✓ Correct
- B.It only serves for documentation
- C.It slows down the development
- D.It is completely irrelevant
Explanation
Provides context and terminology understanding.
Report an error in this question
Problem Understanding & AnalysisHard
Q21. 10K concurrent users, <100ms response is what type?
- A.Usability requirement type
- B.Security requirement type
- C.Functional requirement type
- D.Performance non-functional type✓ Correct
Explanation
Performance requirement (non-functional).
Report an error in this question
Problem Understanding & AnalysisHard
Q22. Mapping to TSP implies?
- A.Likely NP-hard, needs heuristics✓ Correct
- B.Only sorting is required to solve
- C.It can be solved in linear time
- D.The problem is trivially solvable
Explanation
TSP is NP-hard.
Report an error in this question
Problem Understanding & AnalysisHard
Q23. Most critical real-time constraint?
- A.Deterministic response time guarantees✓ Correct
- B.Code readability standards
- C.Number of comments in code
- D.Descriptive variable naming style
Explanation
Real-time requires deterministic timing.
Report an error in this question
Problem Understanding & AnalysisHard
Q24. Problem space vs solution space?
- A.They are exactly the same thing
- B.Neither concept is used in CS at all
- C.They refer to code versus documentation
- D.Problem: all states; solution: valid answers✓ Correct
Explanation
Problem space = states; solution space = valid solutions.
Report an error in this question
Problem Understanding & AnalysisHard
Q25. Multiple conflicting constraints need?
- A.Multi-objective optimization approach✓ Correct
- B.Only brute force can work on them
- C.Ignoring some constraints entirely
- D.Removing all constraints from scope
Explanation
Multi-objective optimization finds Pareto solutions.
Report an error in this question
Problem Understanding & AnalysisHard
Q26. Stream processing each element once?
- A.Static analysis technique
- B.Online streaming algorithm type✓ Correct
- C.Batch processing approach
- D.Compile-time optimization
Explanation
Streaming algorithms process in single pass.
Report an error in this question
Problem Understanding & AnalysisHard
Q27. What is invariant analysis?
- A.Measuring code coverage metrics
- B.Checking syntax for correctness
- C.Properties remaining true throughout✓ Correct
- D.Enforcing a code style guide
Explanation
Identifies properties maintained during execution.
Report an error in this question
Problem Understanding & AnalysisHard
Q28. Scheduling with dependencies uses?
- A.Binary tree structure
- B.Linked list structure
- C.Hash table structure
- D.Directed acyclic graph✓ Correct
Explanation
DAGs model task dependencies.
Report an error in this question
Problem Understanding & AnalysisHard
Q29. What is amortized analysis for?
- A.Measuring space complexity alone
- B.Analyzing the best case scenario
- C.Average cost per operation over time✓ Correct
- D.Analyzing single worst case only
Explanation
Average cost over worst-case sequence.
Report an error in this question
Problem Understanding & AnalysisHard
Q30. Well-defined vs ill-defined problems?
- A.All CS problems are always well-defined
- B.Ill-defined problems have no solution at all
- C.Well-defined are always easier to solve
- D.Well-defined: clear states; ill-defined: ambiguous✓ Correct
Explanation
Well-defined have clear states, goals, operators.
Report an error in this question