Pages

Friday, July 27, 2012

Cs504(Software Engineering) Spring Final Term 2012

Question #1 marks 2
what is the basic unit of object oriented design ? discuss briefly.
Ans:
The basic unit of object oriented design is an object. An object can be defined as a
tangible entity that exhibits some well defined behavior. An object represents an
• individual,
• identifiable item,
• unit, or entity,
• either real or abstract,
with a well defined role in the problem domain. An object has state, behavior, and
identity.

Name any two standards which are being used by ,c++ for writing programs.
Ans:
1. Hungarian Notation
2. Bicapitalization or camel case

quesiton 3 marks 2
what extension should be used for c++ header file?
Ans:
C++ header files should have the extension .h.
Example: MyClass.h

as pre peter coad methodology for deriving the object model , " sale" is a
transaction object keeping in mind any point of sale system list the attributes of
sale object and services profited by it.
Ans:
product
pk Prod.id
Order.id
Dept.id


Question 4 …….marks 3

describe three coverage schemes related to white box testing?
Ans:
Statement Coverage: In this scheme, statements of the code are tested for a
successful test that checks all the statements lying on the path of a successful
scenario.

Branch Coverage: In this scheme, all the possible branches of decision structures
are tested. Therefore, sequences of statements following a decision are tested.

Path Coverage: In path coverage, all possible paths of a program from input
instruction to the output instruction are tested. An exhaustive list of test cases is
generated and tested against the code.

what is difference between inspection and testing?
Ans:
We always need to employ inspection techniques and combine them with testing to
increase the effectiveness of defect removal efficiency.

In inspections the emphasis is on early detection and fixing of defects from the program.
Inspections can check conformance with a specification but not conformance with the
customer’s real requirements. Inspections cannot check non-functional characteristics
such as performance, usability, etc. Inspection does not require execution of program
and they maybe used before implementation. Many different defects may be discovered
in a single inspection.

In testing, one defect may mask another so several executions are required.
For inspections, checklists are prepared that contain information regarding defects.
Reuse domain and programming knowledge of the viewers likely to help in preparing
these checklists. Inspections involve people examining the source representation
with the aim of discovering anomalies and defects. Inspections may be applied to any
representation of the system (requirements, design, test data, etc.) Thus inspections are
a very effective technique for discovering errors in a software program.

Consider the following statement

array[i++] = array[i++]=x;
keeping in mind the problems caused by side effects. how the above statement
can be dangerous.
Ans:
Due to side effects, multiple assignments become very dangerous. In this
statement, a whole depends upon when i is incremented.

question 6 marks 5
A student claims that we cannot implement the software construction activities,
if we don't have supporting tools that could provide us the automated or semi-
automated support? Do you agree with the statement or not ? Provide logical
reason.

Ans:
Only partially we can accept this claim.coz development is a creative activity.
Objective of development is to show that how the program works. tester uses his/her
imagination to come up with use patterns of the application that can help him/her in
describing exact steps that should be executed in order to test a particular functionality.
Moreover, they needs to figure out
loose points in the system from where he/she can discover defects. All these activities
are highly imaginative and a students are supposed to possess above average (if not
excellent) analytical skills. Scenarios missed or misunderstood during development
analysis would never be tested correctly because the corresponding test cases would
either be missing or would be incorrect.


So, student claims that we cannot implement the software construction activities, if we
don't have supporting tools that could provide us the automated or semi-automated
support is not acceptable at all.

quesiton 7 marks 5
Which of the following are the magic numbers?

Any number (even 0 or 1) used in the code can be a magic number.

These are constant that mean something but they do not give any indication
of their importance or derivation, making the program hard to understand and
modify. To a reader they work like magic and hence are called magic numbers.
It should rather have a name of its own that can be used in the program
instead of the number.

while working on a GUI user goes for some clicks in order to delete some
component of that system but that component is in use by some other
stockholder and hence cannot be deleted at that specific time'.
If you are the developer for this GUI , write at least 3 ways for handling above
scenario and also tell which solution is ideal in your point of view.
Ans:

