FPT Education
FPT UNIVERSITY
PRACTICAL EXAMINATION 01
Subject code: PRN211 - SU 2023
Duration: 80 minutes
Question 1 (3 marks):
Declare a Calculator class has Sum, Sub method with two parameters with type of double.Using delegate method to get result of Sum(15.5,5.5), Sub(15.5,5.5).
Microsoft Visual Studi X
+
Result of Sum(15.5, 5.5): 21
Result of Sub(15.5, 5.5): 10
Result of Calculator
Question 2 (7 marks):
1. Create database PRN211 on SQL Server and 1 table with at least 4 rows sample data (0.5 mark)
Table name: Student
StudentId
1
2
3
4
StudentName
Nguyễn Anh Tuân
Nguyễn Xuân Hoài
Ngô Quỳnh Anh
Trần Văn Tiên
Email
[email protected]
[email protected]
[email protected]
[email protected]