wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Tout Your Talent

Total questions: 80

Worksheet time: 3600secs

Name
Class
Date
1.

What is the output of the function shown below?

import math

abs(math.sqrt(25))

a)

Error

b)

5

c)

5

d)

5.0

2.

Which of the following statements is true?

a)

The standard exceptions are automatically imported into Python programs

b)

All raised standard exceptions must be handled in Python

c)

When there is a deviation from the rules of a programming language, a semantic error is thrown

d)

If any exception is thrown in try block, else block is executed

3.

Compare the two codes shown below and state the output if the input entered in each case is -6?

CODE 1

import math

num=int(input("Enter a number of whose factorial you want to find"))

print(math.factorial(num))

CODE 2

num=int(input("Enter a number of whose factorial you want to find"))

print(math.factorial(num))

a)

ValueError, NameError

b)

AttributeError, ValueError

c)

NameError, TypeError

d)

TypeError, ValueError

4.

Which of the following is not a valid mode to open a file?

a)

ab

b)

rw

c)

r+

d)

w+

5.

What is the use of truncate() method in file?

a)

truncates the file size

b)

deletes the content of the file

c)

deletes the file size

d)

none of the mentioned

6.

6. What is an interpreter?

a)

An interpreter does the conversion line by line as the program is run

b)

An interpreter is the representation of the system being designed

c)

An interpreter is a general purpose language providing very efficient execution

d)

None of the above

7.

What does math.sqrt(X, Y) do?

a)

a) calculate the Xth root of Y

b)

b) calculate the Yth root of X

c)

c) error

d)

d) return a tuple with the square root of X and Y

8.

DeMorgan’s theorem states that _________

a)

(AB)’ = A’ + B’

b)

b) (A + B)’ = A’ * B

c)

c) A’ + B’ = A’B’

d)

d) (AB)’ = A’ + B

9.

What is the order of namespaces in which Python looks for an identifier?

a)

a)Python first searches the global namespace, then the local namespace and finally the built-in namespace

b)

b)Python first searches the local namespace, then the global namespace and finally the built-in namespace

c)

c)Python first searches the built-in namespace, then the global namespace and finally the local namespace

d)

d)Python first searches the built-in namespace, then the local namespace and finally the global namespace

10.

_____ is a string literal denoted by triple quotes for providing the specifications of certain program elements.

a)

a)Interface

b)

b)Modularity

c)

c)Client

d)

d)Docstring

11.

Which of the following is not an advantage of using modules?

a)

a)Provides a means of reuse of program code

b)

b)Provides a means of dividing up tasks

c)

c)Provides a means of reducing the size of the program

d)

d)Provides a means of testing individual parts of the program

12.

Is Python code compiled or interpreted?

a)

a)Python code is only compiled

b)

b)Python code is both compiled and interpreted

c)

c)Python code is only interpreted

d)

d)Python code is neither compiled nor interpreted

13.

What is the output of the following?
x = ['ab', 'cd']
print(list(map(list, x)))

a)

a) [‘a’, ‘b’, ‘c’, ‘d’].

b)

b) [[‘ab’], [‘cd’]].

c)

c) [[‘a’, ‘b’], [‘c’, ‘d’]].

d)

d) none of the mentioned

14.

Which keyword is use for function?

a)

a) Fun

b)

b) Define

c)

c) Def

d)

d) Function

15.

Which is the Act which provides legal framework for e-Governance in India

a)

a.IT (amendment) Act 2008

b)

b.Indian Penal Code

c)

c.IT Act 2000

d)

d.None of the above

16.

What does e- waste stand for?

a)

A. Environment waste

b)

B. Electronic waste

c)

C. Equipment waste

d)

D. None of the above

17.

We apply the aggregate function to a group of sets of tuples using the _______ clause.

a)

a) group by

b)

b) group

c)

c) group set

d)

d) group attribute

18.

The term IPv4 stands for?

a)

Internet Protocol Version 4

b)

Internet Programming Version 4

c)

International Programming Version 4

d)

None of these

19.

Identify the right type of chart using the following hints.

Hint 1: This chart is often used to visualize a trend in data over intervals of time.

Hint 2: The line in this type of chart is often drawn chronologically.

a)

A. Line chart

b)

B. Bar chart

c)

C. Pie chart

d)

D. Scatter plot

20.

Which of the following provides the ability to query information from the database and insert tuples into, delete tuples from, and modify tuples in the database?

a)

DML(Data Manipulation Language)

b)

DDL(Data Definition Language)

c)

Query

d)

Relational Schema

21.

According to Coulomb’s law, the electrostatic force between two charges is

a)

inversely proportional to the product of the charges

b)

inversely proportional to the square of the distance between the charges

c)

directly proportional to the cube of the distance between charges


d)

none of these


22.

According to the modern theory of nature of light, the light has

a)

wave nature only

b)

particle nature only

c)

both wave and particle (dual) nature

d)

