251. DML commands are used for
- inserting data into databases
- creating database
- destroying databases
- creating DB objects .
252.Structural constraints of a relationship type refer
- to identifying the owner entity type relevant to a given entity type
- whether the existence of an entity depends on it being related to another entity via the relationship type.
- role that a participating entity from the entity type plays in each relationship instance
253.Identify the correct statement.
- Entity integrity constraints specify that primary key values can be composite.
- Entity integrity constraints are specified on individual relations.
- Entity integrity constraints are specified between weak entities .
- When entity integrity rules are enforced, a tuple
- in one relation that refers to another relation must refer to a n existing tuple.
254.what is the impact of setting multiple indexes for the same key, in index sequential files ?
- Multiple indexes for the same key can not be set
- It increases efficiency
- It decreases efficiency
- It will increase complexity as the access time will be increased
255. Which of the following is not true regarding Indexes ?
- Index can be defined even when there is no data in the table
- It support Range selections
- It can be created using ‘Create Index’ statement
- It can not be created on composite attributes
256.While recovering data, which of the following files does a recovery m anger examines at first?
- A system file
- Log file
- Data dictionary
- Metadata
257. The main memory of a computer system is also known as ROM
- RAM
- PROM
- Hard disk
258._______is a control that enables users to select one option from an associated list; users can also type an option.
- Combo box
- Button
- Text box
- Static area
259.______ records data by burning microscopic holes in the surface of the disk with a laser.
- Hard disk
- RAM
- Optical disk
- Floppy disk
260.Which of following is NOT generally the aim of data partitioning and placement of data?
- Reduce Workload
- Balance Workload
- Merging different relations
- Speed up rate of useful works .
261. ALTER TABLE exams
RENAME COLUMN Q_description
TO Question Description,
Student ID to Student ID.
Syntax of ALTER TABLE is NOT correct.
- True
- False
262.Which of the following is true regarding Index?
- Index can only be created for a single table in database
- Index can maximum be created for two tables in database
- Index should be created for
- every table in the database
Index can be created for every table in the database
263.Which feature of database provides conversion from inconsistent state of DB to a consistent state ensuring minimum data loss ?
- User accessible catalog
- Data processing
- Recovery service
- authorization service
264.Which of the following statements is true about the views?
- View can not be used for retrieving data
- view is always a complete set of all the tables in a database
- The results of using a view are not permanently stored in the database.
- Rows can not be updated or deleted in the view
265. Which of the following is true about TRUNCATE?
- Can be Rolled back.
- Activates Triggers .
- DML is Command.
- Resets identity of the table. l
266.Which of the following will be deleted relating to a table if you use TRUNCATE command?
- all rows in a table
- indexes
- table structure
- tables columns
- constraints
267.Which of the following is not true about relational tables?
- Column values are of the same kind.
- Each row is unique.
- Each column must have a unique name.
- The sequence of rows is significant.
268.Which of the following is not true about De -normalization?
- It is the process of attempting to optimize the performance of a database
- De-normalization is a technique to move from lower to higher normal forms of database modeling
- In de-normalization it is required to add redundant data.
- It enhances the performance of DB
269.Which of the following is the correct way to find out the size of Cartesian product incase of CROSS JOIN?
- the number of columns in the first table multiplied by the number of columns in the
- second table.
- the number of columns in the first table multiplied by the number of rows in the second table.
- the number of rows in the first table multiplied by the number of columns in the
- first table.
- the number of rows in the first table multiplied by the number of rows in the second table.
270.Which of the following is INCORRECT about VIEWS?
- It is not possible to left out the data which is not required for a specific view.
- A database view displays one or more database records on the same page.
- Views can be used as security mechanisms
- Views are generally used to focus the perception each user has of the database.
271.What is the maximum limit of keys in context with Indexed sequential files?
- 1
- 9
- 235
272 . Structural constraints of a relationship type refer to identifying the owner entity type relevant to a given entity type
- whether the existence of an entity depends on it being related to another entity via the relationship type.
- the role that a participating entity from the entity type plays
- in each relationship instance.
- constraints applicable in granting access to tables , columns and views in a database schema.
273.What is the impact of setting multiple indexes for the same key, in index sequential files
- Multiple indexes for the same key can not be set
- It increases efficiency
- It decreases efficiency
- It will increase complexity as the access time will be increased
274.Which of the given techniques is /are used to improve query performance in database?
- Good File organization
- Indexing
275. Both Indexing and Good File organization Select only one record per query While recovering data, which of the following files does a recovery manager examines at first?
- A system file
- Data dictionary
- Log file
- Metadata
276._______ is a control that users click to perform an action, set or toggle a state, or set an option.
- Button
- Text box
- Input form
- Report
277._______is a control that enables users to select one option from an associated list; users can also type an option.
- Button
- Combo box
- Text box
- Static area
278.Partitions may become unbalanced in
- Range partitioning
- Hash partitioning
- List partitioning
- Vertical partitioning
279.Only one type of constraint can be enforced in any table by CREATE command
- True
- False
280.ALTER COLUMN
- True
- False
281.which of the following is disadvantage of chaining technique to handle the collisions ?
- Unlimited Number of elements
- Fast re-hashing
- Overhead of multiple linked lists
- Maximum number of elements must be known
282 .In which of the following, Materialized Views are suitable
- Data warehousing
- Decision support
- Mobile computing
- All of the Given
283. Software package designed to store and manage databases Database
- DBMS
- Data model
- Data
284..A super key that does not contain a subset of attributes that is itself a super key is called a ____.
- candidate key
- primary key
- super key
- secondary key
285.A ____ relationship exists when an association is maintained within a single entity.
- unary
- ternary
- binary
- weak
286.Which of the following is NOT one of the ways of resolving deadlocks ?
- It is the cause of deadlock.
- A message is passed to the victim and depending on the system the transaction may or may not be
- started again automatically.
- Picking a list of all previously completed transactions and undoing all the updates.
- Rollback `victim’ transaction and restart it.
287. You can’t modify more than one table at a time through a view.
- True l
- False
288.Which of the following is one of the purposes of using DML commands ?
- Creating databases
- Destroying databases
- Inserting data in tables
- None
289.How many clustered index(es ) do each database table have?
- 3
- 5
- 1
- 5
290.Suppose there are 4 rows and 3 columns in TABLE1 and 6 rows and 5 columns in TABLE2; what is the size of the Cartesian product incase of CROSS JOIN between these two tables?
- 24
- 20
- 18
- 6
291.Which of the following is not one of the properties of Transaction?
- atomicity
- consistency
- redundancy
- durability
292.Which of the following is INCORRECT about VIEWS?
- It is not possible to left out the data which is not required for a specific view
- A database view displays one or more database records on the same page.
- Views can be used as security mechanisms
- Views are generally used to focus the perception each user has of the database.
293.Which of the following gives all the fields from employee table named as EMP?
- select * from EMP ;
- select emp* from EMP’
- select emp_id where EMP;
- select * where EMP;
295.Which of the following types of partitioning reduces the chances of unbalanced partitions ?
- vertical
- List
- Hash
- Range
- to a large extent
296.Which of the following is one of the purposes of using DDL commands ?
- inserting records into databases
- updating records into databases manipulating databases
- creating and destroying databases
297.Which of the following statements creates a database named COMPANY?
- CREATE DATABASE company
- CREATE DB company
- ADD DATABASE company
- CREATE company DATABASE
298.What is the impact of setting multiple indexes for the same key, in index sequential files ?
- Multiple indexes for the same key can not be set
- It increases efficiency
- It decreases efficiency
- It will increase complexity as the access time will be increased
300.Consider a transaction which includes following operations Z= Z + 10 Write Z
Suppose that the value of Z after addition and the execution of this operation is
Now against the write operation the entry made in the log file will be
What does Z reflects in the above entry?
- Object being updated
- Identity of the transaction
- Object value
- Identity of the next transaction to be executed