Search This Blog

Wednesday, May 23, 2018

Computer gk 23 may

Q.1. The full form of DDL is _______?

(1) Dynamic Data Language 

(2) Detailed Data Language 

(3) Data Definition Language 

(4) Data Derivation Language 

(5) Data Dimensional Language 

Q.2. Which of the following is an advantage of a View?

(1) Data security 

(2) Derived columns 

(3) Hiding of complex queries 

(4) All of the above 

(5) None of these

Q.3. Which database level is closest to the users?

(1) External 

(2) Internal 

(3) Physical 

(4) Conceptual 

(5) None of these 

Q.4. Which are the two ways in which entities can participate in a relationship?

(1) Passive and active 

(2) Total and partial 

(3) Simple and Complex 

(4) All of the above 

(5) None of these 

Q.5. The result of the UNION operation between R1 and R2 is a relation that includes _______.

(1) All the tuples of R1 

(2) All the tuples of R2 

(3) All the tuples of R1 and R2 

(4) All the tuples of R1 and R2 which have common columns 

(5) None of these 

Q.6. Which of the following option appropriate is a comparison operator in SQL?

(1) = 

(2) LIKE 

(3) BETWEEN 

(4) All of the above 

(5) None of these 

Q.7. ________ is a process when relation between two entity is treated as a single entity.

(1) Normalization 

(2) Aggregation 

(3) Generalization 

(4) Specialization 

(5) Simplification 

Q.8. In an ER Diagram, ellipse with underlying lines is used to represent _________?

(1) attribute 

(2) Key attribute 

(3) Composite attribute 

(4) Multivalued attribute 

(5) Entity 

Q.9. _________ constraint is used to restrict actions that would destroy links between tables?

(1) Primary key 

(2) Foreign Key 

(3) Check 

(4) Not Null 

(5) Unique 

Q.10. In a table of data base, degree refers- 

(1) total numer of row 

(2) row in a table 

(3) column in a table 

(4) total number of column in a table 

(5) none of these 

ANSWERS

Q.1. (3) DDL stands for Data Definition Language.

Q.2. (4) All are advantages of view.

Q.3. (1) External database level is closest to the users.

Q.4. (2) Total and partial.

Q.5. (4) All the tuples of R1 and R2 which have common columns.

Q.6. (4) =, Like and Between are comparison operators in SQL.

Q.7. (2) Aggregation is a process when relation between two entities is treated as a single entity.

Q.8. (2) In an ER Diagram, ellipse with underlying lines is used to represent Key attribute.

Q.9. (2) Foreign Key constraint is used to restrict actions that would destroy links between tables.

Q.10. (4) Total mumber of column

Tuesday, May 22, 2018

Computer gk 22 may

1. A data dictionary is a special file that contains?

(1) the data types of all fields in all files 

(2) the names of all fields in all files 

(3) the widths of all fields in all files 

(4) All of above 

(5) None of above 

Q.2. A command that lets you change one or more fields of a record is?

(1) Insert 

(2) Modify 

(3) Look-up 

(4) All of above 

(5) None of above 

Q.3. In a large DBMS?

(1) Each user can see only a small part of the entire database 

(2) Each user can access every sub schema 

(3) Each sub schema contains every field in the logical schema 

(4) All of above 

(5) None of above 

Q.4. It is better to use files than a DBMS when there are _______ .

(1) Stringent real-time requirements 

(2) Multiple users who wish to access the data 

(3) Complex relationships among data 

(4) All of the above 

(5) None of these 

Q.5. The conceptual model is _______ .

(1) dependent on hardware 

(2) dependent on software 

(3) dependent on both hardware and software 

(4) independent of both hardware and software 

(5) None of these 

Q.6. What is a relationship called when it is maintained between two entities? 

(1) Unary 

(2) Binary 

(3) Ternary 

(4) Quaternary 

(5) 1 and 2 

Q.7. Which of the following operation is used if we are interested in only certain columns of a table?

(1) PROJECTION 

(2) SELECTION 

(3) UNION 

(4) JOIN 

(5) Intersect 

Q.8. Which of the following is a valid SQL type?

(1) CHARACTER 

(2) NUMERIC 

(3) FLOAT 

(4) DATE 

(5) All of the above 

Q.9. The RDBMS terminology for a row is _______?

(1) Tuple 

(2) Relation 

(3) Attribute 

(4) Degree 

(5) Field 

Q.10. Which of the following operations need the participating relations to be union compatible?

(1) UNION 

(2) INTERSECTION0 

(3) DIFFERENCE 

(4) All of the above 

(5) None of these 

ANSWERS

Q.1. (4) the data types of all fields in all files, the names of all fields in all files and the widths of all fields in all files

Q.2. (2) Modify

Q.3. (1) Each user can see only a small part of the entire database.

Q.4. (2) Multiple users who wish to access the data

Q.5. (4) Independent of both hardware and sofware.

Q.6. (2) Binary

Q.7. (1) Projection operation is used if we are interested in only certain columns of a table.

Q.8. (5) All are valid SQL data type.

Q.9. (1) The RDBMS terminology for a row is Tuple.

Q.10. (4) Union, Intersection and d