GK Study

Breaking

जून 01, 2018

Computer DBMS Question & Answer-2


Computer General knowledge for all competitive exam like ibps,ssc,mppsc,vyapam,RRB. Don't forget to follow our website to get notifications on your email



Q.1 The cost of reading and writing temporary files while evaluating a query can be reduced
by
(A) building indices (B) pipelining
(C) join ordering (D) none of the above

Ans: (B)

Q.2 A transaction is in __________ state after the final statement has been executed.
(A) partially committed (B) active
(C) committed (D) none of the above

Ans: (C)

Q.3 In multiple granularity of locks SIX lock is compatible with
(A) IX (B) IS
(C) (D) SIX

Ans: (B)

Q.4 The statement that is executed automatically by the system as a side effect of the
modification of the database is
(A) backup (B) assertion
(C) recovery (D) trigger

Ans: (D)

Q. 5 The normal form that is not necessarily dependency preserving is
(A) 2NF (B) 3NF
(C) BCNF (D) 4NF

Ans: (A)

Q.6 A functional dependency of the form x ® y is trivial if
Www.gkstudies.in
(A) Í (B) Ì x
(C) Í (D) Ì y

Ans: (A)

Q.7 The normalization was first proposed by ______________.
(A) Code (B) Codd
(C) Boyce Codd (D) Boyce

Ans: (B)

Q.8 The division operator divides a dividend A of degree m+n by a divisor relation B of
degree n and produces a result of degree
(A) m – 1 (B) m + 1
(C) m * m (D) m

Ans: (D)

Q.9 Which of the following is not a characteristic of a relational database model?
(A) Table (B) Tree like structure
(C) Complex logical relationship (D) Records

Ans: (B)

Q.10 Assume transaction A holds a shared lock R. If transaction B also requests for a shared
lock on R.
(A) It will result in a deadlock situation.
(B) It will immediately be rejected.
(C) It will immediately be granted.
(D) It will be granted as soon as it is released by A .

Ans: (C)

Q.11 In E-R Diagram total participation is represented by
(A) double lines (B) Dashed lines
(C) single line (D) Triangle

Ans: (A)

Q.12 The FD A ® B , DB ® C implies
(A) DA ® (B) ® C
(C) ® (D) DB ® A
Ans: (A)
Q.13 The graphical representation of a query is ________.
(A) B-Tree (B) graph
(C) Query Tree (D) directed graph
Www.gkstudies.in

Ans: (C)

Q.14 Union operator is a :
(A) Unary Operator (B) Ternary Operator
(C) Binary Operator (D) Not an operator

Ans: (C)

Q.15 Relations produced from an E-R model will always be
(A) First normal form. (B) Second normal form.
(C) Third normal form. (D) Fourth normal form.

Ans: (A)

Q.16 Manager salary details are hidden from the employee .This is
(A) Conceptual level data hiding.
(B) External level data hiding.
(C) Physical level data hiding.
(D) None of these.

Ans: (A)

Q.17 Which of the following is true for network structure?
(A) It is a physical representation of the data.
(B) It allows many to many relationship.
(C) It is conceptually simple.
(D) It will be the dominant database of the future.

Ans(A)

Q.18 Which two files are used during operation of the DBMS?
(A) Query languages and utilities
(B) DML and query language
(C) Data dictionary and transaction log
(D) Data dictionary and query language

Ans: (C )

Q.19 A list consists of last names, first names, addresses and pin codes. If all people in the
list have the same last name and same pin code a useful key would be
(A) the pin code
(B) the last name
(C) the compound key first name and last name
(D) Tr from next page

Ans: (C )

Q.20 In b-tree the number of keys in each node is ____ than the number of its children.
(A) one less (B) same
(C) one more (D) half
Www.gkstudies.in

Ans: (A)

Q.21 The drawback of shadow paging technique are
(A) Commit overhead (B) Data fragmentation
(C) Garbage collection (D) All of these

Ans: (D)

Q.22 Which normal form is considered adequate for normal relational database design?
(A) 2NF (B) NF
(C) 4NF (D) 3NF

Ans: (D)

Q.23 Which of the following addressing modes permits relocation without any change over
in the code?
(A) Indirect addressing (B) Indexed addressing
(C) PC relative addressing (D) Base register addressing

Ans: (B)

Q.24 In a multi-user database, if two users wish to update the same record at the same time,
they are prevented from doing so by
(A) jamming (B) password
(C) documentation (D) record lock

Ans: (D)

