Data about data is database Select correct option: True False Partially True None of the Above

Similar documents
CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved Objective Midterm Papers For Preparation of Midterm Exam

Techno India Batanagar Computer Science and Engineering. Model Questions. Subject Name: Database Management System Subject Code: CS 601

8) A top-to-bottom relationship among the items in a database is established by a

VU Mobile Powered by S NO Group All Rights Reserved S NO Group 2013

II B.Sc(IT) [ BATCH] IV SEMESTER CORE: RELATIONAL DATABASE MANAGEMENT SYSTEM - 412A Multiple Choice Questions.

Mahathma Gandhi University

Basant Group of Institution

Solved MCQ on fundamental of DBMS. Set-1


Distributed Database Systems By Syed Bakhtawar Shah Abid Lecturer in Computer Science

Come And Join us At Worlds Top Study Site

MIDTERM EXAMINATION Spring 2010 CS403- Database Management Systems (Session - 4) Ref No: Time: 60 min Marks: 38

SQL Interview Questions

A7-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS

DATABASE MANAGEMENT SYSTEM SHORT QUESTIONS. QUESTION 1: What is database?

Review for Exam 1 CS474 (Norton)

Review -Chapter 4. Review -Chapter 5

DATABASE MANAGEMENT SYSTEM

Course Outline Faculty of Computing and Information Technology

Sql Server Syllabus. Overview

Sankalchand Patel College of Engineering, Visnagar B.E. Semester III (CE/IT) Database Management System Question Bank / Assignment

CPS510 Database System Design Primitive SYSTEM STRUCTURE

DATABASE MANAGEMENT SYSTEMS

ADVANCED DATABASES ; Spring 2015 Prof. Sang-goo Lee (11:00pm: Mon & Wed: Room ) Advanced DB Copyright by S.-g.

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

Index. Bitmap Heap Scan, 156 Bitmap Index Scan, 156. Rahul Batra 2018 R. Batra, SQL Primer,

D.K.M COLLEGE FOR WOMEN(AUTONOMOUS),VELLORE DATABASE MANAGEMENT SYSTEM QUESTION BANK

Assignment Session : July-March

THE RELATIONAL DATABASE MODEL

Database Management Systems Paper Solution

Database Management System 9

SQL Fundamentals. Chapter 3. Class 03: SQL Fundamentals 1

DC62 Database management system JUNE 2013

- Database: Shared collection of logically related data and a description of it, designed to meet the information needs of an organization.

1. Considering functional dependency, one in which removal from some attributes must affect dependency is called

The Relational Model

MaanavaN.Com DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING QUESTION BANK

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

SYED AMMAL ENGINEERING COLLEGE

Exam code: Exam name: Database Fundamentals. Version 16.0

MANAGING DATA(BASES) USING SQL (NON-PROCEDURAL SQL, X401.9)

Relational Database Systems Part 01. Karine Reis Ferreira

A database can be modeled as: + a collection of entities, + a set of relationships among entities.

CS403 - Database Management Systems Short Notes

ROEVER ENGINEERING COLLEGE

RDBMS-Day3. SQL Basic DDL statements DML statements Aggregate functions

CT13 DATABASE MANAGEMENT SYSTEMS DEC 2015

Course Logistics & Chapter 1 Introduction

S.Y.B.Sc. (CS) PAPER - III, Section - I Data Base Management Systems


RELATIONAL DATA MODEL

Relational Model: History

SYED AMMAL ENGINEERING COLLEGE

QUIZ 1 REVIEW SESSION DATABASE MANAGEMENT SYSTEMS

Chapter 1 SQL and Data

Rajiv GandhiCollegeof Engineering& Technology, Kirumampakkam.Page 1 of 10

B.C.A DATA BASE MANAGEMENT SYSTEM MODULE SPECIFICATION SHEET. Course Outline

CS2255 DATABASE MANAGEMENT SYSTEMS QUESTION BANK UNIT I

Northern India Engineering College, New Delhi Question Bank Database Management System. B. Tech. Mechanical & Automation Engineering V Semester

CS6312 DATABASE MANAGEMENT SYSTEMS LABORATORY L T P C

Transforming ER to Relational Schema

VALLIAMMAI ENGINEERING COLLEGE

