Trivia Flashcards
7 cards from real B.S.W.E. Bachelor of Software Engineering practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 7 Trivia flashcards as text
What does 'IDE' stand for in software development?
Answer: Integrated Development Environment
IDE stands for Integrated Development Environment, a software suite combining a code editor, debugger, and build tools.
Which sorting algorithm has an average time complexity of O(n log n) and uses a pivot element?
Answer: Quicksort
Quicksort uses a pivot element to partition the array and recursively sorts sub-arrays, achieving O(n log n) average time complexity.
In object-oriented programming, what is 'encapsulation'?
Answer: Bundling data and methods that operate on the data within a single unit
Encapsulation bundles data (attributes) and the methods that operate on them into a single unit (class), hiding internal state from outside.
What does 'CI/CD' stand for in modern software development?
Answer: Continuous Integration / Continuous Delivery
CI/CD stands for Continuous Integration / Continuous Delivery (or Deployment), a practice of automating code integration and release pipelines.
Which of the following is NOT one of the four values stated in the Agile Manifesto?
Answer: Comprehensive documentation over working software
The Agile Manifesto values working software over comprehensive documentation, not the other way around.
What is a 'deadlock' in operating systems and concurrent programming?
Answer: A situation where two or more processes wait indefinitely for each other to release resources
A deadlock occurs when two or more processes are each waiting for the other to release a resource, causing all of them to block forever.
What is the purpose of the 'null coalescing operator' (e.g., ?? in C# or JavaScript)?
Answer: To return the right-hand operand when the left-hand operand is null or undefined
The null coalescing operator returns its right-hand operand when the left-hand operand is null or undefined, providing a default value.