SAMPLE PAPER
COMPUTER
PROGRAMMER
Sample Paper COMPUTER PROGRAMMAR 1
ENGLISH
Choose the best option, from the given choices below each sentence.
1. I plan to go ________ England next year.
A) to
B) at
C) on
D) in
2. Aslam is elder ______ Sara.
A) as
B) that
C) than
D) of
3. Ali's essay was not ________ one, as it had been written hurriedly the night
before from a careless ________ of information and research data.
A) a rambling ... collage
B) an ambiguous ... development
C) an amorphous ... morass
D) a coherent ... hodgepodge
Choose the best opposite of the following words.
4. EVEN:
A) follow
B) complete
C) varied
D) clear
5. ARRIVE:
A) arise
B) depart
C) drive
D) bound
6. DETERIORATE:
A) deaden
B) trust
C) rectify
D) drain
Choose the best same meaning of the following words.
7. APPRAISE:
A) search
B) estimate
C) prove
Sample Paper COMPUTER PROGRAMMAR 2
D) complain
8. RUTHLESS:
A) careless
B) useless
C) merciless
D) fearless
Select the lettered pair that best expresses a relationship similar to
that expressed in the original pair.
9. CHATTER: TALK::
A) carry: lift
B) sleep: drowse
C) limp: walk
D) scurry: move
10. CALORIMETER: HEAT::
A) mile: distance
B) exam: ability
C) second: minute
D) telescope: star
Sample Paper COMPUTER PROGRAMMAR 3
GENERAL KNOWLEDGE
11. To the south of Pakistan lies:
A) Bay of Bengal
B) The Arabian Sea
C) The Persian Gulf
D) Iran
12. Which of the following is referred by per capita?
A) By head
B) By law
C) By the way
D) By legal means
13. In Pakistan summer season rain fall is caused by:
A) Due to heat
B) Due to cold wind
C) Due to storm
D) Due to monsoon
14. The cabinet mission plan consisted of how many British Ministers?
A) 3
B) 5
C) 7
D) 9
15. Tochi pass and Gomal pass are situated in:
A) Kho-e-Sufaid Ranges
B) Waziristan Hills
C) Toba Kakar Mountain Range
D) Saihan Hills
16. Which of the following province is the smallest according to population?
A) Punjab
B) Sindh
C) Baluchistan
D) KPK
Sample Paper COMPUTER PROGRAMMAR 4
IQ
17. Which one is different from the rest?
A) Mother
B) Friend
C) Brother
D) Son
18. 5 10 15 20 25 30 35 41 45 50
One number is wrong in the above series. What should that number be?
A) 20
B) 25
C) 35
D) 41
19. In a code language, 'fit kon dan' means 'school is good’; 'mok dan sil' means 'nice
big school' and 'warm tir fit' means 'temperature is high'. Which word stands for
'good' in that language?
A) mok
B) fit
C) kon
D) dan
Sample Paper COMPUTER PROGRAMMAR 5
SUBJECT
20. Which of the following is Correct about Interface in Microsoft.Net?
A) An Interface is a reference type and it contains only abstract members
B) Interface's members cannot be Events, Methods
C) All the member declarations inside interface are private
D) The interface contains constants, data fields, constructors, destructors
and static members
21. The array definition int marks[10] [5] defines an array of
A) 5 tables, 10 rows
B) 10 columns, 5 rows
C) 10 rows, 15 tables
D) 10 rows, 5 columns
22. Suppose you are developing android application with Eclipse IDE which tool you
will use to find inefficiencies in application (app)?
A) Froyo
B) SDK viewer
C) Traceview
D) Hierarchy Viewer
23. Which of the following is known as official Integrated Development Environment
(IDE) for android application?
A) Eclipse
B) bootstrap
C) Android Studio
D) atom
24. ______ layer is the top most layer of IOS architecture.
A) Media layer
B) Core OS layer
C) Cocoa touch layer
D) Core services layer
25. The primary storage section of a computer has many small storage areas. Each
one is assigned an address. Pick up wrong statement about storage location.
A) An address location can hold only one item at a time
B) A storage location can hold only a data item
C) Each location is identified by a built-in unique number
D) When new data are stored in an address location, the previous
contents are erased and replaced
26. A data path to transfer data is:
A) counter
B) bus line
C) access
D) address
Sample Paper COMPUTER PROGRAMMAR 6
27. A computer program written into a storage medium from which it cannot be
accidentally erased is called:
A) malware
B) shareware
C) firmware
D) software
28. Which of following is/are super global variable(s)?
A) $GLOBALS
B) $_SERVER
C) $_REQUEST
D) All of the above
29. function_exist() is used for which of the following?
A) to determine whether the given function is defined in the current PHP
environment
B) to determine where function is defined
C) to determine if function is declared in global scope
D) to determine if function is declared in global scope
30. $_ENV means:
A) Reference of all global variable
B) Session variable
C) Environmental variable
D) Cookie variable
Sample Paper COMPUTER PROGRAMMAR 7
ANSWER KEYS
Q #. Right Choice
1 A
2 C
3 D
4 C
5 B
6 C
7 B
8 C
9 D
10 B
11 B
12 A
13 D
14 A
15 B
16 C
17 B
18 D
19 C
20 A
21 D
22 D
23 C
24 C
25 B
26 B
27 C
28 D
29 A
30 C
Sample Paper COMPUTER PROGRAMMAR 8