Chapter 3B Objectives. Relational Set Operators. Relational Set Operators. Relational Algebra Operations

The Entity Relationship Model

Objectives of logical design... Transforming the ERD diagram into relations. Relational database components. Mapping a composite attribute

; Spring 2008 Prof. Sang-goo Lee (14:30pm: Mon & Wed: Room ) ADVANCED DATABASES

Chapter 7. Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel

INTRODUCTION TO DATABASE

CPS 510 Data Base I. There are 3 forms of database descriptions the ANSI/SPARK, 1975 and so on

Institute of Aga. Network Database LECTURER NIYAZ M. SALIH

FIT1004 Database Topic 6: Normalisation

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

SQL. Char (30) can store ram, ramji007 or 80- b

Bachelor in Information Technology (BIT) O Term-End Examination

Oracle Database 10g: Introduction to SQL

normalization are being violated o Apply the rule of Third Normal Form to resolve a violation in the model

Sample Question Paper

INDEX. 1 Basic SQL Statements. 2 Restricting and Sorting Data. 3 Single Row Functions. 4 Displaying data from multiple tables

Course Modules for MCSA: SQL Server 2016 Database Development Training & Certification Course:

Institute of Aga. Microsoft SQL Server LECTURER NIYAZ M. SALIH

CS/B.Tech/CSE/New/SEM-6/CS-601/2013 DATABASE MANAGEMENENT SYSTEM. Time Allotted : 3 Hours Full Marks : 70

Data Base Concepts. Course Guide 2

CSC Web Programming. Introduction to SQL

Database Management System. Fundamental Database Concepts

CMP-3440 Database Systems

B. V. Patel Institute of Business Management, Computer and Information Technology, Uka Tarsadia University 2014

UNIT-IV (Relational Database Language, PL/SQL)

2011 DATABASE MANAGEMENT SYSTEM

Unit I. By Prof.Sushila Aghav MIT

Relational Model History. COSC 416 NoSQL Databases. Relational Model (Review) Relation Example. Relational Model Definitions. Relational Integrity

CGS 3066: Spring 2017 SQL Reference

King Fahd University of Petroleum and Minerals

Lecture 2 SQL. Instructor: Sudeepa Roy. CompSci 516: Data Intensive Computing Systems

Database Management Systems MIT Introduction By S. Sabraz Nawaz

1. (a) Explain the Transaction management in a database. (b) Discuss the Query Processor of Database system structure. [8+8]

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 7 Introduction to Structured Query Language (SQL)

The Relational Model. Roadmap. Relational Database: Definitions. Why Study the Relational Model? Relational database: a set of relations

Deccansoft softwareservices-microsoft Silver Learing Partner. SQL Server Syllabus

ITCertMaster. Safe, simple and fast. 100% Pass guarantee! IT Certification Guaranteed, The Easy Way!

Transcription:

Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another table A field in a table that contains data that is also contained elsewhere in another table A field in a table that has the same name as a key field in another table A is used to maintain a connection between the users of the database system. mail server file server client-server none of the given Data about data is database True False Partially True None of the Above Which one of the following is NOT a characteristic of Meta data? Data about data Describes a data dictionary Self-describing Includes user data

The most widely used conceptual model is the model. implementation ER Object Oriented internal Which model operates at the lowest level of abstraction? conceptual internal external physical Which of the following describes a database system? A collection of stored operational data used by the application system of some particular enterprise A shared collection of logically related data (and a description of this data) designed to meet the information needs of an organization A collection of stored data organized in such a way that all user requirements are satisfied by the database. In general there is only one copy of each item of data although there may be controlled repetition of some data. All of the above Data inconsistency leads to a number of problems such as loss of information and incorrect results less secure data redundant data Slow database development Which of the following constraints enforces entity integrity? PRIMARY KEY FOREIGN KEY CHECK NOT NULL

A relational database system is based on the concept(s) of: A network of data records Nested tables Tables, rows and columns A tree-like structure of data Which of the following is NOT a component of a DFD? Dataflow Datastore External entities Relationship between external entities A candidate key that does not have a null value and is selected to uniquely identify all other attribute values in any given row is called a. superkey candidate key primary key secondary key Which of the following is correct regarding Dataflow diagram? Single DFD is required to represent a system Created at increasing levels of detail The dataflow must be bidirectional Used to represent the relationships among the external entities Data about data is metadata True False Data Redundancy Means Security of data Duplication of data

