Uploaded by Max Nda

Re-Test (page 2 of 2)

9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Home / My courses / dpg621s / General / Re-Test
Question 11
Not yet answered
Marked out of 4.00
You have been asked by the HR Manager to discuss the benefits of a SQL Server database. The database consists of data and
log information which is stored in individual files. Briefly discuss the architecture of a SQL server database in terms of these files.
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
1/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Question 12
Not yet answered
Marked out of 8.00
When you are developing a database, there are different stages involved. Explain any four of these stages.
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
2/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Question 13
Not yet answered
Marked out of 3.00
You have been hired as a Database Developer and you have been given the option to use a trigger and a procedure. Discuss
what triggers are and when it would be best to use them?
Question 14
Not yet answered
Marked out of 1.00
Write a SQL statement that will create a database named Nam_Team that will store data for all sporting events represented in the
country using the Master database in MS SQL Server.
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
3/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Question 15
Not yet answered
Marked out of 5.00
Create a table called Rugby_World_Cup using the information provided in the table below. Choose relevant datatypes and include
a primary key.
Column
Team_id
Team_name
Country
Tries
Conversions
Drop_Goals
Points
Maximum
size
4
50
50
4
4
4
5
Constraint
Primary
Key
No Null values No Null
values
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
4/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Question 16
Not yet answered
Marked out of 8.00
Create a procedure called sp_InsertTeamDetails that will be used to insert data into the Rugby_world_cup table. Set No Count
on.
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
5/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Question 17
Not yet answered
Marked out of 5.00
Using the sp_InsertTeamDetails procedure, create a query to insert the following values into the Rugby_world_cup table.
Team_id
Team_name Country
Tries
Conversions Drop_Goals Points
10
The Brave
Japan
4
3
1
35
Australia
14
7
1
93
Blossoms
12
Wallabies
14
Welwitschias Namibia
4
3
3
44
16
Springboks South
Africa
10
5
1
78
18
The Bati
2
1
1
24
Fiji
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
6/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Question 18
Not yet answered
Marked out of 2.00
Write a query to verify that the data has been entered correctly.
Question 19
Not yet answered
Marked out of 2.00
You have been requested to check the structure of the procedure. Write a SQL statement to achieve this.
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
7/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
Question 20
Not yet answered
Marked out of 2.00
Write a query to remove the sp_InsertTeamDetails procedure from the database.
◄ TEST 1
Jump to...
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
8/9
9/29/21, 4:03 PM
Re-Test (page 2 of 2)
eLearning implementation for the service of students, academic staff, researchers and administrators.
Quick Links
Need help? Click here and fill-in requested information
Follow Us


Contact
13 Jackson Kaujeua Street, Windhoek, Namibia
 Phone: +264-61-207-2580
 E-mail: tlu@nust.na
Deployed by TLU and Theme developed by LMSACE.com. Hosted by DICT
Data retention summary
Get the mobile app Namibia University of Science and Technology (NUST) - This VLE is hosted by DICT - (C) 2018.
Leave a message
https://elearning.nust.na/elearn/mod/quiz/attempt.php?attempt=1372906&cmid=318909&page=1
9/9