wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mock test 2

Total questions: 75

Worksheet time: 2hrs 30mins

Name
Class
Date
1.

Which of the following best defines a class?

a)

Parent of an object

b)

Instance of an object

c)

Blueprint of an object

d)

Scope of an object

2.

Pure OOP can be implemented without using class in a program. (True or False)

a)

True

b)

False

3.

Which Feature of OOP illustrated the code reusability?

a)

Polymorphism

b)

Abstraction

c)

Encapsulation

d)

Inheritance

4.

Choose the attributes of Class: time

a)

Hours

b)

second

c)

get Hour

d)

Print Time

5.

Choose the behaviour of Class: time

a)

Hour

b)

Second

c)

PrintTime

d)

getHour

6.

Which of the following is associated with objects?

a)

State

b)

Behaviour

c)

Identity

d)

All the above

7.

What is it called where child object gets killed if parent object is killed?

a)

Aggregation

b)

Composition

c)

Encapsulation

d)

Association

8.

Combining Data and Functions into a single unit is called

a)

Abstraction

b)

Inheritance

c)

Encapsulation

d)

Polymorphism

9.

As a Vehicle user, we know how to use it but its internal working are not known. In OOPs Concept, this principle is known as

a)

Encapsulation

b)

Inheritance

c)

Abstraction

d)

Polymorphism

10.

Advantages of OOPs

a)

Code Reusability

b)

Modular Programming

c)

Easy Maintenance

d)

Security

11.

A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as _____________

a)

Queue

b)

Stack

c)

tree

d)

Linked List

12.

The data structure required for Breadth First Traversal on a graph is?

a)

Stack

b)

Queue

c)

tree

d)

Array

13.

A queue follows __________

a)

FIFO (First In First Out) principle

b)

LIFO (Last In First Out) principle

c)

Ordered array

d)

Linear tree

14.

Circular Queue is also known as ________

a)

Ring Buffer

b)

Square Buffer

c)

Rectangle Buffer

d)

Curve Buffer

15.

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

a)

ABCD

b)

DCBA

c)

DCAB

d)

ABDC

16.

A data structure in which elements can be inserted or deleted at/from both ends but not in the middle is?

a)

Queue

b)

Circular queue

c)

Dequeue

d)

Priority queue

17.

A normal queue, if implemented using an array of size MAX_SIZE, gets full when?

a)

Rear = MAX_SIZE – 1

b)

Front = (rear + 1)mod MAX_SIZE

c)

Front = rear + 1

d)

Rear = front

18.

Queues serve major role in ______________

a)

Simulation of recursion

b)

Simulation of arbitrary linked list

c)

Simulation of limited resource allocation

d)

Simulation of heap sort

19.

Which of the following is not the type of queue?

a)

Ordinary queue

b)

Single ended queue

c)

Circular queue

d)

Priority queue

20.

Which of these is not an application of a linked list?

a)

To implement file systems

b)

To implement file systems

c)

To implement non-binary trees

d)

Random Access of elements

21.

The “father” of MySQL is ______.

a)

Michael Widenius

b)

Bill Joy

c)

Bill Gates

d)

Stephanie Wall

22.

To use MySQL on your computer, you’ll need

a)

Perl, PHP or Java

b)

Some sort of client program to access the databases

c)

A Browser

d)

FTP and Telnet

23.

Which of these is not a valid name for a column

a)

Where

b)

Near

c)

Order

d)

From

24.

In a LIKE clause, you can could ask for any value ending in “ton” by writing

a)

LIKE ton$

b)

LIKE ^.*ton$

c)

LIKE %ton

d)

LIKE *ton

25.

The USE command

a)

Is a pseudonym for the SELECT command

b)

Has been deprecated and should be avoided for security reasons

c)

Should be used to choose the database you want to use once you’ve connected to MySQL

d)

Is used to load code from another file

26.

In a LIKE clause, you can ask for any 6 letter value by writing:

a)

LIKE ??????

b)

LIKE .{6}

c)

LIKE …… (that’s six dots)

d)

LIKE ______ (that’s six underscore characters)

27.

MySQL runs on which operating systems?

a)

Unix and Linux only

b)

Linux and Mac OS-X only