Management of data Recovery of data Controlling redundancy in a database management system DOES NOT help to avoid duplication avoid unnecessary wastage of storage space avoid unauthorized access to data avoid inconsistency among data In an ERD, the focus is on the and the relationships between them. attributes entities keys indexes User rights information is stored in Physical database Catalog Logical database Buffer Which of the following might be represented with a multivalued attribute? person's name class location bank account balance book title (Not Confirm) A relational database is one that consists of two or more tables a database that is able to process tables, queries, forms, reports and macros one that consists of two or more tables that are joined in some way the same as a flat file database

Which of the following is INCORRECT statement concerning the database design process? During requirements collection and analysis phase, one can gather the data requirements of database users. By referring to a high level data model, it is possible to understand the data requirements of the users, entity types, relationships and constraints. Transformation of the high level data model into the implementation data model is called logical design or data model mapping. During the logical design phase of internal storage structures, access paths and file organization for the database files are specified. 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 Which levels are mostly used for Detailed DFD? Level-0, Level-1 Level-1, Level-2 Level-2, Level-3 Level-3, Level-4 A primary key is an attribute (or set of attributes) that has been chosen for an entity, whose values are used to uniquely identify a particular instance of an entity. True or false? True False Partially True None of the given Who is responsible for authorizing access to the database, for coordinating and monitoring its use? Database Designer Database Administrator End User Application Programmer

Incase of Context-level Diagram, the system is represented by One process atleast Two processes atleast One process only Any number of processes The Entity Relation Model models Entities, Relationships and Processes Entities and Relationships Relationships Entities An instance is A particular occurrence of an entity A special type of relation An attribute of an entity Any particular entity Software packages designed to store and manage databases Database DBMS Data model Data A table can be logically connected to another table by defining a. hyperlink common attribute primary key superkey A collection of concepts that can be used to describe the structure of a database Database DBMS Data model Data

The main software package that supports a database management approach is called Data Dictionary Report Generator Database Management System Distributed database The ER model is meant to select correct option: replace relational design be close to a user s perception of the data enable low level descriptions of data enable detailed descriptions of data query processing A description on a particular collection of data using the given data model Database Relation Schema None Which of the following functions are NOT performed by a database administrator? Planning, designing and implementing database systems Establishing standards and procedures for database systems Communicating with database users Allocation of storage locations and data structures Level of data at which entities or objects exist in reality is called Real world data Schema for real world data Meta data Data about data An entity type is defined when the database is actually constructed a specific type such as an integer, text, date, logical etc a coherent set of similar objects that we want to store data on (e.g. STUDENT, COURSE,

CAR) defined by the database designer In a three-level DBMS architecture, the level interacts directly with the users. external conceptual internal physical Revoke is a Statement Data Definition Control Access Data Manipulation Data Description Which of the following is not true regarding clustering? It increases the efficiency since related records are placed close to each other. Clustering makes records, difficult to access Suitable to relatively static situations It is a process, which means to place record from different tables to places in adjacent physical locations. DML does not used to : add new rows to tables retrieve rows from table modify the rows of tables alter a table definition The operator allows to use wild cards in the where clause of an SQL statement. IN FROM

LIKE None of the above. Identify the basic part(s) of a SELECT statement? SELECT FROM Both SELECT and FROM DISTINCT What happens if the WHERE clause is omitted from a DELETE statement? All records from the table are deleted No record from the table will be deleted First record of the table will be deleted The statement will not be executed and will give a syntax error Truncate is an alternative of Delete command. True False Which of the following function falls in the category of Aggregate functions. SUM MIN MAX All of the above Quiz No. 03 ---Lecture 25 to Lecture 32 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 Which of the following is incorrect about alter table statement?

Cannot be used to modify type or size of an existing column Can be used to delete a column Can not be used to create a new table Can be used to add column in the existing table Which of the following is used to retrieve and insert information from database? DML DDL DCL Both DML and DDL Which of the following is used with INSERT command to insert values in a DB table? ONTO INTO UPTO WITH In SQL, which command is used to modify the rows of tables. Update Insert Browse Append Columns used to uniquely identify individual rows of a given table, may be specified to be not NOT NULL. True (not sure) False Objective of an order by clause is to display or arrange output of a select statement in a particular order. True False Which of the following is not a part of an INSERT statement? INTO VALUE INSERT Modify

