<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS405 Assignment 3 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Assignment No. 03<br />
SEMESTER Fall 2019<br />
CS405- Database Programming Using Oracle 11g	Total Marks: 20<br />
Due Date: 21-01-20</p>
<p dir="auto">Objective:<br />
The assignment has been designed to enhance your knowledge about how to use:<br />
•	Loops and implementing Nested Loops<br />
•	Cursors and it’s types<br />
•	Cursor Implementation<br />
Instructions:<br />
Please read the note section and following instructions carefully before solving &amp; submitting assignment:</p>
<ol>
<li>The assignment will not be accepted after due date.</li>
<li>Assignment will not be accepted via email.</li>
<li>Zero marks will be awarded to the assignment that does not open or the file is corrupt.</li>
<li>The assignment file must be in MS word (.doc) file format; Assignment will not be accepted in any other format.</li>
<li>Zero marks will be awarded to the assignment if copied (from other student or copied from handouts or internet).</li>
</ol>
<p dir="auto">For any query about the assignment, contact at <a href="mailto:cs405@vu.edu.pk" target="_blank" rel="noopener noreferrer nofollow ugc">cs405@vu.edu.pk</a></p>
<p dir="auto">Marks: 20</p>
<p dir="auto">Consider the following table containing columns to answer the questions:<br />
Employee(emp_ID, emp_name, emp_rank, emp_scale, emp_experience, emp_salary)</p>
<p dir="auto">Question 1:                                                         [Screenshot =2.5 Marks, Code = 2.5 Marks]<br />
Write a PL/SQL block to display the reverse of maximum experience from Employee table.</p>
<p dir="auto">Question 2:                                                                        [Screenshot = 7.5 Marks, Code = 7.5 Marks]</p>
<ol>
<li>Write a PL/SQL block using cursors to update the salary of employees for the following cases.<br />
a)	If employee scale (16 or less than 16)                                           [Screenshot = 2.5 Marks, Code = 2.5 Marks]<br />
20 % increase in the salary.<br />
b)	If employee Scale (17 or above)                                                    [Screenshot = 2.5 Marks, Code = 2.5 Marks]<br />
10% increase in salary.<br />
Also display the emp_ID, emp_scale and emp_updated salary.  [Screenshot = 2.5 Marks, Code = 2.5 Marks]</li>
</ol>
<p dir="auto">Lectures Covered: This assignment covers WEEK#  9-10<br />
Note: You are required to paste code and screenshots of your programs in a Word File,  and submit that file on or before January 21, 2020<br />
GOOD LUCK</p>
]]></description><link>https://community.secnto.com//topic/1119/cs405-assignment-3-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 20:45:42 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/1119.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jan 2020 09:20:49 GMT</pubDate><ttl>60</ttl></channel></rss>