General Computer Knowledge

View in English View in Hindi

A Dequeue allows

A)
Insertion at only one end but deletion at both ends

B)
Insertion at both ends but deletion at one end

C)
Both (insertion at only one end but deletion at both ends) and (insertion at both ends but deletion at one end)

D)
Insertion and deletion in middle but not at either ends


Correct Answer :

Both (insertion at only one end but deletion at both ends) and (insertion at both ends but deletion at one end)

A full binary tree with n leaves contains

A)
n nodes

B)
log2n nodes

C)
2n-1 nodes

D)
2n nodes


Correct Answer :

2n-1 nodes

The complexity of Merge Sort algorithm is

A)
O(n)

B)
O(log2n)

C)
O(n2)

D)
O(nlog2n)


Correct Answer :

O(nlog2n)

The complexity of bubble sort algorithm is

A)
O(n)

B)
O(log2n)

C)
O(n2)

D)
O(nlog2n)


Correct Answer :

O(n2)

Stack data structure is used in

A)
Garbage collection

B)
Pointer manipulation

C)
Recursion

D)
None of these


Correct Answer :

Recursion

Linked lists are best suited

A)
For relatively permanent collection of data

B)
For the dynamic allocation of data

C)
For the insertion of data at one end

D)
When data accesses is done at one end


Correct Answer :

For the dynamic allocation of data

A relational database is a

A)
Set of tuples

B)
Set of nodes in tree form

C)
Set of nodes in hierarchichal form

D)
None of these


Correct Answer :

Set of tuples

E-R diagram can be transformed to

A)
Objects and classes

B)
Tables

C)
Arrays

D)
None of these


Correct Answer :

Tables

A weak entity set is a

A)
Entity set whose existence depends on another weak entity set

B)
Entity set whose existence depends on another strong entity set

C)
Entity set whose existence dependency does not matter

D)
None of these


Correct Answer :

Entity set whose existence depends on another strong entity set

In ACID properties of transactions processing, 'C' stands for

A)
Consistency

B)
Cordinality

C)
Conefirmity

D)
None of these


Correct Answer :

Consistency

Encryption is a technique

A)
To design conceptual schema

B)
To translate global data

C)
To provide privacy of data

D)
To update database


Correct Answer :

To provide privacy of data

Full form of DDL in SQL is

A)
Data directed language

B)
Data definition language

C)
Data density language

D)
To update database


Correct Answer :

Data definition language

A database can be inconsistent due to

A)
Atomicity

B)
Redundancy

C)
Efficiency

D)
All options are correct


Correct Answer :

Redundancy

SQL is developed to support

A)
Hierarchichal database

B)
Relational database

C)
Network database

D)
A simple data file


Correct Answer :

Relational database

Which of the following is the property of object oriented programming?

A)
Polymorphism

B)
Data encapsulation

C)
Operator overloading

D)
All options are correct


Correct Answer :

All options are correct

Member function of a class in C++ can be called by an object of that class using

A)
Dot operator

B)
Ternary operator

C)
Relational operator

D)
Scope resolution operator


Correct Answer :

Dot operator

What value is displayed in the following C++ example?
float fees[5] ={32.15, 45.23, 52.43, 82.15, 97.05};
cout << fees[2];

A)
0

B)
45.23

C)
52.43

D)
82.15


Correct Answer :

52.43

Reusability of code in C++ programs is justified with the following feature

A)
Information binding

B)
Data abstraction

C)
Data encapsulation

D)
Inheritance


Correct Answer :

Inheritance

Which one of the following keywords is used for memory allocation in C++?

A)
Malloc

B)
Calloc

C)
New

D)
Free


Correct Answer :

New

Which statement is true about destructor in C++?

A)
Destroy the objects when no longer requires

B)
Create and use constant objects

C)
Used in classes to display the class contents

D)
All options are correct


Correct Answer :

Destroy the objects when no longer requires

“Run time binding” is the term used in C++. Its synonym is

A)
Virtual function

B)
Instantiation

C)
Polymorphism

D)
None of these


Correct Answer :

Polymorphism

Which language is not an object oriented programming language?

A)
C++

B)
Java

C)
Small talk

D)
C


Correct Answer :

C

In C++, the operator overloading is an example of

A)
Polymorphism

B)
Inheritance

C)
Encapsulation

D)
Data hiding


Correct Answer :

Polymorphism

The reason of dividing OSI model in terms of number of layers is

A)
Ease the implementation of protocols for communication between systems

B)
Ease the browsing of internet

C)
Ease the programming storage

D)
None of these


Correct Answer :

Ease the implementation of protocols for communication between systems

First layer of OSI reference model is known as

A)
Physical layer

B)
Session layer

C)
Transport layer

D)
Network layer


Correct Answer :

Physical layer

Latest Updates

General Knowledge of MP

Under the Madhya Pradesh Ladli Laxmi Yojana, the beneficiary is paid the total amount on attaining the age of ?

Indian Politics

Who appoints the Chairman and the Members of the Union Public Service Commission?

General Knowledge of World

Which country will host the 2022 Football World Cup?

Area

The angles of a triangle are in the ratio 2 : 4 : 3. The smallest angle of the triangle is?

Which one of the following triples does not represent the sides of a triangle?

If the perimeter of a rectangle is 10 cm and the area is 4 cm2, then its length is?

Height and Distance

An aeroplane flying at a height of 300 m above the ground passes vertically above another plane at an instant when the angles of elevation of the two planes from the same point on the ground are 60º and 45º respectively. What is the height of the lower plane from the ground?

From the top of a building 90 m high, the angles of depression of the top and the bottom of a tree are 30º and 45º respectively. What is the height of the tree?

Trigonometry

What is the value of sinx √( 1 /1+cosx + 1 /1-cosx ) ?

What is cos4 A - sin4 A / cos2 A - sin2 A equal to?

If 7sin2 x +3cos2 x = 4, 0 < x < 90º ,then what is the value of tan x?

If x = a cosθ + b sinθ and y = a sinθ - b cosθ then what is x2 + y2 equal to?

Average

The mean of 5 numbers is 15. If one more number is included, the mean of the 6 numbers becomes 17. What is the included number?

The mean marks obtained by 300 students in a subject are 60. The mean of top 100 students was found to be 80 and the mean of last 100 students was found to be 50. The mean marks of the remaining 100 students are?

In an asymmetrical distribution, of the mean and median of the distribution are 270 and 220 respectively, then the mode of the data is?

Let a, b, c, d, e, f, g be consecutive even numbers and j, k, l, m, n be consecutive odd numbers. What is the average of all the numbers?

Alligation or Mixture

25 kg of alloy X is mixed with 125 kg of alloy Y. If the amount of lead and tin in the alloy X is the ratio 1 : 2 and the amount of lead and tin in the alloy Y is in the ratio 2 : 3, then what is the ratio of lead to tin in the mixture?

Simplification

The ratio of two numbers is 1 : 5 and their product is 320. What is the difference between the square of these two numbers?