Which of the following is not an aggregate function AVG SUM UPPER MAX UPDATE command belongs to which type of Classification DML DDL DCL DQL GRANT belongs to which type of SQL commands classification DML DDL DCL DQL Which of the following SQL statements used to control access to the data and to the database? GRANT REVOKE Both GRANT and REVOKE SELECT Which of the following is the correct syntax for adding a new column into an existing table. ALTER TABLE table_name { ALTER [COLUMN] column type [(size)] [DEFAULT default] } ALTER TABLE table_name { ADD [COLUMN] column type [(size)] [DEFAULT default] } Both I and II. None of the above. The function helps reduce the need to use multiple OR conditions. Like IN

AND Between In SQL, which command is used to delete rows from table. Delete Remove Truncate Both I and II Which of the following clauses allows sorting the records in result set? Where Order by From Having In SQL queries, while creating tables or relations in database, key columns may be specified by Bull Not Null Data Type None of the above Operators are the ones that require two operands on both sides of the operator. Double Two Sided Binary None of the given options What happened if the Where clause is omitted from a Delete Statement? All record from the table are deleted No record from the tables will be deleted First record of the tables will be deleted The statement will not be executed and will give a syntax error Grant belong to which types of SQL command classification DML DDL DCL DQL

Update command belong to which type of classification DML DDL DCL DQL Which of the following is a String function in SQL Count LEN SQRT SIN GRANT is a command. DDL DML DCL None of the above Consider a table named emp having fields Empname, EmpID, Age, salary. Which of the following is true if the following SQL statement tries to execute? SELECT * FROM emp WHERE Empname= ALI ORDERBY Age; The statement has a syntax error The statement displays the entire fields from emp in which the Empname is ALI in any order The statement displays the entire fields from emp in which the Empname is ALI in descending order of their age The statement displays the entire fields from emp in which the Empname is ALI in ascending order of their age Truncate command response time is as compared to Delete command. Poor Same

Better worst Which of the following syntax of the functions in SQL is used to add column values? COUNT(*) COUNT(expression) MAX(expression) SUM(expression) Not Sure Which of the following is used to filter rows according to some condition(s)? SELECT FROM WHERE UPDATE Which of the following is a correct way of selecting all the columns from a table called PERSONS? SELECT FROM * Persons SELECT * FROM Persons SELECT * WHERE Persons SELECT WHERE * Persons Which of the following statements creates a database named IMDB. CREATE DATABASE IMDB; CREATE DB IMDB; ADD DATABASE named IMDB; CREATE IMDB DATABASE; CREATE TABLE and CREATE index belongs to which type of SQL commands DML DDL not sure DCL DQL

The condition allows to retrieve values within a specific range. AND LIKE BETWEEN FROM SQL is used for: Creating, managing and deleting tables and manage the relationships among the stored date. Generating queries, organizing, managing and retrieving data stored in a database. Maintaining data integrity and coordinate data sharing. All of the above Which language is used to permit or prohibit access to a table? DCL DDL DML All of the above. Data Manipulation Language (DML) is the set of commands used to maintain and query a database including updating, inserting, modifying and retrieving data. True False Which of the following is NOT a DDL command? Create DB Create table Delete Drop

SQL stands for. I - Structured Query Language II Standard Query Language lll- Status Query Language Only I Only II Both I and II Only lll Making a change to the conceptual schema of a database but not affecting the existing external schemas is an example of Physical data independence. Concurrency control. Logical data independence. Functional dependency SQL data types do not have support for storing multi-media objects directly. True False Query Analyzer is used to practice SQL in MS-Access and MS-SQL Server. True False Identify the language which is used to specify database schema. DCL DML DDL None of the above Value of a function in SQL is always determined by the input parameters True False

Which of the following clauses allows to sort the records in result set? Where Order by From Having Which of the following cannot be included into CREATE TABLE statement? Data types Constraints Attributes Cardinalities Which of the following describes the job of a database administrator? Development, implementation operation of the physical database Creation of the system catalog Monitoring and controlling database security and authorization: Setting up controls to ensure the quality and integrity of data All of the above What does the abbreviation DBMS stand for? Database Manipulation Software. Data Borrowing and Movement Software Digital Base Mapping System. Database Management System. The keyword is used in SELECT statement to return different values.

