Professional Documents
Culture Documents
02
The purpose of assignments is provide you with application oriented exercise to strength the
concepts. It is expected that students will solve the assignments themselves. Following rules will
apply during the evaluation of assignment.
Cheating from any source will result in zero marks in the assignment.
In case of cheating from any other student, both students will be awarded "F" grade in the
course.
In case of question No. 02 direct copy and paste from the research paper will be awarded zero
marks.
No assignment after due date will be accepted.
I have need 80 marks in this subject. Please help me. This is my last 8 semester last
chance of degree.
Question No. 1 (a)
Consider the following two modules named “Assignment Module” and “MDB Module” taken
from design of LMS of Virtual University of Pakistan. The tasks performed by each module are
given in the form of the functions.Keeping in mind the quality issues adhered to “Software
Design”, highlight the main issues with the design of these modules. Also provide a better
design.
Assignment Module:
SubmitAssignment()
DeclareResult()
CheckResult()
Login()
Logout()
CheckUserAuthenticationLevel()
Answer:
Assignment Module:
Assignment module lets student/instructor interact for assignment related tasks. Students and
instructors can perform all the assignment related assigned activities through this module e.g. students
can download assignment file, upload their solution, check their marks, see comments etc. Instructors
on the other hand can upload assignment files, marked solutions, comments etc.
Administrator Logged the system. If the user name and password is no valid then a
message will show that user does not exist or password might be wrong.
No assignment does not submit. Quality issue
Due to slow internet speed problem.
Less marks problem in academic research paper.
Link down on VULMS. issue
Open the page and type User ID and Password then click Log – In button.
If any text box filed is empty then the validation control return errors.
Administrator, and Student successfully access account.
Login successfully or pass
User does logout of VULMS
Step 1:
Open web browser and enter vulms.vu.edu.pk
Enter your roll number as student ID and password given to you at the time of
admission
Step 2:
After successfully login to VULMS, you can see your courses in this
semester.
Click the Assignment tab of the course which has a notification of
Step 3:
Now click the 'Submit' button
new assignment
Step 4:
Click the 'Browse' button and select the file from your computer's
local drive(s)
Step 5:
After selecting the file, finally, click the 'Submit it' button to submit
the file. Then a message 'Assignment Submitted Successfully' will
shown.
MDB Module
SubmitStudentMDB()
SubmitOtherStudentComments()
UpdateSudentMDB()
CheckStudentBlockStatus()
GetStudentEmail()
GetStudentCellNo()
SendEmail()
SendMessage()
Answer:
Main quality issue
Get Student Email
Send Email
MDB Module
Moderated Discussion Board (MDB) is another module in VULMS that lets students and instructors
interact with each other for all the students’ academic queries. Students can ask any question through
MDB where teacher can reply the questions. A student can post as many questions in MDB of each
lesson.
SubmitOtherStudentComments() SendMessage()
Due to link down student or instructor can’t send message from MDB.
UpdateSudentMDB()
CheckStudentBlockStatus()
Step 1:
Step 2:
After successfully login to VULMS, you can see the courses you have in this semester
Click the MDB tab of this course.
Step 3:
Step 5:
After selecting "Post Message", a window will open where you post your question.
Question No. 1 (b)
Consider the following piece of code and identify the quality issues with it. Please ignore the
logical and syntatic errors
Line-1 integer b;
Line-2 integer n;
Line-3 integer main() {
Line-4 b=0;
Line-5 while (b NOT-EQUAL-TO 1) {
Line-6 Display "Enter no.";
Line-7 User-Input(n);
Line-8 b=MyFunction(n);
Line-9 if(b IS-EQUAL-TO 0)
Line-10 Display "Nnumber is Prime";
Line-11 else
Line-12 Display "Nunmber is not Prime"
Answer:
Line 1 and 2 variable declaration without initializing
No comment is used
No indentation is used
Function must be declared before their they are defined
Before For loop , if codition and while are not used pre and post codition
Not Exception handling
Type mismatch
No protyping
Zero (0) and 1 are not considered as prime numbers.
Question no. 2
Please read the paper titled “Requirements of Software Quality Assurance Model” given with
this assignment folder and answer the following:
Provide a to-the-point summary (not more than 250 words)
Perform critical analysis of the paper and mention its strengths and weaknesses.