Friday, May 17, 2013

CS607 Artificial Intelligence Assignment No.3 Idea Solution Spring Semester On May 2013


CS607 Artificial Intelligence Assignment No.3 Idea Solution Spring Semester On May 2013


Assignment No. 03
Semester: Spring 2013
CS607: Artificial Intelligence
Total Marks: 20
Due Date: 21/05/2013
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
The assignment is submitted after due date.
The submitted assignment does not open or file is corrupt.
Solution is copied from any other source.
Objective

The objective of this assignment is to enhance your knowledge about;
Genetic Algorithms and its application.

Genetic Algorithm

Dear Student, you have studied about Genetic Algorithm (GA) and its application on several sample problems. Here in this assignment you are given another problem and you have to devise your solution using GA. This will help in testing your understanding and improving your knowledge about GA. Following is the simple flowchart of GA.
Crossover/
/ Time-over
Figure 1: Flow chart of steps in Genetic Algorithm.
Important things to consider in application of GA
Defining chromosome structure / Problem solution encoding: The first thing we need to do in GA application is to define chromosome structure. Each chromosome represents an intermediate solution.
Population Size: It is the number of chromosomes that we need to initialize and carry forward in every generation.
Fitness function: This is a way to evaluate the goodness of current chromosomes/solutions.
Crossover: This is required to define how existing chromosomes/solutions will generate new chromosomes/solutions (hopefully improved).
Mutation: How to make small random change in new generated chromosomes/solutions.
Stopping condition/No. of generations/iterations: This may be a threshold fitness value used to terminate the loop iteration. Often, it’s very difficult to define a threshold fitness value and that’s why loop is terminated after a fixed number of iterations/generations.
Graph Partitioning Problem
It’s a very interesting problem in which a graph G is divided into partitions such that minimum number of edges are running across the partitions. Following is the simplified version of the same problem for better understanding.
Let’s consider we have a Graph of 30 nodes as given below.
Figure 2: Sample randomly generated Graph of 30 nodes.
We want to divide this graph into 2 disjoint partitions with minimum cut-size. Cut-size is defined as the total number of edges connecting nodes in different partitions. Let say, I do simple partitioning by randomly placing 15 nodes in one partition and remaining 15 nodes in other partition. The resultant partitioning is shown in figure below.
Figure 3: Random Partitioning...Cut-size=34.
Cut size of above simple partitioning = 34 (as total 34 edges are running across the partitions
I have implemented a Genetic Algorithm based solution for such graphs. After applying GA, I have the following picture. (this is of course not the best/optimal solution)
Figure 4: After applying GA...Cut-size=16
Your task is to devise a solution using GA that shall minimize/reduce the cut-size and answer the following questions.

Questions

Q. No. 1: Describe your Chromosome structure / solution encoding scheme. How it will represent initial and intermediate solutions? Give your representation for the partitions given in Figure-3 and Figure-4.

Q. No. 2: Describe your Fitness function for the given problem. How it will calculate fitness value of intermediate solutions.

Q. No. 3: Describe your strategy for Crossover operation. How intermediate solutions will generate new solutions?

Q. No. 4: Describe your strategy for Mutation operation. How newly generated solutions will be mutated?

Q. No. 5: Describe your Stopping condition. How you choose to stop/terminate execution of your GA?

Submission
You are required to submit your solution in MS Word format through LMS.




CS607 Artificial Intelligence Assignment No.3 Idea Solution Spring Semester On May 2013

CS602 Computer Graphics Assignment No.2 Idea Solution Spring Semester On May 2013

CS602 Computer Graphics Assignment No.2 Idea Solution Spring Semester On May 2013



Assignment No. 03
SEMESTER Spring2013
CS602- Computer Graphics
Total Marks: 20
Due Date: 20/05/2013
Instructions

Please read the following instructions carefully before solving & submitting assignment:

It should be clear that your assignment will not get any credit (zero marks) if:

The assignment is submitted after due date.
The submitted assignment does not open or file corrupt.
The assignment is fully or partially copied (from other student or ditto copy from handouts or internet).
Student ID is not mentioned in the assignment File or name of file is other than student ID.
The assignment is not submitted in .dev format.
Uploading instructions
Your Submission must include:
.dev file of project
Exe file of your assignment.

Objective

The objective of this assignment is
To make you understand the practical implementations of graphics application with a simple example.
To give you some practice exercise of matrix operations and its impact on graphics drawing.
Important Requirements and Instructions:

You are not allowed to copy it from internet. In that case no marks shall be awarded.
Same assignment of two or more students shall be considered cheating case and they will get straight zero marks.
Assignment last date is 20/05/2013..Any lame excuses will not be accepted.
We will not accept assignment through email in any case.Be careful.

For any query about the assignment, contact at cs602@vu.edu.pk

GOOD LUCK
Answer the following question.
Question:

Following is a diagram of chair. You have to draw it on screen and perform the given operations using C++ language:

Translation
Scaling
Rotation
Instructions:

Center of the diagram is C (320, 240).
Pivot point for this diagram is P (0, 0).
Make a class Chair () and declare the given operations as functions.
Perform the above mentioned operations according to the coordinates entered by the user.
Let the coordinates used for these operations are all positive and within the boundaries of screen.
When chair is translated display it in yellow color.
When chair is scaled, first translate it at coordinates (50, 50) and display it in green color.
When chair is to be rotated at some angle, first translate it at coordinates (50, 50) and display it in cyan color.

Important Note:

1. Complete requirements are given in demo file you are supposed to fulfill all the requirements. See the demo file “Assignment No 3 Demo.mp4” along with the text file of Assignment No 3.
2. Some checks also have to be fulfilled given in demo file.
3. Check the tutorial “How to add graphics properties in Dev cpp project” for assignment help which is uploaded in course download section.

Lectures Covered: This assignment covers Lecture # 12-15
Deadline
Your assignment must be uploaded/submitted at or before 20/05/2013. 





CS602 Computer Graphics Assignment No.2 Idea Solution Spring Semester On May 2013

CS605 Software Engineering-II Assignment No.2 Idea Solution Spring Semester On May 2013


CS605 Software Engineering-II Assignment No.2 Idea Solution Spring Semester On May 2013


Assignment No. 2
Semester Spring 2013
Course name – CS605
Total Marks: 15
Due Date: 18/5/2013

Objective:

To learn and understand basic concepts of Function point analysis and RET ( Record Element Type).

Instructions:

Please read the following instructions carefully before solving & submitting assignment:

Assignment should be in your own wordings not copied from net, handouts or books.

It should be clear that your assignment will not get any credit (zero marks) if:

The assignment is submitted after due date.
The submitted assignment does not open or if file is corrupt.
The assignment is copied (from other student or copy from handouts or internet).

For any query about the assignment, contact at cs605@vu.edu.pk

GOOD LUCK

Q1. 5 marks

For an inventory control system, calculate the Function Point Count (FP) for which the following measures are given:

Degree of Influence (DI) = 50

Unadjusted Function Point (UFP) = 2

Q3. In a bank HR department has launched online application to record employee’s data. The employee’s data includes employee name, registration no, qualification and experience. The employees have been classified as hourly employee, salaried employee. Either type of employee can have information about the dependents and the field of experience. Identify the RETs (Record Element Type) in the above scenario.

5 marks

Q2. Calculate Total degree of Influence, Function Point count (FP) and Value Adjustment Factor (VAF) on the basis of the following data:

UFP= 318 5 marks
General System Characteristics
Degree of Influence
Data Communication
2
Distribute Data Processing
0
Performance
5
Heavily used Configuration
4
Transaction Rate
2
Online Data Entry
4
End User Efficiency
5
Online Update
3
Complex Processing
4
Reusability
5
Installation Ease
4
Operational Ease
5
Multiple Sites
5
Facilitate Charges
5
Note:
Assignment should be in .doc format.
Your answer should be “to the point”




CS605 Software Engineering-II Assignment No.2 Idea Solution Spring Semester On May 2013

CS506 Web Design and Development Assignment No.3 Idea Solution Spring Semester On May 2013

CS506 Web Design and Development Assignment No.3 Idea Solution Spring Semester On May 2013



Assignment No. 03
SEMESTER Spring 2013
CS506- Web Design and Development
Total Marks: 20
Due Date: 20/05/2013
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit if:

The assignment is submitted after due date.
The submitted assignment does not open or file corrupt.
The assignment is fully or partially copied from (other student or ditto copy from handouts or internet).
Student ID is not mentioned in the assignment File or name of file is other than student ID.
The assignment is not submitted .java format.
Uploading instructions
Your submission must include:
Submit the complete working project in zip format and other if necessary files (database) to compile and run your program.
Objective
The objective of this assignment is
To give you some practice exercise of event handling and Database connectivity and perform different queries on database in Java

Important Requirements and Instructions:

You are allowed to use Netbeans IDE for this assignment.
Assignment due date is May 20, 2013.
We will not accept assignment through email in any case. Be Careful

Deadline: Your assignment must be uploaded/submitted at or before 20/05/2013
For any query about the assignment, contact at cs506@vu.edu.pk
GOOD LUCK
Question:

HRM is the management of employees within an organization. At present stage all the Human Resource (HR) work for JS Group of Industries is managing manually. Each time to change employee information, the manager needs to update the record manually in different locations/ places, which is a tedious job for the HR manager and prone to errors.

As in the second assignment we had designed different GUIs for HR Manager of JS Group of Industries. So in this assignment we are going to connect the GUI’s with database and perform different event handling.

Solution Guidelines:

First you have to create a database in MS Access named as “Employee”.

There should be a table in “Employee” database named as “Personal Information”

Set Data source name (DSN) for your database.

You can also get help from the 2nd assignment solution for GUI’s creation.

Note:

Submit the complete working project in zip format
Event handling and database connection must be work; otherwise you will get zero marks.
Your code must be enough for 20 marks
Sample Output:
When you run the program:
User fill the form and click on “Save” button, then all the information will be saved in “Personal Information” table of “Employee” database
When User click “Search Personal Information” tab, then:
User provides the ID that he/she wants to search. As a result all the data that is stored in the database will be display.
When user click “Delete Personal Information” tab, then:
The user provides ID and all the records of that ID will be deleted from the database “Personal Information” table.





CS506 Web Design and Development Assignment No.3 Idea Solution Spring Semester On May 2013

CS410 Visual Programming Assignment No.3 Idea Solution Spring Semester On May 2013

CS410 Visual Programming Assignment No.3 Idea Solution Spring Semester On May 2013


CS410 Visual Programming Assignment No.3 Solution Spring Semester 2013.lets discusses about the assignment For important helping material related to the subject Solved MCQs, Short Notes, Solved Past Papers, E-Books, Recommended Books, FAQs, Short Questions Answers & more and please share the assignment file and discuss about this assignment 




CS410 Visual Programming Assignment No.3 Idea Solution Spring Semester On May 2013

CS403 Database Management Systems Assignment No.3 Idea Solution Spring Semester On May 2013

CS403 Database Management Systems Assignment No.3 Idea Solution Spring Semester On May 2013

 
Assalam o alikum
Dear students
Please share your idea solution
Database Management System (CS403)
Assignment No. 3
Total marks = 20
Deadline Date: 21/05/2013

Please carefully read the following instructions before attempting the assignment.

Deadline

Your assignment must be uploaded before or on 21st May 2013.

Rules for Marking

It should be clear that your assignment will not get any credit if:

1. The assignment is submitted after due date

2. The assignment is copied

3. You are supposed to submit your assignment in .doc / Docx format. Any other formats like scan images, PDF, Zip, rar, bmp etc will not be accepted.
For any query please contact: CS403@vu.edu.pk

Objectives

The objectives of this assignment are,
Giving the idea of the most common tool used for designing database systems i.e. Data Flow Diagram. It is used to design systems graphically and expresses different details of system in different DFD levels.
To become familiar with the flow of data between different processes and to hide complexities in any given system.

Scenario:

The top management of the university wants to computerize the university employee’s records for security reason. The security information system will comprise of three sub applications.

Fingerprint system (deployed through a biometric device)
Online Employee Record Management (ERM) that will be a web based application deployed on a central server and access able through LAN
Live Activity Monitoring System (LAMS) deployed through security camera (CCTVs) installed on various location in university premises.

Detail of each application is given below:

Fingerprint system:

To achieve this task the management wants to fix an automated fingerprint identification system for employee’s attendance. This system automatically matches fingerprints against a database of known prints. Attendance system uses biometrics to guarantee the accuracy in reporting. Attendance system works by having an employee place their finger on a small scanner upon entering and exiting the office, the attendance record is stored in the database. This information can later be checked by the management to track the employee’s check in, checkout times and location as well.

Online ERM:

To guarantee security, the employee’s are provided with a web account. Employees are provided with the user name and password so that no one can access his / her record. Using their account, employees can mark attendance, apply for leave, apply for loan, manage his/her bank account or see salary slip. Employee can also generate a new password by using the “Forgot your password?” link on the login page.

Live Activity Monitoring System (LAMS):

To better enhance the security system, management wants to install the security cameras to monitor the employee’s activities more closely, to keep an eye on precious assets and properties of the university. With the help of security cameras unauthorized and illegal activities are controlled. The security cameras capture images and record videos. These records are stored in the database. The management can view all the details about their employees at any time to monitor the productivity and job related skills of employees. Further than case use the information to ensure that he/she might not indulge in any immoral activities.

Note that all the three applications share a central database (as shown in figure-1), deployed on a dedicated database server.

Task Description:
Task-1: [Marks: 10]

You are required to pick one super type/subtype relationship from the above given scenario. Show what type of constraint (Total completeness or partial completeness) exists in the given super type/subtype relationship. Draw the corresponding diagram showing entities, their attributes and relationship.

Task-2: [Marks 10]

Draw cross reference matrix of reports (atleast three) along with their attributes from the above given scenario.
Note: In Task 2 you have to draw cross reference matrix for atleast three we reports




CS403 Database Management Systems Assignment No.3 Idea Solution Spring Semester On May 2013

CS401 Computer Architecture and Assembly Language Assignment No.3 Idea Solution Spring Semester On May 2013

CS401 Computer Architecture and Assembly Language Assignment No.3 Idea Solution Spring Semester On May 2013



Assalam o alikum
Dear Students
Please discuss here idea Solution
Please carefully read the following instructions before attempting 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 file is corrupt.
Strict action will be taken if submitted solution is copied from any other student or from the internet. Students will be punished severely in either case.


1) You should concern recommended books to clarify your concepts as handouts are not sufficient.

