B.S.W.E. Bachelor of Software Engineering Trivia 2 — Questions and Answers
Question 1: Which programming language was created by Guido van Rossum and first released in 1991?
- Ruby
- Perl
- Python (Correct answer)
- Tcl
Correct answer: Python
Python was created by Guido van Rossum and released in 1991, named after the British comedy group Monty Python.
Question 2: What does the acronym 'API' stand for in software development?
- Automated Programming Interface
- Application Programming Interface (Correct answer)
- Applied Protocol Integration
- Adaptive Program Instruction
Correct answer: Application Programming Interface
API stands for Application Programming Interface, a set of rules allowing different software components to communicate.
Question 3: Which version control system was created by Linus Torvalds in 2005?
- SVN
- Mercurial
- Git (Correct answer)
- CVS
Correct answer: Git
Git was created by Linus Torvalds in 2005 to manage Linux kernel development after the team lost access to BitKeeper.
Question 4: In software engineering, what does 'DRY' stand for?
- Do Require Yaml
- Don't Repeat Yourself (Correct answer)
- Distribute Redundant Yield
- Dynamic Runtime Yoke
Correct answer: Don't Repeat Yourself
DRY (Don't Repeat Yourself) is a principle stating that every piece of knowledge should have a single authoritative representation in the system.
Question 5: What year was the World Wide Web invented by Tim Berners-Lee?
- 1985
- 1991
- 1989 (Correct answer)
- 1994
Correct answer: 1989
Tim Berners-Lee invented the World Wide Web in 1989 while working at CERN, proposing it as an information management system.
Question 6: Which data structure operates on a Last-In, First-Out (LIFO) principle?
- Queue
- Heap
- Stack (Correct answer)
- Deque
Correct answer: Stack
A stack follows the LIFO principle, meaning the last element added is the first one removed, like a stack of plates.
Question 7: What is the name of the famous software engineering principle that states classes should be open for extension but closed for modification?
- Liskov Substitution Principle
- Single Responsibility Principle
- Open/Closed Principle (Correct answer)
- Dependency Inversion Principle
Correct answer: Open/Closed Principle
The Open/Closed Principle, part of SOLID, states software entities should be open for extension but closed for modification.
Which programming language was created by Guido van Rossum and first released in 1991?