You are on page 1of 4

Introduction to Computing Total marks = 15

(CS101)
Submission deadline
Assignment # 03 2nd of August 2021
Spring 2021
Please carefully read the following instructions before attempting the assignment.

RULES FOR MARKING


It should be clear that your assignment would not get any credit if:
 The assignment is submitted after the due date.
 The submitted assignment does not open or the file is corrupt.
 Strict action will be taken if the submitted solution is copied from any other student
or the internet.

You should consult the recommended books to clarify your concepts as handouts are not
sufficient.

You are supposed to submit your assignment in .doc or Docx format.


Any other formats like scan images, PDF, zip, rar, ppt, and BMP, etc will not be accepted.

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.

For any query, feel free to email at:


cs101@vu.edu.pk
Question No. 1 Marks (3)
As you know documentation helps in understanding the software systems in a better way and due
to its’ importance, it is considered a key topic in Software Engineering.

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)

SAP Server-based Installation (taken from Official Website SAP.com)

Part (C)

Microsoft Windows 10 Help


Question No.2 [Marks: 2*6= 12]
XYZ force has announced the new vacancies in their various departments. Many candidates have
applied for vacant posts in different departments. Candidates will be selected based on their age,
degree, and experience.

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.

You might also like