School ICT Self Study

OL ICT Database related questions

858 viewsG10-09. Database
0

OL ICT Database-related questions – Write the answers to the questions
OL ICT exam Question 2

Spread the love
Ruwan Suraweera Answered question March 24, 2025
0

AI answer for when upload question image

(a) House Table ΰ·„ΰ·’ Primary Key ΰΆšΰ·”ΰΆΈΰΆšΰ·ŠΰΆ―?

  • HouseID ΰΆΊΰΆ±ΰ·” House Table ΰ·„ΰ·’ Primary Key ΰ·€ΰ·š.

ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»:
HouseID

(b) BestPlayer Table ΰ·„ΰ·’ Foreign Key ΰΆšΰ·”ΰΆΈΰΆšΰ·ŠΰΆ―?

  • StudentID ΰ·ƒΰ·„ HouseID ΰΆΊΰΆ± ΰΆšΰ·œΰΆ§ΰ·ƒΰ·Š ΰΆ―ΰ·™ΰΆšΰΆΈ Foreign Keys ΰ·€ΰ·š.

ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»:
StudentID, HouseID

(ii)
(a) StudentDetails Table ΰ·€ΰ·™ΰΆ­ ΰΆ±ΰ·€ ΰΆ­ΰ·œΰΆ»ΰΆ­ΰ·”ΰΆ»ΰ·” ΰΆ‡ΰΆ­ΰ·”ΰΆ½ΰΆ­ΰ·Š ࢚ࢻࢱ්ࢱ:

  • Isira Pathirathna (S2015) ΰΆ§ Troy House ΰ·€ΰ·™ΰΆ­ ΰΆ‘ΰΆšΰ·Š ࢚ࢻࢱ්ࢱ.

ΰΆšΰ·Šβ€ΰΆ»ΰ·’ΰΆΊΰ·ΰΆΈΰ·ΰΆ»ΰ·ŠΰΆœΰΆΊ:
Isira Pathirathna ΰ·ƒΰΆΈΰΆŸ ΰΆ…ΰΆ½ΰ·”ΰΆ­ΰ·Š ΰΆ΄ΰ·šΰ·…ΰ·’ΰΆΊΰΆšΰ·Š StudentDetails Table ΰ·€ΰ·™ΰΆ­ ΰΆ‘ΰΆšΰ·Š ࢚ࢻࢱ්ࢱ.

ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»:
StudentID: S2015, Name: Isira Pathirathna, House: Troy

(b) Amantha Hettige ΰ·„ΰ·’ ΰΆ­ΰ·œΰΆ»ΰΆ­ΰ·”ΰΆ»ΰ·” ΰΆΊΰ·ΰ·€ΰΆ­ΰ·ŠΰΆšΰ·ΰΆ½ΰ·“ΰΆ± ࢚ࢻࢱ්ࢱ:

  1. Amantha Hettige ΰ·„ΰ·’ House ΰΆ‘ΰΆš Sparta ΰΆ½ΰ·™ΰ·ƒ ΰ·€ΰ·™ΰΆ±ΰ·ƒΰ·Š ࢚ࢻࢱ්ࢱ.
  2. ΰΆ‡ΰΆΊ 4th Place ΰΆ½ΰ·™ΰ·ƒ BestPlayer Table ΰ·€ΰ·™ΰΆ­ ΰΆ‘ΰΆšΰ·Š ࢚ࢻࢱ්ࢱ.

ΰΆšΰ·Šβ€ΰΆ»ΰ·’ΰΆΊΰ·ΰΆΈΰ·ΰΆ»ΰ·ŠΰΆœΰΆΊ:

  • Amantha Hettige ΰ·„ΰ·’ HouseID ΰΆ‘ΰΆš HSSP (Sparta) ΰΆ½ΰ·™ΰ·ƒ ΰ·€ΰ·™ΰΆ±ΰ·ƒΰ·Š ࢚ࢻࢱ්ࢱ.
  • BestPlayer Table ΰ·€ΰ·™ΰΆ­ ΰΆ‡ΰΆΊ 4th Place ΰΆ½ΰ·™ΰ·ƒ ΰΆ‘ΰΆšΰ·Š ࢚ࢻࢱ්ࢱ.

ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»:
Amantha Hettige ΰ·„ΰ·’ House Sparta ΰΆ½ΰ·™ΰ·ƒ ΰ·€ΰ·™ΰΆ±ΰ·ƒΰ·Š ࢚ࢻ, 4th Place ΰΆ½ΰ·™ΰ·ƒ ΰΆ‘ΰΆšΰ·Š ࢚ࢻࢱ ΰΆ½ΰΆ―ΰ·“.

