Answer any seven out of ten. દશમ ાથી કોઇપણ સ તન જવ બ આપો. 1. Define Package. ૧. Packageની વય ખય આપો. 2. Explain If else statement in PL/SQL ૨. PL/SQL મ ાIf else statement સમજાવો. 3. Draw functional dependency diagram for following: {cid,ano} -- > {access_date,balance,bname} ૩. નીચન નો functional dependency diagram દોરો {cid,ano} -- > {access_date,balance,bname} 4. Define: View, Index ૪. વય ખય આપો: View, Index 5. List out problems of concurrency control ૫. Concurrency control ન problems લખો 6. Define Deadlock ૬. Deadlockની વય ખય આપો. 7. Define Synonym with example ૭. Synonym ની વય ખય આપી ઉદ હરણ સહીત સમજાવો. 8. Write syntax of Create command with one example. ૮. Create કમ ડા ઉદ હરણ સહીત સમજાવો. 9. List datatypes in PL/SQL ૯. PL/SQL મ ાdatatypes ની ય દી બન વો 10. Explain GOTO statement with example ૧૦. GOTO statement ઉદ હરણ આપી સમજાવો.
Explain Granting of privileges પરશન. ર (અ) Granting of privileges સમજાવો
[3 marks]Explain RollBack command (અ) RollBack કમ ાડ સમજાવો
[3 marks]Differentiate: Prime v/s Non-Prime attribute. (બ) Prime અન Non-Prime attribute વચચનો તફ વત લખો 1/3
[3 marks]Describe trivial and non-trivial dependency with suitable example (બ) Trivial અન non trivial dependency ઉદ હરણ આપી સમજાવો
[3 marks]List out explicit cursor attributes and explain %ROWCOUNT in detail (ક) Explicit cursor attributes ની ય દી બન વી % ROWCOUNT વવગત સમજાવો
[4 marks]How sequence can be created explain by example (ક) Sequence કઇ રીત create કરી શક ય ઉદ હરણ આપી સમજાવો
[4 marks]Give the difference between sorting and indexing. (ડ) sorting અન indexing નો તફ વત લખો.
[4 marks]Discuss the advantages of PL/SQL over SQL. (ડ) SQL સ પકષમ ાPL/SQLન ફ યદ સમજાવો
[4 marks]Explain GRANT and REVOKE commands with examples. પરશન. 3 (અ) GRANT અન REVOKE commands ઉદ હરણ આપી સમજાવો
[3 marks]Explain WHILE loop with syntax and example. (અ) WHILE loop syntax અન ઉદ હરણ આપી સમજાવો
[3 marks]What is Exception? Explain Named Exception. (બ) Exception એટલ શ? Named Exception સમજાવો
[3 marks]Explain generic PL/SQL block. (બ) Generic PL/SQL block સમજાવો
[3 marks]Consider a table Account having three columns ano, balance and bname. Develop a program to display three accounts having top three highest (ક) b A a c l c a o n u ce n s t . ટ બલ ધય ન મ ા લો ક જન ી તરણ કોલમ છ ano, balance અન bname.જમ થી તરણ અક ઉાટ ક જન બલસ વધ રમ ા વધ ર હોય ત બતવવ મ ટા નો પરોગગર મ બન વો.
[4 marks]Explain types of Indexes. How can we create an Index? (ક) Types of Indexes સમજાવો. Index create કવી રીત કરી શક ય?
[4 marks]Write a PL/SQL code block to find out the factorial value using procedure (ડ) Procedure નો ઉપયોગ કરી factorial value શોધવ મ ટ નો PL/SQL code block લખો
Write short note: Parameterized cursor પરશન. ૪ (અ) ટ ાક નોાધ લખો : Parameterized cursor
[3 marks]Differentiate procedure and function (અ) Procedure and function વચચ નો તફ વત આપો. 2/3
[3 marks]Write short note: Implicit locks (બ) ટ ાક નોાધ લખો: Implicit locks
[4 marks]What is trigger? How can we create a trigger? Explain with example. (બ) Trigger શ છ? Trigger કવી રીત create કરી શક ય? ઉદ હરણ આપી સમજાવો.
[4 marks]What is Normalization? Explain the 1NF and 2NF with example (ક) Normalization એટલ શ ા? 1NF અન 2NFઉદ હરણ આપી સમજાવો.
[7 marks]Explain ACID properties of transaction. પરશન. ૫ (અ) ACID properties of transaction સમજાવો.
[4 marks]Explain cursor attributes with example. (બ) cursor attributes ઉદ હરણ આપી સમજાવો.
[4 marks]Explain Armstrong’s Axioms for Functional dependencies. (ક) Functional dependencies મ ટન Armstrong’s Axioms સમજાવો
[3 marks]Explain Optimistic methods for concurrency control. (ડ) Concurrency control મ ટની Optimistic methods સમજાવો 3/3
[3 marks]Write a PL/SQL code block to find out largest number out of three numbers. (ડ) તરણ નાબરમ થા ી સૌથી મોટો ન ાબર શોધવ મ ટ નો પી-એલ એસકયએલ કોડ લખો.
[4 marks]