2) You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, zip, rar, bmp etc will not be accepted.

3) The assignment file comprises of two pages.

Note:

Assignment comprises of lectures No. 14-19.
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 assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its deadline.
For any query, feel free to email at:

cs401@vu.edu.pk

Question:

We have an array of whole numbers in the main program as follows:

ARRAY : 0,1,2,3,4,5,6,7,8,9,10


You are required to write an assembly language program having a subroutine “SUM_OF_SQUARE”. The subroutine should find out the square of each number and then add them together along with storing the result into a separate data label “SUM” as follows:

Copy “SUM” into “DX” after executing the subroutine.

Provide the final snapshot of AFD that should display the contents of data label “SUM” and “DX”.

Marking Distribution: (Total = 20 marks)

Writing correct subroutine. (15 marks)
AFD command used for showing data in data label “SUM”. 2 marks)
AFD snapshot showing result of “SUM” and “DX”. (3 marks)




CS401 Computer Architecture and Assembly Language Assignment No.3 Idea Solution Spring Semester On May 2013

CS304 Object Oriented Programming.Assignment No. 3 Idea Solution Spring Semester On May 2013

CS304 Object Oriented Programming.Assignment No. 3 Idea Solution Spring Semester On May 2013

 
Assignment No. 03
SEMESTER Spring 2013
CS304- Object Oriented Programming Total Marks: 20
Due Date: 20/05/2013
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
o The assignment is submitted after due date.
o The submitted assignment is other than .cpp file.
o The submitted assignment does NOT open or file is corrupted.
o The assignment is copied (from other student or ditto copy from handouts or internet).
Uploading instructions

