## Nielit Scientist-B IT 4-12-2016

Question 1 |

Given a class named student, which of the following is a valid constructor declaration for the class?

Student student(){} | |

Private final student(){} | |

Student(student s){} | |

Void student(){} |

Question 1 Explanation:

A constructor cannot specify any return type, not even void. A constructor cannot be final, static or abstract.

Question 2 |

Three or more devices share a link in ____ connection

Unipoint | |

Polarpoint | |

Point to point | |

Multipoint |

Question 2 Explanation:

Question 3 |

An object can have which of the following multiplicities?

Zero | |

More than one | |

One | |

All of the above |

Question 3 Explanation:

Multiplicity is a definition of cardinality - i.e. number of elements of some collection of elements by providing an inclusive interval of non-negative integers to specify the allowable number of instances of described element. Multiplicity interval has some lower bound and (possibly infinite) upper bound

Question 4 |

The Circuit is equivalent to:

Ex-OR | |

NAND gate | |

OR gate | |

AND gate |

Question 4 Explanation:

Given circuit diagram consists of NOR gates.

NOR of “A” is A’

NOR of “A” is B’

We can see that (A’ + B’)’ is same as (A.B) , where + represents OR, represents AND and ' represents complement operation. This is a De Morgan’s law.

((A'+B')')'=(AB)'

Where (AB)' is the NAND of AB

NOR of “A” is A’

NOR of “A” is B’

We can see that (A’ + B’)’ is same as (A.B) , where + represents OR, represents AND and ' represents complement operation. This is a De Morgan’s law.

((A'+B')')'=(AB)'

Where (AB)' is the NAND of AB

Question 5 |

Two alternative packages A and B are available for processing a database having 10k records. Package A requires 0.0001n

^{2} time units and package B requires 10nlog_{10}n time units to process n records. What is the smallest value of k for which package B will be preferred over A?12 | |

10 | |

6 | |

5 |

Question 5 Explanation:

As per given information Package B 10nlog

_{10 n is lesser than or equals to Package A 0.0001n 2 0 because n 2 is asymptotically larger than nlogn. Finally, 10nlog 10 n ≤ 0.0001n 2 Let n = 10 k records. Substitute into 10nlog 10 n ≤ 0.0001n 2 10(10 k )log 10 10 k ≤ 0.0001(10 k ) 2 10 k+1 k ≤ 0.0001 × 10 2k k ≤ 10 2k−k−1−4 k ≤ 10 k−5 According to the problem value 6 is suitable for K.}Question 6 |

Earlier name of java programming language was:

OAK | |

D | |

Netbean | |

Eclipse |

Question 6 Explanation:

Oak is a discontinued programming language created by James Gosling in 1991, initially for Sun Micro systems' set-top box project. The language later evolved to become Java.

Question 7 |

What is the type of the algorithm used in solving the 4 Queens problem?

Greedy | |

Branch and bound | |

Dynamic Programming | |

Backtracking |

Question 7 Explanation:

N-Queen problem: an arrangement of N queens on a chess board, such that no queen can attack any other queens on the board.The chess queens can attack in any direction as horizontal, vertical, horizontal and diagonal way. A binary matrix is used to display the
positions of N Queens, where no queens can attack other queens.

Backtracking is a general algorithm for finding all (or some) solutions to some computational problems, notably constraint satisfaction problems, that incrementally builds candidates to the solutions, and abandons a candidate ("backtracks") as soon as it determines that the candidate cannot possibly be completed to a valid solution.

Backtracking is a general algorithm for finding all (or some) solutions to some computational problems, notably constraint satisfaction problems, that incrementally builds candidates to the solutions, and abandons a candidate ("backtracks") as soon as it determines that the candidate cannot possibly be completed to a valid solution.

Question 8 |

selection sort,quick sort is a stable sorting method

True,True | |

False, False | |

True,False | |

False,False |

Question 8 Explanation:

Question 9 |

Which of the following is a platform free language?

Java | |

C | |

Assembly | |

Fortran |

Question 9 Explanation:

Question 10 |

The maximum combined length of the command-line arguments including the spaces between adjacent arguments is:

128 characters | |

256 characters | |

67 characters | |

It may very from one OS to another |

Question 10 Explanation:

Question 11 |

What is the meaning of following declaration?

int(

int(

^{*}P[7])();P is pointer to function | |

P is pointer to such function which return type is array | |

P is array of pointer to function | |

P is pointer to array of function |

Question 11 Explanation:

int

int (

int(

int(

^{*}ptr[7]; --This is an array of 7 int^{*}pointers, a pointer to an array of 7 intsint (

^{*}ptr)[7]; --This is a pointer to an array of 7 intint(

^{*}P[7])(); --P is array of pointer to functionint(

^{*}P)() ; -- P is pointer to functionQuestion 12 |

Which of the following sorting procedures is the slowest?

Quick sort | |

Merge sort | |

Shell sort | |

Bubble sort |

Question 12 Explanation:

Bubble sort will execute O(n

^{2} ) time worst case and also it takes n-1 comparisons. So, bubble sort procedure is the slowest one among all.Question 13 |

The number of unused pointers in a complete binary tree of depth 5 is:

4 | |

8 | |

16 | |

32 |

Question 13 Explanation:

It gives ambitious answer. It may give 32 if root start from 0. It start from means 16.

Question 14 |

Normalization from which is based on transitive dependency is classified as:

First normal form | |

Second normal form | |

Fourth normal form | |

Third normal form |

Question 14 Explanation:

The table is in 3NF if and only if both of the following conditions hold:

1. The relation R (table) is in second normal form (2NF)

2. Every non-prime attribute of R is non-transitively dependent on every key of R.

1. The relation R (table) is in second normal form (2NF)

2. Every non-prime attribute of R is non-transitively dependent on every key of R.

Question 15 |

A__ is a linear list in which insertions and deletions are made to from either end of the structure.

Circular queue | |

Priority queue | |

Stack | |

Dequeue |

Question 15 Explanation:

● A deque, also known as a double ended queue, is an ordered collection of items similar to the queue. It has two ends, a front and a rear, and the items remain positioned in the collection.

● What makes a deque different is the unrestrictive nature of adding and removing items.New items can be added at either the front or the rear.

● Likewise, existing items can be removed from either end. In a sense, this hybrid linear structure provides all the capabilities of stacks and queues in a single data structure.

● What makes a deque different is the unrestrictive nature of adding and removing items.New items can be added at either the front or the rear.

● Likewise, existing items can be removed from either end. In a sense, this hybrid linear structure provides all the capabilities of stacks and queues in a single data structure.

Question 16 |

The recurrence relation capturing the optimal execution time of the towers of Hanoi problem with n discs is:

T(n)=2T(n-2)+2 | |

T(n)=2T(n/2)+1 | |

T(n)=2T(n-2)+n | |

T(n)=2T(n-1)+1 |

Question 16 Explanation:

The recurrence equation for given recurrence function is

T(n) = 2T(n – 1) + 1

= 2 [2T(n – 2) + 1] + 1

= 2

⋮

= 2

n – k = 1

= 2

= 2

= 2

≌ O(2

T(n) = 2T(n – 1) + 1

= 2 [2T(n – 2) + 1] + 1

= 2

^{2 }T(n – 2) + 3⋮

= 2

^{k} T( n – k) + (2^{k} – 1)n – k = 1

= 2

^{n-1} T(1) + (2^{ n-1}– 1)= 2

^{ n-1} + 2^{ n-1} – 1= 2

^{n} – 1≌ O(2

^{n} )Question 17 |

Which of the following is the correct order of evaluation for the below expression?

z=x+y*z/4%2-1

z=x+y*z/4%2-1

*/%+-= | |

=*/%+- | |

/*%-+= | |

*%/-+= |

Question 17 Explanation:

Here, *,/,% are having same priority. So, it executes follows first come first serve or left to write. +,- are having same priority. So, it executes follows first come first serve or left to write. = having least priority. It evaluates right to left.

Question 18 |

Which of the following is a fundamental operation in relational algebra?

Set intersection | |

Assignment | |

Natural Join | |

None of the above |

Question 18 Explanation:

__Fundamental operation in relational algebra__

1.Select

2.Project

3.Cartesian Product

4.Rename

5.Union

6.Set Difference

Question 19 |

Which protocol finds the MAC address from IP address?

SMTP | |

ICMP | |

ARP | |

RARP |

Question 19 Explanation:

● Mail servers and other mail transfer agents use Simple Mail Transfer Protocol( SMTP) to send and receive mail messages on TCP port 25. Although proprietary systems such as Microsoft Exchange and IBM Notes and webmail systems such as Outlook.com, Gmail and Yahoo! Mail may use their own non standard protocols internally, all use SMTP when sending or receiving email from outside their own systems.

● The Internet Control Message Protocol (ICMP) is a supporting protocol in the Internet protocol suite. It is used by network devices, including routers, to send error messages and operational information indicating

●Address Resolution Protocol (ARP) is a protocol for mapping an Internet Protocol address (IP address) to a physical machine address that is recognized in the local network.

●RARP (Reverse Address Resolution Protocol) is a protocol by which a physical machine in a local area network can request to learn its IP address from a gateway server's Address Resolution Protocol (ARP) table or cache.

● The Internet Control Message Protocol (ICMP) is a supporting protocol in the Internet protocol suite. It is used by network devices, including routers, to send error messages and operational information indicating

●Address Resolution Protocol (ARP) is a protocol for mapping an Internet Protocol address (IP address) to a physical machine address that is recognized in the local network.

●RARP (Reverse Address Resolution Protocol) is a protocol by which a physical machine in a local area network can request to learn its IP address from a gateway server's Address Resolution Protocol (ARP) table or cache.

Question 20 |

By which technology do we separate our business logic from the presentation logic?

Servlet | |

JSP | |

Both (A) & (B) | |

None of the above |

Question 20 Explanation:

● JSP stands for Java Server Pages.JSP is a server side technology to help developers to create dynamic pages with HTML like syntax.

● The jsp pages are easier to maintain than servlet because we can separate designing and development. It provides some additional features such as Expression Language, Custom Tag etc

● The jsp pages are easier to maintain than servlet because we can separate designing and development. It provides some additional features such as Expression Language, Custom Tag etc

Question 21 |

Consider the set S={1,w,w

^{2} }, where w and w^{2} are cube roots of unity. If * denotes the multiplication operation, the structure (S,*) forms:A group | |

A ring | |

An integral domain | |

A field |

Question 21 Explanation:

A Group is an algebraic structure which satisfies

1) closure

2) Associativity

3) Have Identity element

4) Invertible

Over ‘*’ operation the S = {1, ω, ω

The identity element is ‘1’ and inverse of 1 is 1, inverse of ‘w’ is 'w

1) closure

2) Associativity

3) Have Identity element

4) Invertible

Over ‘*’ operation the S = {1, ω, ω

^{2} } satisfies the above properties.The identity element is ‘1’ and inverse of 1 is 1, inverse of ‘w’ is 'w

^{2} ' and inverse of 'w^{ 2} ' is 'w'.Question 22 |

Bluetooth is an example of:

Local area network | |

Virtual private network | |

Personal area network | |

none of the mentioned above |

Question 22 Explanation:

→ Bluetooth uses short-range radio waves. Uses in a WPAN include, for example, Bluetooth devices such as keyboards, pointing devices, audio headsets, printers may connect to personal
digital assistants (PDAs), cell phones, or computers.

→ A wireless personal area network (WPAN) is a low-powered PAN carried over a short-distance wireless network technology such as IrDA, Wireless USB, Bluetooth and ZigBee.

→ A wireless personal area network (WPAN) is a low-powered PAN carried over a short-distance wireless network technology such as IrDA, Wireless USB, Bluetooth and ZigBee.

Question 23 |

Which of the following is not an input device?

Mouse | |

Keyboard | |

Light Pen | |

VDU |

Question 23 Explanation:

→ Mouse, Keyboard and Light Pen are input devices.

→ Computer monitors were formerly known as visual display units ( VDU ), but this term had mostly fallen out of use by the 1990s.

→ Computer monitors were formerly known as visual display units ( VDU ), but this term had mostly fallen out of use by the 1990s.

Question 24 |

An operation can be described as:

Object behavior | |

Functions | |

Class Behavior | |

(A),(B) |

Question 24 Explanation:

An operation is class and object behavior

Question 25 |

The keyboard used to transfer control from a function back to the calling function is:

Switch | |

Go to | |

go back | |

Retun |

Question 25 Explanation:

● The return statement terminates the execution of a function and it returns the control to the calling function.

● The execution resumes in the calling function at a point immediately following the call.

● The execution resumes in the calling function at a point immediately following the call.

Question 26 |

Two eigenvalues of a 3X3 real matrix P are (2+ √ -1) and 3. The determinant of P is___

0 | |

1 | |

15 | |

-1 |

Question 26 Explanation:

If an eigenvalue of a matrix is a complex number, then there will be other eigenvalue, which is conjugate of the complex eigenvalue.

So, For the given 3×3 matrix there would be 3 eigenvalues.

Given eigenvalues are : 2+i and 3.

So the third eigenvalue should be 2-i.

As per the theorems, the determinant of the matrix is the product of the eigenvalues. So the determinant is (2+i)*(2-i)*3 = 15.

So, For the given 3×3 matrix there would be 3 eigenvalues.

Given eigenvalues are : 2+i and 3.

So the third eigenvalue should be 2-i.

As per the theorems, the determinant of the matrix is the product of the eigenvalues. So the determinant is (2+i)*(2-i)*3 = 15.

Question 27 |

Complexity of kruskal's algorithm for finding minimum spanning tree of an undirected graph containing n vertices and m edges if the edges are sorted is:

O(mn) | |

O(m) | |

O(m+n) | |

O(n) |

Question 27 Explanation:

Implementation of Kruskal's algorithm should be implemented in 2 steps:

Step1: Sorting of edges takes O(ELogE) time.

Step2: After sorting, we iterate through all edges and apply find union algorithm.

The find and union operations can take at most O(1) time if you use Disjoint set . So overall complexity is O(ELogE + E) time.

Given the edges are already sorted, so we need to do only second step i.e.,we iterate through all edges and apply find-union algorithm. The find and union operations can take at most O(1) time. So, the total time complexity will be O(E).

Step1: Sorting of edges takes O(ELogE) time.

Step2: After sorting, we iterate through all edges and apply find union algorithm.

The find and union operations can take at most O(1) time if you use Disjoint set . So overall complexity is O(ELogE + E) time.

Given the edges are already sorted, so we need to do only second step i.e.,we iterate through all edges and apply find-union algorithm. The find and union operations can take at most O(1) time. So, the total time complexity will be O(E).

Question 28 |

What is the possible number of reflexive relation on a set of 5 elements?

2 ^{10} | |

2 ^{15} | |

2 ^{20} | |

2 ^{25} |

Question 28 Explanation:

Let set = ‘A’ with ‘n’ elements,

Definition of Reflexive relation:

A relation ‘R’ is reflexive if it contains xRx ∀ x∈A

A relation with all diagonal elements, it can contain any combination of non-diagonal elements.

Eg:

A={1, 2, 3}

So for a relation to be reflexive, it should contain all diagonal elements. In addition to them, we can have possible combination of (n

Ex:

{(1,1)(2,2)(3,3)} ----- ‘0’ non-diagonal element

{(1,1)(2,2)(3,3)(1,2)} ----- ‘1’ non-diagonal element

{(1,1)(2,2)(3,3)(1,2)(1,3)} “

___________ “

___________ “

{(1,1)(2,2)(3,3)(1,2)(1,3)(2,1)(2,3)(3,1)(3,2)} (n

____________________

Total: 2

For the given question n = 5.

The number of reflexive relations =2

Definition of Reflexive relation:

A relation ‘R’ is reflexive if it contains xRx ∀ x∈A

A relation with all diagonal elements, it can contain any combination of non-diagonal elements.

Eg:

A={1, 2, 3}

So for a relation to be reflexive, it should contain all diagonal elements. In addition to them, we can have possible combination of (n

^{2} -n)non-diagonal elements (i.e., 2^{n2-n} )Ex:

{(1,1)(2,2)(3,3)} ----- ‘0’ non-diagonal element

{(1,1)(2,2)(3,3)(1,2)} ----- ‘1’ non-diagonal element

{(1,1)(2,2)(3,3)(1,2)(1,3)} “

___________ “

___________ “

{(1,1)(2,2)(3,3)(1,2)(1,3)(2,1)(2,3)(3,1)(3,2)} (n

^{2} -n) diagonal elements____________________

Total: 2

^{ (n2 -n)}For the given question n = 5.

The number of reflexive relations =2

^{(25-5)} =2^{20}Question 29 |

RAD software process model stands for:

Rapid Application Development | |

Rapid Application Design | |

Relative Application Development | |

Recent Application Development |

Question 29 Explanation:

Rapid Application Development focuses on gathering customer requirements through workshops or focus groups, early testing of the prototypes by the customer using iterative concept, reuse of the existing prototypes (components), continuous integration and rapid
delivery.

Question 30 |

What data structures is used for depth first traversal of a graph

Queue | |

Stack | |

List | |

None of above |

Question 30 Explanation:

Depth First Search (DFS) algorithm traverses a graph in a depth ward motion and uses a stack to remember to get the next vertex to start a search, when a dead end occurs in any iteration.

Question 31 |

A set of rules that governs data communication:

rule | |

medium | |

Link | |

Protocol |

Question 31 Explanation:

A protocol is a set of rules that governs data communication. It represents an agreement between the communicating devices. Without a protocol, two devices may be connected but not
communicating, just as a person speaking Telugu cannot be understood by a person who speaks only Hindi.

Question 32 |

Software projects management comprises of a number of activities, which contains:

Project planning | |

Project estimation | |

Scope management | |

All mentioned above |

Question 32 Explanation:

Software project management is an art and science of planning and leading software projects. It is a sub-discipline of project management in which software projects are planned, implemented, monitored and controlled.

Question 33 |

How many inputs are required in full adder circuit?

2 | |

3 | |

more than two inputs | |

None of the above |

Question 33 Explanation:

● The difference between a half-adder and a full adder is that the full-adder has three inputs and two outputs, whereas half adder has only two inputs and two outputs.

● The first two inputs are A and B and the third input is an input carry as C-IN. When a full-adder logic is designed, you string eight of them together to create a byte-wide adder and cascade the carry bit from one adder to the next.

● Note: Here, answer they are given ambiguous because it takes minimum 3 input line

● The first two inputs are A and B and the third input is an input carry as C-IN. When a full-adder logic is designed, you string eight of them together to create a byte-wide adder and cascade the carry bit from one adder to the next.

● Note: Here, answer they are given ambiguous because it takes minimum 3 input line

Question 34 |

Mala has a colouring book in which each english letter is drawn two times. She wants to point each of these 52 prints with one of k colours, such that the colour-pairs used to colour ay two letters are different. Both prints of a letter can also be coloured with the same colour. What is the minimum value of k that satisfies this requirement?

9 | |

8 | |

7 | |

6 |

Question 34 Explanation:

No. of letters from A-Z is = 26

Each is printed twice the no. of letters = 26×2 = 52

If Mala has k colours, she can have k pairs of same colours.

She also can have

So total no. of pairs that can be coloured = k+

k+

k+k(k-1)/2 ≥ 26

k(k+1)/2 ≥ 26

k(k+1) ≥ 52

k(k+1) ≥ 7*8

k≥7

Each is printed twice the no. of letters = 26×2 = 52

If Mala has k colours, she can have k pairs of same colours.

She also can have

^{ k} C_{2}different pairs in which each pair is having different colours.So total no. of pairs that can be coloured = k+

^{ k } C_{2}k+

^{k} C_{2} ≥ 26k+k(k-1)/2 ≥ 26

k(k+1)/2 ≥ 26

k(k+1) ≥ 52

k(k+1) ≥ 7*8

k≥7

Question 35 |

What will be the final output of D flip-Flop if the input string is 0010011100?

1 | |

0 | |

Don't care | |

none of the above |

Question 35 Explanation:

The D flip-flop captures the value of the D-input at a definite portion of the clock cycle (such as the rising edge of the clock).

That captured value becomes the Q output. At other times, the output Q does not change.

The D flip-flop can be viewed as a memory cell, a zero-order hold, or a delay line.

Truth Table for the D-type Flip Flop:

Step-1: D flip flop is nothing data flip flop. It will return what we are given in input.

Step-2: In this question, the LSB and MSB are 1. So final output is 1.

Note: Here, we don’t know what order they are given input.

That captured value becomes the Q output. At other times, the output Q does not change.

The D flip-flop can be viewed as a memory cell, a zero-order hold, or a delay line.

Truth Table for the D-type Flip Flop:

Step-1: D flip flop is nothing data flip flop. It will return what we are given in input.

Step-2: In this question, the LSB and MSB are 1. So final output is 1.

Note: Here, we don’t know what order they are given input.

Question 36 |

The primary key is selected from the:

Composite keys | |

Determinants | |

Candidate keys | |

Foreign keys |

Question 36 Explanation:

● A candidate key is a column or a row of columns in a table which identifies any database record without utilizing any other data.

● Each table can have one or more candidate keys, but one candidate key is unique, and it is called the primary key.

● Each table can have one or more candidate keys, but one candidate key is unique, and it is called the primary key.

Question 37 |

How many address lines are needed to address each memory location in a 2048*4 memory chip?

10 | |

11 | |

8 | |

12 |

Question 37 Explanation:

● Given Memory chip size is 2048x4

● The memory words are 2048 (2

● The memory words are 2048 (2

^{11}) So 11 bits are needed for address lines.Question 38 |

What are the characteristics of software?

Software is developed or engineered;It is not manufacturing in the classical sense | |

Software can be custom built or custom build | |

Software doesn't "wear out" | |

All mentioned above |

Question 38 Explanation:

Software characteristics are

● Functionality: Refers to the degree of performance of the software against its intended purpose.

● Reliability: Refers to the ability of the software to provide desired functionality under the given conditions.

● Usability: Refers to the extent to which the software can be used with ease.

● Efficiency: Refers to the ability of the software to use system resources in the most effective and efficient manner.

● Maintainability: Refers to the ease with which the modifications can be made in a software system to extend its functionality, improve its performance, or correct errors.

● Portability: Refers to the ease with which software developers can transfer software from one platform to another, without (or with minimum) changes

● Robustness refers to the degree to which the software can keep on functioning in spite of being provided with invalid data

● integrity refers to the degree to which unauthorized access to the software or data can be prevented

● Functionality: Refers to the degree of performance of the software against its intended purpose.

● Reliability: Refers to the ability of the software to provide desired functionality under the given conditions.

● Usability: Refers to the extent to which the software can be used with ease.

● Efficiency: Refers to the ability of the software to use system resources in the most effective and efficient manner.

● Maintainability: Refers to the ease with which the modifications can be made in a software system to extend its functionality, improve its performance, or correct errors.

● Portability: Refers to the ease with which software developers can transfer software from one platform to another, without (or with minimum) changes

● Robustness refers to the degree to which the software can keep on functioning in spite of being provided with invalid data

● integrity refers to the degree to which unauthorized access to the software or data can be prevented

Question 39 |

MIMD stands for

Multiple instruction multiple data | |

multiple instruction memory data | |

memory instruction multiple data | |

multiple information memory data |

Question 39 Explanation:

In computing, MIMD (multiple instruction, multiple data) is a technique employed to achieve parallelism. Machines using MIMD have a number of processors that function asynchronously and independently. At any time, different processors may be executing different instructions on different pieces of data

Question 40 |

In functional dependency between two sets of attribute A and B then set of attributes A of database is classified as:

Top right side | |

Down left side | |

Left hand side | |

Right hand side |

Question 40 Explanation:

A functional dependency (FD) is a relationship between two attributes, typically between the PK and other non-key attributes within a table. For any relation R, attribute Y is functionally
dependent on attribute X (usually the PK), if for every valid instance of X, that value of X uniquely determines the value of Y.

This relationship is indicated by the representation below :

X ———–> Y

The left side of the above FD diagram is called the determinant, and the right side is the dependent.

This relationship is indicated by the representation below :

X ———–> Y

The left side of the above FD diagram is called the determinant, and the right side is the dependent.

Question 41 |

Which type of statement can execute parameterized queries?

PreparedStatement | |

Parameterized Statement | |

ParameterizedStatement and CallableStatement | |

All kinds of Statements |

Question 41 Explanation:

The main feature of a PreparedStatement object is that, unlike a Statement object, it is given a SQL statement when it is created. The advantage to this is that in most cases, this SQL statement is sent to the DBMS right away, where it is compiled.

As a result, the PreparedStatement object contains not just a SQL statement, but a SQL statement that has been precompiled. This means that when the PreparedStatement is executed, the DBMS can just run the PreparedStatement SQL statement without having to compile it first.

Although PreparedStatement objects can be used for SQL statements with no parameters, you probably use them most often for SQL statements that take parameters. The advantage of using SQL statements that take parameters is that you can use the same statement and supply it with different values each time you execute it.

As a result, the PreparedStatement object contains not just a SQL statement, but a SQL statement that has been precompiled. This means that when the PreparedStatement is executed, the DBMS can just run the PreparedStatement SQL statement without having to compile it first.

Although PreparedStatement objects can be used for SQL statements with no parameters, you probably use them most often for SQL statements that take parameters. The advantage of using SQL statements that take parameters is that you can use the same statement and supply it with different values each time you execute it.

Question 42 |

In the __ traversal we process all of a vertex's descendants before we move to an adjacent vertex

Depth First | |

Breadth First | |

Width First | |

Depth Limited |

Question 42 Explanation:

● Depth-first search (DFS) is an algorithm for traversing or searching tree or graph data structures. The algorithm starts at the root node (selecting some arbitrary node as the root node in the case of a graph) and explores as far as possible along each branch before backtracking.

● Breadth-first search (BFS) is an algorithm for traversing or searching tree or graph data structures. It starts at the tree root (or some arbitrary node of a graph, sometimes referred to as a 'search key'), and explores all of the neighbor nodes at the present depth prior to moving on to the nodes at the next depth level.

● Breadth-first search (BFS) is an algorithm for traversing or searching tree or graph data structures. It starts at the tree root (or some arbitrary node of a graph, sometimes referred to as a 'search key'), and explores all of the neighbor nodes at the present depth prior to moving on to the nodes at the next depth level.

Question 43 |

Which of the following is a fundamental operation in relational algebra?

Set intersection | |

Natural Join | |

Assignment | |

None of the above |

Question 43 Explanation:

__Fundamental operation in relational algebra__1.Select

2.Project

3.Cartesian Product

4.Rename

5.Union

6.Set Difference

Question 44 |

Which one of the following statements about normal forms is FALSE?

BCNF is stricter than 3NF | |

Lossless,dependency preserving decomposition into BCNF is always possible | |

Lossless,dependency preserving decomposition into 3NF is always possible | |

Any relation with two attributes is BCNF |

Question 44 Explanation:

Option A : BCNF is stricter than 3NF. In this all redundancy based on functional dependency has been removed.
Option B : Lossless, dependency preserving decomposition into 3NF is always possible.
Option C : It is false.

It is not possible to have dependency preserving in BCNF decomposition.

→ Let take an example, 3NF can't be decomposed into BCNF. Option D : It is true.

Let consider two attributes (X, Y).

If (X→Y), X is a candidate key. It is in BCNF and vice-versa.

It is not possible to have dependency preserving in BCNF decomposition.

→ Let take an example, 3NF can't be decomposed into BCNF. Option D : It is true.

Let consider two attributes (X, Y).

If (X→Y), X is a candidate key. It is in BCNF and vice-versa.

Question 45 |

Which will be the equation of simplification of the given K-map?

AB' + B'CD' + A'B'C' | |

AB' + A'B'D' + A'B'C' | |

B'D' + AB' + B'C' | |

B'D' + A'B'C' + AB' |

Question 45 Explanation:

From the given K-map,

Last row Mapping gives AB’

In the first row - from the first and first column mapping gives B’C’

In the first row - from the first and last column mapping gives B’D’.

Then the final equation will be AB’+B’C’+B’D’

Last row Mapping gives AB’

In the first row - from the first and first column mapping gives B’C’

In the first row - from the first and last column mapping gives B’D’.

Then the final equation will be AB’+B’C’+B’D’

Question 46 |

Object oriented inheritance models:

"is a kind of" relationship | |

"has a" relationship | |

"want to be" relationship | |

"contains" of relationship |

Question 46 Explanation:

Generalization--> "is a kind of" relationship. It is used for object oriented inheritance models.

Aggregation-->"Has a" relationship

Aggregation-->"Has a" relationship

Question 47 |

The ___ is the physical path over which a message traversals

Path | |

Protocol | |

Route | |

Medium |

Question 47 Explanation:

● Protocol is a standard used to define a method of exchanging data over a computer network, such as local area network, Internet, Intranet, etc.

● Routing is the process of moving a packet of data from one network to another network based on the destination IP address.

● The physical channel used for transmission in the network is called medium.

● Message travel from sender to receiver via a medium using a protocol

● Routing is the process of moving a packet of data from one network to another network based on the destination IP address.

● The physical channel used for transmission in the network is called medium.

● Message travel from sender to receiver via a medium using a protocol

Question 48 |

The Banker's algorithm is used:

to rectify deadlock | |

to prevent deadlock | |

to detect deadlock | |

to detect and solve deadlock |

Question 48 Explanation:

● The Banker algorithm, sometimes referred to as the detection algorithm, is a resource allocation and deadlock avoidance algorithm
● This algorithm tests for safety by simulating the allocation of predetermined maximum possible amounts of all resources, and then makes an "s-state" check to test for possible deadlock conditions for all other pending activities, before deciding whether allocation should be allowed to continue.

Question 49 |

Application layer protocol defines:

types of messages exchanged | |

rules for when and how processes send and respond to messages | |

message format, syntax and semantics | |

all of above |

Question 49 Explanation:

● An application layer is an abstraction layer that specifies the shared communications protocols and interface methods used by hosts in a communications network.

● The application layer abstraction is used in both of the standard models of computer networking: the Internet Protocol Suite (TCP/IP) and the OSI model.

● Although both models use the same term for their respective highest level layer, the detailed definitions and purposes are different.

● The application layer abstraction is used in both of the standard models of computer networking: the Internet Protocol Suite (TCP/IP) and the OSI model.

● Although both models use the same term for their respective highest level layer, the detailed definitions and purposes are different.

Question 50 |

Which of the following statements about semaphores is true?

P and V operations should be indivisible operations | |

A semaphore implementation should guarantee that threads do not suffer indefinite postponement | |

If several threads attempt a P(S) operation simultaneously, only one thread should be allowed to proceed. | |

All of the above |

Question 50 Explanation:

● A semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system

● Semaphores are a useful tool in the prevention of race conditions; however, their use is by no means a guarantee that a program is free from these problems.

● Semaphores which allow an arbitrary resource count are called counting semaphores, while semaphores which are restricted to the values 0 and 1 (or locked/unlocked, unavailable/available) are called binary semaphores and are used to implement locks.

● Semaphores are a useful tool in the prevention of race conditions; however, their use is by no means a guarantee that a program is free from these problems.

● Semaphores which allow an arbitrary resource count are called counting semaphores, while semaphores which are restricted to the values 0 and 1 (or locked/unlocked, unavailable/available) are called binary semaphores and are used to implement locks.

Question 51 |

Copying a process from memory to disk to allow space for other processes is called:

Swapping | |

Demand Paging | |

Deadlock | |

Page Fault |

Question 51 Explanation:

→ Swapping was an early virtual memory technique. An entire program would be swapped out (or rolled out) from RAM to disk, and another one would be swapped in (or rolled in).
→ A swapped-out program would be current but its execution would be suspended while its RAM was in use by another program.

Question 52 |

Find the odd one out

Merge Sort | |

Travelling Salesman Problem | |

Knapsack Problem | |

Optimal Binary Search Tree Problem |

Question 52 Explanation:

Merge Sort → Divide and Conquer

Travelling Salesman Problem → Dynamic Programming

Knapsack Problem → Dynamic Programming

Optimal Binary Search Tree Problem → Dynamic Programming

Travelling Salesman Problem → Dynamic Programming

Knapsack Problem → Dynamic Programming

Optimal Binary Search Tree Problem → Dynamic Programming

Question 53 |

What is 2's complement of (101)

_{ 3} ?(010 ) _{ 3} | |

(011 ) _{3} | |

(121 ) _{ 3} | |

(121 ) _{ 2} |

Question 53 Explanation:

Given base is r=3. So, 2’s complement is diminished radix complement or (r-1) complement. (r-1)’s complement is 222-101= 121

Question 54 |

Which of this is not a network edge device?

PC | |

Server | |

Smartphone | |

Switch |

Question 54 Explanation:

● PC, Server and Smartphones are devices which are used for various purposes where as Switch is networking device.

● A network switch (also called switching hub, bridging hub, officially MAC bridge) is a computer networking device that connects devices on a computer network by using packet switching to receive, process, and forward data to the destination device.

● A network switch (also called switching hub, bridging hub, officially MAC bridge) is a computer networking device that connects devices on a computer network by using packet switching to receive, process, and forward data to the destination device.

Question 55 |

The example of implied addressing is

Stack addressing | |

Indirect addressing | |

Immediate addressing | |

None of the above |

Question 55 Explanation:

-----> Operand is (implicitly) on top of stack

e.g. ADD Pop top two items from stack and add

-----> The stack mode of addressing is a form of implied addressing,the machine instructions need not include a memory reference but implicitly operate on top of stack.

e.g. ADD Pop top two items from stack and add

-----> The stack mode of addressing is a form of implied addressing,the machine instructions need not include a memory reference but implicitly operate on top of stack.

Question 56 |

The degree of multi programming is controlled by:

CPU Scheduler | |

long term Scheduler | |

Context Switching | |

Medium term Scheduler |

Question 56 Explanation:

→ The long-term scheduler, or admission scheduler, decides which jobs or processes are to be admitted to the ready queue (in main memory); that is, when an attempt is made to execute a program, its admission to the set of currently executing processes is either authorized or delayed by the long-term scheduler. Thus, this scheduler dictates what processes are to run on a system, and the degree of concurrency to be supported at any one time – whether many or few processes are to be executed concurrently, and how the split between I/O-intensive and CPU-intensive processes is to be handled.

→ The long-term scheduler is responsible for controlling the degree of multiprogramming.

→ The long-term scheduler is responsible for controlling the degree of multiprogramming.

Question 57 |

If attributes of relation schema R is member of some candidate key then this type of attributes are classified as:

atomic attribute | |

candidate attribute | |

non prime attribute | |

prime attribute |

Question 57 Explanation:

→ In the relational model of databases, a candidate key of a relation is a minimal superkey for that relation; that is, a set of attributes such that:

1. the relation does not have two distinct tuples (i.e. rows or records in common database language) with the same values for these attributes (which means that the set of attributes is a superkey)

2. there is no proper subset of these attributes for which (1) holds (which means that the set is minimal).

● Candidate keys are also variously referred to as primary keys, secondary keys or alternate keys.

● The constituent attributes are called prime attributes. Conversely, an attribute that does not occur in ANY candidate key is called a non-prime attribute.

Ex: AB, BC, CD are candidate keys of R(ABCD). In the FDs set one attribute may not be part of all the FDs.

1. the relation does not have two distinct tuples (i.e. rows or records in common database language) with the same values for these attributes (which means that the set of attributes is a superkey)

2. there is no proper subset of these attributes for which (1) holds (which means that the set is minimal).

● Candidate keys are also variously referred to as primary keys, secondary keys or alternate keys.

● The constituent attributes are called prime attributes. Conversely, an attribute that does not occur in ANY candidate key is called a non-prime attribute.

Ex: AB, BC, CD are candidate keys of R(ABCD). In the FDs set one attribute may not be part of all the FDs.

Question 58 |

How many addition and subtraction are required if you perform multiplication of 5(multiplicand) and -30(Multiplier) using Booth algorithm?

2,1 | |

1,2 | |

1,1 | |

2,2 |

Question 58 Explanation:

Step-1: 2’s complement of 30 is=00011110

Step-2: Append 0 in LSB of 2’s complement number=000111100

Step-3: Use the following codes. Procedure starts with LSB

(00→ 0)

(11→ 0)

(01→ +1)

(10→ -1)

1 1 1 0 0 0 0 1 0

0 0 -1 0 0 0 +1 -1

Step-4: There are total 1 additions and 2 subtractions

Step-2: Append 0 in LSB of 2’s complement number=000111100

Step-3: Use the following codes. Procedure starts with LSB

(00→ 0)

(11→ 0)

(01→ +1)

(10→ -1)

1 1 1 0 0 0 0 1 0

0 0 -1 0 0 0 +1 -1

Step-4: There are total 1 additions and 2 subtractions

Question 59 |

The decimal equivalent of the Hexadecimal number(AC7B)

_{ 16} is:32564 | |

44155 | |

50215 | |

43562 |

Question 59 Explanation:

= Ax16

= 10x16

= 40960 + 3072 + 112 +11

= 44155

^{ 3} + Cx16^{ 2} + 7x16^{ 1} + Bx16^{0}= 10x16

^{ 3}+12x16^{2}+ 7x16 + 11= 40960 + 3072 + 112 +11

= 44155

Question 60 |

How will you free the allocated memory?

remove(var-name) | |

free(var-name) | |

delete(var-name) | |

dalloc(var-name) |

Question 60 Explanation:

Dynamically allocated memory created with either calloc() or malloc() doesn't get freed on their own. You must explicitly use free() to release the space.

free(ptr);

This statement frees the space allocated in the memory pointed by ptr.

__Syntax of free()__free(ptr);

This statement frees the space allocated in the memory pointed by ptr.

There are 60 questions to complete.

## Scientific Assistance 4-12-16

Question 1 |

In the following questions choose the word opposite in the meaning to the given word.

Antagonism:

Antagonism:

Cordiality | |

Animosity | |

Hostility | |

Enmity |

Question 1 Explanation:

→ Actual meaning of Antagonism is active hostility or opposition.

→ Antonyms are hostility, enmity, antipathy, dislike, hatred, aggression.

→ Antonyms are hostility, enmity, antipathy, dislike, hatred, aggression.

Question 2 |

In the following questions choose the word opposite in the meaning to the given word.

Hasten:

Hasten:

Dash | |

Dawdle | |

Hurry | |

Scurry |

Question 2 Explanation:

→ Hasten meaning is be quick to do something.

→ Antonyms are dally, dawdle, dillydally, drag, hang (around or out), lag, linger, loiter, poke, tarry, amble, lumber, plod, saunter, shuffle, stroll.

→ Antonyms are dally, dawdle, dillydally, drag, hang (around or out), lag, linger, loiter, poke, tarry, amble, lumber, plod, saunter, shuffle, stroll.

Question 3 |

In the following questions, out of the four alternatives, choose the one which best expresses the meaning of the given word.

Camouflage:

Camouflage:

Disguise | |

Cover | |

Demonstrate | |

Fabric |

Question 3 Explanation:

→ Camouflage meaning is the disguising of military personnel, equipment, and installations by painting or covering them to make them blend in with their surroundings.

→ Camouflage synonyms are costume, disguise, guise.

→ Camouflage synonyms are costume, disguise, guise.

Question 4 |

In the following questions, out of the four alternatives, choose the one which best expresses the meaning of the given word.

Yearn:

Yearn:

Deny | |

Accept | |

Confront | |

Crave |

Question 4 Explanation:

→ Yearn meaning is have an intense feeling of longing for something, typically something that one has lost or been separated from.

→ Yearn synonym is ache, covet, crave, desiderate, desire, die, hanker.

→ Yearn synonym is ache, covet, crave, desiderate, desire, die, hanker.

Question 5 |

The following pie-chart shows the percentage distribution of the expenditure incurred in publishing a magazine. Study the pie-chart and answer the questions based on it.

What is the central angle of the sector corresponding to the expenditure incurred on Royalty ?

What is the central angle of the sector corresponding to the expenditure incurred on Royalty ?

15 ^{0} | |

24 ^{0} | |

54 ^{0} | |

48 ^{0} |

Question 5 Explanation:

According to Diagram the circle is in the form of 360°

From that Diagram Expenditure incurred on Royalty is 15%

ஃ 360*(15/100) = 54°

From that Diagram Expenditure incurred on Royalty is 15%

ஃ 360*(15/100) = 54°

Question 6 |

The following pie-chart shows the percentage distribution of the expenditure incurred in publishing a magazine. Study the pie-chart and answer the questions based on it.

The price of the magazine is marked 20% above the C.P. If the marked price of the magazine is ₹ 180, then what is the cost of the paper used in a single copy of the magazine?

The price of the magazine is marked 20% above the C.P. If the marked price of the magazine is ₹ 180, then what is the cost of the paper used in a single copy of the magazine?

₹ 36 | |

₹ 37.50 | |

₹ 42 | |

₹ 44.25 |

Question 6 Explanation:

Let’s C.P = x

M.P = 120 x / 100

From that question M.P of Magazine is = 180/-

Cost of the paper in a single copy = ?

From the above details we have to find out C.P first

180 x = x (120 x / 100)

After solving this

x = 150

Cost of the paper in a single copy

= 150 * (25/100)

= 37.50

M.P = 120 x / 100

From that question M.P of Magazine is = 180/-

Cost of the paper in a single copy = ?

From the above details we have to find out C.P first

180 x = x (120 x / 100)

After solving this

x = 150

Cost of the paper in a single copy

= 150 * (25/100)

= 37.50

Question 7 |

The following pie-chart shows the percentage distribution of the expenditure incurred in publishing a magazine. Study the pie-chart and answer the questions based on it.

If for a certain quantity of magazine, the publisher has to pay ₹ 30,600 as printing cost, then what will be amount of royalty to be paid for these magazines?

If for a certain quantity of magazine, the publisher has to pay ₹ 30,600 as printing cost, then what will be amount of royalty to be paid for these magazines?

₹ 19,450 | |

₹ 21,200 | |

₹ 22950 | |

₹26,150 |

Question 7 Explanation:

Printing Cost=30,600/- that means 20% according to Diagram

Royalty cost=x

∴20 % →30,600

15% →x

Do Cross Multiplication

(20/100) * x=30,600 * (15/100)

x=22,950/-

Royalty cost=x

∴20 % →30,600

15% →x

Do Cross Multiplication

(20/100) * x=30,600 * (15/100)

x=22,950/-

Question 8 |

The following pie-chart shows the percentage distribution of the expenditure incurred in publishing a magazine. Study the pie-chart and answer the questions based on it.

Royalty on the magazine is less than the printing cost by:

Royalty on the magazine is less than the printing cost by:

5% | |

33 (1 / 5 ) | |

20% | |

25% |

Question 8 Explanation:

According to Diagram

Printing Cost = 20%

Royalty Cost = 15%

How much percentage royalty cost is less than printing cost

((20-15) / 20 ) * 100 = 50/2 = 25%

Printing Cost = 20%

Royalty Cost = 15%

How much percentage royalty cost is less than printing cost

((20-15) / 20 ) * 100 = 50/2 = 25%

Question 9 |

The table given here shows production of five types of cars by a company in the year 2010 to 2015. Study the table and answer the questions.

In which year the total production of cars of types P and Q together was equal to the total production of cars of types R and S together?

In which year the total production of cars of types P and Q together was equal to the total production of cars of types R and S together?

2011 | |

2012 | |

2015 | |

None of the above |

Question 9 Explanation:

In this question we have to verify from options, so we can easily find which one is same

P+Q in 2011 -----> 20+10 = 30

R+S in 2011 ------> 17+6 = 23

option A is wrong

P+Q in 2012 ----> 16+14 = 30

R+S in 2012 ----> 16+10 = 26

option B is wrong

P+Q in 2015 ---> 6+14 = 20

R+S in 2015 ---> 31+8 = 39

option C is wrong

So finally option D is correct.

P+Q in 2011 -----> 20+10 = 30

R+S in 2011 ------> 17+6 = 23

option A is wrong

P+Q in 2012 ----> 16+14 = 30

R+S in 2012 ----> 16+10 = 26

option B is wrong

P+Q in 2015 ---> 6+14 = 20

R+S in 2015 ---> 31+8 = 39

option C is wrong

So finally option D is correct.

Question 10 |

The table given here shows production of five types of cars by a company in the year 2010 to 2015. Study the table and answer the questions.

In which year the production of cars of all types taken together was approximately equal to average during the period?

In which year the production of cars of all types taken together was approximately equal to average during the period?

2010 | |

2012 | |

2014 | |

2015 |

Question 10 Explanation:

Take the sum of all cars by years = (88+78+90+87+133) = 476

Average during the period = 476/6 = 79.33.

Year 2014 is approximately equal

option C correct.

Average during the period = 476/6 = 79.33.

Year 2014 is approximately equal

option C correct.

Question 11 |

The table given here shows production of five types of cars by a company in the year 2010 to 2015. Study the table and answer the questions.

The production of which type of cars was 25% of the total production of all types of cars during 2014?

The production of which type of cars was 25% of the total production of all types of cars during 2014?

S | |

R | |

Q | |

P |

Question 11 Explanation:

From that table in 2014 total production of cars was 80.

So,

100% -----> 80

25% ------> x

(25 * 80) / 100 = 20.

From that table 20 cars are from Type S .

So,

100% -----> 80

25% ------> x

(25 * 80) / 100 = 20.

From that table 20 cars are from Type S .

Question 12 |

Read the following information carefully and answer the questions given below:

1.P,Q,R,S,T and U six members of a family each of them engaged in a different profession Doctor, Lawyer, Teacher, Engineer, Nurse and Manager.

2.Each of them remains at home on a different day of the week from Monday to Saturday.

3.The Lawyer in the family remain at home on Thursday.

4.R remains at home on Tuesday.

5.P, a Doctor, does not remain at home either on Saturday or on Wednesday.

6.S is neither the doctor nor the Teacher and remains at home on Friday,

7.Q is the Engineer and T is the Manager.

Which of the following combinations is correct?

1.P,Q,R,S,T and U six members of a family each of them engaged in a different profession Doctor, Lawyer, Teacher, Engineer, Nurse and Manager.

2.Each of them remains at home on a different day of the week from Monday to Saturday.

3.The Lawyer in the family remain at home on Thursday.

4.R remains at home on Tuesday.

5.P, a Doctor, does not remain at home either on Saturday or on Wednesday.

6.S is neither the doctor nor the Teacher and remains at home on Friday,

7.Q is the Engineer and T is the Manager.

Which of the following combinations is correct?

Lawyer-Tuesday | |

Nurse-Friday | |

Manager-Friday | |

Engineer-Thursday |

Question 12 Explanation:

Question 13 |

Read the following information carefully and answer the questions given below:

1.P,Q,R,S,T and U six members of a family each of them engaged in a different profession Doctor, Lawyer, Teacher, Engineer, Nurse and Manager.

2.Each of them remains at home on a different day of the week from Monday to Saturday.

3.The Lawyer in the family remain at home on Thursday.

4.R remains at home on Tuesday.

5.P, a Doctor, does not remain at home either on Saturday or on Wednesday.

6.S is neither the doctor nor the Teacher and remains at home on Friday,

7.Q is the Engineer and T is the Manager.

Which of the following combinations is not correct?

1.P,Q,R,S,T and U six members of a family each of them engaged in a different profession Doctor, Lawyer, Teacher, Engineer, Nurse and Manager.

2.Each of them remains at home on a different day of the week from Monday to Saturday.

3.The Lawyer in the family remain at home on Thursday.

4.R remains at home on Tuesday.

5.P, a Doctor, does not remain at home either on Saturday or on Wednesday.

6.S is neither the doctor nor the Teacher and remains at home on Friday,

7.Q is the Engineer and T is the Manager.

Which of the following combinations is not correct?

R-Teacher | |

Q-Engineer | |

T-Manager | |

S-Lawyer |

Question 13 Explanation:

Question 14 |

Read the following information carefully and answer the questions given below:

1.P,Q,R,S,T and U six members of a family each of them engaged in a different profession Doctor, Lawyer, Teacher, Engineer, Nurse and Manager.

2.Each of them remains at home on a different day of the week from Monday to Saturday.

3.The Lawyer in the family remain at home on Thursday.

4.R remains at home on Tuesday.

5.P, a Doctor, does not remain at home either on Saturday or on Wednesday.

6.S is neither the doctor nor the Teacher and remains at home on Friday,

7.Q is the Engineer and T is the Manager.

Who is the Nurse ?

1.P,Q,R,S,T and U six members of a family each of them engaged in a different profession Doctor, Lawyer, Teacher, Engineer, Nurse and Manager.

2.Each of them remains at home on a different day of the week from Monday to Saturday.

3.The Lawyer in the family remain at home on Thursday.

4.R remains at home on Tuesday.

5.P, a Doctor, does not remain at home either on Saturday or on Wednesday.

6.S is neither the doctor nor the Teacher and remains at home on Friday,

7.Q is the Engineer and T is the Manager.

Who is the Nurse ?

S | |

R | |

U | |

Data inadequate |

Question 14 Explanation:

Question 15 |

Three of the words will be in the same classification the remaining one will not be. Your answer will be the one word that does NOT belong in the same classification as the others.

Which word does NOT belong to the others ?

Which word does NOT belong to the others ?

Tape | |

Twine | |

Cord | |

Yarn |

Question 15 Explanation:

Twine, Cord, Yarn all are similar words.

Tape is Different one.

Tape is Different one.

Question 16 |

Study the following information carefully and answer the questions given below :

1.Six persons A,B,C,D,E and F are taking their breakfast in two groups facing one another.

2.D and A are not in the same row .

3.E is to the left of F and faces C.

4.B is in the middle of a group.

5.D is to the left of B.

Who faces B?

1.Six persons A,B,C,D,E and F are taking their breakfast in two groups facing one another.

2.D and A are not in the same row .

3.E is to the left of F and faces C.

4.B is in the middle of a group.

5.D is to the left of B.

Who faces B?

C | |

A | |

E | |

F |

Question 16 Explanation:

The arrangement as follows:

D B C

________

A F E

________

F faces B

D B C

________

A F E

________

F faces B

Question 17 |

If the difference between a number and 1/5 th of it is 84, what is the number ?

115 | |

95 | |

105 | |

125 |

Question 17 Explanation:

Let’s number = x

Difference between a number and 1/5th of is 84 means

x - (x/5) = 84

4x / 5 = 84

x = 105

Difference between a number and 1/5th of is 84 means

x - (x/5) = 84

4x / 5 = 84

x = 105

Question 18 |

The ratio of ages of the father and his son at present is 12 : 5, the difference of their age is 28 years. What will be the ratio of their Ages after eight years?

2 : 2 | |

3 : 1 | |

2 : 1 | |

3 : 2 |

Question 18 Explanation:

From the question

Father’s present age = 12x ---> (i)

son’s present age = 5x ---> (ii)

Difference between their age is = 28

12x - 5x = 28

x= 4

Substitute x value in (i) and (ii)

Father’s present age = 48

son’s present age = 20

Ratio of their ages after eight years

Father’s age : Son’s age

48+8 : 20+8

56 : 28

2 : 1

Father’s present age = 12x ---> (i)

son’s present age = 5x ---> (ii)

Difference between their age is = 28

12x - 5x = 28

x= 4

Substitute x value in (i) and (ii)

Father’s present age = 48

son’s present age = 20

Ratio of their ages after eight years

Father’s age : Son’s age

48+8 : 20+8

56 : 28

2 : 1

Question 19 |

Study the following information carefully and answer the questions given below :

1.Six persons A,B,C,D,E and F are taking their breakfast in two groups facing one another.

2.D and A are not in the same row .

3.E is to the left of F and faces C.

4.B is in the middle of a group.

5.D is to the left of B.

Who of the following are sitting in the same row ?

1.Six persons A,B,C,D,E and F are taking their breakfast in two groups facing one another.

2.D and A are not in the same row .

3.E is to the left of F and faces C.

4.B is in the middle of a group.

5.D is to the left of B.

Who of the following are sitting in the same row ?

AEB | |

EFB | |

DEF | |

AEF |

Question 19 Explanation:

D B C

________

A F E

AEF sitting in the same row.

________

A F E

AEF sitting in the same row.

Question 20 |

Study the following information carefully and answer the questions given below :

1.Six persons A,B,C,D,E and F are taking their breakfast in two groups facing one another.

2.D and A are not in the same row .

3.E is to the left of F and faces C.

4.B is in the middle of a group.

5.D is to the left of B.

Which of the following pairs are facing each other ?

1.Six persons A,B,C,D,E and F are taking their breakfast in two groups facing one another.

2.D and A are not in the same row .

3.E is to the left of F and faces C.

4.B is in the middle of a group.

5.D is to the left of B.

Which of the following pairs are facing each other ?

CA | |

BA | |

DA | |

DE |

Question 20 Explanation:

D B C

________

A F E

DA is facing each other.

________

A F E

DA is facing each other.

Question 21 |

Find the missing number in the following question ?

32 | |

42 | |

62 | |

82 |

Question 21 Explanation:

From that First figure we can analyze like

729 ---> 27*27

841 ---> 29*29

784 ---> 28*28

27+29+28 = 84

The same logic we can apply for next diagram

225 ---> 15*15

169 ---> 13*13

196 ---> 14*14

15+13+14 = 42

729 ---> 27*27

841 ---> 29*29

784 ---> 28*28

27+29+28 = 84

The same logic we can apply for next diagram

225 ---> 15*15

169 ---> 13*13

196 ---> 14*14

15+13+14 = 42

Question 22 |

If ÷ means +, – means ÷, X means – and + means X, then

1 | |

-1 | |

2 | |

0 | |

None of the above |

Question 22 Explanation:

Excluded for evaluation. Question and options are wrong

Question 23 |

In each of the following letter series, some of the letters are missing which are given in that order as one of the alternatives below it . Choose the correct alternative.

aaa_bb_aab_baaa_bb

aaa_bb_aab_baaa_bb

abab | |

bbaa | |

babb | |

baab |

Question 23 Explanation:

They given sequence is 3 consecutive a’s and 3 consecutive b’s forming a sequence.

aaa b bb a aab b baaa b bb

aaa b bb a aab b baaa b bb

Question 24 |

abca_bcaab_aa_caa_c

bbac | |

bbaa | |

acbb | |

acac |

Question 24 Explanation:

They given sequence is following “abca” order.

abca a bcaab c aa b caa b c

abca a bcaab c aa b caa b c

Question 25 |

In each of the following questions, one term in the number series is wrong. Find out the wrong term.

125, 126, 124, 127, 123, 129

125, 126, 124, 127, 123, 129

123 | |

124 | |

126 | |

129 |

Question 25 Explanation:

Question 26 |

52, 51, 48, 34, 27, 16

51 | |

48 | |

34 | |

43 |

Question 26 Explanation:

Question 27 |

In each of the following questions, a series is given with one term missing. Choose the correct alternative that will continue the same pattern and fill in the blank space.

6, 25,_______________, 123, 214, 341.

6, 25,_______________, 123, 214, 341.

65 | |

70 | |

72 | |

62 |

Question 27 Explanation:

Question 28 |

71, 76, 69, 74, 67, 72, ______________

65 | |

76 | |

77 | |

80 |

Question 28 Explanation:

Question 29 |

50, 49, 46, 41, 34, _______________

32 | |

25 | |

21 | |

19 |

Question 30 |

In each of the following questions, find out the correct answer from the given alternatives.

If in a certain language MECHANICS is coded as HCEMASCIN, how is POSTER coded in that code?

If in a certain language MECHANICS is coded as HCEMASCIN, how is POSTER coded in that code?

OPSTER | |

SOPRET | |

RETSOP | |

TERPOS |

Question 30 Explanation:

MECHANICS

MECH ---> HCEM

A ---> A

NICS ---> SCIN

After Combined coded letters, We got

HCEMASCIN

We have total 9 Letters. So middle one we kept like constant and remaining letters are coded as reversed.

From that POSTER

POS ---> SOP

TER ---> RET

After combined

SOPRET.

MECH ---> HCEM

A ---> A

NICS ---> SCIN

After Combined coded letters, We got

HCEMASCIN

We have total 9 Letters. So middle one we kept like constant and remaining letters are coded as reversed.

From that POSTER

POS ---> SOP

TER ---> RET

After combined

SOPRET.

Question 31 |

If TABLE IS CODED AS GZYOV, how is JUICE coded?

OZLFJ | |

QFRXV | |

HOFAD | |

QZHMT |

Question 31 Explanation:

Question 32 |

In the each of the following questions, there is a certain relation between two given words on one side of : : and one word is given on another side of : : while another word is to be found from the given alternatives, having the same relation with this word as the words of the given pair bear.Choose the best alternative.

Engineer : Map : : Bricklayer : ?

Engineer : Map : : Bricklayer : ?

Design | |

Templet | |

Mould | |

Cement |

Question 32 Explanation:

→ Engineer is working according to map and plan.

→ Bricklayer is constructing temples using bricks

→ Bricklayer is constructing temples using bricks

Question 33 |

In the each of the following questions, there is a certain relation between two given words on one side of : : and one word is given on another side of : : while another word is to be found from the given alternatives, having the same relation with this word as the words of the given pair bear.Choose the best alternative.

Major : Battalion : : Colonel : ?

Major : Battalion : : Colonel : ?

Company | |

Regiment | |

Army | |

Soldiers |

Question 33 Explanation:

Both the series words are belongs to armed forces.

→ Battalion is a group instructed by Major.

→ Regiment is permanent unit of army instructed by Colonel

→ Battalion is a group instructed by Major.

→ Regiment is permanent unit of army instructed by Colonel

Question 34 |

Virology : Virus : : Semantics : ?

Amoeba | |

Language | |

Nature | |

Society |

Question 34 Explanation:

→ Virology is a subject deals with the virus.

→ Semantic is a subject deals with the language.

→ Semantic is a subject deals with the language.

Question 35 |

The following questions consist of two words each that have a certain relationship to each other, followed by four lettered pairs of the words. Select the lettered pair that has the same relationship as the original pair of words.

Symphony : Music

Symphony : Music

Mural : Painting | |

Ode : Prose | |

Preface : Book | |

Editorial : Journal |

Question 35 Explanation:

→ Symphony is a instrument used by music.

→ Mural is a instrument used by painting

→ Mural is a instrument used by painting

Question 36 |

The following questions consist of two words each that have a certain relationship to each other, followed by four lettered pairs of the words. Select the lettered pair that has the same relationship as the original pair of words.

Medicine : Capsule

Medicine : Capsule

Pearl : Shell | |

Passenger : Bus | |

Heart : Lungs | |

Car : Vehicle |

Question 36 Explanation:

→ Medicine is contained in capsule

→ Pearl is contained in shell

→ Pearl is contained in shell

Question 37 |

Identity : Anonymity

Flow : Perfection | |

Careless : Mistake | |

Truth : Lie | |

Fear : Joy | |

None of the above |

Question 37 Explanation:

Excluded for evaluation. Question and options are wrong.

Question 38 |

Each of the following questions the first two words have definite relationship. Choose one word out of the given four alternatives which will fill in the blank space and show the same relationship with the third word as between the first two.

Cobra is related to Snake in the same way as leopard is related to ____________

Cobra is related to Snake in the same way as leopard is related to ____________

Tiger | |

Lion | |

Cat | |

Zebra |

Question 38 Explanation:

→ Cobra is related to Snake

→ Leopard is related to Cat

→ Leopard is related to Cat

Question 39 |

Each of the following questions the first two words have definite relationship. Choose one word out of the given four alternatives which will fill in the blank space and show the same relationship with the third word as between the first two.

Memorise is to Amnesia as Movement is to _____________

Memorise is to Amnesia as Movement is to _____________

Lubrication | |

Lethargy | |

Paralysis | |

Hermit |

Question 39 Explanation:

Amnesia is a partial or total loss of memory.

→ Memorise is to Amnesia

Paralysis is the loss of the ability to move (and sometimes to feel anything) in part or most of the body, typically as a result of illness, poison, or injury.

→ Movement is to Paralysis

→ Memorise is to Amnesia

Paralysis is the loss of the ability to move (and sometimes to feel anything) in part or most of the body, typically as a result of illness, poison, or injury.

→ Movement is to Paralysis

Question 40 |

In each of the following questions, three out of the four alternatives contain alphabet placed in a particular form. Find the one that does not belong to the group.

BCDEI | |

PQRSW | |

LMNOS | |

HIKLO |

Question 40 Explanation:

Question 41 |

In each of the following questions, three out of the four alternatives contain alphabet placed in a particular form. Find the one that does not belong to the group.

LNMO | |

CRDT | |

EUFV | |

GWHX |

Question 41 Explanation:

Question 42 |

In each of the following questions, three out of the four alternatives contain alphabet placed in a particular form. Find the one that does not belong to the group.

CBAZ | |

AZYX | |

AZBY | |

PONM |

Question 42 Explanation:

Question 43 |

JMP | |

RUX | |

UYB | |

EHK |

Question 43 Explanation:

Question 44 |

A train started from Mumbai at 6.00 A.M. On the next (second) station 1/3 passengers got down and 96 got in. On the next (third) station, 1⁄2 of the total passengers present in the train, got down and 12 came in. Now there were 248 passengers in the train, when the train started from Mumbai, the number of passengers was :

435 | |

564 | |

654 | |

736 |

Question 44 Explanation:

Let’s take number of passengers in a train = x

on second station 1⁄3 rd passengers got down and 96 got in = (x - (x/3)) + 96

on third station 1⁄2 got down and 12 got in = (((x-(x/3))+96)/2)+12 Now there were 248 passengers

(((x-(x/3))+96)/2)+12 =248

x=564

on second station 1⁄3 rd passengers got down and 96 got in = (x - (x/3)) + 96

on third station 1⁄2 got down and 12 got in = (((x-(x/3))+96)/2)+12 Now there were 248 passengers

(((x-(x/3))+96)/2)+12 =248

x=564

Question 45 |

The LCM of two numbers is 45 times their HCF. If the sum of the LCM and the HCF of these two numbers is 1150 and one of the numbers is 125, then the other number is :

256 | |

225 | |

250 | |

255 |

Question 45 Explanation:

Let the lcm be x and hcf be y and the other number be z.

Given lcm of 2 numbers is 45 times their hcf, the sum of HCF + LCM is 1150.

y = 45x. ---- (1)

x + y = 1150 --- (2)

Substitute equation (1) in (2), we get

46x = 1150

x = 25.

Substitute x = 25 in (1), we get

y = 45 * 25 = 1125.

We know that product of two numbers = LCM * HCF

125 * z = 25 * 1125

z = 25 * 1125/125 = 225.

The other number = 225.

Given lcm of 2 numbers is 45 times their hcf, the sum of HCF + LCM is 1150.

y = 45x. ---- (1)

x + y = 1150 --- (2)

Substitute equation (1) in (2), we get

46x = 1150

x = 25.

Substitute x = 25 in (1), we get

y = 45 * 25 = 1125.

We know that product of two numbers = LCM * HCF

125 * z = 25 * 1125

z = 25 * 1125/125 = 225.

The other number = 225.

Question 46 |

Find out the wrong term from the following series and select the number from the alternatives which will replace the wrong term in the series.

299, 178, 97, 48, 24, 14, 13 :

299, 178, 97, 48, 24, 14, 13 :

175 | |

295 | |

23 | |

10 |

Question 46 Explanation:

From that sequence we found out

-121, -81, -49, -24, -10, -1.

From the above sequence 24 is replace with 23.

So we get perfect sequence.

-121, -81, -49, -24, -10, -1.

From the above sequence 24 is replace with 23.

So we get perfect sequence.

Question 47 |

Find out the wrong term from the following series and select the number from the alternatives which will replace the wrong term in the series.

2, 9, 28, 126, 216, 344 :

2, 9, 28, 126, 216, 344 :

38 | |

217 | |

356 | |

66 |

Question 47 Explanation:

1^3 + 1 = 2

2^3 + 1 = 9

3^3 + 1 = 28

4^3 + 1 = 65

5^3 + 1 = 126

But

6^3 + 1 = 217 and,

Given is 216 so its odd or wrong.

7^3 + 1 = 344.

2^3 + 1 = 9

3^3 + 1 = 28

4^3 + 1 = 65

5^3 + 1 = 126

But

6^3 + 1 = 217 and,

Given is 216 so its odd or wrong.

7^3 + 1 = 344.

Question 48 |

The ratio between Sumit’s and the Prakash’s age at present is 2 : 3. Sumit is 6 years younger than Prakash. The ratio of Sumit’s age to Prakash’s age after six years will be

1 : 2 | |

2 : 3 | |

3 : 4 | |

3 : 8 |

Question 48 Explanation:

Sumit’s age = 2x

Prakash’s age = 3x

Sumit is 6 years younger than Prakash means

Prakash = Sumit + 6

Prakash - Sumit = 6

3x - 2x = 6

x = 6

So, Sumit’s age = 12

Prakash’s age = 18

Ratio of Sumit’s age and Prakash’s age after six years

12+6 : 18+6

18 : 24

3 : 4

Prakash’s age = 3x

Sumit is 6 years younger than Prakash means

Prakash = Sumit + 6

Prakash - Sumit = 6

3x - 2x = 6

x = 6

So, Sumit’s age = 12

Prakash’s age = 18

Ratio of Sumit’s age and Prakash’s age after six years

12+6 : 18+6

18 : 24

3 : 4

Question 49 |

Two pipes A and B can fill a water tank in 20 and 24 minutes respectively and third pipe C can empty at the rate of 3 gallons per minute. If A, B and C opened together filed the tank in 15 minutes, the capacity (in gallons) of the tank is :

60 | |

120 | |

150 | |

180 |

Question 49 Explanation:

Work done by the waste pipe in 1 minute

= (1/15) - ((1/20) + (1/24))

= -1/40 (Negative means it’s emptying)

Volume of the 1/40 = 3 gallons = (40 * 3) = 120 gallons

= (1/15) - ((1/20) + (1/24))

= -1/40 (Negative means it’s emptying)

Volume of the 1/40 = 3 gallons = (40 * 3) = 120 gallons

Question 50 |

A can run 200 m in 35 seconds and B in 38 seconds. By what distance A beats B ?

15m | |

15 (2/3)m | |

15 (15/19)m | |

15 (4/19)m |

Question 51 |

A train starts at 7 a.m. from A towards B with a speed of 50 km/hr. Another train from B starts at 8 a.m. with a speed of 60 km/hr towards A. Both of them meet at 10 a.m. at C. The ratio of the distances AC to BC is :

4 : 5 | |

5 : 4 | |

5 : 6 | |

6 : 5 |

Question 51 Explanation:

Distance covered by A in 3 hours with the speed of 50 km/ h is = 50 *3 = 150km

Distance covered by B in 2 hours with the speed of 60 km/ h is = 60 * 2 = 120km =120 km

then AC:BC = 150:120 =5:4

Distance covered by B in 2 hours with the speed of 60 km/ h is = 60 * 2 = 120km =120 km

then AC:BC = 150:120 =5:4

Question 52 |

The average of the husband and his wife was 23 years at the time of their marriage. After five years they have a one year old child. The average age of the family now is :

29.3 years | |

28.5 years | |

23 years | |

19 years |

Question 52 Explanation:

Sum of the present ages of husband, wife and child = (23 * 2 + 5 * 2) + 1 = 57 years.

Required average = (57/3) = 19 years

Required average = (57/3) = 19 years

Question 53 |

1/4 th of 60% of a number is equal to 2/5 th of 20% of another number. What is the respective ratio of the first number to that of second number ?

8 : 15 | |

5 : 9 | |

8 : 13 | |

4 : 7 |

Question 53 Explanation:

Let’s take two numbers x and y

(1⁄4) * (60 / 100) * x = (2⁄5) * (20/100) * y

After solving this one

we got ratios like x : y = 8 :15

(1⁄4) * (60 / 100) * x = (2⁄5) * (20/100) * y

After solving this one

we got ratios like x : y = 8 :15

Question 54 |

A&B together have ₹ 1210. If 4/15 of A’s amount is equal to 2/5 of B’s amount, how much amount does B have ?

₹ 664 | |

₹ 550 | |

₹ 484 | |

₹ 460 |

Question 54 Explanation:

From that question A + B = 1210 ---> (i)

(4/15) A = (2⁄5) B ---> (ii)

(2⁄3) A = B ---> (iii)

Sub (iii) in (i)

A + (2A/3) = 1210

A = 726 (Sub A value in (i) )

So,

B = 484

(4/15) A = (2⁄5) B ---> (ii)

(2⁄3) A = B ---> (iii)

Sub (iii) in (i)

A + (2A/3) = 1210

A = 726 (Sub A value in (i) )

So,

B = 484

Question 55 |

How many one rupee coins, 50 paise coins and 25 paise coins of which the numbers are proportional to 4, 5 and 6 are together worth ₹ 32 ?

16, 20, 24 | |

12, 16, 20 | |

20, 24, 28 | |

24, 28, 32 |

Question 55 Explanation:

Question 56 |

Two dice are thrown simultaneously. The probability of obtaining a total score of 5 is :

1/18 | |

1/12 | |

1/9 | |

None of these |

Question 56 Explanation:

Probability of obtaining a total score of 5 is {(1,4)(2,3)(3,2)(4,1)} = 4

Total Probability = 6 * 6 = 36

P(E) = 4 / 36 = 1 / 9

Total Probability = 6 * 6 = 36

P(E) = 4 / 36 = 1 / 9

Question 57 |

A tradesman marks his goods at such a price that after allowing a discount of 15%, he earns a profit of 20%. Find the marked price of an article which costs him ₹ 850.

₹ 1200 | |

₹ 1300 | |

₹ 1250 | |

₹ 1350 |

Question 57 Explanation:

C.P = 850

M.P = x

Discount = 15%

S.P = x - (15x/100) = 85x / 100

S.P

= 120% of C.P

= (120/100) * 850

= 85 * 12

= 1020

Therefore S.P = (85X/100) = 1020

X = 1200

M.P = x

Discount = 15%

S.P = x - (15x/100) = 85x / 100

S.P

= 120% of C.P

= (120/100) * 850

= 85 * 12

= 1020

Therefore S.P = (85X/100) = 1020

X = 1200

Question 58 |

In a camp, there are meals for 120 men or 200 children. If 150 children have taken their meals, how many men will be catered to with the remaining meal ?

50 | |

40 | |

30 | |

20 |

Question 58 Explanation:

There is a meal for 120 men and 200 children.

150 Children already taken meal. 50 Children remaining can also take a meal

200 Children = 120 men

50 Children = (120/200) * 50

= 30

150 Children already taken meal. 50 Children remaining can also take a meal

200 Children = 120 men

50 Children = (120/200) * 50

= 30

Question 59 |

56 men can complete a piece of work in 24 days. In how many days can 42 men complete the same piece of work ?

48 | |

32 | |

20 | |

16 |

Question 59 Explanation:

1 Men 1 Day work = (1/(56 *24))

42 Men in how many days = (1/(56 *24)) * 42 = 1/32

So,

42 Men can complete piece of work in 32 days.

42 Men in how many days = (1/(56 *24)) * 42 = 1/32

So,

42 Men can complete piece of work in 32 days.

Question 60 |

A boat travels upstream from P to Q and downstream from Q to P in 4 hours. If the speed of the boat in still water is 12 km/hr and the speed of the current is 4 km/hr, then what is the distance from P to Q ?

31 (1/ 3) km | |

41( 1/ 3) km | |

21 (1 /3) km | |

11 (1/ 3) km |

Question 60 Explanation:

Speed of the boat in still water = 12 km/hr

Speed of the current = 4 km/hr

Speed of the upstream = 12 + 4 = 16 km/hr

Speed of the Downstream = 12 - 4 = 8 km/hr

Let the distance between P and Q be x

(x/16) + (x/8) = 4

x = 64 / 3

x = 21 (1⁄3)

Speed of the current = 4 km/hr

Speed of the upstream = 12 + 4 = 16 km/hr

Speed of the Downstream = 12 - 4 = 8 km/hr

Let the distance between P and Q be x

(x/16) + (x/8) = 4

x = 64 / 3

x = 21 (1⁄3)

There are 60 questions to complete.