General Computer Knowledge - in Hindi

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

Pipes and Cistern

Two pipes A and B can fill a tank in 6 hours and 4 hours respectively. If they are opened on alternate hours and if pipe A s opened first, in how many hours, the tank shall be full?

A large tanker can be filled by two pipes A and B in 60 min and 40 min respectively. How many minutes will it take to fill the tanker from empty state if B is used for first half of the time, and A and B fill it together for the other half?

A tank is filled by 3 pipes with uniform flow. The first two pipes operating simultaneously fill the tank in the same time during which the tank is filled by the third pipe alone. The 2nd pipe fills the tank 5 hours faster than first pipe and 4 hours slower than third pipe. The time required by first pipe is?

Two pipes A and B together can fill a cistern in 4 hours. Had they been opened separately, then B would have taken 6 hours more than A to fill the cistern. How much time will be taken by A to fill the cistern separately?

Two pipes A and B can fill a tank in 24 min and 32 min respectively. If both the pipes are opened simultaneously, after how much time B should be closed so that the tank is full in 18 min?

Two pipes A and B can fill a tank in 36 min and 45 min respectively. A water pipe C can empty the tank in 30 min. First A and B are opened. after 7 min, C is also opened. In how much time, the tank is full?

Two pipes can fill a cistern in 14 hours and 16 hours respectively. The pipes are opened simultaneously and it is found that due to leakage in the bottom it took 32 min more to fill the cistern. When the cistern is full, in what time will the leak empty it?

Bucket P has thrice the capacity as Bucket Q. It takes 60 turns for Bucket P to fill the empty drum. How many turns it will take for both the buckets P and Q, having each turn together to fill the empty drum?

Probability

In a class , 30 % of the students offered English, 20 % offered Hindi and 10 % offered Both.If a student is offered at random, what is the probability that he has offered English or Hindi?

In a lottery ,there are 10 prizes and 25 blanks.A lottery is drawn at random. what is the probability of getting a prize ?

Two dice are thrown simultaneously .what is the probability of getting two numbers whose product is even?

Two diced are tossed the probability that the total score is a prime number?

Two cards are drawn at random from a pack of 52 cards What is the probability that either both are black or both are queens?

Two dice are thrown together .What is the probability that the sum of the number on the two faces is divisible by 4 or 6?

A bag contains 6 white and 4 black balls .Two balls are drawn at random .Find the probability that they are of the same colour?

In a simultaneous throw of a pair of dice,find the probability of getting a total more than 7?

An unbiased die is tossed.Find the probability of getting a multiple of 3?

Problems on Ages

My brother is 3 years elder to me. My father was 28 years of age when my sister was born while my mother was 26 years of age when i was born. If my sister was 4 years of age when my brother was born,then what was the age my father and mother respectively when my brother was born?

Latest Job Notifications

Banking Jobs

बैंकिंग कार्मिक चयन संस्थान Institute of Banking Personnel Selection(IBPS) - 7855 पद - 29/07/2022 अंतिम तिथि

SSC Recruitment

कर्मचारी चयन आयोग (एसएससी) Staff Selection Commission (SSC) - 1411 पद - 29/07/2022 अंतिम तिथि

Jobs in Rajasthan

राजस्थान अधीनस्थ और मंत्रिस्तरीय सेवा चयन बोर्ड Rajasthan Subordinate and Ministerial Services Selection Board (RSMSSB) - 5546 पद - 22-Jul-2022 अंतिम तिथि

Railway Recruitment

उत्तर मध्य रेलवे भर्ती प्रकोष्ठ Railway Recruitment Cell(NCR) - 1659 पद - 01/08/2022 अंतिम तिथि

Jobs in West Bengal

इंडियन पोस्ट सर्विस Indian Post Service - 2357 पद - 19/08/2021 अंतिम तिथि - पश्चिम बंगाल पोस्टल सर्कल

Banking Jobs

भारतीय स्टेट बैंक State Bank of India(SBI) - 6100 पद - 26/07/2021 अंतिम तिथि - CRPD/APPR/2021-22/10

SSC Recruitment

कर्मचारी चयन आयोग Staff Selection Commission(SSC) - 25271 पद - 31/08/2021 अंतिम तिथि

Jobs in Madhya Pradesh

राष्ट्रीय स्वास्थ्य मिशन मध्य प्रदेश National Health Mission MP(NRHM) - 5215 पद - 22/06/2021 अंतिम तिथि

Jobs in Punjab

पंजाब स्टेट पावर कॉर्पोरेशन लिमिटेड Punjab State Power Corporation Limited (PSPCL) - 2632 पद - 20/06/2021 अंतिम तिथि

Jobs in Chhattisgarh

स्वास्थ्य सेवा निदेशालय, छत्तीसगढ़ Department of Health & Family Welfare, Chhattisgarh - 267 पद - 26/06/2021 अंतिम तिथि