Q.25 The values of the attribute describes a particular_____________
(A) Entity set (B) File
(C) Entity instance (D) Organization

Ans: (C)

Q.26 Which of the following relational algebraic operations is not from set theory?
(A) Union (B) Intersection
(C) Cartesian Product (D) Select

Ans: (D)

Q.27 Which of the following ensures the atomicity of the transaction?
(A) Transaction management component of DBMS
(B) Application Programmer
(C) Concurrency control component of DBMS
(D) Recovery management component of DBMS

Ans: (A)

Q.28 If both the functional dependencies : X®Y and Y®X hold for two attributes X and Y
then the relationship between X and Y is
Www.gkstudies.in

(A) M:N (B) M:1
(C) 1:1 (D) 1:M

Ans: (C)

Q.29 What will be the number of columns and rows respectively obtained for the operation, AB,
if A B are Base union compatible and all the rows of a are common to B? Assume A
has 4 columns and 10 rows; and B has 4 columns and 1 rows
(A) 4,0 (B) 0,0
(C) 4, (D) 3,

Ans: (A)

Q.30 For correct behaviour during recovery, undo and redo operation must be
(A) Commutative (B) Associative
(C) idempotent (D) distributive

Ans: (C)

Q.31 Which of the following is not a consequence of non-normalized database?
(A) Update Anomaly (B) Insertion Anomaly
(C) Redundancy (D) Lost update problem

Ans: (D)

Q.32 Which of the following is true for relational calculus?
(A) "x(P(x))º¬($x)(¬P(x)) (B) "x(P(x))º¬($x)(P(x))
(C) "x(P(x))º($x)(¬P(x)) (D) "x(P(x))º($x)(P(x))

Ans: (A)

Q.33 The part of a database management system which ensures that the data remains in a
consistent state is
(A) authorization and integrity manager
(B) buffer manager
(C) transaction manager
(D) file manager

Ans: (C)

Q.34 Relationships among relationships can be represented in an-E-R model using
(A) Aggregation (B) Association
(C) Weak entity sets (D) Weak relationship sets

Ans: (A)

Q.35 In tuple relational calculus P1 AND P2 is equivalent to
(A) P1OR¬P2)(B) ¬(P1OR¬P2).
(C) ¬(¬P1OR P2)(D) ¬(¬P1OR ¬P2).
Www.gkstudies.in

Ans: (D)

Q.36 If a®b holds then so does
(A) ga®gb (B) a®®gb
(C) both (A) and (B) (D) None of the above

Ans: (A)

Q.37 Cascading rollback is avoided in all protocol except
(A) strict two-phase locking protocol.
(B) tree locking protocol
(C) two-phase locking protocol
(D) validation based protocol.

Ans: (D)

Q. 38 Wait-for graph is used for
(A) detecting view serializability. (B) detecting conflict serializability.
(C) deadlock prevention (D) deadlock detection

Ans: (D)

Q.39 The expression sq1(E1_q2E2is the same as
(A) E1 _q1q2E2 (B) sqE1^sqE2
(C) E1 _q1q2E2 (D) None of the above

Ans: (A)

Q.40 The clause alter table in SQL can be used to
(A) add an attribute
(B) delete an attribute
(C) alter the default values of an attribute
(D) all of the above

Ans: (D)

Q. 41 The data models defined by ANSI/SPARC architecture are
(A) Conceptual, physical and internal
(B) Conceptual, view and external
(C) Logical, physical and internal
(D) Logical, physical and view

Ans: (D)

Q.42 Whenever two independent one-to-many relationships are mixed in the same relation, a
_______ arises.
(A) Functional dependency (B) Multi-valued dependency
(C) Transitive dependency (D) Partial dependency
Www.gkstudies.in

Ans:(B)

Q.43 A table can have only one
(A) Secondary key (B) Alternate key
(C) Unique key (D) Primary key

Ans: (D)

Q.44 Dependency preservation is not guaranteed in
(A) BCNF (B) 3NF
(C) PJNF (D) DKNF

Ans: (A)

Q.45 Which is the best file organization when data is frequently added or deleted from a file?
(A) Sequential (B) Direct
(C) Index sequential (D) None of the above

Ans: (B)

Q.46 Which of the following constitutes a basic set of operations for manipulating relational
data?
(A) Predicate calculus (B) Relational calculus
(C) Relational algebra (D) SQL

Ans: (C)

Q.47 An advantage of views is
(A) Data security (B) Derived columns
(C) Hiding of complex queries (D) All of the above

Ans: (A)

Q.48 Which of the following is not a recovery technique?
(A) Deferred update (B) Immediate update
(C) Two-phase commit (D) Shadow paging

Ans: (C)

Q.49 Isolation of the transactions is ensured by
(A) Transaction management (B) Application programmer
(C) Concurrency control (D) Recovery management

Ans: (C)

Q.50 _______ operator is used to compare a value to a list of literals values that have been
specified.
(A) Like (B) COMPARE
(C) BETWEEN (D) IN

Ans: (A)


**For more information like this pleas visit our website dally and subscribe this website thank you**


जून 01, 2018

Computer GK-3

Computer General knowledge for all competitive exam like ibps,ssc,mppsc,vyapam,RRB. Don't forget to follow our website to get notifications on your email


1.      UNIVAC is
A) Universal Automatic Computer
B) Universal Array Computer
C) Unique Automatic Computer
D) Unvalued Automatic Computer


