Home /PU — University of the Punjab /database

database BE 5 Semester/Term PU — University of the Punjab 2019

database BE 5 Semester/Term PU — University of the Punjab 2019 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Saqlain Abbas· 2 hours ago

    ADP sociology 4 semester social statistics 1 past paper 2025

    0 replies Reply →
  • Guest· 1 day ago

    2025 ka past paper dy

    0 replies Reply →
  • Danish Yasin· 2 days ago

    ICT 1st sister paper

    1 reply Reply →
  • Bushra· 4 days ago

    BS Islamic Studies, 5th semester, ISL-511 Translation of Holy Quran (3) — Government College University Faisalabad (GCU…

    0 replies Reply →
  • Khadija· 5 days ago

    Civics course code GCCE101

    1 reply Reply →
Ad

Paper text

UNIVERSITY OF THE PUNJAB

Fifth Semester - 2019

Examination: B.S. 4 Years Program

Roll No. in Fig.

Roll No. in Words.

PAPER: Database Systems (CMP)

Course Code: IT-304 Part-I (Compulsory)

MAX. TIME: 15 Min

MAX. MARKS: 10

Signature of Supdt.:

Attempt this Paper on this Question Sheet only.

Please encircle the correct option. Division of marks is given in front of each question.

This Paper will be collected back after expiry of time limit mentioned above.

A relational database consists of a collection of

a) Tables

b) Fields

c) Records

d) Keys

11.

For each attribute of a relation, there is a set of permitted values, called the

of that

attribute.

a) Domain

b) Relation

c) Set

d) Schema

iii.

By default sql server has

isolation level

a) READ COMMITTED

b) READ UNCOMMITTED

c) SERIALIZABLE

d) REPEATABLE READ

iv.

The deadlock state can be changed back to stable state by using

statement.

a) Commit

b) Rollback

c) Savepoint

d) Deadlock

V.

An attribute is a

in a relation.

a) Row

b) Column

vi.

Which command is used to create a new relation in SQL

a) create table

b) create relation

c) Value

c) new table

d) Tuple

d) new relation

vii.

What does this query do?

select distinct dept_name from institute;

a) It gives all the tuples having a distinct dept name

b) It gives the dept_name attribute values of all tuples without repetition

c) It gives all the dept_name attribute of all the tuples

d) It gives all the tuples having a null value under the dept_name attribute

vili.

Course(course id,sec_id,semester)

Here the course id,sec id and semester are

and course is a

a) Relations, Attribute

b) Attributes, Relation

c) Tuple, Relation

d) Tuple, Attributes

iX.

Foreign key is the one in which the

of one relation is referenced in another relation.

a) Foreign key

b) Primary key

c) References

d) Check constraint

x. The attribute AGE is calculated from DATE_OF_BIRTH. The attribute AGE is

a) Single valued

b) Multi valued

c) Composite

d) Derived