0% found this document useful (0 votes)
10 views12 pages

CS Sample Paper

Uploaded by

alamhamza474
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views12 pages

CS Sample Paper

Uploaded by

alamhamza474
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

COMPUTER SCIENCE

A language that differentiates between upper case and lower case is called:
a) Machine language
b) Case sensitive
c) Visual language
d) High level language
Answer: b) Case sensitive

This symbol is used for C processor directive:


a) #
b) &
c) @
d) %
Answer: a) #

These cannot be declared as identifier:


a) Global variable
b) Local Variable
c) Reserve words
d) Formal parameter
Answer: c) Reserve words

Escape sequence character is followed by:


a) \
b) /
c) %
d) {
Answer: a) \

This statement suspends the control structure:


a) Continue
b) break
c) getch()
d) default
Answer: b) break

This statement terminates the loop:


a) break
b) getch()
c) continue
d) return()
Answer: a) break

It is an organized collection of related data, typically stored on disk and accessible by possibly many
concurrent users:
a) Source Code
b) Database
c) Text File
d) Object File
Answer: b) Database

This database model arranges data in a parent-child relationship:


a) Relation Model
b) Hierarchical Model
c) Network Model
d) Flat Model
Answer: b) Hierarchical Model

Variables defined within function definition are called:


a) Actual Parameters
b) Formal Parameters
c) Global Variables
d) Local Variables
Answer: d) Local Variables

This database model may have more than one parent:


a) Relation Model
b) Network Model
c) Hierarchical Model
d) Flat Model
Answer: b) Network Model

In databases, columns are called:


a) Tuples
b) Attributes
c) Keys
d) File
Answer: b) Attributes

This is not a logical operator:


a) &
b) &&
c) ||
d) !
Answer: a) &

The declaration of a function is called its:


a) Function
b) Prototype
c) Function Call
d) Function Definition
Answer: b) Prototype

A function can return only:


a) One value
b) Two values
c) Three values
d) Six values
Answer: a) One value

This MS Access object is considered primary:


a) Table
b) Query
c) Form
d) Report
Answer: a) Table

Key field must contain:


a) Unique values
b) Null values
c) Duplicate values
d) Default values
Answer: a) Unique values

"One-to-many" refers to:


a) Join
b) Constraint
c) Union
d) Cardinality
Answer: d) Cardinality

To retrieve information from a database, users can use this, an easy-to-use computer language:
a) Data dictionary
b) Query language
c) Report generator
d) Low level language
Answer: b) Query language

The rules/formats for using a programming language are called:


a) Semantic
b) Rule
c) Module
d) Syntax
Answer: d) Syntax

Data access must be sequential in:


a) Network Database Model
b) Relational Model
c) Hierarchical Database Model
d) Flat Model
Answer: a) Hierarchical Database Model

GENERAL KNOWLEDGE

Who is the current Prime Minister of Pakistan?


a) Imran Khan
b) Shehbaz Sharif
c) Shah Mahmood Qureshi
d) Asad Umar
Correct Answer: b) Shehbaz Sharif

Which river is the longest in Pakistan?


a) Ravi
b) Sutlej
c) Chenab
d) Jhelum
Correct Answer: c) Chenab
Which Pakistani cricketer has the highest Test batting average?

a) Inzamam-ul-Haq
b) Younis Khan
c) Misbah-ul-Haq
d) Mohammad Yousuf
Correct Answer: d) Mohammad Yousuf
Which city in Pakistan has hosted the most number of PSL (Pakistan Super League) finals?

a) Karachi
b) Lahore
c) Islamabad
d) Multan
Correct Answer: a) Karachi
Who is known as the "Father of Pakistan's Nuclear Program"?

a) Dr. Abdul Qadeer Khan


b) Dr. Samar Mubarakmand
c) Dr. Ishfaq Ahmad
d) Dr. Abdul Salam
Correct Answer: a) Dr. Abdul Qadeer Khan
Which Pakistani actress won the Academy Award (Oscar) for Best Actress?

a) Meera
b) Mahira Khan
c) Saba Qamar
d) Sharmeen Obaid-Chinoy
Correct Answer: d) Sharmeen Obaid-Chinoy
Who is the first Pakistani Nobel Laureate?
a) Malala Yousafzai
b) Abdus Salam
c) Asma Jahangir
d) Hina Rabbani Khar
Correct Answer: b) Abdus Salam
Which Pakistani city is known as the "City of Lights"?

