NPTEL Data Base Management System Assignment Answers
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 3 NPTEL Data Base Management System](https://gecmunger.in/wp-content/uploads/2023/07/NPTEL-Data-Base-Management-System-1024x576.png)
NPTEL Data Base Management System Week 8 Assignment Answers 2023
1.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 4 w8q1](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q1.jpg)
Answer :- d
2.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 5 w8q2](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q2.jpg)
Answer :- b
3.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 6 w8q3](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q3.jpg)
Answer :- b, c
4.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 7 w8q4](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q4.jpg)
Answer :- c
5.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 8 w8q5](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q5.jpg)
Answer :- d
6.
Answer :- d
7.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 10 w8q7](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q7.jpg)
Answer :- c
8.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 11 w8q8](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q8.jpg)
Answer :- a, d
9.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 12 w8q9](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q9.jpg)
Answer :- c
10.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 13 w8q10](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w8q10.jpg)
Answer :- a, b
Course Name | Data Base Management System |
Category | NPTEL Assignment Answer |
Home | Click Here |
Join Us on Telegram | Click Here |
NPTEL Data Base Management System Week 7 Assignment Answers 2023
1.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 14 w7q1](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q1.jpg)
Answer :- b
2.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 15 w7q2](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q2.jpg)
Answer :- b
3.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 16 w7q3 N](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q3-N.jpg)
Answer :- b
4.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 17 w7q4](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q4.jpg)
Answer :- d
5.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 18 w7q5](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q5.jpg)
Answer :- a, d
6.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 19 w7q6 NN](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q6-NN.jpg)
Answer :- d
7.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 20 w7q7](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q7.jpg)
Answer :- a, c
8.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 21 w7q8](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q8.jpg)
Answer :- c
9.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 22 w7q9](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q9.jpg)
Answer :- b
10.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 23 w7q10](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w7q10.jpg)
Answer :- b
Course Name | Data Base Management System |
Category | NPTEL Assignment Answer |
Home | Click Here |
Join Us on Telegram | Click Here |
NPTEL Data Base Management System Week 6 Assignment Answers 2023
Q1.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 24 image 4](https://gecmunger.in/wp-content/uploads/2023/09/image-4.png)
Answer:- b
Q2.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 25 image 5](https://gecmunger.in/wp-content/uploads/2023/09/image-5.png)
Answer:- d
Q3.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 26 image 6](https://gecmunger.in/wp-content/uploads/2023/09/image-6.png)
Answer:- c
Q4.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 27 image 7](https://gecmunger.in/wp-content/uploads/2023/09/image-7.png)
Answer:- c
Q5. A 2-3-4-tree, can store a maximum 4095 number of keys. What will be the minimum height of the tree? The height of the root node is assumed to be zero.
a) 4
b) 5
c) 6
d) 10
Answer:- b
Q6.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 28 image 8](https://gecmunger.in/wp-content/uploads/2023/09/image-8.png)
Answer:- c
Q7.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 29 image 9](https://gecmunger.in/wp-content/uploads/2023/09/image-9.png)
Answer:- a
Q8. Suppose a database management system uses dense indexing. Suppose that 128 blocks are required to store a database file and its index file. How many records does the database file contain? Given that one memory block of the disk can store either 48 key pointers or 16 whole
records.
a) 1024
b) 1536
c) 2048
d) 4096
Answer:- b
Q9.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 30 image 10](https://gecmunger.in/wp-content/uploads/2023/09/image-10.png)
Answer:- d
Q10.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 31 image 11](https://gecmunger.in/wp-content/uploads/2023/09/image-11.png)
Answer:- a
NPTEL Data Base Management System Week 5 Assignment Answers 2023
Q1. Identify the incorrect statement (s) about the 3-tier application architecture from the following.
a) The Controller Layer acts as the middle layer between the front and the database.
b) The Presentation Layer acts as the user interface between users and the database.
c) The Business Logic Layer acts as the middle layer between the front-end and the database.
d) The Data Access Layer acts as the backend of the application.
Answer:- a
Q2. Caching is used to improve web server performance. Which of the following sentences is not true about caching?
a) Caching is used on the server side for JDBC connection pooling.
b) Caching is used to increase the amount of data that needs to be sent over the network.
c) Web proxy caching is used to store copies of frequently accessed Web objects.
d) Caching is used on the server side for generated HTML.
Answer:- b
Q3. A Redundant Arrays of Independent Disk (RAID) system has 8 disks and it uses block level striping to improve reliability. If we have to store a 16 KB file in it and the size of a disk block is 512 bytes. In which disk, the last file block will be stored?
a) Disk 8
b) Disk 7
c) Disk 1
d) Disk 0
Answer:- a
Q4. Which of the two alternatives would you choose if you need to support real-time queries that must be answered within a guaranteed short period of time?
a) Magnetic Hard Disk
b) Solid State Drive
c) Redundant Arrays of Independent Disks
d) Digital Video Disk
Answer:- b, c
Q5. If a system contains 1,000 disk drives, and each of them has a 6,00,000-hour MTBF (Mean
time between failure), how often a single drive failure will occur in that disk system?
a) 25000 hours
b) 14400 hours
c) 600 hours
d) 25 hours
Answer:- c
Q6. Suppose you have a 64-gigabyte disk pack with the following specifications: 32 double-sided platters, 1024 tracks per surface, and 512 sectors per track. What is the data size of one sector?
a) 64 Kilobyte
b) 32 Kilobyte
c) 4 Kilobyte
d) 2 Kilobyte
Answer:- d
Q7. Consider the following string of reference:
33, 25, 81, 42, 33, 25, 50, 33, 25, 81, 42, 50
Find the number of replacements (where an existing value is replaced by a new value because the buffer is full) incurred using the least recently used (LRU) buffer replacement algorithm with 3 empty buffer frames.
a) 7
b) 8
c) 10
d) 12
Answer:- a
Q8.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 32 image 52](https://gecmunger.in/wp-content/uploads/2023/08/image-52.png)
Answer:- d
Q9.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 33 image 53](https://gecmunger.in/wp-content/uploads/2023/08/image-53.png)
Answer:- b
Q10.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 34 image 54](https://gecmunger.in/wp-content/uploads/2023/08/image-54.png)
Answer:- a, b
NPTEL Data Base Management System Week 4 Assignment Answers 2023
1. Consider the relational schema OfficeList (Sector, Company, Building, Floor, Employees)with the following Functional Dependency set:
{Sector, Company} -> Building, Floor}
{Company, Building} – {Employees, Sector}
Building > Floor
Which attribute is present in all the composite candidate kevs of OfficeList?
a) Sector
b) Company
c) Building
d) Floor
Answer :- b
2. Consider the relational schema:
DeviceLogs (Device, OperatingSystem, Logins, DateOfRecord, DeviceLocation) with the
following Functional Dependency set:
{Device, OperatingSystem} -› DeviceLocation
{Logins, Date0fRecord] – OperatingSystem
DeviceLocation -› DateOfRecord
If X is the number of candidate keys of DeviceLogs and Y is its highest Normal Form, find the values of X and Y.
a) X=1, Y=2
b) X=2, Y=1
c) X=3, Y=3
d) X=2, Y=3
Answer :- c
3. Consider the relational schema DataLabelling (DataSetName, DataFeature1, DataFeature2, Label, Confidence, Annotators) with the following Functional Dependency set:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 35 w4q3](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w4q3.jpg)
Answer :- b, c
4. Consider the relational schema LuckyDraw (Box, Item, Price, Picked, WinningPrize). Which of the following set of functional dependencies should be chosen so that LuckyDraw can be in 2NF but not in 3NF?
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 36 w4q4](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w4q4.jpg)
Answer :- a
5. Consider the relational schema Tournament (Champion, Category, Participants, Judges, Day) with the following Functional Dependency set F.
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 37 w4q5](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w4q5.jpg)
Answer :- c
6. Consider the relational schema Gallery (GallerySection, ArtistID, ArtID, Sold, Theme) with the following Functional Dependency set:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 38 w4q6](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w4q6.jpg)
Answer :- b
7. Consider the relational schema Gallery (GallerySection, ArtistID, ArtID, Sold, Theme) with the following Functional Dependency sets:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 39 w4q7](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w4q7.jpg)
Answer :- c
8. Consider the relational schema Gallery (GallerySection, ArtistID, ArtID, Sold, Theme) with the following Functional Dependency set:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 40 w4q8](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w4q8.jpg)
Answer :- b
9. In a relation FurnitureStore (FurnitureNo, FurnitureType, Price, Width, Height, Weight, DeliveryCharge), FurnitureNo identifies FurnitureType and Price. Also, FurnitureType, Width, Height and Weight combined determines the DeliveryCharge. Width and Height of the furniture are dependent on FurnitureNo and Weight together. Which of the following are the non-prime attributes of FurnitureStore?
a) FurnitureNo
b) Height
c) Weight
d) DeliveryCharge
Answer :- b, d
10. In a relation FurnitureStore (FurnitureNo, FurnitureType, Price, Width, Height, Weig DeliveryCharge), FurnitureNo identifies FurnitureType and Price. Also, FurnitureType, Width, Height and Weight combined determines the DeliveryCharge. Width and Height of the furniture are dependent on FurnitureNo and Weight together. The highest normal form of FurnitureStore is n. If the highest normal form of the relation has to be increased to n+1, which of the following changes should be made in its current functional dependency set?
a) FurnitureNo and Weight together, should identify FurnitureType and Price
b) Only Width, Height and Weight should identify the DeliveryCharge
c) Only FurnitureType, Height and Weight should identify the DeliveryCharge
d) Only Weight should identify the Width and Height
Answer :- a
Course Name | Data Base Management System |
Category | NPTEL Assignment Answer |
Home | Click Here |
Join Us on Telegram | Click Here |
NPTEL Data Base Management System Week 3 Assignment Answers 2023
1. Consider the relation Payments as follows:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 41 image 17](https://gecmunger.in/wp-content/uploads/2023/08/image-17.png)
a) UPI
b) Cash
c) NEFT
d) Card
Answer :- a
2. Consider the relation Payments as follows:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 42 image 18](https://gecmunger.in/wp-content/uploads/2023/08/image-18.png)
Which of the TransactionIDs will NOT be present in the output of R1-R2?
a) 42
b) 15
c) 14
d) 4
Answer :- b
3. Consider the relation Content (Channel, VideoTitle, Likes, Dislikes).
Choose the correct Tuple Relational Calculus that represents the following statement:
“Display the titles of those videos that are published on You Tube Channels and have more than 50,000 likes.”
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 43 image 19](https://gecmunger.in/wp-content/uploads/2023/08/image-19.png)
Answer :- c
4. Consider the relation Content (Channel, VideoTitle, Likes, Dislikes).
Choose the correct Domain Relational Calculus that is equivalent to the following SQL Query:
SELECT Channel, VideoTitle FROM Content
WHERE Dislikes<100;
a) {< c,v > |31, d(< c,v, 1,d >€ Content ^ d < 100)}
b) {c,v|3c,v, 1, d(< c,v, 1, d >€ Content ^ Dislikes < 100)}
c) {< c,v > 3c,v,1,d € Content ^ d < 100}
d) {c,v|3 < 1, >€ Content ^ Dislikes < 100}
Answer :- a
5. A C program, with embedded SQL query, allows the users to enter a date and an amount to check the transactions that were made on that day. The entered date is stored in the variable Idate and the amount in variable amt. The SQL query returns the TransactionID and Amount of those payments from Payments (Mode, TransactionID, PaymentDate, Amount) whose PaymentDate match with the user’s entered date and the Amount is more than the entered amount. Which of the following SQL queries is correct for the purpose?
a) EXEC SQL
DECLARE c CURSOR FOR
SELECT TransactionID, Amount
FROM Payments
WHERE PaymentDate= :Tdate AND Amount>: amt
END EXEC
b) EXEC SOL
DECLARE c CURSOR FOR
SELECT *
FROM Payments
WHERE PaymentDate= Tdate AND Amount>amt
END EXEC
c) EXEC SOL
DECLARE c CURSOR FOR
SELECT *
FROM Payments
WHERE Tdate=PaymentDate AND amt>Amount
d) EXEC SQL
DECLARE c CURSOR FOR
SELECT TransactionID, Amount
FROM Payments
WHERE : PaymentDate= :Tdate AND : Amount>: amt
END EXEC
Answer :- a
6. A cloth factory maintains a schema of manufactured Clothes where each clothing item is identified by a tag. The clothes are also associated with corresponding sizes and materials. However, each cloth can be designed by multiple designers. Which of the following schema correctly represents the Clothes entity set?
a) Clothes (Tag, Size, Material, Designer)
b) Clothes (Tag, Size, Material), Clothes_Designer (Tag, Designer)
c) Clothes (Tag, Size, Material), Clothes_Designer (Tag, Designer)
d) Clothes (Tag, Size, Material), Clothes Designer (Tag, Designer)
Answer :- d
7. Consider the three relational schemas:
Stories (Title, Author, Pages, StoryCount)
Books (Title, Author, Pages)
Educational (Title, Author, Pages, Subject)
Which of the Entity Relationship diagrams correspond to the given schemas?
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 44 w3q7 N](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w3q7-N.jpg)
Answer :- c
8. Consider the Entity Relationship Diagram:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 45 image 20](https://gecmunger.in/wp-content/uploads/2023/08/image-20.png)
Which of the following is/are true?
a) The participation of Organizer in Org.Conf is partial.
b) The participation of Conference in Org-Conf is partial.
c) Presenter is a composite attribute of Presentation.
d) Presenter is a multivalued attribute of Presentation.
Answer :- b, d
9. Consider the entity relationship diagram.
Answer :- b
10. Consider the following instance of organizer.
Answer :- a
Course Name | Data Base Management System |
Category | NPTEL Assignment Answer |
Home | Click Here |
Join Us on Telegram | Click Here |
NPTEL Data Base Management System Week 2 Assignment Answers 2023
1. Consider two relations StyleName and PrintStyle as follows:
An operation θ between StyleName and PrintStyle will generate the following output:
Identify the operation G.
a) natural join
b) natural left outer join
c) natural right outer join
d) natural full outer join
Answer:- d
2. Consider the following CREATE statements:
Answer:- a
3. Consider the following schema:
- loan (loan _number, branch_name, amount)
Answer:- b, d
4. Consider the following instance of the relation
BIDDINGTAB (PRODUCTID, HIGHESTBID, LOWESTBID, WINNER, BIDDERS)
Answer:- a
5. Consider the following instance of the relation
BIDDINGTAB (PRODUCTID, HIGHESTBID, LOWESTBID, WINNER, BIDDERS)
Answer:- b
6. Consider the following instance of the relational schema
PAYSCALE (POSITION, BASE_SALARY, EXPERIENCE)
Answer:- c
7. A role Manager has the privilege to perform select, insert, update and delete operations on all tables of database. A new role Software_Engineer is created and the following statement is executed.
Answer:- d
8. Consider the following instance of MountainDetails (MountainName, Altitude, StateName) relation.
Answer:- a
9. Consider the given relational schema: MountainDetails (MountainName, Altitude, StateName)
Answer:- b
10. Consider the given relational schema: MountainDetails (MountainName, Altitude, StateName)
Answer:- c
NPTEL Data Base Management System Week 1 Assignment Answers 2023
1. Which of the following statements is (are) correct?
- a) Phsical level abstraction describes how a record is stored.
- b) View level abstraction hides details of data types.
- c) Physical level abstraction describes data stored in a database and their relationships.
- d) Logical level abstraction defines the physical schema.
Answer :- a, b,
2. Consider the following relations:
Subject (sid, sname, credit)
Faculty (fid, sid)
Which of the following is correct?
- a) RA1 C RAz
- b) RAg C RAg
- c) RAI C RAg
- d) RA1 = RAg
Answer :- c) RAI C RAg
3. What does the following Relational Algebra expression return?
- a) All heights except the maximum height from Mountain relation.
- b) All heights except the minimum height from Mountain relation.
- c) Minimum height from Mountain relation.
- d) Maximum height from Mountain relation.
Answer :- d) Maximum height from Mountain relation.
4. Consider the relational schema PhoneBook (Name, PhoneNo, Location, LastCalled)
- Ankit 3222265783 Kolkata 15 Jul
- Shreya 3222265783 Delhi 16 Jul
- Ankit 2222586110 Delhi 16 Jul
- Shreya 2222586110 Kolkata 15 Jul
Answer :- c
5. Consider the relation Flight (FlightNo, Source, Destination, Duration) where {FlightNo} and {Source, Destination, Duration} are the 2 candidate keys. What is the possible num- ber of superkeys of Flight?
- a) 8
- b) 9
- c) 10
- d) 16
Answer :- b
6. Consider a truth table having the following columns P Q R= ((P V Q) – -P) S= ( (P V Q) – P) If the truth table, with all the values, is represented as a relational instance, which column(s) (attribute(s)) should be chosen as candidate keys?
- a) {P,R}
- b) {P,Q}
- c) {Q,R}
- d) {Q,S)
Answer :- b, c
7. Consider the following instance of ChatBox (SenderID, ReceiverID).
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 48 w1q7](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w1q7.jpg)
Answer :- b
8. Consider the following table:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 49 w1q8](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w1q8.jpg)
Answer :- d
9. Consider the following table:
![[Week 1 to 8] NPTEL Data Base Management System Assignment Answers 2023 50 w1q9](https://storage.googleapis.com/swayam-node1-production.appspot.com/assets/img/noc23_cs79/w1q9.jpg)
Answer :- c
10. Which of the following can be a candidate key for the following instance?
Answer :- b
Course Name | Data Base Management System |
Category | NPTEL Assignment Answer |
Home | Click Here |
Join Us on Telegram | Click Here |