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.
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++?
- #include (filename)
- #include <filename.h>
- #include <filename.h>
- #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?
- Analysis phase
- Algorithm design phase
- Testing phase
- 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;)?
- int *y= x;
- int &y=x;
- int &y=&x;
- 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};
- int *p=&A;
- int *p =A;
- int &p=A;
- 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; }
- 3
- 1
- 4
- Syntax error
Show answer
Answer: C. 4
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