a) Karachi
b) Lahore
c) Islamabad
d) Rawalpindi
Correct Answer: a) Karachi
Who designed the Faisal Mosque in Islamabad?

a) Fazlur Rahman Khan


b) Michel Virlogeux
c) Vedat Dalokay
d) Edward Durell Stone
Correct Answer: c) Vedat Dalokay
Which Pakistani singer holds the Guinness World Record for the highest number of songs recorded in a
single day?

a) Nusrat Fateh Ali Khan


b) Atif Aslam
c) Rahat Fateh Ali Khan
d) Shafqat Amanat Ali Khan
Correct Answer: a) Nusrat Fateh Ali Khan
In which year did Pakistan win its first Cricket World Cup?

a) 1987
b) 1992
c) 1996
d) 1999
Correct Answer: b) 1992

Which Pakistani mountain climber was the first to ascend all 14 eight-thousanders?

a) Nazir Sabir
b) Hasan Sadpara
c) Samina Baig
d) Nazir Ahmed
Correct Answer: c) Samina Baig
Who is the current Chairman of the Senate of Pakistan?

a) Raza Rabbani
b) Sadiq Sanjrani
c) Mian Raza Rabbani
d) Nayyar Hussain Bukhari
Correct Answer: b) Sadiq Sanjrani
Which Pakistani cricketer has the most centuries in Test cricket?

a) Younis Khan
b) Javed Miandad
c) Inzamam-ul-Haq
d) Mohammad Yousuf
Correct Answer: a) Younis Khan
Which Pakistani female athlete won a bronze medal at the Olympics?

a) Shahnaz Sheikh
b) Naseem Hameed
c) Samina Baig
d) Malika-e-Tarannum Hayat
Correct Answer: b) Naseem Hameed

ANALYTICALL REASONGING

If all frogs are green, and some green things are trees, then which statement must be true?
- A) All frogs are trees.
- B) Some frogs are trees.
- C) All green things are frogs.
- D) Some trees are frogs.
- *Correct Answer: D) Some trees are frogs.*

If the statement "All birds can fly" is false, which of the following statements must be true?
- A) No birds can fly.
- B) Some birds can't fly.
- C) All birds can swim.
- D) All birds are mammals.
- *Correct Answer: B) Some birds can't fly.*

If "APPLE" is coded as "5" and "ORANGE" is coded as "9", what is "BANANA" coded as?
- A) 5
- B) 6
- C) 7
- D) 8
- *Correct Answer: C) 7*

If all cups are glasses, and no glasses are plates, then which statement must be true?
- A) All plates are cups.
- B) Some plates are cups.
- C) No plates are cups.
- D) Some plates are glasses.
- *Correct Answer: C) No plates are cups.*

If "CAT" is coded as "XZG", how is "DOG" coded?


- A) WLH
- B) WOH
- C) VNH
- D) WLG
- *Correct Answer: A) WLH*

If all roses are red, and some red things are cars, then which statement must be true?
- A) All roses are cars.
- B) Some roses are cars.
- C) All cars are roses.
- D) Some cars are roses.
- *Correct Answer: D) Some cars are roses.*

Which word does not belong with the others?


- A) Apple
- B) Orange
- C) Pear
- D) Banana
- *Correct Answer: D) Banana*

If a triangle is a shape, and all squares are shapes, then which statement is true?
- A) All shapes are squares.
- B) Some triangles are squares.
- C) All squares are triangles.
- D) No triangles are squares.
- *Correct Answer: D) No triangles are squares.*

What is the missing number in the sequence: 2, 5, 10, 17, ___ ?


- A) 24
- B) 26
- C) 27
- D) 28
- *Correct Answer: C) 27*

20. If "POND" is coded as "RQPF", how is "LAKE" coded?


- A) NCNG
- B) MBMD
- C) MBLE
- D) LZMD
- *Correct Answer: A) NCNG*

ENGLISH

Choose the correct form of the verb: She ___ to the market yesterday.

a) go
b) went
c) goes
d) going
Correct Answer: b) went

Choose the correct sentence:

a) She don’t like ice cream.


