ExitPrep

Home / Exit exam / Past papers / SE Model Exam 2017 E.C.

SE Model Exam 2017 E.C.: questions and answers

Model exam for Software Engineering, 2017 E.C. (2025 G.C.). 100 questions, 180 minutes. A model exam written to match the format and difficulty of the real paper, with explanations.

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 of the following is wrong regarding interface?

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

Answer: A. Interface abstract methods are accessed using interface instances

In Java, an interface cannot be instantiated, meaning you cannot create an 'interface instance' using the new keyword. Methods defined in an interface are accessed via an instance of a concrete class that implements the interface. The other statements are correct: interfaces are reference types, they contain abstract methods (by default), and Java supports multiple interface implementation for a single class.

2. How can we select an element with a specific class in CSS?

  1. ~
  2. #
  3. ^
  4. .
Show answer

Answer: D. .

In CSS, the dot (.) symbol is the class selector used to select elements with a specific class attribute. The hash (#) is used for IDs, and the tilde (~) is the general sibling combinator.

3. The process that generates activities such as project schedule, cost estimations and work breakdown structures is described as:

  1. Project Executing
  2. Project Initiating
  3. Project Closing
  4. Project Planning
Show answer

Answer: D. Project Planning

Project Planning is the phase where the project scope is defined and the roadmap is created. This includes developing the Work Breakdown Structure (WBS), estimating costs, and creating the project schedule. Execution is the actual implementation, Initiation is the formal start, and Closing is the finalization.

4. The following UML design shows Student class. Assume that the attributes have declared as private and the methods as public. The get methods return the value of the attributes and the calculateAge() returns the Student age. Which of the following would not raise an error when you run this program? | Student | | :--- | | name : String | | department : String | | phone : String | | age : int | | --- | | Student(String, String, String, int) | | SetDept(String) | | getName() : String | | getDept() : String | | getYearOfBirth() : int | | calculateAge() : int |

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

Answer: B. Student st1 = new Student ("John","SE","0913222222",20);

Option B is correct because it matches the constructor signature defined in the UML diagram: Student(String, String, String, int). Option A fails because the age is passed as a String ("25") instead of an int. Option C has a syntax error in the variable declaration (`st1 Student`). Option D provides only three arguments when four are required, and the third argument is an incorrect type for the position.

5. Which of the following is not a valid host address within the network 172.17.128.0/21 ?

  1. 172.17.128.1/21
  2. 172.17.135.255 /21
  3. 172.17.135.0 /21
  4. 172.17.128.255/21
Show answer

Answer: B. 172.17.135.255 /21

For the network 172.17.128.0 with a /21 prefix, the subnet mask is 255.255.248.0. The range of addresses for this subnet starts at the network address 172.17.128.0 and ends at the broadcast address 172.17.135.255. Since the broadcast address (172.17.135.255) cannot be assigned to an individual host, it is not a valid host address.

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