c)

Unix, Linux, Windows and others

d)

Any operating system at all

28.

In a LIKE clause, you can could ask for any value ending in “qpt” by writing

a)

LIKE %qpt

b)

LIKE *ton

c)

LIKE ton$

d)

LIKE ^.*ton$

29.

Which statement is used to count number of rows in table?

a)

SELECT COUNT(*) FROM table_name;

b)

SELECT COUNT ALL(*) FROM table_name;

c)

SELECT ROWS(*) FROM table_name;

d)

All the above

30.

Which clause is used to sort the result of SELECT statement?

a)

SORT BY

b)

ORDER BY

c)

ARRANGE BY

d)

None of the above

31.

Choose the correct synonym for the word : CELLAR

a)

Loft

b)

Attic

c)

Basement

d)

Roof

32.

Choose the synonym for the word: AVERT

a)

Prevent

b)

Attack

c)

Resign

d)

Surrender

33.

Find the antonym for the word : IGNITE

a)

Extinguish

b)

Wet

c)

Soak

d)

Drench

34.

Choose the correct antonym for the word : PETTY

a)

Liberal

b)

Moderate

c)

Lite

d)

Magnanimous

35.

Find the correct antonym for the word : UNIVERSAL

a)

Earthly

b)

Cosmic

c)

Ethereal

d)

Local

36.

Choose the correct synonym for the given word: Vogue

a)

Deviation

b)

Non conforming

c)

Unfashionable

d)

Prevalent

37.

Find the synonym for the word : VENT

a)

Outlet

b)

Stodgy

c)

End

d)

Go

38.

Choose the correct antonym for the word: PREMEDITATED

a)

Artless

b)

Spontaneous

c)

Natural

d)

Ingenuous

39.

Choose the synonym for the word: MUSTY

a)

Nonchalant

b)

Necessary

c)

Stale

d)

Indifferent

40.

Find the antonym for the word : RUDE

a)

Detest

b)

Respectful

c)

Beastly

d)

Hideous

41.

The list of misspelled words is ...

a)

neghborhood, bycicle, freind

b)

bycicle, successful, circumstanse

c)

reccomendation, tomorrow, acceptible

d)

freind, tommorrow, quarantine

42.

The kind of error found in the text is ...

a)

mispunctuating

b)

miscapitalizing

c)

grammar mistake

d)

misspelling

43.

The INCORRECT spelling is ...

a)

missunderstand

b)

successfully

44.

The kind of error found in the text is...

a)

run-on sentence

b)

comma splice

c)

miscapitalizing

d)

misspelling

45.

A pair of INCORRECT spellings are ...

a)

disappear

b)

fivety

c)

dissappear

d)

fifty

46.

Out of the 7 errors in writing above, the TWO errors in word level are...

a)

fragment

b)

misspelling

c)

miscapitalizing

d)

mispunctuating

e)

run-on sentence

47.

The CORRECT one is ...

a)

calender

b)

appearance

48.

Out of the 7 errors in writing above, the TWO errors that have similar solutions are...

a)

fragment

b)

comma splice

c)

miscapitalizing

d)

mispunctuating

e)

run-on sentence

49.

The CORRECT one is ...

a)

believable

b)

believeable

50.

Fragments DO NOT refer to...

a)

the missing of the Subject in a sentence

b)

the missing of the Verb in a sentence

c)

the missing of the Dependent Clause in a complex sentence

d)

the incorrect combining of two clauses/sentences

51.

The CORRECT spelling is ...

a)

weird

b)

wierd

c)

wieird

52.

The INCORRECT one is ...

a)

existence

b)

existance

53.

TWO examples of fragments are...

a)

The man who stands next to a new car in the parking lot.

b)

The girl scary to sleep alone in her bedroom at night.

c)

In the morning, the mailman always throws the stacks of mails in front of the customers' houses.

d)

Since this morning, they have cut down a dozen of trees.

54.

"hopefuly"

a)

correct

b)

incorrect

55.

An example of COMMA SPLICE is ...

a)

They come to the house at 5 PM, and the party starts at 6 PM.

b)

The passengers are afraid of the new braking system, the driver tries to calm them.

c)