(iii)
ΰ·ƒΰ·’ΰΆΊΰΆ½ΰ·” ΰ·ƒΰ·’ΰ·ƒΰ·”ΰΆ±ΰ·ŠΰΆœΰ·š ࢱࢸ් ΰ·ƒΰ·„ ΰΆ”ΰ·€ΰ·”ΰΆ±ΰ·ŠΰΆœΰ·š House Names ΰ·ƒΰ·„ Places ΰΆ΄ΰ·™ΰΆ±ΰ·Šΰ·€ΰΆ±ΰ·ŠΰΆ±. ΰΆ‘ΰΆšΰ·Š ΰΆ‘ΰΆšΰ·Š Place ΰΆ…ΰΆ±ΰ·”ΰ·€ (1st, 2nd, …) ΰΆ΄ΰ·’ΰ·…ΰ·’ΰ·€ΰ·™ΰΆ½ΰΆ§ ΰΆ΄ΰ·™ΰΆ±ΰ·Šΰ·€ΰΆ±ΰ·ŠΰΆ±. Place ΰΆ±ΰ·œΰΆΈΰ·ΰΆ­ΰ·’ ΰΆ­ΰ·œΰΆ»ΰΆ­ΰ·”ΰΆ»ΰ·” ࢅවසාࢱࢺࢧ ΰΆ΄ΰ·™ΰΆ±ΰ·Šΰ·€ΰΆ±ΰ·ŠΰΆ±.

ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»:
ΰ·ƒΰ·’ΰΆΊΰΆ½ΰ·” ΰ·ƒΰ·’ΰ·ƒΰ·”ΰΆ±ΰ·ŠΰΆœΰ·š ࢱࢸ්, House Names, ΰ·ƒΰ·„ Places ΰΆ΄ΰ·’ΰ·…ΰ·’ΰ·€ΰ·™ΰΆ½ΰΆ§ ΰΆ΄ΰ·™ΰΆ±ΰ·Šΰ·€ΰΆ± ΰΆ½ΰΆ―ΰ·“.

(iv)
1st Place Winner ΰ·€ΰΆ± සිසුවා ΰΆšΰ·€ΰ·”ΰΆ―?

ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»:
Geesha Alahakon (House: Troy)

ΰ·ƒΰΆ»ΰΆ½ ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»ΰ·”:

  1. (i)(a): HouseID
  2. (i)(b): StudentID, HouseID
  3. (ii)(a): Isira Pathirathna (S2015, Troy)
  4. (ii)(b): Amantha Hettige Sparta ΰΆ½ΰ·™ΰ·ƒ ΰ·€ΰ·™ΰΆ±ΰ·ƒΰ·Š ࢚ࢻ, 4th Place ΰΆ½ΰ·™ΰ·ƒ ΰΆ‘ΰΆšΰ·Š ࢚ࢻࢱ ΰΆ½ΰΆ―ΰ·“.
  5. (iii): ΰ·ƒΰ·’ΰΆΊΰΆ½ΰ·” ΰ·ƒΰ·’ΰ·ƒΰ·”ΰΆ±ΰ·ŠΰΆœΰ·š ΰΆ­ΰ·œΰΆ»ΰΆ­ΰ·”ΰΆ»ΰ·” Place ΰΆ…ΰΆ±ΰ·”ΰ·€ ΰΆ΄ΰ·’ΰ·…ΰ·’ΰ·€ΰ·™ΰΆ½ΰΆ§ ΰΆ΄ΰ·™ΰΆ±ΰ·Šΰ·€ΰΆ± ΰΆ½ΰΆ―ΰ·“.
  6. (iv): Geesha Alahakon (1st Place, Troy)

ࢅවසාࢱ ΰΆ΄ΰ·’ΰ·…ΰ·’ΰΆ­ΰ·”ΰΆ»:
1st Place Winner: Geesha Alahakon

Spread the love
Ruwan Suraweera Answered question March 24, 2025
You are viewing 1 out of 2 answers, click here to view all answers.
Write your answer.