neither particle nature nor wave nature


23.

The most commonly used semiconductor is

a)

Germanium

b)

Silicon

c)

Carbon

d)

Sulphur

24.

An endoscope is used by a physician to view the internal parts of a body organ. It is based on the principle of

a)

refraction of light

b)

reflection of light


c)

total internal reflection of light

d)

dispersion of light


25.

The physical quantities have the dimensions of [ML-1T-2] will be


a)

Velocity

b)

Force

c)

Acceleration

d)

Pressure

26.

For proper operation of the transistor, its collector should have

a)

Proper forward bias

b)

Proper reverse bias

c)

Very small size

d)

None of the above

27.

Which of the following is a unique property of laser?

a)

Directional

b)

Speed

c)

Coherence

d)

Wavelength

28.

Food gets cooked faster in a pressure cooker because

a)

water starts boiling at a lower temperature due to high pressure

b)

water starts boiling at a higher temperature due to high pressure

c)

water boils only at 100°C but the heat content is higher at high pressure

d)

convection currents are set inside the cooker

29.

It is more comfortable to wear white cloths in summer because

a)

they reflect heat falling on them

b)

they radiate heat transferred from the body.


c)

they absorb perspiration.

d)

they are soothing to the eye.


30.

Which one of the following statements is not true about cosmic rays?

a)

They have very high frequency.

b)

They have very high wavelength.

c)

They are made of highly energetic charged particles.

d)

They originate from the sun.

31.

Pendulum clocks become slow in summer because

a)

days in summer are large

b)

of the friction in the coil

c)

the length of the pendulum increases

d)

the weight of the pendulum changes.

32.

The minimum height of a plane mirror to see the full size image of a person is equal to


a)

the height of the person

b)

half the height of the person

c)

1/4th the height of the person

d)

double the height of the person

33.

Magnetic resonance imaging is based on the phenomenon of

a)

nuclear magnetic resonance

b)

electron spin resonance

c)

electron paramagnetic resonance

d)

diamagnetism of human tissues

34.

A man is standing on a boat in still water. If he walks towards the shore, the boat will

a)

move towards the shore

b)

move away from the shore

c)

remain stationary

d)

sink

35.

With forward bias to a p-n junction, the width of depletion layer

a)

Decreases

b)

Increases

c)

Remains the same

d)

None of the above

36.

Newton’s law of motion gives the measure of

a)

Force

b)

Acceleration

c)

Momentum

d)

Impulse

37.

Electric motor is a device which converts electric energy into

a)

Potential energy

b)

rotational energy

c)

kinetic energy

d)

rotational kinetic energy

38.

In a transistor, emitter current is

a)

slightly more than collector

b)

slightly less than collector

c)

equal to collector

d)

equal to base current

39.

It is more comfortable to wear white cloths in summer because

a)

they reflect heat falling on them

b)

they radiate heat transferred from the body.

c)

they absorb perspiration.

d)

they are soothing to the eye.

40.

Rate of change of momentum is equal to

a)

Acceleration

b)

Work done

c)

Force

d)

Impulse

41.

A rational number which is 50 times its own logarithm to the base 10 is

a)

1

b)

10

c)

100

d)

1000

42.

If X and Y are two sets then

X∩(X∪Y)C equals

a)

X

b)

Y

c)

Φ

d)

None of These

43.

 (x1)exdx\int_{ }^{ }\left(x-1\right)e^{-x}dx  is equal to

a)

 xex+C–xe^x+C  

b)

 xex+Cxe^x+C  

c)

 xex+C–xe^{-x}+C  

d)

 xex+Cxe^{-x}+C  

44.

The solution of the differential equation  dydx=ax+gby+f\frac{\text{d}y}{\text{d}x}=\frac{ax+g}{by+f}  represents a circle when

a)

a = b     

b)

   a = -b              

c)

a = -2b

d)

a = 2b

45.

Distance between two parallel planes 2x+y+2z =8 and 4x +2y +4z+5 =0 is

a)

3/2

b)

5/2

c)

7/2

d)

9/2

46.

A bag contains 5 black balls, 4 white balls and 3 red balls. If a ball is selected random wise the probability that it is black or red ball is

a)

1/3

b)

1/4

c)

5/12

d)

2/3

47.

The third term of a G.P. is 2, and then the product of first five terms is

a)

23

b)

24

c)

25

d)

None

48.

In a college of 300 students, every student reads 5 newspapers and every newspaper is read by 60 students. The number of newspapers is

a)

(a) At least 30

b)

(b) at least 20

c)

c) exactly 25

d)

(d) None

49.

Differentiate x3sin2x with respect to x.

a)

(a) 3x2 sin2x + x3sin2x

b)

(b) 3x sinx + x3 sin2x

c)

(c) 3x2 sin3x + x2 sin4x

d)

(d) 3x2 sin2x + x2 sin3x

50.

Let A be a square matrix satisfying

