<?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[Topics tagged with cs405]]></title><description><![CDATA[A list of topics that have been tagged with cs405]]></description><link>https://community.secnto.com//tags/cs405</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:57:56 GMT</lastBuildDate><atom:link href="https://community.secnto.com//tags/cs405.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[CS405 Assignment 2 Solution and Discussion]]></title><description><![CDATA[Please share idea
]]></description><link>https://community.secnto.com//topic/1957/cs405-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/1957/cs405-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS405 Assignment 2 Solution and Discussion]]></title><description><![CDATA[100% Solved:
Q.1 Solution
SELECT NAME FROM 
SALESRESP  
WHERE QUOTA &gt;= 
(SELECT TARGET  FROM OFFICES  WHERE CITY = 'LAHORE')

Q.2 Solution
DECLARE
eno salesresp.empl_num%type; 
commission salesresp.commision%type; 
update_commision number(10):=0; 
BEGIN 
Select empl_num, commision from SALESRESP where months_between(sysdate, joining_date) &lt; 24 AND sal &gt; 50000; 
update_commision:=commission-commision*0.01;
update salesresp set commission = update_commision;
dbms_output.put_line('Updated Commision ' || commision);
END;

]]></description><link>https://community.secnto.com//topic/1120/cs405-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/1120/cs405-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><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><guid isPermaLink="true">https://community.secnto.com//topic/1119/cs405-assignment-3-solution-and-discussion</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS405 Assignment 1 Solution and Discussion]]></title><description><![CDATA[@zareen said in CS405 Assignment 1 Solution and Discussion:

[image: 1573739911199-e3e13fed-5997-4fb9-8c4e-eb15cf0493a5-image.png]

Create an ERD for a car dealership. The dealership sells both new and used cars, and it operates a service facility (see Figure B.2). Base your design on the following business rules:
A salesperson may sell many cars, but each car is sold by only one salesperson.
A customer may buy many cars, but each car is bought by only one customer.
A salesperson writes a single invoice for each car he or she sells.
A customer gets an invoice for each car he or she buys.
A customer may come in just to have his or her car serviced; that is, a customer need not buy a car to be classified as a customer.
When a customer takes one or more cars in for repair or service, one service ticket is written for each car.
The car dealership maintains a service history for each of the cars serviced. The service  records are referenced by the car’s serial number.
A car brought in for service can be worked on by many mechanics, and each mechanic may work on many cars.
A car that is serviced may or may not need parts (e.g., adjusting a carburetor or cleaning a fuel injector nozzle does not require providing new parts).

ERD Answer
]]></description><link>https://community.secnto.com//topic/592/cs405-assignment-1-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/592/cs405-assignment-1-solution-and-discussion</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Assignment 01  Semester: Spring 2019  Database Programming Using Oracle 11g – CS405]]></title><description><![CDATA[<p dir="auto">Assignment 01  Semester: Spring 2019  Database Programming Using Oracle 11g – CS405<br />
Weeks Covered : 01 - 03</p>
<p dir="auto">Total Marks: 20</p>
<p dir="auto">Due Date: 17-05-19</p>
<p dir="auto">Objectives:<br />
Students will be able to learn:<br />
•	Relationships among tables<br />
•	Structured Query Language Basics<br />
•	SQL Joins<br />
Instructions:<br />
Please read the following instructions carefully before submitting assignment:<br />
It should be clear that your assignment will not get any credit if:</p>
<p dir="auto">♣	The assignment is submitted after due date.<br />
♣	The assignment is submitted via email.<br />
♣	The assignment is copied from Internet or from any other student.<br />
♣	The submitted assignment does not open or file is corrupt.<br />
♣	It is in some format other than .doc/docx.</p>
<p dir="auto">Note: All types of plagiarism are strictly prohibited.</p>
<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">Scenario<br />
Suppose a Software Development Company is maintaining Employee’s Basic Information, Attendance Record and Leave Record. The following three tables have been created and their attributes are also given.<br />
Employee (emp_id, emp_name, designation, phone_no, address, joining_date, basic_salary, net_salary, department)<br />
Attendance (emp_id, date, duty_time_in, duty_time_out, emp_time_in, emp_time_out, working_hours)<br />
Leave (emp_id, leave_id, leave_date, leave_type, leave_status, total_leaves_allowed, leaves_availed)</p>
<p dir="auto">Question: You are required to use these relations to write SQL statements for the following cases:</p>
<ol>
<li>
<p dir="auto">Display the list of names of all employees who are having either ‘S’ in the name or the name should end with ‘I’ and designation is ‘Lecturer’.</p>
</li>
<li>
<p dir="auto">Display the net salary paid to the Lecturers of all departments where net salary is more than 85000 and records are order by salary.</p>
</li>
<li>
<p dir="auto">Display information of all those employees who are working in CS dept and their minimum salary is greater than 70000.</p>
</li>
<li>
<p dir="auto">Display the employee name, employee ID and total leaves availed by employee in last 6 months.</p>
</li>
<li>
<p dir="auto">Display the empID, name and designation of employees having same joining date.</p>
</li>
</ol>
<p dir="auto"><a href="/assets/uploads/files/1558174126829-spring-2019_cs405_1.docx">Spring 2019_CS405_1.docx</a></p>
]]></description><link>https://community.secnto.com//topic/50/assignment-01-semester-spring-2019-database-programming-using-oracle-11g-cs405</link><guid isPermaLink="true">https://community.secnto.com//topic/50/assignment-01-semester-spring-2019-database-programming-using-oracle-11g-cs405</guid><dc:creator><![CDATA[moaaz]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>