2.      The basic operations performed by a computer are
A) Arithmetic operation
B) Logical operation
C) Storage and relative
D) All the above


3.      The two major types of computer chips are
A) External memory chip B) Primary memory chip C) Microprocessor chip D) Both b and c

4.            Microprocessors as switching devices are for which generation computers
A) First Generation
B) Second Generation
C) Third Generation
D) Fourth Generation

5.            What is the main difference between a mainframe and a super computer?
A) Super computer is much larger than mainframe computers
B) Super computers are much smaller than mainframe computers C) Supercomputers are focused to execute few programs as fast as possible while mainframe uses its power to execute as many
programs concurrently
D) Supercomputers are focused to execute as many programs as possible while mainframe uses its power to execute few programs as fast as possible.

6.      ASCII and EBCDIC are the popular character coding systems.
What does EBCDIC stand for?
A) Extended Binary Coded Decimal Interchange Code
B) Extended Bit Code Decimal Interchange Code
C) Extended Bit Case Decimal Interchange Code
D) Extended Binary Case Decimal Interchange Code

7.      The brain of any computer system is
A) ALU
B) Memory
C) CPU
D) Control unit

8.      Storage capacity of magnetic disk depends on
A) tracks per inch of surface
B) bits per inch of tracks
C) disk pack in disk surface
D) All of above

9.      The two kinds of main memory are:
A) Primary and secondary B) Random and sequential C) ROM and RAM
D) All of above

10.    A storage area used to store data to a compensate for the difference in speed at which the different units can handle data is
A) Memory
B) Buffer
C) Accumulator
D) Address

11.    Computer is free from tiresome and boardroom. We call it
A) Accuracy B) Reliability C) Diligence D) Versatility

12.    Integrated Circuits (ICs) are related to which generation of computers?
A) First generation
B) Second generation
C) Third generation
D) Fourth generation

13.    CD-ROM is a
A) Semiconductor memory
B) Memory register C) Magnetic memory D) None of above

14.    A hybrid computer
A) Resembles digital computer
B) Resembles analogue computer
C) Resembles both a digital and analogue computer
D) None of the above

15.    Which type of computers uses the 8-bit code called EBCDIC?
A) Minicomputers
B) Microcomputers
C) Mainframe computers
D) Super computer

16.    The ALU of a computer responds to the commands coming from

A) Primary memory
B) Control section
C) External memory
D) Cache memory

17.    Chief component of first generation computer was
A) Transistors
B) Vacuum Tubes and Valves
C) Integrated Circuits
D) None of above

18.    To produce high quality graphics (hardcopy) in color, you would want to use a/n
A) RGB monitor
B) Plotter
C) Ink-jet printer
D) Laser printer

19.    What are the stages in the compilation process?
A) Feasibility study, system design and testing
B) Implementation and documentation
C) Lexical Analysis, syntax analysis, and code generation
D) None of the above

20.    Which of the following IC was used in third generation of computers?
A) SSI
B) MSI C) LSI
D) Both a and b

21.    The main electronic component used in first generation computers was
A) Transistors
B) Vacuum Tubes and Valves
C) Integrated Circuits
D) None of above

22.    A dumb terminal has
A) an embedded microprocessor
B) extensive memory
C) independent processing capability
D) a keyboard and screen

23.    One millisecond is
A) 1 second
B) 10th of a seconds
C) 1000th of a seconds
D) 10000th of a seconds

24.    The output quality of a printer is measured by
A) Dot per sq. inch
B) Dot per inch
C) Dots printed per unit time
D) All of the above