A2 + 5A + 5I = 0, the Inverse of A + 2I is equal to

a)

(a) A - 2I

b)

(b) A + 3I

c)

(c) A - 3I

d)

(d) Non-Existent

51.

The number of 3 digit numbers containing the digit 7exactly once

a)

225

b)

220

c)

200

d)

210

52.

Number of five digit integers, with sum of the digits equal to 43 are

a)

5

b)

10

c)

15

d)

35

53.

The last digit of 9!+39966 is

a)

1

b)

3

c)

4

d)

9

54.

The area bounded by y=2-x2 and

x + y = 0 is

a)

7/2

b)

9/2

c)

9

d)

None

55.

If A be a matrix of order m × n and B be the matrix of order p × m then the matrix BA of order is

a)

(a) p × n

b)

(b) m × m

c)

(c) n × p

d)

(d) m × p

56.

If A = 3i - 6j + 8k and B = i - 2j + 3k then A × B is

a)

(a) 2i+j

b)

(b) -2i+2j

c)

(c) -2i-j

d)

(d) -2i -3j

57.

A speaks 75% truths cases and B speaks truth in 80% cases. Probability that they contradict each other in a statement, is

a)

7/20

b)

13/20

c)

3/5

d)

2/5

58.

The difference between the maximum and minimum value of the function f(x) = 3 sin 4x - cos 6x is

(a) 3/2 (b) 5/2 (c) 3 (d) 4

a)

3/2

b)

5/2

c)

3

d)

4

59.

The area bounded by parabola y2 = x and straight line 2y =x is

a)

4/3

b)

1

c)

2/3

d)

1/3

60.

 ddxddx\frac{\text{d}}{\text{d}x}\frac{\text{d}}{\text{d}x}  (log tan 2x) is equal to  

a)

2 sec 4x 

b)

4 cosec 4x

c)

4 sec 2x

d)

2 cosec 2x

61.

There are alternate acid base theories that define an acid as any species that can

a)

donate a proton

b)

donate an electron

c)

accept a proton

d)

accept an electron

62.

Which of the following oxide is amphoteric?

a)

SnO2

b)

CaO

c)

SiO2

d)

CO2

63.

When you test the solutions of sodium bicarbonate, sodium hydroxide, hydrochloric acid and acetic acid with universal indicator, in which case would you get a red colour?

a)

sodium bicarbonate

b)

hydrochloric acid

c)

sodium hydroxide

d)

acetic acid

64.

The pH of a sample of pure water is 7 at room temperature. What is its pH when a pinch of solid sodium bicarbonate is dissolved in it?


a)

very near to 7

b)

less than 7

c)

more than 7

d)

exactly

65.

If an unknown solution turns blue litmus red, then the pH of the solution is more likely to be

a)

12

b)

10

c)

7

d)

4

66.

What will be the bond order of O2

a)

2

b)

3

c)

1

d)

0

67.

The monomer of Neoprene is

a)

Isoprene

b)

Chloroprene

c)

Hexamethylene di amine

d)

Glyptal

68.

In spontaneous process change in free energy is

a)

G=0

b)

G =-ve

c)

G =+ve

d)

G = -2.303

69.

In Electrochemical cell

a)

Anode =0

b)

Anode =-ve

c)

Anode =+ve

d)

Anode =1.9782

70.

The unit of the rate of reaction is:

a)

mol L-1 min-1

b)

mol-1 L min-1

c)

Both a and b

d)

none of these.

71.

The speed of a chemical reaction is not affected by:

a)

Temperature

b)

Volume

c)

Pressure

d)

Catalyst

72.

Find the number of α and β – particles emitted by 88Ra226 in changing to a stable isotope of 82Pb206

a)

5, 4

b)

5, 6

c)

6, 8

d)

3, 4

73.

Brass is which type of crystal?

a)

Covalent

b)

Ionic

c)

Metallic

d)

None of these

74.

A NaCl crystal is found to have CsCl structure because it might have been subjected to:

a)

High temperature

b)

Low temperature

c)

High pressure

d)

Low pressure

75.

Find the co-ordination number of the cations and anions in the calcium fluoride structure.

a)

(a) 4 and 4

b)

4 and 8

c)

8 and 4

d)

6 and 6

76.

The factors on which the rate of reaction

depends is:

a)

Temperature

b)

Presence of catalyst

c)

Presence of light

d)

All of these.

77.

What is the order of reaction, if the rate

constant is 1.2 × 10 -2 mol -2

a)

2

b)

0

c)

1

d)

3

78.

A system which can exchange only

energy but not matter with the

surrounding is known as:

a)

closed system

b)

open system

c)

isolated system

d)

none of these

79.

Among the following which one is a

dependent variable?

a)

Pressure

b)

Temperature

c)

Both a and b

d)

Volume

80.

Which among the following is not an

example of irreversible process?

a)

Mixing of two gases

b)

Rusting of iron in moist air

c)

Expansion of gas in vacuum

d)

None