b) She doesn’t likes ice cream.
c) She doesn’t like ice cream.
d) She don’t likes ice cream.
Correct Answer: c) She doesn’t like ice cream.

Choose the correct preposition: He is good ___ mathematics.

a) in
b) at
c) on
d) with
Correct Answer: b) at

Choose the correct conjunction: I will go for a walk ___ it stops raining.

a) and
b) but
c) if
d) or
Correct Answer: c) if

Choose the correct form of the verb: They ___ finished their work before dinner.

a) has
b) have
c) having
d) are
Correct Answer: b) have

Choose the synonym for "benevolent":

a) kind
b) greedy
c) mean
d) selfish
Correct Answer: a) kind
Choose the antonym for "chaotic":

a) disordered
b) messy
c) orderly
d) turbulent
Correct Answer: c) orderly

Choose the synonym for "innovative":

a) traditional
b) old
c) creative
d) outdated
Correct Answer: c) creative

Choose the antonym for "arrogant":

a) humble
b) proud
c) haughty
d) conceited
Correct Answer: a) humble

Choose the synonym for "pinnacle":

a) bottom
b) peak
c) valley
d) depth
Correct Answer: b) peak

Reading Comprehension
Read the passage and answer the following questions: "The internet has revolutionized the way we
communicate. It allows us to connect with people around the world instantaneously. However, it also has its
drawbacks, including privacy concerns and the spread of misinformation."

What is one advantage of the internet mentioned in the passage?

a) It is expensive.
b) It allows instant communication.
c) It is outdated.
d) It spreads misinformation.
Correct Answer: b) It allows instant communication.

What is one disadvantage of the internet mentioned in the passage?

a) It is fast.
b) It is global.
c) It concerns privacy.
d) It connects people.
Correct Answer: c) It concerns privacy.

The word "instantaneously" in the passage most likely means:

a) slowly
b) gradually
c) immediately
d) intermittently
Correct Answer: c) immediately

According to the passage, the internet has:


a) no benefits
b) only advantages
c) both advantages and disadvantages
d) only disadvantages
Correct Answer: c) both advantages and disadvantages

The phrase "spread of misinformation" suggests that the internet:

a) always provides accurate information


b) can distribute false information
c) is completely reliable
d) only spreads news
Correct Answer: b) can distribute false information

She was late because she ___ the bus.

a) missed
b) miss
c) missing
d) misses
Correct Answer: a) missed

If I ___ more time, I would have finished the project.

a) has
b) have
c) had
d) having
Correct Answer: c) had

He decided to stay home ___ go out in the rain.

a) or
b) but
c) because
d) instead of
Correct Answer: d) instead of

We are going to the beach ___ it stops raining.

a) and
b) if
c) so
d) but
Correct Answer: b) if

She is ___ intelligent ___ she can solve complex problems easily.

a) so / that
b) such / as
c) as / as
d) such / that
Correct Answer: d) such / that

Read the passage and answer the following questions:


"The rapid advancements in technology have greatly impacted our daily lives. From communication to
transportation, technology has revolutionized the way we live and work."

What has technology greatly impacted according to the passage?


a) only transportation
b) only communication
c) both communication and transportation
d) neither communication nor transportation
Correct Answer: c) both communication and transportation

What has technology revolutionized according to the passage?


a) only the way we work
b) only the way we live
c) both the way we live and work
d) neither the way we live nor work
Correct Answer: c) both the way we live and work

The word "rapid" in the passage most likely means:


a) slow
b) gradual
c) quick
d) delayed
Correct Answer: c) quick

According to the passage, technology has:


a) made our lives more difficult
b) had no impact on our lives
c) improved our daily lives
d) only affected transportation
Correct Answer: c) improved our daily lives

The phrase "greatly impacted" suggests that technology's effect has been:
a) minimal
b) significant
c) insignificant
d) moderate

PHYSICS

Question: Five equal forces of 10N each are applied at one point and all are lying in one plane. If the angles
between them are equal, the resultant of these forces will be:

A) Zero
B) 10N
C) 20N
Correct Answer: B) 10N

Question: The gradient of the velocity-time graph represents:

A) Speed
B) Acceleration
C) Distance
D) Velocity
Correct Answer: B) Acceleration

Question: Torque is maximum when the angle between r(vector) and F(vector)
A) 0°
B) 45°
C) 90°
Correct Answer: A) 0°
Question: Work done will be positive (maximum) if the angle between force and displacement is:

