Explore topic-wise InterviewSolutions in Current Affairs.

This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.

1.

There are different data models of which one is currently used in all business transactions. Specify it and discuss in detail.

Answer»

Relational data model is currently used in all business transactions. It is based on the concept introduced by E F Codd. It is composed of one or more tables. Tables are made up of rows and columns.

Here tables are called relations, rows are called tuples and the columns are called attributes. The advantages of this model is neither data redundancy nor complexity. 

Eg:

   Customer   Address
GitaAdd1
LataAdd 2
RamAdd3
2.

Which is not an RDBMS package?(a) Oracle (b) SQL Server (e) Mysql (d) HTML

Answer»

HTML is not an RDBMS package.

3.

                         STUDENT  Reg No  Name  Score101Preethi70102Anupama68103Ruksana94104Nancy87105Anu77                     GRADEReg No  Name  Score10170B+10268B10394A+10487A10577B+Consider the relations STUDENT and GRADE given above and predict the output of the following relational operations in table format. 1. σ (STUDENT) Score > 80 2. π (STUDENT) RegNo, Score 3. σ (GRADE) RegNo <103 4. σ (GRADE) Grade = ‘B+’5. π RegNo, Name ( σScores >70(STUDENT))

Answer»

1.

  Reg NoScores Grade
103Ruksana94
104Nancy87

2.

   Reg No     Score
10170
10268
10394
10487
10577

3. 

  Reg NoScores  Grede
10487A
10577B+

4. 

Reg NoScores  Grede
10170B+
10577B+

5.

   Reg No   Name
103Ruksana
104Nancy
105Anu
4.

With the help of ______ the process of storing, retrieving and modifying data are greatly simplified.

Answer»

With the help of DBMS the process of storing, retrieving and modifying data are greatly simplified.

5.

_____ and ______ are the two types of integrity checks.

Answer»

Range checks and Value checks are the two types of integrity checks.

6.

You have to present a seminar on the topic “Keys in RDBMS”. Prepare the seminar report.

Answer»

1. Candidate Key: 

It is a set of attributes that uniquely identifies a row. There may be more than candidate key and may be a combination of more than one attribute.

2. Primary Key: 

A primary key is one of the Candidate Keys. It is a set of one or more attributes that can uniquely identify tuples in a relation. 

3. Alternate Key: 

The Candidate key that is not the primary key is called the alternate key. 

4. Super Key: 

A combination of a primary key with any other attribute or group of attributes is called a super key. 

5. Foreign Key: 

A single attribute or a set of attributes, which is a candidate key in another table, is called foreign key.

7.

You have to present a seminar on the topic “Keys in RDBMS”. Prepare the seminar report.

Answer»

1. Candidate Key: It is a set of attributes that uniquely identifies a row. There may be more than candidate key and maybe a combination of more than one attribute. 

2. Primary Key: A primary key is one of the Candidate Keys. It is a set of one or more attributes that can uniquely identify tuples in a relation. 

3. Alternate Key: The Candidate key that is not the. primary key is called the alternate key. 

4. Super Key: A combination of a primary key with any other attribute or group of attributes is called a super key. 

5. Foreign Key: A single attribute or a set of attributes, which is a candidate key in another table, is called foreign key.

8.

Give an example for RDBMS package.

Answer»

Packages such as Oracle, My SQL, etc.

9.

With the help of ........... the process of storing, retrieving and modifying date are greatly simplified.

Answer»

With the help of  DBMS the process of storing, retrieving and modifying date are greatly simplified.

10.

Two relations are given below. FOOTBALL  Name  Age  Jose  23  Raju  22CRICKET  Name  Age Jomon  22  Raju  22Is it possible to find the players those who play both FOOTBALL AND CRICKET by applying any of the Relational Algebra Operations? Explain.

Answer»

Intersection operation. 

FOOTBALL ∩ CRICKET.

11.

Enforcement of standard is an essential feature of DBMS. How are these standards applicable in a database?

Answer»

There is a standard BIS (Bureau of Indian Standards) in the field of Gold and ISBN (International Standard Book Number) in the field of publication. Similarly here is also some standards like ANSI(American National Standards Institute), ISO (International Organization for standardization), etc..

For example a led “Name” should have 40 characters is a standard.

12.

