BISE 10TH RESULT 2014 CLICK HERE

EDUCATOR JOBS IN PUNJAB ANNOUNCED. LIKE THIS PAGE TO GET DAILY UPDATES

Please Wait 10 Seconds... OR You CanSkip

National Testing Service NTS Sample Paper Of Desktop Application

National Testing Service NTS Sample Paper Of Desktop Application

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. 1.    What will be the value of  “ a “?
    1. A.       0
    2. B.       5
    3. C.        3
    4. D.       4
    5. E.        6

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

 

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

 

  1. A.       System
  2. B.       System.Net
  3. C.        System.Object
  4. D.       Microsoft.Net
  5. E.        System.Assembly

 

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

 

int a = 0;

for (int i = 0; i <= (5 – i); )

  {

      a = i;

        ++i;

  }

 

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

 

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

 

  1. A.       Overriding means that functions having same name and return type but different Parameters.
  2. B.       Overriding means that out of several functions, the ‘right’ one is selected
    at run-time depending on the dynamic type of an object.
  3. C.        Overriding means that functions have same parameters and different return types
  4. D.       None of the above

 

 

 

 

 

 

  1. 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

}

}

}

 

 

  1. A.       Delegation
  2. B.       Polymorphism
  3. C.        Combination
  4. D.       Composition
  5. E.        Inheritance

 

 

 

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.

 

 

 

Answer Keys

 

Q #.

Right Choice

1

D

2

C

3

B

4

B

5

D

National Testing Service NTS Sample Paper Of Desktop Application

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Download Free WordPress Themes | Thanks to Themes Gallery, Premium Free WordPress Themes and Free Premium WordPress Themes