Os Final Exam

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

HARAMBEE UNIVERSITY

MUKE TURI CAMPUS


Management information system final exam
Name: ______________________ Id.no:___________ Alloted time: 1:30

HARAMBEE UNIVERSITY
MUKE TURI CAMPUS
Software Engineering final exam
Name: ______________________ Id.no:___________ Alloted time: 1:30

I, Choose the best appropriate answer (2 pts each)

1. What is the definition of software engineering?

a) The process of designing hardware components

b) The process of developing computer programs

c) The process of managing software projects

d) The process of testing software products

2. Which of the following is not a software development life cycle model?

a) Waterfall model

b) Agile model

c) Spiral model

d) Hardware model

3. What is the primary responsibility of software engineers?

a) Writing documentation

b) Managing project budgets

c) Designing user interfaces

d) Developing software solutions

4. Which of the following is an ethical consideration in software engineering?

a) Protecting user privacy


HARAMBEE UNIVERSITY
MUKE TURI CAMPUS
Management information system final exam
Name: ______________________ Id.no:___________ Alloted time: 1:30
b) Maximizing profits for the company

c) Ignoring intellectual property rights

d) Promoting unfair competition

5. What is the purpose of a software development life cycle model?

a) To determine project timelines

b) To manage software testing activities

c) To define project requirements

d) To provide a framework for software development

6. Which software development life cycle model emphasizes iterative and incremental development?

a) Waterfall model

b) Spiral model

c) Agile model

d) V-model

7. What is the importance of ethical considerations in software engineering?

a) They ensure compliance with legal regulations

b) They increase the speed of software development

c) They improve software performance

d) They protect the rights and interests of stakeholders

8. Which of the following is a professional responsibility of software engineers?

a) Sharing confidential information

b) Delivering low-quality software

c) Continuing professional development

d) Plagiarizing code
HARAMBEE UNIVERSITY
MUKE TURI CAMPUS
Management information system final exam
Name: ______________________ Id.no:___________ Alloted time: 1:30

9. What is the purpose of gathering and analyzing requirements in software development?

a) To document the project schedule

b) To identify potential risks

c) To design the user interface

d) To develop the software solution

10. What technique can be used to elicit requirements from stakeholders?

a) Use case modeling

b) User interface prototyping

c) Code refactoring

d) Performance testing

11. What are the principles of software design?

a) Writing code quickly without considering design principles

b) Following coding standards and best practices

c) Using the latest programming languages and frameworks

d) Designing software that is modular, cohesive, and loosely coupled

12. What is architectural design in software engineering?

a) Writing code without considering the overall structure of the software

b) Designing the user interface of the software

c) Defining the high-level structure and components of the software

d) Selecting the programming language and tools for software development

13. What is object-oriented design?

a) Designing software without using objects or classes


HARAMBEE UNIVERSITY
MUKE TURI CAMPUS
Management information system final exam
Name: ______________________ Id.no:___________ Alloted time: 1:30
b) Designing software based on procedural programming principles

c) Designing software using objects, classes, and their relationships

d) Designing software using machine code instructions

14. What is unit testing?

a) Testing the entire software system as a whole

b) Testing the interaction between different software modules

c) Testing the individual components or units of code

d) Testing the software performance under heavy workload

15. What is test-driven development (TDD)?

a) Writing code without any testing or validation

b) Writing tests after writing the code

c) Writing tests before writing the code

d) Writing tests during the software maintenance phase

16. Which of the following is an example of a coding best practice?

a) Writing long and complex functions

b) Not using any comments in the code

c) Using meaningful variable and function names

d) Copying and pasting code from other sources without attribution

17. What is the purpose of test planning in software testing?

a) Identifying potential risks and mitigation strategies

b) Developing the software architecture and design

c) Writing code based on user requirements

d) Managing software maintenance activities


HARAMBEE UNIVERSITY
MUKE TURI CAMPUS
Management information system final exam
Name: ______________________ Id.no:___________ Alloted time: 1:30

18. What is the main goal of software maintenance activities?

a) Developing new software features and functionalities

b) Debugging and fixing software defects

c) Identifying user requirements and documenting them

d) Planning and estimating project timelines

19. What is the role of version control systems in software development?

a) Managing software testing activities

b) Controlling access to sensitive information

c) Tracking changes to source code and facilitating collaboration

d) Planning and scheduling project tasks

20. Which of the following is an Agile methodology?

a) Waterfall model

b) V-model

c) Scrum

d) Spiral model

III, short answer (5 Pts each)

1. Discuss some Principles of software design.


2. What is requirements validation and verification?

You might also like