Cardinality of a table T1 is 10 and of table T2 is 8 and the two relations are union compatible. If the cardinality of result T1 ∪ T2 is 13, then what is the cardinality of T1 ∩ T2? Justify your answer.

Answer»

Cardinalty of table T1 is 10 means it has 10 rows Cardinalty of table T2 is 8 means it has 8 rows Normally T1 ∪ T2 is 10 + 8 = 18 But Here T1 ∪ T2 is 13 means after eliminating duplication of 5 rows this happened.

This means 5 rows are common. That is T1 ∩ T2 is 5.

13.

If _____ is controlled , DBMS can guarantee that database is never inconsistent.

Answer»

If Redunancy is controlled , DBMS can guarantee that database is never inconsistent.

14.

Data sharing is an essential feature of DBMS. How data sharing reduces the data inconsistency in a database?

Answer»

Instead of storing more than one copy of the same data, it stores only one copy. This can be shared by several users. If redundancy occurs there is a chance to inconsistency. If redundancy is removed then in-consistency cannot occur

15.

A relational database developer refers to a record as .....(a) criteria (b) relation (c) tuple (d) attribute

Answer»

A relational database developer refers to a record as tuple.

16.

Abstraction of the database can be viewed as .........(a) two levels (b) four levels (c) three levels (d) one level

Answer»

(c) three level

17.

If .............. is controlled , DBMS can guarantee that database is never inconsistent.

Answer»

If Redundancy is controlled , DBMS can guarantee that database is never inconsistent.

18.

Name the language that enables user to access or manipulate data as organized by RDBMS.

Answer»

DBML is the language  that enables user to access or manipulate data as organized by RDBMS.

19.

What is data independence? Explain the difference between physical and logical data independence.

Answer»

Data Independence – It is the ability to modify the scheme definition in one level without affecting the scheme definition at the next higher level. 

(a) Physical Data Independence – It is the ability to modify the physical scheme without causing application programs to be rewritten. 

(b) Logical Data Independence – It is the ability to modify the logical scheme without causing application programs to be rewritten.

20.

Consider two relations FOOTBALL AND CRICKET, How to get the names of players play only cricket not also FOOTBALL.

Answer»

CRICKET – FOOTBALL

21.

Cardinality of a table TI is 10 and of table T2 is 8 and the two relations are union compatible.(a) What will be the maximum possible cardinality of T1 ∪ T2? (b) What will be the minimum possible cardinality of T1 ∩ T2?

Answer»

(a) Degree(CD) - the number of Columns is the Degree Cardinality (RC)-: the number of Rows is the Cardinality T1 ∪ T2 = Sum of cardinalities of Table 1 and Table 2 i. e.T1 ∪ T2 = 10 + 8 = 18

(b) T1 ∩ T2 is the common rows(tuples) in T1 and T2 If there is no common tuples then T1 ∩ T2 is 0 hence the cardinality is 0.

22.

In a relational model, relations are termed as .....(a) tuples (b) attributes (c) tables (d) rows

Answer»

In a relational model, relations are termed as tables. 

23.

Related fields in a database are grouped to form a ........(a) data file (b) data record (c) menu (d) bank

Answer»

(b) data record

24.

The property of a DBMS that guarantees that the database is never inconsistent.

Answer»

The property of a DBMS that guarantees that the database is never inconsistent Redundancy.

25.

R1RegNoNameScore1200BabuA1201LuluA+1202SunuBR2RegNoNameSocre1203BijuD1201LuluA+Show the output of the following relational operations. a) R1 – R2 b) R1 ∩ R2 c) R1 ∪ R2

Answer»

a) 

RegNoNameScore
1200BabuA
1202SunuB

b)

RegNoNameScore
1201LuluA+

c)

RegNoNameScore
1200BabuA
1201LuluA+
1202SunuB
1203BijuD

26.

How data are organized in a database.

Answer»

Field: Smallest unit of data. 

Eg: RolINo, Name 

Record: Collection of related fields. 

Eg: The information of a particular student. 

File: Collection of related records. 

Eg: The information of 10 students.

27.

What is a database? Describe the advantages and disadvantages of using DBMS.

Answer»

A Database is a collection of large volume of data. 

Advantages of DBMS

Data Redundancy – It means duplication of data. DBMS eliminates redundancy. DBMS does not store more than one copy of the same data.

