ExitPrep

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

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

Real past paper for Software Engineering, 2017 E.C. (2025 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
Premiumfull paper

The first 5 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.

95 more questions in this paper. This paper is part of Premium, from 200 ETB for 3 months, together with every other paper, all chapters and unlimited practice.

Take the full Software Engineering paper

Start free with the oldest paper of your department, then unlock this one with Premium.

Start studying free Log in

All Software Engineering papers, notes and practice