The car arrives in good condition the owner feels so happy.

d)

The teacher has trouble reading the students' handwriting that she asks them to rewrite the essays.

56.

The INCORRECT one is ...

a)

accomodation

b)

curiosity

57.

A pair of CORRECT spellings are ...

a)

possession

b)

incidentally

c)

possesion

d)

incidently

58.

The CORRECT spelling is ...

a)

misspell

b)

mispel

c)

mispell

d)

misspel

59.

The error types of the following sentence are: ...

Tommorow My broder is coming to my school at 11 AM to ask permission for me.

a)

Grammar

b)

Punctuation

c)

Capital letters

d)

Spelling

60.

The error types of the following sentence are: ...

Tommorow My broder is coming to my school at 11 AM to ask permission for me.

a)

Grammar

b)

Punctuation

c)

Capital letters

d)

Spelling

61.

Study the following graph carefully & answer the questions given below it. Imports of 3 companies over the years (in Rs. Crores). In which of the following years, the imports made by company 'A' were exactly equal to the average import made by it over the given years?

a)

1995

b)

1996

c)

1997

d)

None of the above

62.

   What is the average export made in the given time period?

a)

225

b)

117

c)

152

d)

215

63.

What was the difference in the consumption of Copper and steel in 2001?

a)

5000 Tons

b)

500 Tons

c)

50 Tons

d)

5 Tons

64.

What is the percentage of female workers in the company 'w' out of the total number of females in all given companies?

a)

17.24%

b)

12.18%

c)

15.40%

d)

14.81%

65.

Determine the average number of cars sold by all the dealers in the year 2018

a)

232

b)

225

c)

245

d)

251

66.

Read the following table carefully and answer the questions.

The given tables show the total population of 6 different cities and the ratio of literate to illiterate population and the percentage of graduates out of the literate population in each city.

1)     Graduate population of city Q and R together is approximately what percent more or less than the graduate population of city P and T together?

a)

32%

b)

21.5%

c)

22.5%

d)

20.5%

67.

Read the following table carefully and answer the questions.

The given tables show the total population of 6 different cities and the ratio of literate to illiterate population and the percentage of graduates out of the literate population in each city.

2)     The population of city R who are literate but not graduate is how much more than the average graduate population of city S and T together?

a)

28800

b)

29800

c)

28900

d)

29000

68.

The bar graph is given below shows the per gram rate of Carbon and Oxygen on various days. Read the data carefully and answer the given question.

1)     Peter buy 5 grams of Oxygen on Tuesday and 8 grams of Carbon on Wednesday. Find the total amount paid by him?

a)

32900

b)

32500

c)

32700

d)

32600

69.

The bar graph is given below shows the per gram rate of Carbon and Oxygen on various days. Read the data carefully and answer the given question.

2)     Average per gram price of Oxygen on all four days together is how much more than the average per gram price of Carbon on all four days together?

a)

100

b)

175

c)

125

d)

150

70.

The pie chart given below shows the percentage distribution of five village populations in Two different years (2014 and 2018). Read the given data carefully and answer the questions.

1)      Find the ratio between total population of village Q in year 2014 to total population of village Q and R together in the year 2018?

a)

11:50

b)

15:35

c)

10:40

d)

12:57

71.

The pie chart given below shows the percentage distribution of five village populations in Two different years (2014 and 2018). Read the given data carefully and answer the questions.

Find the difference between population of village P in the year 2018 and Village P in year 2014?

a)

318

b)

314

c)

328

d)

344

72.

Read the given line graph carefully and answer the questions. The Line graph shows the percentage of AC sold by six shopkeepers.

1)      AC's sold by shopkeeper T and V together is how much percent more than AC's sold by shopkeeper R and S together?

a)

36%

b)

40%

c)

38%

d)

42%

73.

The girls in the University B are what per cent of the boys in the University F?

a)

39.88%

b)

46.88%

c)

49.23%

d)

42.63%

74.

What is the ratio of the number of boys in the University C to the number of boys in the University D?

a)

9 : 39

b)

3 : 8

c)

17 : 35

d)

4 : 35

75.

What is the total number of boys from university A,C and E together?

a)

6030

b)

5030

c)

7030

d)

4030