We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Quiz no.3 CS403 (Database Management System) Start Date: Feb 13, 2014 12:00 AM End Date: Feb 14, 2014 11:59 PM

Start Date: Feb 13, 2014 12:00 AM

End Date:   Feb 14, 2014 11:59 PM

Post your Quiz here.

 Covering video Lectures 27 to 36




+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 2229

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

Replies to This Discussion

Quiz 4  Star.. Correct it.

UPDATE command belongs to which type of Classification
DML 208
DDL
DCL
DQL


The _________ function helps reduce the need to use multiple OR conditions.
Like
IN 218
AND
Between

Which of the flowing clauses allows to sort the records in result set?
Where
Order by 219
From
Having

In SQL queries, while creating tables or relations in database, key columns may be specified by
Null
Not Null 203
Data Type
None of the above

Identify the language which is used to specify database schema.
DCL
DML
DDL 201
Non of the above

_______ Operators are the ones that require two operands on both sides of the operator.
Double
Tow 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

Which of the following is a String function in SQL
Count
LEN 221
SQRT
SIN

Revoke is a __________ Statement
Data Definition
Control Access 233
Data Manipulation
Data Description


Truncate command response time is ____ as compared to Delete command.
Select correct option:
Poor
Same
Better
worst

Which of the following syntax of the functions in SQL is used to add column values?
Select correct option:
COUNT(*)
COUNT(expression)
MAX(expression)
SUM(expression)

SQL is used for: 
Select correct option: 
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 of the following is used to filter rows according to some condition(s)? 
Select correct option: 
SELECT 
FROM 
WHERE 212
UPDATE

Which language is used to permit or prohibit access to a table? 
Select correct option: 
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. 
Select correct option: 
True 208 
FALSE

Which of the following is NOT a DDL command? 
Select correct option: 
Create DB 
Create table 
Delete 
Drop

Which of the following function falls in the category of Aggregate functions. 
Select correct option: 
SUM 
MIN 
MAX 
All of the above 222

Value of a function in SQL is always determined by the input parameters
TRUE 221
FALSE

Which of the following syntax of the functions in SQL is used to add column values?
Select correct option:
COUNT(*)
COUNT(expression)
MAX(expression)
SUM(expression) 222


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

Identify the basic part(s) of a SELECT statement?
SELECT
FROM
Both SELECT and FROM
DISTINCT

Columns used to uniquely identify individual rows of a given table, may be specified to be not NOT NULL.
True
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

The ________ operator allows to use wild cards in the where clause of an SQL statement.
Select correct option:

IN
FROM
LIKE 
None of the above.

Which of the following is not an aggregate function
Select correct option:

AVG
SUM
UPPER 
MAX 

UPDATE command belongs to which type of Classification
Select correct option:

DML
DDL
DCL
DQL

GRANT belongs to which type of SQL commands classification
Select correct option:

DML
DDL
DCL
DQL

DML does not used to :

add new rows to tables
retrieve rows from table
modify the rows of tables
alter a table definition


Which of the following SQL statements used to control access to the data and to the database?
Select correct option:

GRANT
REVOKE
Both GRANT and REVOKE
SELECT

zahra ur quiz queen 

much appreciated!!

Thanks for appreciation

Which of the following is the correct syntax for adding a new column into an existing table.
Select correct option:

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. 206
None of the above.


DML does not used to
Add new Rows to tables
Retrieve Rows from table
Modify the rows of tables
Alter table definition

The _________ function helps reduce the need to use mutiple OR conditions.
Like
IN
AND
Between

Columns used to uniquely identify individual rows of a given table, may be specified to be not NOT NULL.
TRUE
FALSE

In SQL, which command is used to delete rows from table.
Delete
Remove
Truncate
Both I and II

Which of the fllowing clauses allows to sort the records in result set?
Where
Order by
From
Having

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 used with INSERT command to insert values in a DB table?
ONTO
INTO
UPTO
WITH

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

Which of the following is not an aggregate function
AVG
SUM
UPPER
MAX

_______ Operators are the ones that require two operands on both sides of the operator.
Double
Tow 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 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.

Revoke is a __________ Statement

Data Definition

Control Access

Data Manipulation

Data Description

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

 

Which of the following is used to retrieve and insert information from database?
Select correct option:
DML
DDL
DCL
Both DML and DDL


Which of the following is used to filter rows according to some condition(s)?
Select correct option:
SELECT
FROM
WHERE
UPDATE

Which of the following is a correct way of selecting all the columns from a table called PERSONS?

Select correct option:

SELECT FROM * Persons

SELECT * FROM Persons

SELECT * WHERE Persons

SELECT WHERE * Persons

 

Which of the following statements creates a database named IMDB.

Select correct option:

CREATE DATABASE IMDB;

CREATE DB IMDB;

ADD DATABASE named IMDB;

CREATE IMDB DATABASE;

thanks zahra

RSS

Latest Activity

Profile IconHafiz Mukhtar Hussain, Saud and Sabahat Bukhari joined Virtual University of Pakistan
1 second ago
+..Amama. Baig.+ and blackeagle are now friends
1 minute ago
+ ! ! !Mahoo+++ replied to +++Amara+++++'s discussion JUMMA Post
12 minutes ago
☑ Steve replied to +++Amara+++++'s discussion JUMMA Post
32 minutes ago
☑ Steve liked +++Amara+++++'s discussion JUMMA Post
33 minutes ago
☑ Steve liked +++Amara+++++'s discussion Jumma Mubarak
33 minutes ago
☑ Steve posted a discussion
34 minutes ago
+ ! ! !Mahoo+++ replied to +++Amara+++++'s discussion Jumma Mubarak
39 minutes ago

Today Top Members 

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service