Font size
WorksheetsMock test 2
Total questions: 75
Worksheet time: 2hrs 30mins
Which of the following best defines a class?
Parent of an object
Instance of an object
Blueprint of an object
Scope of an object
Pure OOP can be implemented without using class in a program. (True or False)
True
False
Which Feature of OOP illustrated the code reusability?
Polymorphism
Abstraction
Encapsulation
Inheritance
Choose the attributes of Class: time
Hours
second
get Hour
Print Time
Choose the behaviour of Class: time
Hour
Second
PrintTime
getHour
Which of the following is associated with objects?
State
Behaviour
Identity
All the above
What is it called where child object gets killed if parent object is killed?
Aggregation
Composition
Encapsulation
Association
Combining Data and Functions into a single unit is called
Abstraction
Inheritance
Encapsulation
Polymorphism
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
Encapsulation
Inheritance
Abstraction
Polymorphism
Advantages of OOPs
Code Reusability
Modular Programming
Easy Maintenance
Security
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 _____________
Queue
Stack
tree
Linked List
The data structure required for Breadth First Traversal on a graph is?
Stack
Queue
tree
Array
A queue follows __________
FIFO (First In First Out) principle
LIFO (Last In First Out) principle
Ordered array
Linear tree
Circular Queue is also known as ________
Ring Buffer
Square Buffer
Rectangle Buffer
Curve Buffer
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?
ABCD
DCBA
DCAB
ABDC
A data structure in which elements can be inserted or deleted at/from both ends but not in the middle is?
Queue
Circular queue
Dequeue
Priority queue
A normal queue, if implemented using an array of size MAX_SIZE, gets full when?
Rear = MAX_SIZE – 1
Front = (rear + 1)mod MAX_SIZE
Front = rear + 1
Rear = front
Queues serve major role in ______________
Simulation of recursion
Simulation of arbitrary linked list
Simulation of limited resource allocation
Simulation of heap sort
Which of the following is not the type of queue?
Ordinary queue
Single ended queue
Circular queue
Priority queue
Which of these is not an application of a linked list?
To implement file systems
To implement file systems
To implement non-binary trees
Random Access of elements
The “father” of MySQL is ______.
Michael Widenius
Bill Joy
Bill Gates
Stephanie Wall
To use MySQL on your computer, you’ll need
Perl, PHP or Java
Some sort of client program to access the databases
A Browser
FTP and Telnet
Which of these is not a valid name for a column
Where
Near
Order
From
In a LIKE clause, you can could ask for any value ending in “ton” by writing
LIKE ton$
LIKE ^.*ton$
LIKE %ton
LIKE *ton
The USE command
Is a pseudonym for the SELECT command
Has been deprecated and should be avoided for security reasons
Should be used to choose the database you want to use once you’ve connected to MySQL
Is used to load code from another file
In a LIKE clause, you can ask for any 6 letter value by writing:
LIKE ??????
LIKE .{6}
LIKE …… (that’s six dots)
LIKE ______ (that’s six underscore characters)
MySQL runs on which operating systems?
Unix and Linux only
Linux and Mac OS-X only
Unix, Linux, Windows and others
Any operating system at all
In a LIKE clause, you can could ask for any value ending in “qpt” by writing
LIKE %qpt
LIKE *ton
LIKE ton$
LIKE ^.*ton$
Which statement is used to count number of rows in table?
SELECT COUNT(*) FROM table_name;
SELECT COUNT ALL(*) FROM table_name;
SELECT ROWS(*) FROM table_name;
All the above
Which clause is used to sort the result of SELECT statement?
SORT BY
ORDER BY
ARRANGE BY
None of the above
Choose the correct synonym for the word : CELLAR
Loft
Attic
Basement
Roof
Choose the synonym for the word: AVERT
Prevent
Attack
Resign
Surrender
Find the antonym for the word : IGNITE
Extinguish
Wet
Soak
Drench
Choose the correct antonym for the word : PETTY
Liberal
Moderate
Lite
Magnanimous
Find the correct antonym for the word : UNIVERSAL
Earthly
Cosmic
Ethereal
Local
Choose the correct synonym for the given word: Vogue
Deviation
Non conforming
Unfashionable
Prevalent
Find the synonym for the word : VENT
Outlet
Stodgy
End
Go
Choose the correct antonym for the word: PREMEDITATED
Artless
Spontaneous
Natural
Ingenuous
Choose the synonym for the word: MUSTY
Nonchalant
Necessary
Stale
Indifferent
Find the antonym for the word : RUDE
Detest
Respectful
Beastly
Hideous
The list of misspelled words is ...
neghborhood, bycicle, freind
bycicle, successful, circumstanse
reccomendation, tomorrow, acceptible
freind, tommorrow, quarantine
The kind of error found in the text is ...
mispunctuating
miscapitalizing
grammar mistake
misspelling
The INCORRECT spelling is ...
missunderstand
successfully
The kind of error found in the text is...
run-on sentence
comma splice
miscapitalizing
misspelling
A pair of INCORRECT spellings are ...
disappear
fivety
dissappear
fifty
Out of the 7 errors in writing above, the TWO errors in word level are...
fragment
misspelling
miscapitalizing
mispunctuating
run-on sentence
The CORRECT one is ...
calender
appearance
Out of the 7 errors in writing above, the TWO errors that have similar solutions are...
fragment
comma splice
miscapitalizing
mispunctuating
run-on sentence
The CORRECT one is ...
believable
believeable
Fragments DO NOT refer to...
the missing of the Subject in a sentence
the missing of the Verb in a sentence
the missing of the Dependent Clause in a complex sentence
the incorrect combining of two clauses/sentences
The CORRECT spelling is ...
weird
wierd
wieird
The INCORRECT one is ...
existence
existance
TWO examples of fragments are...
The man who stands next to a new car in the parking lot.
The girl scary to sleep alone in her bedroom at night.
In the morning, the mailman always throws the stacks of mails in front of the customers' houses.
Since this morning, they have cut down a dozen of trees.
"hopefuly"
correct
incorrect
An example of COMMA SPLICE is ...
They come to the house at 5 PM, and the party starts at 6 PM.
The passengers are afraid of the new braking system, the driver tries to calm them.
The car arrives in good condition the owner feels so happy.
The teacher has trouble reading the students' handwriting that she asks them to rewrite the essays.
The INCORRECT one is ...
accomodation
curiosity
A pair of CORRECT spellings are ...
possession
incidentally
possesion
incidently
The CORRECT spelling is ...
misspell
mispel
mispell
misspel
The error types of the following sentence are: ...
Tommorow My broder is coming to my school at 11 AM to ask permission for me.
Grammar
Punctuation
Capital letters
Spelling
The error types of the following sentence are: ...
Tommorow My broder is coming to my school at 11 AM to ask permission for me.
Grammar
Punctuation
Capital letters
Spelling
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?
1995
1996
1997
None of the above
What is the average export made in the given time period?
225
117
152
215
What was the difference in the consumption of Copper and steel in 2001?
5000 Tons
500 Tons
50 Tons
5 Tons
What is the percentage of female workers in the company 'w' out of the total number of females in all given companies?
17.24%
12.18%
15.40%
14.81%
Determine the average number of cars sold by all the dealers in the year 2018
232
225
245
251
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?
32%
21.5%
22.5%
20.5%
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?
28800
29800
28900
29000
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?
32900
32500
32700
32600
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?
100
175
125
150
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?
11:50
15:35
10:40
12:57
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?
318
314
328
344
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?
36%
40%
38%
42%
The girls in the University B are what per cent of the boys in the University F?
39.88%
46.88%
49.23%
42.63%
What is the ratio of the number of boys in the University C to the number of boys in the University D?
9 : 39
3 : 8
17 : 35
4 : 35
What is the total number of boys from university A,C and E together?
6030
5030
7030
4030