First, if a component is currently in use, it should not have been displayed in the list at
the right.

Secondly, instead of displaying many messages separately in many dialog boxes, it

would have been appropriate to combine them in minimum message pop ups.

Thirdly, close all the other expected application which can use that component.

First option will be ideal to handle such issues.

Monday, July 23, 2012

HRM611 Current Spring 2012 Final Term VU Paper [July 2012] Virtual University of Pakistan

HRM611 Current Spring 2012 Final Term VU Paper [July 2012] Virtual University of Pakistan
1. How participative management style is different from other management systems?*
2. Discuss the need to develop a team?*
3. What are the functional units of any organization?*
4. Employment security maintained overtimes and helps to build trust between people and their employer. This trust can trigger many benefits.
What are those benefits?
Another Paper:
1. What are the two features of technological core that influence other design components of organization? Discuss in detail.
2. What are basic purposes of functional roles of group members?
3. How would you differentiate vertical market network from inter market network?
4. Stress management is directed at preventing negative stress outcomes by changing the organizational conditions causing the stress. How this technique can work to manage workplace stress?

FIN630 Current Spring 2012 Final Term VU Paper [July 2012] Virtual University of Pakistan

FIN630 Current Spring 2012 Final Term VU Paper [July 2012] Virtual University of Pakistan
56 mcqs mostly new
4 question 3 marks
Three kind of contract do you agree
Primary object of investment portfolio
Define zero coupon bonds
Two investment given to tell what better and risk free
4 question 5 marks
The correlation coefficient between the returns of the stock and the market is 0.85. The variance of stock’s returns is 0.75 and variance of market returns is 0.22. Calculate the covariance of market and stock’s returns.
Two statement given to holding period investment X and Y stocks. Find X stock holding period and find Y stock holding period and find both nature of stock.
Given value of du pont return on equity find
Earning before taxes
Total asst
Total Current liabilities
Net sale
Net profit
Given statement for choice to call or put optional contract
X stock value greater and Y stock value is lesser
And find this is premium and find better stock.

Thursday, June 9, 2011

VU Spring 2011 Mid Term Result Announced and Published


Published On:  Wednesday, June 08, 2011

The result of Spring 2011 Mid Term Examination has been published. The students are advised to check their LMS grade books.

NOTE:
Spring 2011 Final Term Examination will commence on 15th July, 2011 for which the date sheet interface will be launched during 3rd week of June 2011.

Saturday, June 4, 2011

CS403 Assignment No. 3 Announced


Assignment No. 3
Semester FALL 2011
Database Management System-CS403

Total Marks: 15
Due Date: June 09, 2011


Objective:

Instructions:
Please read the following instructions carefully before solving & submitting assignment:
Assignment should be in your own wordings not copied from internet, 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 file corrupt.
  • The assignment is copied (from other student or copy from handouts or internet).
For any query about the assignment, contact at cs403@vu.edu.pk



Q1: Find E-R Diagram of ABC Hospital, below.

a.       You are required to translate diagram and write relations (tables) on behalf of E-R diagram provided. 3 Marks
b.      You are required to Normalize tables obtained from part a of Question 1 to 3rd Normal Form. All tables / relations should be in 3rd normal form. (You are not required to show all procedure from 1NF to 3NF, only final relations in 3NF are required to write.) 12 Marks

Attribute Details:

P-ID                   Patient ID
D-ID                  Doctor ID
D-Phone            Doctor Phone
M-Code             Medicine Code


** You are not required to change / update new attributes or entities in E-R Diagram, while writing relations in part a / part b.

Friday, June 3, 2011

CS402 Assignment No. 3 Announced


Theory of Automata (CS402)

Assignment No.3


Total Marks: 20                                                                                   Due Date: 09-06-2011

Rules for Marking
It should be clear that your assignment will not get any credit if:
  • The assignment is submitted after due date
  • The assignment is copied

Objectives:
After completing this assignment you will be able to have a great deal of understanding of:
  • Moore machine 
  • Mealy machine 
  • Regular language
  • Non-regular language
  • Complement method
Question No.1
Moore and Mealy machine 