A) 0°
B) 45°
C) 90°
D) 180°
Correct Answer: A) 0°
Question: When a body is moving in a circular path which is constant:

A) Velocity
B) Speed
C) Acceleration
D) None of these
Correct Answer: D) None of these
Question: Daily example of mutual induction is:

A) Generator
B) Transformer
C) Electric Motor
D) None of these
Correct Answer: B) Transformer
Question: Meter bridge is sensitive when?

A) all four resistors have similar resistance values


B) all four resistors have different resistance values
C) Both A and B
D) None of these
Correct Answer: B) all four resistors have different resistance values
Question: Which of the following lists of physical quantities consist only of vectors:

A) Time, temperature, velocity


B) Force, volume, momentum
C) Velocity, acceleration, mass
D) Force, acceleration, velocity
Correct Answer: D) Force, acceleration, velocity
Question: To measure the maximum range of voltmeter, a series resistance must be:

A) Increase
B) Decrease
C) Zero
D) None of these
Correct Answer: A) Increase
Question: The rate of change in momentum is:

A) Force
B) Torque
C) Angular Momentum
D) None of these
Correct Answer: A) Force
Question: When the external torque on a system is zero, there will be conservation of its:

A) Total energy
B) Linear momentum
C) Angular momentum
D) None of the above
Correct Answer: C) Angular momentum
Question: If the distance between two mass particles is halved, the gravitational force between them
becomes:

A) Half
B) Double
C) Three times
D) Four times
Correct Answer: B) Double
Question: Joule is the SI unit of which pair:

A) Force & Energy


B) Power & Energy
C) Work & Energy
D) Force & Momentum
Correct Answer: C) Work & Energy
Question: Which of the following is the biggest unit of energy:
A) Joule
B) Watt hour
C) Kilo Watt-hour
D) None of these
Correct Answer: C) Kilo Watt-hour
Question: Total energy of a particle executing S.H.M of amplitude A is proportional to:

A) A^2
B) A^-2
C) A^1
D) A^-1
Correct Answer: A) A^2
Question: 3000J of heat is supplied to a system and the change in internal energy is 400J, if the piston
moves through a distance of 3.5m, what will be the work done:

A) 600J
B) 1600J
C) 2600J
Correct Answer: B) 1600J
Question: At mean position, the potential energy of a mass attached to a spring is:

A) Equal to PE
B) Zero
C) One
D) None of these
Correct Answer: B) Zero
Question: If three identical springs each of constant k are hooked together, the spring constant of the
resultant spring will be:

A) 3k
B) 2k
C) k/4
Correct Answer: A) 3k
Question: For a simple pendulum, the graph between L & T^2 is:

A) Straight Line
B) Parabola
C) Curve
D) Ellipse
Correct Answer: A) Straight Line
Question: The rate of decay constant is inversely proportional to:

A) Half life
B) Mean life
C) Both A and B
D) None of these
Correct Answer: C) Both A and B

MATHS

The radius of the circle x^2 + y^2 – 6x + 8y + 9 = 0 is:


a.2
b.5
c.3
d.4

the solution set of x^2 – 5x + 6 = 0 is:


a.{2,-2}
b.{2,3)
c.{1,6}
d.{0,5}
the sum of the first 20 terms of the arithmetic sequence 2,5,8,11,… is:
a.380
b.620
c.840
d.1050

the area under the curve y=x^2 from x=0 to x=2 is:
a.8/3
b.2
c.10/3
d.4

the probability of getting a head when a coin is tossed is:


a.1/3
b.1/4
c.1/2
d.2/3

the value of ʃx^2 dx is:


a.x^3/3
b.x^3/3+C
c.x^2/2+C
d.x^3+C

the derivative of e^2x with respect to x is:


a.e^2x
b.2e^2x
c.e^x
d.2e^x

the sum of the roots of the quadratic equation x^2 – 4x + 4 = 0 is:


a.4
b.-4
c.2
d.-2

the value of lim(x→0) sin(x)/x is:


a.0
b.1
c. ∞
d.-1

if f(x) = 3x + 4 then f-1(x) is:


a.(x-4)/3
b.(x+4)/3
c.(x-3)/4
d.(x+3)/4

You might also like