Relational Algebra

Relational Algebra

Assessment

Quiz

Mathematics, Computers

University

Practice Problem

Medium

CCSS
HSA.SSE.A.1, HSA.CED.A.2, HSA.CED.A.3

+4

Standards-aligned

Created by

Nurizah Mahmor

Used 182+ times

FREE Resource

Student preview

quiz-placeholder

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Based on the figure above, identify the number of tuples that will be returned by the following relational algebra query :  σ \sigma\  Type = 'Saving' (Account)

2

3

6

0

Tags

CCSS.HSA.SSE.A.1

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Choose the CORRECT symbol of SELECT in the Relational Algebra

x

π\pi

\cap

σ\sigma

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Identify the CORRECT output for table (Student Difference Lecturer) or (Student - Lecturer) in table above

Media Image
Media Image
Media Image
Media Image

Tags

CCSS.HSA.CED.A.2

CCSS.HSA.CED.A.3

CCSS.HSA.REI.D.11

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Write the CORRECT relational algebra expression base on the figure above

π\pi managerID, managerName ( σ\sigma workExprience = 5) (MANAGER)

σ\sigma managerID, managerName ( π\pi workExprience = 5) (MANAGER)

\sigma managerID, managerName ( \pi workExprience > 5) (MANAGER)

\pi managerID, managerName ( \sigma workExprience > 5) (MANAGER)

Tags

CCSS.HSA.CED.A.2

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Write the relational algebra to list student's number and student'a name whose age is 20 years old or state in Terengganu.

π\pi StudentID, Name ( σ\sigma Age=20 AND State = "Terengganu" (STUDENT)

\pi StudentID, Name ( \sigma Age=20 OR State = "Terengganu" (STUDENT)

σ\sigma StudentID, Name ( π\pi Age=20 AND State = "Terengganu" (STUDENT)

\sigma StudentID, Name ( \pi Age=20 OR State = "Terengganu" (STUDENT)

Tags

CCSS.HSA.CED.A.4

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Base on the table given, identify output that will be produced when, σ Salary > 3000 ˅ City = ‘Batu Pahat’ (WORKER).

Media Image
Media Image
Media Image
Media Image

Tags

CCSS.HSA.CED.A.1

CCSS.HSA.CED.A.3

CCSS.HSA.REI.B.3

CCSS.HSA.SSE.A.1

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?