Consider the following Moore machine 

IMAGE HERE

a)      Draw the transition table
b)      Run the string babbab over the above machine and determine corresponding output string plus table as well.
c)      Convert given Moore machine into an equivalent Mealy machine
                                
Question No.2

Regular Languages

Consider FA1 and FA2 representing languages L1 and L2 given below,

IMAGE HERE

Prove that Language representing FA1FA2 is regular using complement method.

                                              
Hint:
We know that a language is regular if it’s RE or FA or TG exists, so to prove L1L2 is regular you need to find FA1 U FA2 using complement method
[First find L1and L2Then L1∩ L2then (L1c∩ L2c) c  then find out the final FA as (L1c∩ L2c) c = L1 U L2

Assignment Uploading Instructions:
Upload single word file in office 2003 format having solutions for all questions.

MCM515 current Assignment No. 2 Announced


Radio News Reporting & Production (MCM515)

Virtual University of Pakistan

Semester “Spring 2011”

Radio News Reporting & Production

MCM515

Assignment No. 02 Marks: 15

“Awareness Raising Radio Campaign”

Radio has a potential to reach to remote audiences where television transmission is not yet available. This greater accessibility of radio increases the scope of mass communication especially in the developing countries of the world. Unfortunately, in Pakistan, the purpose of radio is limited to the music and entertainment only.

Q-1: Being the student of mass communication, critically analyze the scope of radio in creating awareness about ANY social problem amongst urban and especially rural audience in Pakistan. (05)

Q-2: Develop a layout of small radio campaign aiming at awareness raising regarding your selected issue along with your proposed solutions to curb the problem. (10)

Campaign Layout can be based on following components:
  • Objective
  • Scope of the problem
  • Target Messages (at least 03)
  • Communication Strategy
  • Nature of Programming
  • Budget/ Sponsors
  • Expected Outcome

1. 
Note: Copied material will be graded “Zero.”

Radio News Reporting & Production (MCM515)

Virtual University of Pakistan

Important Tips

1. Select Any social problem of Pakistan and highlight the role of radio to create awareness among masses. Also plan a campaign for this purpose.

2. This Assignment can be best attempted from the knowledge acquired after watching video lecture no. 01 to lecture no 25 and reading handouts as well as recommended text book.

3. You can consult the recommended books and related websites.

4. Video lectures can be downloaded for free from Online VU Lectures.

Schedule

Opening Date and Time 02nd Jun, 2011 At 12:01 A.M. (Mid-Night)

Closing Date and Time 08th Jun, 2011 At 11:59 P.M. (Mid-Night)

Note: Only in the case of Assignment, 24 Hrs extra / grace period after the above mentioned due date is usually available to overcome uploading difficulties which may be faced by the students on last date. This extra time should only be used to meet the emergencies and above mentioned due dates should always be treated as final to avoid any inconvenience.

Important Instructions:

Please read the following instructions carefully before attempting the assignment solution.

Deadline:

 Make sure that you upload the solution file before the due date. No assignment will be accepted through e-mail once the solution has been uploaded by the instructor.

Formatting guidelines:

 Use the font style “Times New Roman” and font size “12”.

 It is advised to compose your document in MS-Word 2003.

 Use black and blue font colors only.

Solution guidelines:

 Use APA style for referencing and citation. For guidance search “APA reference style” in Google and read various website containing information for better understanding or visit
http://linguistics.byu.edu/faculty/henrichsenl/apa/APA01.html

 Every student will work individually and has to write in the form of an

Radio News Reporting & Production (MCM515)

Virtual University of Pakistan

analytical assignment.

 Give the answer according to question, there will be negative marking for irrelevant material.
 For acquiring the relevant knowledge don’t rely only on handouts but watch the video lectures and use other reference books also.

Rules for Marking

Please note that your assignment will not be graded or graded as Zero (0) if:

 It has been submitted after due date
 The file you uploaded does not open or is corrupt
 It is in any format other than .doc (MS. Word)
 It is cheated or copied from other students, internet, books, journals etc..

Is this blog is useful for you?

Powered by Blogger.