ExitPrep

Home / Exit exam / Past papers / MoE Exit Exam 2015 E.C. (SE)

MoE Exit Exam 2015 E.C. (SE): questions and answers

Real past paper for Software Engineering, 2015 E.C. (2023 G.C.). 100 questions, 180 minutes. This is the actual Ministry of Education paper, with the answer key and an explanation for each question.

100questions
180minutes
Freefor every account

The first 10 questions

Open "Show answer" under a question to see the correct option and the explanation. The full paper, with the clock, scoring and a review of every question, is in the app.

1. Which parameter is used to assess and evaluate software architectures?

  1. Responsiveness of Architectures
  2. Durability of Architectures
  3. Architectural quality in attribute
  4. Number of components in the Architecture
Show answer

Answer: C. Architectural quality in attribute

Architectural quality attributes (like maintainability, performance, security) are the standard parameters used to evaluate software architectures, not just component count or responsiveness alone.

2. What we use to pass the data between activities in Android?

  1. Broadcast receiver
  2. PostgreSQL Database
  3. Intent
  4. Content provider
Show answer

Answer: C. Intent

Intents are the Android mechanism for passing data between activities. Broadcast receivers handle system-wide events, content providers manage data sharing between apps, and databases are for persistent storage.

3. {'type': 'container', 'tag': 'div', 'children': [{'type': 'container', 'tag': 'div', 'className': 'mb-3 border rounded p-2 dark:border-gray-700', 'children': [{'type': 'container', 'tag': 'div', 'className': 'flex justify-between items-center mb-1', 'children': [{'type': 'container', 'tag': 'h3', 'className': 'text-sm font-medium dark:text-white', 'children': [{'type': 'text', 'text': 'Student Class UML Diagram'}]}, {'type': 'container', 'tag': 'Component', 'children': [{'type': 'text', 'text': 'Hide Table'}]}]}, {'type': 'container', 'tag': 'table', 'className': 'w-full border-collapse text-xs dark:border-gray-700', 'children': [{'type': 'container', 'tag': 'thead', 'children': [{'type': 'container', 'tag': 'tr', 'className': 'bg-gray-50 dark:bg-gray-800', 'children': [{'type': 'container', 'tag': 'th', 'className': 'border p-1 text-left dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Attribute/Method'}]}, {'type': 'container', 'tag': 'th', 'className': 'border p-1 text-left dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Type'}]}]}]}, {'type': 'container', 'tag': 'tbody', 'children': [{'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Name: String'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Private attribute'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Department: String'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Private attribute'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Phone: String'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Private attribute'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Age: int'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Private attribute'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Student (String, String, String, int)'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Constructor'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'SetDept(String)'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Public method'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'GetName(): String'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Public method'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'GetDept():String'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Public method'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'GetYearOfBirth():int'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Public method'}]}]}, {'type': 'container', 'tag': 'tr', 'children': [{'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'CalculateAge(): int'}]}, {'type': 'container', 'tag': 'td', 'className': 'border p-1 dark:border-gray-700 dark:text-gray-300', 'children': [{'type': 'text', 'text': 'Public method'}]}]}]}]}]}, {'type': 'container', 'tag': 'div', 'className': 'dark:text-white', 'children': [{'type': 'text', 'text': 'Assume that the Attributes have declared as private and the method as public. The get method return the value of the attribute and calculateAge() returns the student age. Which of the following would not raise an error when you run this program?'}]}]}

  1. Student st1 = new Student("john", "SE", "0913222222", 20)
  2. st1 Student = newStudent("john", "CS", "02085332455", 23)
  3. Student st1 = newStudent("john", "IT", "2000",)
  4. Student st1 = newStudent("john", "CS", "0913222222", "25")
Show answer

Answer: A. Student st1 = new Student("john", "SE", "0913222222", 20)

Option A is correct because: 1. Proper constructor syntax with all required parameters 2. Correct data types (age as int) 3. Proper variable declaration Other options have: B: Wrong variable declaration order C: Missing age parameter D: Age passed as string instead of int

4. What will be the output of the following code snippet? {'type': 'line-break'} {'type': 'line-break'} var a = "exitexam"; {'type': 'line-break'} var result = "a.substring(2,6)"; {'type': 'line-break'} document.write(result);

  1. texam
  2. xite
  3. itex
  4. xitex
Show answer

Answer: C. itex

