Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

INF3707 EXAM PACK 2022

Vendu
24
Pages
156
Grade
A+
Publié le
01-11-2021
Écrit en
2022/2023

Latest exam pack questions and answers and summarized notes for exam preparation. for assistance. All the best on your exams!!

Établissement
Cours










Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

Livre connecté

École, étude et sujet

Établissement
Cours

Infos sur le Document

Publié le
1 novembre 2021
Nombre de pages
156
Écrit en
2022/2023
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

INF3707

EXAM PACK

,UNIVERSITY EXAMINATIONS




JUNE / JULY 2021

INF3707

DATABASE DESIGN AND IMPLEMENTATION

Date: 05 July 2021
Duration: 2 hours
Total marks: 100

Examiners:
First: Dr B. Chipangura
Second: Dr L. Motsi
External: Dr P. Nkomo

This is a closed book examination.

Instructions to students
1. Unisa examination policies apply.
2. Answer all questions.
3. Study the tables and data in Annexure A.
4. The marks for each question are given in brackets next to the question.
5. Please answer the questions in order. If you want to do a question later, leave a blank
space.
6. Pocket calculators are not allowed.
7. Pledge that you have neither given nor received aid on this examination (You must respond
to this pledge when submitting your assignment.)
8. After writing the exam, upload your answer sheet in PDF format on myUnisa as per
instructions provided to you in Exam Tutorial letter. Do not add any other form of
protection on your document. Incorrect file formats or unreadable files will be assigned a
zero mark.
9. Students who do not submit their answer sheets within the scheduled session time will be
marked as absent. Those who could not participate in the examination must formally apply
for an aegrotat opportunity. This rule also applies to students who may be affected by load
shedding. You should supply sufficient evidence in an application for an aegrotat due to load
shedding. Note that supplementary students do not qualify for an aegrotat regardless of the
circumstances.
10. You are not allowed to copy any text from the textbook or slides; other students’ notes or
answers; templates, memos or example answers from any previous assignments, online
tutors, the internet, or any other sources. All questions must be answered in your own,
original words. All scripts will be put through a plagiarism checking tool. Cases, where
copying and pasting, patchwriting, plagiarism, collaboration or other authenticity issues are
suspected, will receive a zero mark and the cases will be reported to the Student Disciplinary
Section in DSAA for disciplinary action.




[Turn over]

, 2 INF3720
OCT/NOV


Question 1 10 marks

1.1 Which Oracle Database management system is prescribed for this module? (2 marks)

1.2 How do you login as the system administrator on the Oracle SQL*plus interface? Provide the code.
(2 marks)

1.3 After you have successfully installed Oracle database, how do you open the pluggable databases so
that they can automatically open? (4 marks)

1.4 By default, Oracle pluggable databases remain closed and must be opened manually or set to
automatically open. Which Oracle 18c XE service must you configure to do that? (2 marks)

Question 2 40 marks
Assume that a table named MyTable exist in your database. MyTable has five columns Col#, Col1, Col2,
Col3 and Col4.

NAME NULL TYPE
-------- ------ ---------
Col# NOT NULL Number Primary key
Col1 NOT NULL VARCHAR2(2)
Col2 NOT NULL VARCHAR2(10)
Col3 NOT NULL VARCHAR2(10)
Col4 NOT NULL VARCHAR2(10)

2.1 Write an SQL statement that enables you to view the structure of MyTable. (2 marks)

2.2 Write an SQL statement that allows you to see the data contained in all the columns of MyTable.
(3 marks)

2.3 MyTable contains some columns that are marked as unused. Write an SQL code that drops all the
columns marked as unused. (4 marks)

2.4 All the data entered into MyTable is not correct. Write an SQL code that deletes the data from the
table but leaving it intact. (3 marks)

2.5 You realised that Col1 and Col4 are too small to accommodate large variables, write an SQL code
that increases the size of Col1 from 2 to 17 and Col4 from 10 to 25. (5 marks)

2.6 Insert data into three columns of MyTable, by populating Col1, Col2 and Col4 with values A, B and
D in that order. Do not insert any data into Col3, store a null value. (5 marks)

2.7 If the primary key of this table was created with the following statement:
Col# Number GENERATED AS IDENTITY PRIMARY KEY;
What output do you expect after inserting the following data into MyTable? Explain your answer.




[Turn over]
€2,61
Accéder à l'intégralité du document:
Acheté par 24 étudiants

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Reviews from verified buyers

Affichage de tous les 4 avis
3 année de cela

2 année de cela

3 année de cela

3 année de cela

4,5

4 revues

5
3
4
0
3
1
2
0
1
0
Avis fiables sur Stuvia

Tous les avis sont réalisés par de vrais utilisateurs de Stuvia après des achats vérifiés.

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
EduPal University of South Africa (Unisa)
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
149163
Membre depuis
7 année
Nombre de followers
35995
Documents
4310
Dernière vente
4 heures de cela

4,2

13554 revues

5
7802
4
2688
3
1790
2
455
1
819

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions