Management to database systems UE Past Papers Questions.


View All Courses

(3986) Question Category: Practical

Management to database system

  1. Using the figure above ; write a program to create the simple HTML form with three (3) input fields, a text area, two radio buttons and a submit button as indicated in the diagram.
  2. After the user fills the form and clicks the submit button, the data in the form is sent for processing to a PHP file named, “formData.php”. The data in the form is sent with the HTTP POST method and $_POST superglobal is used to collect the form data upon submission. Write a PHP script to implement formData.php by establishing a connection to MYSQL database server using brown as the username, green as the password, and localhost as the server name on which MYSQL is running. After the connection is established ; select a database on the server called companyDB and save the data received from the form in a table called employeeTable.

Answer / Solution

UNSOLVED

(3987) Question Category: Practical

Use the tables given below that show instances of sailors, boats and allocations to answer the questions that follow;

Sailor:

sailorNo sailorName rating gender age
1 Rigobert 7 M 45
2 Diana 6 F 30
5 Ibrahim 2 M 40
8 Magreth 4 F 60
17 Brian 9 M 28

Boat;

boatNo boatName Color
101 SailCruise Red
107 Shanghai Blue
108 CryptoSeal Green
110 Phoenix Red
112 BMX Green

Allocation;

sailorNo boatNo day
5 108 2016-11-15
1 107 2016-11-15
8 112 2016-11-16
5 101 2016-11-19
17 112 2016-11-26
2 107 2016-11-18
5 108 2016-12-04
2 101 2016-11-28
17 112 2016-11-29
17 110 2016-12-06
  1. What is the result displayed after execution of the following query?

SELECT sailorName,gender,age,boatName FROM sailor s, allocation a, boat b WHERE a.sailorNo=s.sailorNo AND a.boatNo=b.boatNo AND age>=45;

  1. Write a query to change Ibrahim`s name to Lincoln.
  2. Write a query to remove all green boats.

Answer / Solution

UNSOLVED

(3988) Question Category: Short answers

Provide the name of the database concept whose description is given in each of the following:

  1. An attribute(or a set of attributes)  that can have more than one value for a single value of a primary key.
  2. A type of dependency that exists when there is an intermediate functional dependency.
  3. The special variables used in PHP programming that cannot be changed during the entire execution of a program.

Answer / Solution

UNSOLVED

(4384) Question Category: Long answers

i.Define the following terms as related to electronic database and give two examples for each .

  1. Database Model
  2. Attribute
  3. Database Management System
  4. Super Key
  5. Entity

ii.Describe ive areas where database are used

iii.Describe steps involved in database development process

iv.Why databases are implemented as part of the information systems?

Answer / Solution

UNSOLVED

(4385) Question Category: Long answers

  1. What is normalization?
  2. With examples , describe the following terms as related to normalization
  1. Anomaly
  2. Update anomaly
  3. Insertion anomaly
  4. Deletion anomaly

Answer / Solution

UNSOLVED


View All Courses
News & Updates | Recently
Recent Updates
questions

2024-05-02: questions

Questions Uploaded on 2024-05-02


questions

2024-03-29: questions

Questions Uploaded on 2024-03-29


questions

2024-03-19: questions

Questions Uploaded on 2024-03-19

Dismissible in 10 seconds