25.    Which of the following was a special purpose computer?
A) ABC
B) ENIAC C) EDVAC
D) All of the above

26.    What was the computer invented by Attanasoff and Clifford?
A) Mark I B) ABC
C) Z3
D) None of above

27.    Which of the following storage devices can store maximum amount of data?
A) Floppy Disk
B) Hard Disk
C) Compact Disk
D) Magneto Optic Disk

28.    Which computer was considered the first electronic computer until 1973 when court invalidated the patent?
A) ENIAC B) MARK I C) Z3
D) ABC

29.    A physical connection between the microprocessor memory and other parts of the microcomputer is known as
A) Path
B) Address bus
C) Route
D) All of the above

30.    High density double sided floppy disks could store         of data
A) 1.40 MB B) 1.44 GB C) 1.40 GB D) 1.44 MB

31.    A high quality CAD system uses the following for printing drawing and graphs
A) Dot matrix printer
B) Digital plotter
C) Line printer
D) All of the above

32.    Which of the following is not an input device?
A) OCR
B) Optical scanners
C) Voice recognition device
D) COM (Computer Output to Microfilm)

33.    The accuracy of the floating-point numbers representable in two 16-bit words of a computer is approximately
A) 16 digits B) 6 digits C) 9 digits
D) All of above

34.    In most of the IBM PCs, the CPU, the device drivers, memory, expansion slots and active components are mounted on a single board. What is the name of the board?
A) Motherboard
B) Daughterboard
C) Bredboard
D) Fatherboard

35.    In most IBM PCs, the CPU, the device drives, memory expansion slots and active components are mounted on a single board. What is the name of this board?
A) Motherboard
B) Breadboard
C) Daughter board
D) Grandmother board

36.    Magnetic disks are the most popular medium for
A) Direct access
B) Sequential access
C) Both of above
D) None of above

37.    A technique used by codes to convert an analog signal into a digital bit stream is known as
A) Pulse code modulation
B) Pulse stretcher
C) Query processing
D) Queue management

38.    Regarding a VDU, Which statement is more correct?
A) It is an output device
B) It is an input device
C) It is a peripheral device
D) It is hardware item

39.    A modern electronic computer is a machine that is meant for
A) Doing quick mathematical calculations
B) Input, storage, manipulation and outputting of data
C) Electronic data processing
D) Performing repetitive tasks accurately

40.    When was vacuum tube invented?
A) 1900
B) 1906
C) 1910
D) 1880

41.    Which of the following produces the best quality graphics reproduction?
A) Laser printer B) Ink jet printer C) Plotter
D) Dot matrix printer

42.    Computers with 80286 microprocessor is
A) XT computer B) AT computers C) PS/2 computer D) None of above

43.    An application suitable for sequential processing is
A) Processing of grades
B) Payroll processing
C) Both a and b
D) All of above

44.    Which of the following is not processing?
A) arranging
B) manipulating
C) calculating
D) gathering

45.    The digital computer was developed primarily in
A) USSR B) Japan C) USA D) UK

46.    Software in computer
A) Enhances the capabilities of the hardware machine
B) Increase the speed of central processing unit
C) Both of above
D) None of above

47.    Today’s computer giant IBM was earlier known by different name which was changes in 1924. What was that name?
A) Tabulator Machine Co.
B) Computing Tabulating Recording Co. C) The Tabulator Ltd.
D) International Computer Ltd.

48.    Before a disk drive can access any sector record, a computer program has to provide the record’s disk address. What information does this address specify?
A) Track number
B) Sector number C) Surface number D) All of above

49.    The arrangingof data in a logical sequence is calledA) Sorting
B) Classifying
C) Reproducing
D) Summarizing

50.    What is the responsibility of the logical unit in the CPU of a computer?
A) To produce result
B) To compare numbers
C) To control flow of information
D) To do math’s works


Answer of these question
1-A         2-D         3-D         4-D         5-C         6-A         7-C         8-D         9-C         10-B11-C       12-C       13-D       14-C       15-C       16-B       17-B       18-B       19-C        20-D21-B       22-D       23-C       24-B       25-A       26-B       27-B       28-A       29-B       30-D31-B       32-D       33-A       34-A       35-A       36-D       37-A      38-C       39-B       40-B41-C       42-B       43-C       44-D       45-C       46-A       47-B       48-D       49-A       50-B



**For more information like this pleas visit our website dally and subscribe this website thank you**