SlideShare a Scribd company logo
1 of 13
Download to read offline
Relational
Algebra
QUIZ – 2
BY – RAVINA JESWANI
1. Relational Algebra is a __________ query
language that takes two relations as input and
produces another relation as an output of the
query.
a) Relational
b) Structural
c) Procedural
d) Fundamental
2. Which of the following is a fundamental
operation in relational algebra?
a) Set intersection
b) Natural join
c) Assignment
d) None of the mentioned
3. Which of the following is used to denote the
selection operation in relational algebra?
a) Pi (Greek)
b) Sigma (Greek)
c) Lambda (Greek)
d) Omega (Greek)
4. For select operation the ________ appear in
the subscript and the ___________ argument
appears in the parenthesis after the sigma.
a) Predicates, relation
b) Relation, Predicates
c) Operation, Predicates
d) Relation, Operation
5. The ___________ operation, denoted by −,
allows us to find tuples that are in one relation
but are not in another.
a) Union
b) Set-difference
c) Difference
d) Intersection
6. The assignment operator is denoted by
a) ->
b) <-
c) =
d) ==
7. Relational Algebra does not have
A. Selection operator
B. Projection operator
C. Aggregation operator
D. Division operator
Given a relation Student(Roll, Name, Class,
Fees, Team) with the following tuples:
Q1. Select all the student of Team A :
Given a relation Student(Roll, Name, Class, Fees, Team)
with the following tuples:
Q2. Select all the students of department ECE whose
fees is greater then equal to 10000 and belongs to Team
other than A.
Given a relation Faculty (Class, Dept, Position)
with the following tuples:
Q3. Project Class and Dept from Faculty –
Quiz on Relational Algebra
Quiz on Relational Algebra

More Related Content

More from Sophia Girls' College(Autonomous), Ajmer (9)

Quiz on XML
Quiz on XMLQuiz on XML
Quiz on XML
 
Dbms quiz
Dbms quiz Dbms quiz
Dbms quiz
 
Software Engineering Quiz
Software Engineering QuizSoftware Engineering Quiz
Software Engineering Quiz
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
Managment spectrum
Managment spectrumManagment spectrum
Managment spectrum
 
Software Process
Software ProcessSoftware Process
Software Process
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Group signature
Group signatureGroup signature
Group signature
 
Data Mining
Data Mining Data Mining
Data Mining
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Quiz on Relational Algebra

  • 1. Relational Algebra QUIZ – 2 BY – RAVINA JESWANI
  • 2. 1. Relational Algebra is a __________ query language that takes two relations as input and produces another relation as an output of the query. a) Relational b) Structural c) Procedural d) Fundamental
  • 3. 2. Which of the following is a fundamental operation in relational algebra? a) Set intersection b) Natural join c) Assignment d) None of the mentioned
  • 4. 3. Which of the following is used to denote the selection operation in relational algebra? a) Pi (Greek) b) Sigma (Greek) c) Lambda (Greek) d) Omega (Greek)
  • 5. 4. For select operation the ________ appear in the subscript and the ___________ argument appears in the parenthesis after the sigma. a) Predicates, relation b) Relation, Predicates c) Operation, Predicates d) Relation, Operation
  • 6. 5. The ___________ operation, denoted by −, allows us to find tuples that are in one relation but are not in another. a) Union b) Set-difference c) Difference d) Intersection
  • 7. 6. The assignment operator is denoted by a) -> b) <- c) = d) ==
  • 8. 7. Relational Algebra does not have A. Selection operator B. Projection operator C. Aggregation operator D. Division operator
  • 9. Given a relation Student(Roll, Name, Class, Fees, Team) with the following tuples: Q1. Select all the student of Team A :
  • 10. Given a relation Student(Roll, Name, Class, Fees, Team) with the following tuples: Q2. Select all the students of department ECE whose fees is greater then equal to 10000 and belongs to Team other than A.
  • 11. Given a relation Faculty (Class, Dept, Position) with the following tuples: Q3. Project Class and Dept from Faculty –