Inconsistency can be avoided – If redundancy occurs there is a chance to inconsistency. If redundancy is removed then inconsistency cannot occur. Efficient data access It stored huge amount of data efficiently and can be retrieved whenever a need arise.

Data can be shared – The data stored in the database can be shared by the users or programs. 

Standards can be enforced – The data in the database follows some standards.

Eg: a field ‘Name’ should have 40 characters long. Some standards are ANSI, ISO, etc.

Security restrictions can be applied – The data is of great value so it must be kept secure and private. Data security means the protection of data against accidental or intentional disclosure or unauthorized destruction or modification by unauthorized person.

Integrity can be maintained – It ensures that the data is to be entered in the database is correct.

Crash recovery- Sometimes all ora portion of the data is lost when a system crashes . A good DBMS helps to recover data after the system crashed.

28.

A data model provides a way to represent data and their relationships.(a) Which data model assigns records to different levels of hierarchy? (b) Briefly explain the relational data model.

Answer»

(a) Hierarchical Data Model 

(b) In relational data model data are stored as tables. Here the term relation means table. A table consists of rows and columns. Columns mean attributes and rows means tuples.

29.

Conside the relations, City (city_name, state) and Hotel (name, address, city_name). Answer the following queries in relational algebra (a) Find the names and address of hotels in Kochi. (b) List the details of cities in Kerala state. (c) List the names of the hotels in Thrissur. (d) Find the names of different hotels. (e) Find the names of hotels in Kozhikode or Munnar.

Answer»

(a)  πname, address (σ city_name = "kochi"(Hotel))

(b)  πcity_name(σ state = "kerala"(city))

(c)  πname(Hotel)

(d)  πname(σ city_name = "kozhikodi"V city_name = "Munnar"(Hotel))

30.

Database Administrators (DBA) are more concerned with level ____ of Abstraction.

Answer»

Database Administrators (DBA) are more concerned with level Logical level of Abstraction.

31.

Match the following.   A  B (a) DBA (i) querying and updation (b) Application programmer (ii) ensures consistency (c) Naive users (iii) denes conceptual view

Answer»

(a) – (ii), (b) – (iii), (c) – (i)

32.

_____ is the other name for logical level

Answer»

Conceptual level is the other name for logical level

33.

Select the property which is desirable for a database.(a) Redundancy (b) Inconsistency (c) Integrity (d) Complexity

Answer»

(c) Integrity

34.

Related fields in a database are grouped to form a (a) datafile (b) data record (c) menu (d) bank

Answer»

(b) data record

35.

In the abstraction of a database system the external level is the .......(a) physical level(b) logical level (c) conceptual level (d) view level

Answer»

(d) view level

36.

Developers hide the complexity of Database system three several levels of abstraction. what are they?

Answer»

Physical – logical – view level. 

(how data) (what data) (view data) 

Physical Level is the lowest level. It describes how the data is actually stored in the storage medium. At physical level complex, low-level data structures are described in detail. 

Logical level describes what data are stored in the database and what relationships exist among data. Here database is described in terms of simple structure. Records are defined in this level. Programmers work at this level. 

View level is the highest level of data abstraction. It is concerned with the way in which the users view the database. It describes only part of the database.

37.

Pick the odd one out.(Select, Cartesian product, Union, intersection)

Answer»

Select – unary operator.

38.

Pick the odd man out. (a) Create (b) Select (c) Update (d) Insert

Answer»

Answer is (a) Create

39.

Pick the odd one out. (Select, Cartesian product, Union, intersection)

Answer»

Select – unary operator.

40.

Consider the instance of the EMPLOYEE relation shown in the following table. Identify the attributes, degree, cardinality and domain of Name and Emp_code.  EmpCode  Name  Department  Designation  Salary1000SudheeshPurchaseManager250001001DhanyaSalesManager250001002FathimaMarketingClerk120001003ShajanSalesClerk13000

Answer»

Attributes- These are column names, i.e, Emp_Code, Name, Department, Designation and Salary Degree(CD) - the number of Columns is the Degree i. e Degree is 5(Here 5 columns)

Cardinality (RC)-: the number of Rows is the Cardinality i. e. Cardinality is 4(Here 4 rows) Domain is the pool of possible values Domain of Name is a String(Sudheesh, Dhanya, Fathima, Shajan.etc) Domain of Emp_Code is a number (1000,1001,1002, 1003, etc)

41.