The substring(2,6) extracts characters from index 2 to 5 (6 exclusive) of "exitexam": 'e','x','i','t','e','x','a','m' Indices 2-5: 'i','t','e','x' → "itex" Note: The code actually outputs the string literal "a.substring(2,6)" because of the extra quotes, but assuming that's a typo, the correct substring would be "itex".

5. Which one of the following is wrong regarding to interface?

  1. Like a class, an interface is reference data type.
  2. Interface abstract method are accessed using interface instances.
  3. Interface includes abstract methods.
  4. One class can implement multiple interfaces.
Show answer

Answer: B. Interface abstract method are accessed using interface instances.

Interface methods are accessed through class instances that implement the interface, not through interface instances directly (as interfaces cannot be instantiated). All other statements are correct about interfaces.

6. For the schema Hotel (Hotel_id:integer, Hotel_name: String, Sub_city: string) which SQL statement correctly inserts Tuples to Hotel relation. (Assume Hotel_id is primary key).

  1. Insert INTO HOTEL (Hotel_id, Hotel_name, Sub_city)VALUES ('Hilton','Yeka')
  2. Insert INTO HOTEL (Hotel_id, Hotel_name, Sub_city)VALUES (1,'Hilton','Yeka')
  3. Insert INTO HOTEL (1,'Hilton','Yeka')
  4. Insert Values INTO HOTEL(Hotel_id, Hotel_name, Sub_city)VALUES (1,'Hilton','Yeka')
Show answer

Answer: B. Insert INTO HOTEL (Hotel_id, Hotel_name, Sub_city)VALUES (1,'Hilton','Yeka')

Option B is correct SQL syntax: 1. Specifies column names and values in matching order 2. Provides all required fields (including primary key) 3. Correct data types (integer for Hotel_id) Others fail due to: A - Missing Hotel_id value C - Missing column names D - Incorrect 'Insert Values' syntax

7. Which of the following shows the five stages in Tuckman's model of team development, in sequential order?

  1. forming, storming, performing, norming and adjourning
  2. norming ,forming, storming, performing and adjourning
  3. storming, forming, norming, performing and adjourning
  4. forming, storming, norming, performing and adjourning
Show answer

Answer: D. forming, storming, norming, performing and adjourning

The correct sequence is: 1. Forming (team comes together) 2. Storming (conflict emerges) 3. Norming (establish roles/rules) 4. Performing (productive work) 5. Adjourning (team disbands) This is a fundamental model in team management.

8. Which Statement is correct about the difference between functional and nonfunctional requirement?

  1. Unlike functional requirement, nonfunctional requirement is stable.
  2. Both are the same most of the time and only vary under certain contexts.
  3. Functional requirements are decided by the customer while nonfunctional requirements are decided by developers
  4. Functional requirements are the service of the system provide while nonfunctional requirements are constraints on the service or functions offered by the system.
Show answer

Answer: D. Functional requirements are the service of the system provide while nonfunctional requirements are constraints on the service or functions offered by the system.

Key differences: Functional: WHAT the system does (features/services) Non-functional: HOW WELL the system performs (constraints/quality attributes) Other options are incorrect because: A - Both can change B - They're fundamentally different C - Both involve stakeholders

9. If the estimate the total discounted benefits for a project is birr 120,000 and total discounted cost is birr 100,000 what is the estimated return on investment (ROI) percentage?

  1. 20%
  2. 12%
  3. 30%
  4. 10%
Show answer

Answer: A. 20%

ROI = ((Benefits - Costs)/Costs) × 100 = ((120,000 - 100,000)/100,000) × 100 = (20,000/100,000) × 100 = 20%

10. A queue in which the item most recently added is always the first one out refers to:

  1. LIFO queue
  2. FIFO queue
  3. Real time queue
  4. Priority queue
Show answer

Answer: A. LIFO queue

LIFO (Last-In-First-Out) describes stack behavior where the newest item is processed first. While the term 'LIFO queue' is sometimes used, this structure is more commonly called a stack. A traditional queue follows FIFO (First-In-First-Out) where the oldest item is processed first. Priority queues order by priority values, not insertion time.

90 more questions in this paper. Sign up free to take the whole paper in timed exam mode.

Take the full Software Engineering paper

Free for every account. Timed mode, scoring and explanations after every question.

Start studying free Log in

All Software Engineering papers, notes and practice