LIKE IN DISTINCT WHERE DML stands for. Dynamic Modeling Language Data Manipulation Language Data Management Language Domain Modeling Language Functions in SQL return a single value True False CS403 Database Management Systems Online Quiz No. 02 Which of the following is a feature of CHECK constraint? limit the values that can be placed in a column. used to enforce referential integrity. enforces the uniqueness of the values in a set of columns. is a unique identifier for a row within a database table. The check constraint checks the values for any particular attribute. In this way different types of constraints can be enforced in any table by CREATE command. In One to Many cardinality one instance of a relation is mapped with many instances of second entity type One instance of second entity type Primary key of 2 relations none of above

in one to one relationship one instance of first entity can be mapped with two instances of second entity true false in many to many relationship one instance of first entity can be mapped with many instances of second entity true false Which of the following constraints enforces entity integrity? PRIMARY KEY (Correct) FOREIGN KEY CHECK NOT NULL Binary relationships are those, which are established between One entity type Two entity type (Correct) Three entity type Unlimited entities Unary Operation involve one Operation only Only two operations More than two relations No more than five relations Which of the following might be represented with a multivalued attribute? person's name class location

bank account balance book title Which of the following might be represented with a single-valued attribute Person s phone number Car s color Employee s educational background computer's processor speed 8- In an ERD, the focus is on the and the relationships between them. attributes entities keys indexes Equi-join is similar to with a slight difference. Natural Join Semi join Outer join Theta join is same as Equi-Join with a slight difference. Natural Join Semi Join Outer Join Theta Join Description on a particular collection of data using the given data model

Database Relation Schema None A candidate key that does not have a null value and is selected to uniquely identify all other attribute values in any given row is called a. superkey candidate key primary key secondary key The database management system (DBMS) is used to Store the data Access the data Manage its users All of above Which model operates at the lowest level of abstraction? conceptual internal external physical A Foreign Key is A field in a table that matches a key field in another table A field in a table that contains data that is also contained elsewhere in another table

A field in a table that has the same name as a key field in another table A field in a table that has the same name as a key field in another table Each table must have a key. primary secondary logical foreign A software package designed to store and manage databases Database DBMS Data model Data A entity has a primary key that is partially or totally derived from the parent entity in the relationship. Strong Weak Business Relationship In ERD, the focus is on the and the relationships between them. Attributes Entities Keys Indexes Select and project are the examples of Unary operations Binary operations Ternary operations All of the above Atomicity is a feature of. 1NF 2NF 3NF

BCNF If A B and A C then A BC the inference Rules applies is: Union Decomposition Augmentation Reflexivity Relational Calculus is a relational data manipulation language. Procedural, Informal Non-Procedural, Informal Procedural, Formal Non-Procedural, Formal A third Normal Form (3 NF) relation should be in 2 NF not have complete key not be 1 NF should not have non-key attributes depend on key attribute General reasoning for horizontal or vertical partitioning is. Increasing the consistency Decreasing the query response time Smaller tables are more efficient to process as compared to the larger tables. All of the above The process of normalization is automatic using a computer program requires one to understand dependency between attributes is manual and requires semantic information is finding the key of a relation Given the following relation it is not 3 NF because Student (roll no, name, course no,

course max. marks, year of study, address), where roll no is PK it is not in 2 NF it does not have composite key non-key attributes course no and course max. marks are functionally dependent it has more than 3 non-key attributes A relation is said to be in 2 NF if (i) it is in 1 NF (ii) non-key attributes dependent on key attribute (iii) non-key attributes are independent of one another (iv) if it has a composite key, no non-key attribute should be dependent on part of the composite key i, ii, iii i and ii i, ii, iv i, iv Attributes are (i) properties of relationship (ii) attributed to entities (iii) properties of members of an entity set i i and ii i and iii iii In vertical partitioning if we divide a table into two vertical partitions then efficiency of those applications will be reduced which used to. Access data from both the vertical partitions. Access data from first vertical partition. Access data from second vertical partition None of the above. The entity relationship diagram is used to graphically represent the database model. condensed physical logical conceptual