Match the following with the levels of abstraction to which the users are primarily associated:Levels of Abstraction – Users1. Physical levelA. Naive users2. Logical levelB. Database administrator3. View levelC. Application programmer

Answer»
1. Physical levelB. Database administrator
2. Logical levelC. Application programmer
3. View levelA. Naive users
42.

Consider the instance of the STUDENT relation shown in the following table Assume Reg_no as the primary key.(a) Identify the candidate keys and alternate keys in the STUDENT relation (b) How are the primary key and the candidate key-related?  Reg_no    Name   Batch  Result  Marks101SachinSciencePass480103FathimaHumanitiesFall200106FathimaCommercePass360108BincySciencePass300

Answer»

(a) Reg_no and Reg_no+Batch are the candidate keys. We set Reg_no as the primary key hence Reg_no+Batch is the alternate key 

(b) Candidate Key :

It is a set of attributes that uniquely identifies a row. There may be more than candidate key and may be a combination of more than one attribute.

Primary Key:

A primary key is one of the Candidate Keys. It is a set of one or more attributes that can uniquely identify tuples in a relation.

43.

Consider the instance of the BORROWER and DE- POSlTOR relations shown in following figure which stores the details of customers in a Bank. Answer the following queries in relational algebra.(a) Display the details of the customers who are either a depositor or a borrower.BorrowerDepositorAcc_NoNameAmountAcc_NoNameAmountAC123juwee50000AC123juwee500AC103Rasheeda25000.AC105Shabana25000AC106Vishnu25000AC116Vishnu125000AC108Aiswarya30000AC108Aiswarya3000(b) Display the name of customers who are both a depositor and a borrower. (c) Display the details of the customers who are d positors but not borrowers. (d) Display the name and’amount of customer who is a borrower but not depositor.

Answer»

(a)

   Acc_No         Name
AC 123Albin
AC 105Shabana
AC116Vishnu
AC108Aiswarya
AC103Rasheeda
AC 106Vishnu

(b)

       Acc_No           Name
AC123Albin
AC108Aiswarya

(c)

    Acc_No       Name
AC105Shabana
AC116Vishnu

(d)

    Name          Amount
Rasheeda25000
Vishnu25000
44.

Select the property which is desirable for a database.(a) Redundancy(b) Inconsistency(c) Integrity(d) Complexity

Answer»

Correct answer is (c) Integrity

45.

As part of project work, Ashish denes the type of data and the relationship among them. He is at _____ level of database abstraction.

Answer»

As part of project work, Ashish denes the type of data and the relationship among them. He is at Logical level of database abstraction.

46.

Data Base Administrators (DBA) are more concerned with level ........ of Abstraction.

Answer»

Logical level

47.

We have admission register, attendance register, marks register, etc. in our school to keep various details of students. Briefly describe how DBMS can replace these registers by stating any five merits.

Answer»

Advantages of DBMS 

1. Data Redundancy – It means duplication of data. DBMS eliminates redundancy. DBMS does not store more than one copy of the same data.

2. Inconsistency can be avoided – If redundancy occurs there is a chance to inconsistency. If redundancy is removed then inconsistency cannot occur.

3. Data can be shared – The data stored in the database can be shared by the users or programs.

4. Standards can be enforced – The data in the database follows some standards. Eg: a field ‘Name’ should have 40 characters long. Some standards are ANSI, ISO, etc.

5. Security restrictions can be applied – The data is of great value so it must be kept secure and private. Data security means the protection of data against accidental or intentional disclosure or unauthorized destruction or modification by unauthorized persons.

6. Integrity can be maintained – It ensures that the data is to be entered in the database is correct. 

7. Efficient data access – It stored huge amount of data efficiently and can be retrieved whenever a need arise. 

8. Crash recovery – Some times all or a portion of the data is lost when a system crashes. A good DBMS helps to recover data after the system crashed.

48.

The level of database abstraction that describes how the data is actually stored in the storage medium.

Answer»

Physical level.

49.

Match the following.ABa. The hierarchical modeli. data as tablesb. Network modelii. Network as storage mediumc. Relation modeliii. Child record can have more than one parent.iv. Tree structure

Answer»

a – iv 

b – iii 

c – i.

50.

In the abstraction of a database system the external level is the(a) physical level (b) logical level (c) conceptual level (d) view level

Answer»

(d) view level