Professional Documents
Culture Documents
Introduction To Computing (CS101) : Assignment # 03 Spring 2021
Introduction To Computing (CS101) : Assignment # 03 Spring 2021
(CS101)
Submission deadline
Assignment # 03 2nd of August 2021
Spring 2021
Please carefully read the following instructions before attempting the assignment.
You should consult the recommended books to clarify your concepts as handouts are not
sufficient.
Objectives:
To know about documentation in Software Engineering.
To know how to differentiate among several types of documentation.
To know about Database Tables.
To know how to apply Database Queries.
NOTE
No assignment will be accepted after the due date via email in any case (whether it is the
case of load shedding or internet malfunctioning etc.). Hence refrain from uploading
assignments in the last hour of the deadline. It is recommended to upload the solution file
at least two days before its closing date.
If you find any mistake or confusion in the assignment (Question statement), please consult
with your instructor before the deadline. After the deadline, no queries will be entertained
in this regard.
Following are some scenarios (screenshots) of Software Systems related to various document
types. You are required to identify the exact documentation type as per the given scenarios. (Just
name it, no explanation required)
Part (A)
Class Diagram (taken from “The Unified Modelling Language User Guide” Booch - 2E)
Part (B)
Part (C)
Analyze the given tables showing the information of different candidates and departments. You
are required to write the queries for given statements.
Candidates
CandID FirstName LastName City Age Degree Experience
1 Ali Umar Lahore 22 BSCS 0
2 Aslam Iqbal Karachi 27 MBA 5
3 Adnan Ahmed Multan 24 BBA 2
4 Balaj Khan Okara 23 BSIT 1
5 Burhan Idrees Lahore 20 MSc GIS 1
6 Hamza Malik Sialkot 28 MSCS 6
7 Farhan Saeed Peshawar 21 MCS 0
8 Ubaid Khalil Karachi 30 M.Com 8
9 Wahaj Sheikh Lahore 19 B.Com 0
10 Zahid Ahmed Quetta 24 BSIT 2
Departments
DeptID DeptName JobTitle Vacancies Location
1 IT Full Stack developer 5 Lahore
2 Management Project manager 1 Karachi
3 Accounts Accountant 6 Multan
4 QA QA Engineer 2 Lahore
5 GIS GIS Analyst 5 Lahore
1. Write a query to select the departments with 5 vacancies from the Department table.
2. Write a query to select the candidates with a degree of BSIT from the Candidates table.
3. Write the query to show all the candidates with no experience from table Candidates.
4. Write the query to identify all the posts offered in Lahore from column Location in the
Department table.
5. Write a query to display all the information under department name and job title from the
Department's table.
6. Write a query to display all the information under department name and vacancies from the
Department's table.