o For clarity and simplicity, you are required to Upload/Submit only .CPP file
Objective
The objective of this assignment is:

o To give you the idea of practical implementation of some concepts like, definition of classes, Data members, member functions, Aggregation, Composition, Constructors etc.

For any query about the assignment, contact at CS304@vu.edu.pk
GOOD LUCK
Marks: 20
Composition and Aggregation is an important relationship between objects in object oriented paradigm. Consider the following class diagram, which shows some classes and their relationship (Composition and Aggregation), while the detail of classes is given in the table
Class Name Attribute Name Attribute Data Type Functions
Sign Name Character String -Constructor
-Getters and Setters
Candidate Name Character String -Default constructor()
Votes_obtain Integer -Overloaded Constructor
sign Sign -Getters and Setters
-Count_votes()
Constituency ConNo Character String -Default constructor()
Candidate_name Cadidate -Overloaded Constructor
-Getters and Setters
Result DayOf_result Character String -Default constructor
-Getters and Setters
-compile_result()
VB_Paper CanName Candidate -Default constructor
res Result -Overloaded Constructor
-Getters and Setter
-Get_result()
You are required to implement this class diagram (Write complete program) in to C++ with all functions and concepts (Aggregation and composition) given in the class diagram/table.

You need to consider that there may be two or more than two candidates who can contest in the constituency.

Details of important Member functions:
Count_votes(): This function will count votes of each candidate.
compile_result() : This function will Compile (calculate) the result of the contesting candidates.
Get_result(): This function will get/show result from the Result class through the part object “res” of the VB_Paper class.
Output:
Lectures Covered: This assignment covers Lecture # 07-15
Deadline: Your assignment must be uploaded/submitted at or before. May 20, 2013




CS304 Object Oriented Programming.Assignment No. 3 Idea Solution Spring Semester On May 2013
Thursday, May 16, 2013

Peshawar University Declared BA/BSc annual examination date sheet on 16th May 2013


Peshawar University Declared BA/BSc annual examination date sheet on 16th May 2013



Peshawar University declare BA/BSc annual examination date sheet paper will be start 5th June 2013 and Last paper will be on 8th July 2013.All the teacher and students Click below to the link and can download this date sheet.










Vugurus. Powered by Blogger.

Popular Posts

Blog Archive

Labels

Imp Links

Followers

Total Pageviews

Subscribe for email

Blog Archive

Labels

Search

Loading...