ExitPrep

Home / Exit exam / Past papers / Model Exit Exam 2017 E.C. - Round 1 (CSE)

Model Exit Exam 2017 E.C. - Round 1 (CSE): questions and answers

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

100questions
120minutes
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 one of the following is the correct syntax for including a user defined header files in C++?

  1. #include (filename)
  2. #include <filename.h>
  3. #include <filename.h>
  4. #include “filename”
Show answer

Answer: D. #include “filename”

2. At which phase of problem-solving life cycle are input data needed, procedure (process) and expected output requirements identified (determined) while solving a computational problem?

  1. Analysis phase
  2. Algorithm design phase
  3. Testing phase
  4. Implementation or coding phase
Show answer

Answer: A. Analysis phase

3. Which one of the following is the correct syntax for defining a reference variable y to a variable x assuming that x is declared as int (that is, int x;)?

  1. int *y= x;
  2. int &y=x;
  3. int &y=&x;
  4. int *y=&x;
Show answer

Answer: B. int &y=x;

4. Which one of the following is the correct way of declaring a pointer p to the given array A? int A[]={12,-8,9,56};

  1. int *p=&A;
  2. int *p =A;
  3. int &p=A;
  4. double *p=A;
Show answer

Answer: B. int *p =A;

5. What would be the value of var after the following C++ code is executed? #include <iostream> using namespace std; int main() { int var; bool a = true; bool b = false; int x = 2; int y = 5; var = ((x % y) + ((a + b)*2)); cout << var; return 0; }

  1. 3
  2. 1
  3. 4
  4. Syntax error
Show answer

Answer: C. 4

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 Computer Science paper

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

Start studying free Log in

All Computer Science papers, notes and practice