Anda di halaman 1dari 6

Building Standards in Educational and Professional Testing

Sample Paper Desktop Application

Instructions

Total number of Sections = 01


Total number of Questions = 05
Time Allowed = 06 minutes

The Sample Paper is totally MCQ Based, consisting of Question statements


and four/five (i.e. A-D/E) Answer choices. You have to select the correct
answer choice.

Instructions about Answer Sheet + Right Answer Keys are at the end of
Exercise.

Note: This sample paper does not include quantitatively the same number of
questions as there would be in actual paper. This is merely meant to provide
conceptual guidance to the users or prospective candidates.

Desktop Application 1
Building Standards in Educational and Professional Testing

DESKTOP APPLICATION

1. What will be the value of “ a “?

int a = 3;
int b = 5;
a += (a < b)? (1):(-a);

A. 0
B. 5
C. 3
D. 4
E. 6

2. What is the top .Net class that everything is derived from?

A. System
B. System.Net
C. System.Object
D. Microsoft.Net
E. System.Assembly

3. What will be the value of “ a ”?

int a = 0;
for (int i = 0; i <= (5 - i); )
{
a = i;
++i;
}

A. 4
B. 2
C. Error
D. Infinite Loop

4. Which of the following statement is true about function overriding?

A. Overriding means that functions having same name and return


type but different Parameters.
B. Overriding means that out of several functions, the 'right' one
is selected
at run-time depending on the dynamic type of an object.
C. Overriding means that functions have same parameters and
different return types
D. None of the above

Desktop Application 2
Building Standards in Educational and Professional Testing

5. What concept does the below sample code demonstrate?

internal class Disc {}


internal class HardDisk
{
private Disc[ ] m_Disc = new Disc[2];
public bool Read()
{
//some code
}
public bool Write()
{
//some code
}

}
public class Computer
{
private HardDisk m_HardDisk = new HardDisk();
public void Start()
{
//put in keys etc..
if (m_ HardDisk.Read())
{
//some more code
}
}
}

A. Delegation
B. Polymorphism
C. Combination
D. Composition
E. Inheritance

Desktop Application 3
Building Standards in Educational and Professional Testing

Desktop Application 4
Building Standards in Educational and Professional Testing

HOW TO FILL THE ANSWER SHEET?

One page printed Answer Sheet is provided to answer the questions. USE ONLY
BALL PEN (BLACK/ BLUE) TO SHADE/FILL THE CIRCLES.

How to fill an Answer: Answer sheet contains five circles containing five options of
answer for one questions, containing alphabets from A to E inside, against each
question number. The candidate has to completely shade/fill one circle that s/he
thinks is correct. For example the candidate feels that the correct answer of the
given question is ‘A’, then s/he may shade/fill the circle containing alphabet ‘A’ with
ball pen like this:

“A” Filled

Incorrect Filling:

Personal Data on Answer Sheet

The Answer Sheet contains personal data of candidate on the top of the sheet. It has
candidates’. NAME, FATHER NAME and ROLL NO. The candidate is required to
critically check these fields and sign in the required space. If any field of personal
information is found in-correct the candidate MUST inform the invigilator present
around.

Write down your Question booklet No. given on the right top corner of the Question
booklet in the column of “Question book No”.

Fill the circle “color of your question book”. Fill the right circle otherwise you will
confuse the marking process which can have negative effects.

Desktop Application 5
Building Standards in Educational and Professional Testing

Answer Keys

Q #. Right Choice
1 D
2 C
3 B
4 B
5 D

Desktop Application 6

Anda mungkin juga menyukai