Question No: 1 ( Marks: 1 ) - Please choose one
Which one of the following is the process of focusing on the stimuli that are important, large and
intense?
► Retrieve information
► Positive reinforcement
► Overt perception 
► Perceptual selection

Question No: 2 ( Marks: 1 ) - Please choose one
All are the characteristics of the group EXCEPT:


► Share common goals
► One sided interaction 
► Belonging to the group
► Define themselves as members



Question No: 3 ( Marks: 1 ) - Please choose one
People of a religious sect, neighborhood, same caste and same profession are members of:


► In group 
► Out group
► Emergent group
► Secondary group

Question No: 4 ( Marks: 1 ) - Please choose one
A good contributor to positive attitudes is:


► Pessimism
► Optimism 
► Being a millionaire
► Low job satisfaction

Question No: 5 ( Marks: 1 ) - Please choose one
According to the need theory of motivation, unsatisfied needs motivate us until they:


► Become satisfied
► Become frustrated
► Lead to working hard
► Lead to self-esteem

Question No: 6 ( Marks: 1 ) - Please choose one
A major purpose of feedback is to tell a person:



► How well he or she communicates the true self
► How well he or she has performed 
► The difference between right and wrong
► When it is time to enhance self-esteem

Question No: 7 ( Marks: 1 ) - Please choose one
A person who develops a strong work ethic will automatically:



► Be strongly motivated 
► Be qualified for a supervisory position
► Behave in a highly ethical manner
► Develop a learning-goal orientation

Question No: 8 ( Marks: 1 ) - Please choose one
People most likely to be creative when they are motivated primarily by the:


► Potential financial reward for being creative
► Satisfaction and challenge of the work itself

► Fear of job loss for not being creative 
► Opportunity to obtain creative idea


Read More

1..A minor, by misrepresenting his age, borrows some money
. (a) He can be used for fraud.
(b) He cannot be used for fraud.
(c) He is liable to return the money.
2...Consideration” is an action which:
3....The definition of agreement is provided by which section of Contract Act
4....When a person positively asserts that a fact is true but his information does not warrant it to be so, though he believes it to be true, this is a case of
5...Common rule of law is that there is no fraud if:
6...The attainment of justice is the main object of ________.____.
7.,.,.According to section 17 of contract act, which of the following includes ‘the suggestion, as a fact, of that which is not true by a contracting party who does not believe it to be true’
8,.,.,.Fraudulent misrepresentation as to contents of documents makes the contract ________
9,..,.,.Which of the following is true about “ordinance”?

Read More

MC110401647 : Mubeen Mehmood 



Quiz Start Time: 04:11 PM Time Left 60
sec(s)


Question # 1 of 10 ( Start time: 04:11:23 PM ) Total Marks: 1
Which of the following mean different things to different people, but for many it means operating in such a way that one produces the most one can with the resources at hand?
Select correct option:

Effectivness
Efficiency
Cost benefit analysis
None of the above


2

MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 24
sec(s)


Question # 2 of 10 ( Start time: 04:12:09 PM ) Total Marks: 1
The most influential economic institutions are designed to achieve?
Select correct option:

Production of the goods
Distribution of the goods

Both a & b
None of the above




2






MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 25
sec(s)


Question # 3 of 10 ( Start time: 04:13:27 PM ) Total Marks: 1
______is the philosophical study of moral values and rules.
Select correct option:

Morality
Ethics
Business Ethics
Philosophy




2..........


MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 34
sec(s)


Question # 4 of 10 ( Start time: 04:14:47 PM ) Total Marks: 1
Which one of the following retailer has the greatest number of employees?
Select correct option:

TESCO
Carrefour
Wal-Mart
Metro




3


MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 14
sec(s)


Question # 6 of 10 ( Start time: 04:17:41 PM ) Total Marks: 1
Which principle of John Rawls assumes that a productive society will incorporate inequalities?
Select correct option:

Principle 1
Principle 2
Part a of principle 2
Part b of principle 2




3


MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 41
sec(s)


Question # 7 of 10 ( Start time: 04:19:01 PM ) Total Marks: 1
Which of the following practice is considered unethical in U.S but is a standard practice in Mexico?
Select correct option:

Nepotism

Sexism

Bribery

None of the given options





3


MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 11
sec(s)


Question # 8 of 10 ( Start time: 04:20:02 PM ) Total Marks: 1
�Principle of Utility� as a method was the idea of:
Select correct option:

James Mill
Herbert Spencer
Jeremy Bentham
Kant




3


MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 68
sec(s)


Question # 9 of 10 ( Start time: 04:21:27 PM ) Total Marks: 1
Which one of the following ethic sees concrete communities and communal relationships as having a fundamental value?
Select correct option:

The care of ethic
Demands of caring
Communitarian ethic
Socialism




3


MC110401647 : Mubeen Mehmood



Quiz Start Time: 04:11 PM Time Left 68
sec(s)


Question # 10 of 10 ( Start time: 04:21:58 PM ) Total Marks: 1
Which one of the following has claimed that a virtue is any human disposition that is praised because it enables a person to achieve the good at which human "practices" aim?
Select correct option:

John Rawals
Pincoffs
Alasdair MacIntyre
None of the above




3
Read More

Graded Discussion Board
International Business (MGT520)
Dear Students
This is to inform that Graded Discussion Board (GDB) No. 01 will be opened on 10th May, 2013 for discussion and last date of discussion is 14th May, 2013.
Topic/Area for Discussion:   Global Standardization or international Adaptation
Note:
For acquiring the relevant knowledge, do not rely only on handouts but watch the course video lectures and read additional material available online or in any other mode.
Important Instructions:
·       Your discussion must be based on logical facts.
·       The GDB will open and close at above specified date and time. Please note that no grace day or extra time will be given for posting comments on GDB.
·       Use the font style “Times New Roman” and font size “12”.
·       Your answer should be relevant to the topic i.e. clear and concise.
·       Do not copy or exchange your answer with other students. Two identical / copied comments will be marked Zero (0) and may damage your grade in the course.
·       Books, websites and other reading material may be consulted before posting your comments; but copying or reproducing the text from books, websites and other reading materials is strictly prohibited. Such comments will be marked as Zero (0) even if you provide references.
·       You should post your answer on the Graded Discussion Board (GDB), not on the Moderated Discussion Board (MDB). Both will run parallel to each other during the time specified above. Therefore, due care will be needed.
·       Obnoxious or ignoble answer should be strictly avoided.
·       You cannot participate in the discussion after the due date via email.
·       Questions / queries related to the content of the GDB, which may be posted by the students on MDB or via e-mail, will not be replied till the due date of GDB is over.
·       For planning your semester activities in an organized manner, you are advised to view schedule of upcoming Assignments, Quizzes and GDBs in the overview tab of the course website on VU-LMS.

Note related to load shedding: Please be proactive
Dear students!
As you know that Post Mid-Term semester activities have been started and load shedding problem is also prevailing in our country now a days. Keeping in view the fact, you all are advised to post your activities as early as possible without waiting for the due date. For your convenience; activity schedule has already been uploaded on VULMS for the current semester, therefore no excuse will be entertained after due date of assignments, quizzes or GDBs.
Topic: Global Standardization or international Adaptation
Background:
Companies go global mainly with these three objectives: to increase sales, to diversify/acquire resources or to minimize competitive risk. Once the decision to venture into international markets has been taken, there are two broad strategies, which can be adopted. A fundamental strategic decision has to be made immediately as to; whether employ uniform standards for products (Standardization) or customize the products according to the local culture (Adaptation) to take account of the unique characteristics of each local market. Furthermore standardization is done to achieve economy of scale and the prices of goods are relatively lower with lower profit margins as compared to customized products & adaptation is preferred when host country has higher income level and buying power with greater trend towards luxuries, the prices of goods are relatively higher along with profit margins.   

Real Time Case:
Afghanistan is an Asian country with the population over 30 million, covering an area of approximately 647,500 km2. Afghanistan became member of World Trade Organization (WTO) in 2004. Afghanistan is enlisted with less developed countries; it has poor economic conditions (almost no major flourishing industry, agriculture and textile), lower income level with less buying power and relatively unstable political environment (security issues, foreign invasion, private action etc.). Social and cultural values of Afghanistan are very much different from Pakistan. One thing to remember here is that; style, trends and preferences of Afghani people and Pakhtunes (residents of Khyber Pakhtunkhuwa of Pakistan) are very much alike when it comes to dresses and shoes. Bata Pakistan is the leading footwear brand of Pakistan. Bata is proved to be a successful shoe manufacturing company in all the market segments (Men, Women, children and people of all ages and cultures) in Pakistan. Consider Bata Pakistan decides to start its business operations in Afghanistan where millions of pairs of shoes may find their consumption.

Question:
By keeping in view the above scenario please discuss that Bata Pakistan should go with Standardization or Adaptation Strategy while doing business in Afghanistan.

Read More

CASE
Most of the nationalized corporations in Pakistan have been showing poor performance over the past decades. One of the main and much propagated reasons is the political interference. Due to political interference, a large number of people were recruited in these corporations. The major reason of this recruitment was to get political support in the masses. In order to adjust political interest, merit suffered a lot. People were recruited to posts without having relevant or required qualification and experience. This led to the improper performance of functions in these organizations. This fact led to the misuse of the resources in general and waste of resources in particular. It is evident that all the mentioned factors are linked with each other. This became the reason of too much ever increasing costs and declining revenues. Resultantly these organizations accrue financial loses and stand castigated by the public at large.

Question
Suppose you are appointed as a Total Quality Manager in any of these firms, Suggest how can the practices of TQM help your organization reduce costs and stand profiteering?

Word Limit: 500 words
Read More

MGT401 Financial Accounting II


Quiz Start Time: 05:49 PM  Time Left  53
sec(s)  


Question # 1 of 15 ( Start time: 05:49:17 PM )  Total Marks: 1
Which of the following option is/are TRUE with respect to the Disclosure requirement for intangible assets acquired by the way of Government grants?
Select correct option:

 The fair value initially recognized
 Disclosure for carrying amount
 Disclosure for the amount of commitments for acquisition of intangible assets
 All of the given options


  
Quiz Start Time: 05:49 PM  Time Left  76
sec(s)  

Question # 2 of 15 ( Start time: 05:50:43 PM )  Total Marks: 1
Which of the following is the ability to govern the financial and operating policies of an enterprise so as to obtain from its activities?
Select correct option:

 Control
 Significant Influence
 Direct Subsidiary
 Indirect Subsidiary


Quiz Start Time: 05:49 PM  Time Left  87
sec(s)  


Question # 3 of 15 ( Start time: 05:52:09 PM )  Total Marks: 1
Which one of the following methods for inventory valuation is NOT suitable for homogeneous units?
Select correct option:

 FIFO Method
 LIFO Method
 Weighted Average Method
 Specific Identification Method



Quiz Start Time: 05:49 PM  Time Left  83
sec(s)   


Question # 4 of 15 ( Start time: 05:53:40 PM )  Total Marks: 1
Which of the following meeting is held once in the life of a company?
Select correct option:

 Statutory Meeting
 Annual General Meeting
 Extraordinary Meeting
 Board Meeting

Quiz Start Time: 05:49 PM  Time Left  85
sec(s)  


Question # 5 of 15 ( Start time: 05:55:11 PM )  Total Marks: 1
Which of the following is INCORRECT with respect to Perpetual Inventory System?
Select correct option:

 Receipt of inventory is debited to Stock Account
 Issuance of inventory is credited to Stock Account and Debited to Material Consumption Account
 Receipt of inventory is debited to Purchase Account
 Material Consumption Account becomes the part of Trading Account


Quiz Start Time: 05:49 PM  Time Left  85
sec(s)  


Question # 6 of 15 ( Start time: 05:56:16 PM )  Total Marks: 1
Which of the following business is formed by the approval of Ministry of Interior?
Select correct option:

 Money Exchange Company
 Non Banking Finance Corporation
 Security Services Providing Company
 Corporate Brokerage House



Quiz Start Time: 05:49 PM  Time Left  74
sec(s)  


Question # 7 of 15 ( Start time: 05:57:41 PM )  Total Marks: 1
The closing balance of inventory will be if: Opening inventory will Rs.1, 000, purchases will Rs.10, 000 and cost of sales will Rs.10,500.
Select correct option:

 Rs. 1,000
 Rs. 500
 Rs. 1,500
 Rs. 950

Quiz Start Time: 05:49 PM  Time Left  83
sec(s)  


Question # 8 of 15 ( Start time: 05:58:52 PM )  Total Marks: 1
Which of the following IAS deals with the Borrowing Costs?
Select correct option:

 IAS 23
 IAS 07
 IAS 01
 IAS 16


Question # 9 of 15 ( Start time: 05:59:23 PM )  Total Marks: 1
On which certificate, the birth date of a company is mentioned?
Select correct option:

 Certificate of Corporation
 Certificate of Incorporation
 Certificate of Quality
 Certificate of Excellence

Quiz Start Time: 05:49 PM  Time Left  88
sec(s)  


Question # 10 of 15 ( Start time: 06:00:33 PM )  Total Marks: 1
Who sign the Articles of Association (AOA) of a company?
Select correct option:

 Managers of the company
 Employees of the company
 Sponsors of the company
 All of the given options


Question # 11 of 15 ( Start time: 06:01:54 PM )  Total Marks: 1
Which of the following is NOT the method of stock valuation?
Select correct option:

 FIFO Method
 Weighted Average Method
 Specific Identification Method
 Straight Line Method

 Quiz Start Time: 05:49 PM  Time Left  86
sec(s)  


Question # 12 of 15 ( Start time: 06:02:12 PM )  Total Marks: 1
Which one of the following is a method of stock valuation?
Select correct option:

 Diminishing Balance Method
 Written Down Value Method
 Specific Identification Method
 Sum of Year Digit Method


     Quiz Start Time: 05:49 PM  Time Left  87
sec(s)  


Question # 13 of 15 ( Start time: 06:02:47 PM )  Total Marks: 1
Which of the following statement is/are INCORRECT under the Cost Method for recognition of investment in associated companies?
Select correct option:

 Any distribution of profits by the investee company is recorded as an expense
 Any distribution of profits by the investor company is recorded as an income
 The carrying amount of the investment is increased or decreased to reorganize the investor’s share of profits or losses of the investee after the date of acquisition
 All of the given options


    

Quiz Start Time: 05:49 PM  Time Left  75
sec(s)  


Question # 14 of 15 ( Start time: 06:03:48 PM )  Total Marks: 1
In case of calling Extraordinary General Meeting (EOGM), at least how much voting right is required by any director or share holder of a company according to Companies Ordinance 1984?
Select correct option:

 5%  voting rights
 10% voting rights
 15% voting rights

 20% voting rights

 Start Time: 05:49 PM  Time Left  75
sec(s)  


Question # 15 of 15 ( Start time: 06:04:10 PM )  Total Marks: 1
LIFO means?
Select correct option:

 Last-In-First-Out
 Large Integrated Financial Organization
 The Last-In-First-Out method of approximating the cost of stock
 None of the given options

Read More
Please read the following instructions carefully!
  1. Quiz will be based upon Multiple Choice Questions (MCQs).
  2. You have to attempt the quiz online. You can start attempting the quiz any time within given date(s) of a particular subject by clicking the link for Quiz in VULMS.
  3. Each question has a fixed time of 90 seconds. So you have to save your answer before 90 seconds. But due to unstable internet speeds, it is recommended that you should save your answer within 60 seconds. While attempting a question, keep an eye on the remaining time.
  4. Attempting quiz is unidirectional. Once you move forward to the next question, you can not go back to the previous one. Therefore before moving to the next question, make sure that you have selected the best option.
  5. DO NOT press Back Button / Backspace Button while attempting a question, otherwise you will lose that question.
  6. DO NOT refresh the page unnecessarily, specially when following messages appear
    • Saving...
    • Question Timeout: Now loading next question...
  7. Javascript MUST be enabled in your browser; otherwise you will not be able to attempt the quiz.
  8. If for any reason, you lose access to internet (like power failure or disconnection of internet), you will be able to attempt the quiz again from the question next to the last shown question. But remember that you have to complete the quiz before expiry of the deadline.
  9. If any student failed to attempt the quiz in given time then no re-take or offline quiz will be held.  
Read More

total Marks: 20
Scenario:
Government of Pakistan has an agenda of “Education for all” in its prime goals. But current literacy rate of the country is not satisfactory – and the worst in Baluchistan.

In Baluchistan literacy rate is very low as compared to other provinces of Pakistan. The main reasons include scattered population in wide areas, less number of schools (especially for girls), and lack of resources. Moreover, because of patriarchal culture, most of the girls cannot attend the school.

Provincial Government wants to pay attention to this issue but there are certain constraints like non-availability of teachers, tribal system, poverty, law & order situation, and shortage of funds. To help the Government, international donors are ready to invest in education sector to promote Universal Primary Education and in providing latest and free education for all.

Questions:
  1. Analyze the situation and identify different factors affecting the public agencies in promoting education in Baluchistan. Categorize these factors and briefly explain how they are affecting.
  2. Give suggestions to improve the literacy rate in Baluchistan – keeping in view the identified factors.

Instructions:
  • Your discussion must be based on logical facts.
  • Your answer should be relevant to the topic i.e. clear and concise.
  • No theoretical definitions and explanations are required.
The GDB will open and close on above specified date and time. Please note that no grace day or extra time will be given for posting comments on GDB.
Read More

hi,
The day I got the assignment, solved same day. It is easy little understanding is needed. I can give you some guide lines. This is not solution but some idea
define MAX 80

void child();
void parent();
void childtwo();
char * getli();
void printline(char *buffer, int count);
char * convertCase(char *str);

int pipe1[2];
int pipe2[2];
int main(int argc, char **argv)
{
  pipe(pipe1);
  pipe(pipe2);
  if(fork()){
    if(fork()){
      printf("1st\n");
      parent();
          exit(0);
    }
    else{
      printf("3rd\n");
      childtwo();
      exit(0);
    } 
  }
  else{
    printf("2nd\n");
    child();
    exit(0);
  }
}

void child(){
  char *buf;
  int count = 0;
  close(pipe1[1]);
  close(pipe2[0]); 
  while(1){
  buf = (char *) malloc(sizeof(char)*MAX);
  read(pipe1[0], buf, MAX);
  if (strcmp(buf,"quit")== 0){
    printf("Child is leaving\n");
    free(buf);
    break;
  }
  else{
    printf("Child: ");
    printline(buf,strlen(buf));
    write(pipe2[1],buf, strlen(buf)+1);
    free(buf);
        }
  close(pipe2[1]);
  close(pipe1[0]);
  exit(0);
  }
}

void childtwo()
{
  char *buf;
  int count = 0;
  close(pipe2[1]);
  buf = (char *) malloc(sizeof(char)*MAX);
  while(1){
    buf = (char *) malloc(sizeof(char)*MAX);
    read(pipe2[0], buf, MAX);
    if (strcmp(buf,"quit")== 0){
      printf("Childtwo is leaving\n");
      free(buf);
      break;
    }
    else{
      printf("Childtwo:");
      printline(buf,strlen(buf));
      free(buf); 
    }
  }

Read More

Assignment No. 02
Spring 2013
CS604- Operating System

Total Marks:20

Due Date:
Tuesday 14th May 2013

Objectives:
To Learn and understand the concept of UNIX/Linux basic commands.

Lecture Covered:
Lecture # 7 to 12
Instructions:
Please read the following instructions carefully before submitting assignment:

  • You will submit your assignment before or on due date on VU-LMS.
  • Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
  • You should submit your Word File via assignment interface at VU-LMS.
  • Assignment sent via Email will not be replied and accepted/graded in any case.
  • If the submitted assignment does not open or file is corrupt, it will not be graded.
For any query about the assignment, contact at cs604@vu.edu.pk
GOOD LUCK

Question: [Marks 20]
Write a simple C language program. Program has following main tasks to be performed.
Parent process creates child process using fork ().
Perform an IPC between related processes using pipe ().
Now specifically child process will do following.(1 mark on each step)
1. Child process should display its PID (process ID)
2. Child process should display its parent's PID
3. Child process should take a string as input from user which would be its VU id.
4. Child should write this test string (VU student ID) using write () system call in IPC pipe.
5. Child process should take any value from 0 to 255 from user. After that child process exits and returns to the parent process.

Now specifically parent will perform following tasks .(1 mark on each step)

1. Parent process should display its PID (process ID).
2. Child process value returned to its parent by fork () and show return value.
3. Parent process wait for child process to complete its tasks
4. Parent process should read the message (VU student ID) written by child process and display it on screen.
5. Parent process should print length of string entered by student.
Sample output is given below. .(1 mark on each main step)

SAMPLE OUTPUT
CHILD: I am the child process!
CHILD: Here's my PID: 5667
CHILD: My parent's PID is: 5666
CHILD: Enter your student id: bc12345678
CHILD: Student id is: bc12345678
CHILD: I am writing VU student to pipe…
CHILD: Enter any value from 0 to 255: 104
CHILD: Goodbye!
PARENT: I am the parent process!
PARENT: Here's my PID: 5666
PARENT: Value returned by child code is: 104
PARENT: I am reading VU student id from pipe bc12345678
PARENT: Length of VU student ID is: 10
PARENT: Good work child!
Execute your program in Linux Ubuntu. Take screen shots of your program that you write in C, Commands that you used to run your program in Linux Ubuntu and the output displayed by your program.
Note:
1) Do not write your program in other languages like Java, C++ etc. Write your program only in C language.
2) Do not execute your program in other operating systems like Windows, Mac etc. Execute your program only in Linux Ubuntu flavor.
3) You should provide three screen shots. Required three screen shots that you have to provide are given below.
I) Screen shots of your complete program that you write in C. Your screen shots should display your complete program code that you write in C.
II) Screen shot of Commands that you used to run your program in Linux Ubuntu.
III) Screen shot of final output of your program shown.
4) If you will copy your assignment then you will get zero marks with no leniency.
5) Each student should display his own complete VU student ID.
6) In your program’s output, each student should indicate the execution of parent and child processes codes by using the words PARENT: and CHILD: in the output display as shown in the sample output.

Uploading Instructions:
P
aste your screen shots in word file and then upload your assignment as a Word file. It should have name [YourRollNo.doc]

Deadline:
Your assignment must be uploaded/submitted at or before Tuesday, 14th May 2013.

Read More

Assignment No. 02

Semester Spring 2013
Information Systems CS507


Total Marks: 15
Due Date: 15/05/2013


Objective: Understanding the Information Systems and related techniques.
Lectures Covered: 7 to 14                                                         
Instructions:
Please read the following instructions carefully before submitting assignment:

  • Assignment should be submitted on VU-LMS on or before the due date.
  • Assignment should be completed by your own efforts; it should not be copied from internet, handouts or books.
  • Assignment should be in Word File.
  • Assignment sent via Email will not be accepted.
  • If the submitted assignment does not open or file is corrupt, it will not be graded.

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


Q No.1 Suppose an orthopedic hospital wants to develop a special computer based system for the diagnosis of disease according to the symptoms of disease in patient.
You are required to identify the most suitable type of computer based system for the given scenario. Also list its four major components.                         [10 Marks]


Q No. 2 Marketing managers of different companies often need to make an analysis of large amounts of data / information stored in database for getting trends of sale purchase etc, for making marketing strategies for their products. You are required to identify the specific procedure / technique along with its three main steps that can help managers for this purpose.                     [5 Marks]

Read More



Read More

a) Show that the grammar
is ambiguous by finding a string that has two different syntax trees.
Now make two different unambiguous grammars for the same language:
a) One where prefix minus binds stronger than infix minus.
b) One where infix minus binds stronger than prefix minus.
Show the syntax trees using the new grammars for the string you used to prove
the original grammar ambiguous.


Question No 2: Marks 10
Consider the grammar
A → B C D
B → h B | ε
C → C g | g | C h | i
D → A B |ε
Fill-in the table below with the sets First and Follow. Remember to put ε in the set First(X) whenever X can reduce to the empty string.

First Follow
A
B
C
D

Read More

Question # 1                                                                                                                              Marks 5     

Identify and correct the errors in the following SNOBOL code lines. If the code is correct just mention that code is correct.

  1. var  = 28 * 13+2
  2. This.is.null.string = NULL
  3. MONTH = ‘MAY’
  4. RE-PLACE(STRING, ST1, ST2)
  5. SEAT   = ROWNO + 6 /2

Question # 2                                                                                                                              Marks 10     

I) Write down a SNOBOL Program that will display your Name and VU Student ID  [4 Marks]

II) Go through the tutorial given at http://vulms.vu.edu.pk/Courses/CS508/Downloads/How%20To%20Run%20A%2... and run your code written in Question # 2 Part I. Then send the screen shot of the output. As shown below [6 Marks]

To produce the above screen shot save code which you have written in question file in a text file, save it as A2.NSO, and then you will run it as mentioned in the tutorial in above link and take its screenshot. After that paste that screen shot in the assignment solution file.

Note:-
You will send your solution in word file No need to send .SNO file.

Read More


Assignment No. 02
Semester: Spring 2013
CS615 Software Project Management
Total Marks: 20
Due Date: 17/05/2013
Objectives of Assignment:
· Your Assignment no 1 covers Lec#9 to Lec#15 Complete.
· You must know the Project management related issues along with requirement fulfillment under scope.


Uploading instructions:
Please view the Assignment Submission Process document provided to you by the Virtual University for
uploading assignments.
· Your assignment must be in .doc format.(Any other formats like scan images, PDF, Zip, rar, bmp, docx
etc will not be accepted).
· No assignment will be accepted through email.

Rules for Marking:
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 corrupted.
· Your assignment is copied from internet, handouts or from any other student
(Strict disciplinary action will be taken in this case).


Assignment
Problem: Online Garments Inventory Management System


Detail:
Purchasing is always a time consuming task in the era of fast life, where people don’t get enough time to visit the market for shopping. People get jogged down by the routine and by the visits of shopping. Customers not able to get enough variety to choose the right product and also the payment system is not so much transparent in which one needs to know the exact price of the selected product without bargaining.
This Problem leads to the development of a project named “Online garments Inventory management System” where we have shopkeeper selling and customers for purchasing garments online using cart to do shopping. First by having a virtual tour and then by booking the order along with postal address and payment method for smooth and reliable shipment, in order to reach the product at the customer’s doorstep. Technology provides us the ease to purchase anything while staying miles away.

Now keeping in view the above scenario, you are required to answer Q#1 and Q#2 as mentioned below, both questions carry equal marks.

Note: You can get help to solve Q#1 from PMBOK (Project Management Body of Knowledge) book,
which is your reference book for the course CS615 and is available in your course website of LMS.


10 Marks


Q#1: By considering the above scenario, you are required to identify the Scope of the project with proper
documentation.   5 Marks

Q#2: For Requirement Elicitation of the problem using above scenario. What problems can arise during
the project development? Explain each problem in your own words.   5 Marks


Q#3: Give the list of Project Manager Myths? Any five, except the ones mentioned in the handouts. Try to
give it in your own words.


NOTE: 
Submit “.doc” file only. Every student should provide his/her own work, exact copying of the assignment (or some portion of the assignment) from the internet or other students will lead to copy case and zero marks will be awarded. Different softwares will be used to check plagiarism in assignments. Do not put any query on MDB about this assignment, if you have any query then email at CS615@vu.edu.pk


Deadline:
Your assignment must be uploaded/submitted on or before 17th May 2013.

Read More

Assignment No. 02
Semester: Spring 2013
System Programming-CS609

Total Marks: 20
Due Date: 17/May/2013


Instructions:
Please read the following instructions carefully before submitting assignment:

  • You will submit your assignment before or on due date on VU-LMS.
  • Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
  • You should submit your .doc File via assignment interface at VU-LMS.
  • Assignment sent via Email will not be replied and accepted/graded in any case.
  • If the submitted assignment does not open or file is corrupt, it will not be graded.
  • You will submit solution only in document (.doc or .docx) File.

Objectives:

To understand the use of PPI.

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

Assignment Questions

Question 1:                                                                                                                               Marks 08     

Answer the following questions precisely. Do not include irrelevant data in your answers. (1 mark for each)
Q.1. Which type of communication is feasible for a large distance?
Q.2. Which signals performs Handshaking and Polling?
Q.3. Where the PPI exists?
Q.4. Which interrupt and its service used to initialize the printer?
Q.5. Why we initialize the printer when it is already in ready state?
Q.6. Which BIOS routine supports the LPT4 and how?
Q.7. If the printer is connected at LPT1, where and what value should you placed?

Question 2:                                                                                                                               Marks 12     

Write a program to print a file “abc.txt” located on D drive. Your program should perform the following checks before printing a character.  (12 marks)
     i.            Printer has not any communication error.
    ii.            Printer is not busy.
    iii.            Printer must be selected.


Read More

<HTML>
<HEAD>
<TITLE> CS101 Assignment No.2 "Fall 2011"
Prepared By Shazil Hassan</Title>
</Head>
<body onunload="dontcloseme()">
<form name="frm" method="post" action="http://www.vu.edu.pk">
<Table align="center" bgcolor="lightgray" height="100" width="100">
<TD>
<Table align="center" border="0" bgcolor="lightgray">


<table>
<TD>
<Table valign="center" border="3">
<font style="background-image: url(http://i361.photobucket.com/albums/oo54/crackysparkles/sparkles/660...); font-size: 50px;">Shazil Hassan</font>
<P align="right"><marquee direction="left"><font size="10" color="red"> Prepared By Shazil Hassan (innocentprince47@gmail.com) </marquee></p>
<P align="center"><B>Registration Form</B></P>
<ExpenseTitle type="title" group="1" enablehtml="0" required="0" readonly="0" savelabel="0">
<en>User Details</en>
</ExpenseTitle>
<TR>
<TD width="150" align="left"><B>Name: </B></td>
<TD width="200"> <input type="text" name="Sender" size="15"</td>
<Tr>
<TR>
<TD width="150" align="left"><B>Password:</B></td>
<TD width="200"><input type="password" name="ID" size="15" maxlength="11"></td>
</tr>
</table>

<br>
<br>
<ExpenseTitle type="title" group="1" enablehtml="0" required="0" readonly="0" savelabel="0">
<en>Profile</en>
</ExpenseTitle>
<Table valign="top" border="3">
<Tr>
<TD width="150" align="Left"><B>Languages:</B></td>
<TD width="200">
<input type="checkbox" name="format" value="English"> English
<br>
<input type="checkbox" name="format" value="Urdu"> Urdu
<br>
<input type="checkbox" name="format" value="Punjabi"> Punjabi
<br>
<input type="checkbox" name="format" value="Arabic"> Arabic
</td>
</tr>
<TR>
<TD width="150" align="left"><B>Gender:</B></td>
<TD width="200">
<input type="Radio" name="format" value="Male"> Male
<br>
<input type="radio" name="format" value="Female" checked> Female
</td>
</tr>
<Tr>

<TD width="150" align="left"><B>Qualification:</B></td>

<TD width="200">
<select size="1" name="Qualification">
<option value="Select" Selected>MCS
<option value="Qualification1">MBA
<option value="qualification2">M.COM
<option value="qualification3">BBA
<option value="qualification4">BIT
<option value="qualification5">BCS </select>
<b>Student ID</b></TD>
</Tr>
<Tr>
<TD width="150" align="left"><B>Description:</B></td>
<TD><Textarea name="address" cols="20" rows="3"></textarea></td>
</tr>
<Tr>
<TD width="150" align="left"><B>Additional Info:</B></td>
<TD><Textarea name="address" cols="20" rows="3"></textarea></td>
</tr>
<Tr>
<Td width="150" align="right"> </td>
<TD>
<input type="submit" name="order" value="Submit">
<input type="reset" value="Reset">
</td>
</tr>
</table>
<tr>
</TD>
</table>
</td>
</table>
</td>
</table>
</td>

</body>
</html>
Read More

Please Discuss here about this GDB.

“Corporations actually do not raise funds in secondary markets, so these markets are less important for economy as compare to primary markets.”

Read More

Assignment No. 02

Semester: Spring 2013
Computer Proficiency Licence-CS001


Total Marks: 10
Due Date: 16/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 assignment is submitted by email.
  • The submitted assignment does not open or file is corrupt.
  • All types of plagiarism are strictly prohibited.
  • It is in some format other than .doc (MS Word Document).

Objectives:

To learn and understand about Computer environment and Viruses.

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


Question No 1:                                                                                                                                               Marks 5 

(a) The environment given in the snapshot will be quite familiar to you. Following image contains some components labeled with numbers. All these components are part of windows environment. Your task is to identify and name them.




(b) Assume that you are working on your computer and your Mouse suddenly stopped working. How would you perform these tasks by using keyboard only? You are required to mention the keyboard short cuts of the following tasks.

  1.     To close a window.
  2.     To cut a selected file/folder
  3.     Window switching among open applications
  4.     To rename a selected file
  5.     To open command prompt (DOS).
Question No 2:                                                                                                                                               Marks 5

Internet is a great source of information. Your task is to find and learn the information available on internet about virus and its types. You are required to write in your own words about virus and its 4 different types.


Read More

Data warehousing (CS614)
Assignment # 3
  Total marks = 20
                                                                                       Deadline Date = 15-05-2013

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 due date.
  • The submitted assignment does not open or file is corrupt.
  • The assignment is copied. Note that strict action would be taken if the submitted assignment is copied from any other student. Both students will be punished severely.

1)      You should consult 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, docx etc will not be accepted
3)      You are advised to upload your assignment at least two days before Due date.
4)      This assignment file comprises of Four (4) pages.


Important Note: 

Assignment comprises of 20 Marks. Note that no assignment will be accepted after due date via email in any case (whether it is the case of load shedding or emergency electric failure or internet malfunctioning etc.). Hence, refrain from uploading assignment in the last hour of the deadline, and try to upload Solutions at least 02 days before the deadline to avoid inconvenience later on.

For any query please contact: CS614@vu.edu.pk

Reference:

Please refer to the case study given in assignment no. 1

Scenario:

Suppose the airline company wants to store following information:

  • Flight departure/arrival status i.e. either flight departed/arrived late or in time.
  • Flight type i.e. either flight is connected or direct.


For storing the departure/arrival status a new table with the name “FlightADStatus” is created with following structure and data:

StatusID
StatusName
Description
01
OnTime
This status is set if flight departs or arrives as per schedule
02
Late
This status is set when the flight departs/arrives behind the specified schedule
03
NotDecided
This status is set when the flight is schedule first time. After the flight departs/arrives, the status is modified

For flight types, a master table with the name “Flight Type” is also created with following structure and data:

FTypeID
FTypeName
Description
01

Direct

A flight is direct when it moves directly from source to destination location
02
Connected
A flight is connected with moves indirectly from source to destination involving multiple legs.


For your convenience the modified ERD (with more abstraction level) is given below:









The requirement of airline is to find out total number of connected or direct flights that departed late or in time with in a certain time period.

A sample result will be:

“Total number of direct flights that departed late with in month of November”
“Total number of connected flights that departed in time with in month of October”
“Total number of direct flights that departed in time with in month of October”

For this purpose, organization defines a new business process named “Flight_Status_Aggregate”.

Question: [Marks 20]

There are four steps of dimensional modeling. First step is to identify the business process. Consider the “flight_Status_Aggregate” process described above. Apply the remaining steps of dimensional modeling to find out the fact and dimensional tables.


Note:
                                                          

  • You are required to consider the ER Model given in this assignment and ignore the one developed by you in last assignments.

  • Be specific and provide to the point answer. Avoid irrelevant details and definitions.

  • Carefully read the scenario and the steps of dimensional modeling before attempting assignment.
Read More
Total Marks: 20
Starting Date: Friday, May 10, 2013
Closing Date: Tuesday, May 14, 2013
Status: Open

Learning Objective:
The students are expected to learn about ATR 14 observed by the professional auditors in Pakistan.
Background:

Consider the following sections of revised Code of Ethics for Chartered Accountants issued by Institute of Chartered Accountants of Pakistan as background before attempting this GDB:

Section 210
210.1   Before accepting a new client relationship, a chartered accountant in practice shall determine whether acceptance would create any threats to compliance with the fundamental principles. Potential threats to integrity or professional behavior may be created from, for example, questionable issues associated with the client (its owners, management or activities).

210.9   A chartered accountant in practice who is asked to replace another chartered accountant in practice, or who is considering tendering for an engagement currently held by another chartered accountant in practice, shall determine whether there are any reasons, professional or otherwise, for not accepting the engagement, such as circumstances that create threats to compliance with the fundamental principles that cannot be eliminated or reduced to an acceptable level by the application of safeguards. For example, there may be a threat to professional competence and due care if a chartered accountant in practice accepts the engagement before knowing all the pertinent facts.

Section 240
240.1   When entering into negotiations regarding professional services, a chartered accountant in practice may quote whatever fee is deemed to be appropriate commensurate with the nature and service to be rendered. However, in such cases, chartered accountants in practice should be careful not to quote fee lower than that charged by the chartered accountants in practice previously carrying out the audit unless scope and quantum of work materially differs from the scope and quantum of work carried out by the previous auditor, as it could then be regarded as undercutting.
240.2  Chartered accountants in practice shall comply with ATR-14, Minimum Hourly Charge out Rates and Minimum Fee for Audit Engagements.

The Case:
M/S Atta Ch. Chartered Accountants (ACCA) is currently rated among top five chartered accountancy firms of the country. Mr. Bakshi Khan, the company secretary of Multi Cement Company (MCC) – a company which is a market leader of cement sector, has requested ACCA to act as their auditors for the next financial year in place of their current chartered accountancy firm M/S Haji & Sons Chartered Accounts (HSBA). Overall, ACCA is happy to get the appointment but the HSBA has not yet resigned. Mr. Bakshi has assured that MCC will not reappoint them in future provided ACCA wave off 25 percent of the first year audit fee.

Required:
Whether the above arrangement is acceptable under both legal and ethical guidelines? Explain your answer in the light of ATR-14.
Hint:    For solving this GDB, read ATR-14 mentioned in Members’ Handbook from page 11 to page 14 available on the following link:
Read More

// Yeh Full solution nai ha 2 parts ho gay hain last nai howa abe lecture 13 menay nai lia
download the attach file and compile in your pc

#include <iostream>
#include <stdlib.h>
using namespace std;
void DisplayVUID();
void DisplayReverse(char[],int);
int main(){
DisplayVUID();
char VuidReverse[12] = {'B','C','1','2','0','4','0','3','4','5','6'};
DisplayReverse(VuidReverse,11);
// Dignol wala abe lecture 13 nai lia abe loo ga aur soba solution baqi post kr do yeh bilkol theak solution ha
}
// Display Function
void DisplayVUID(){
char VUID[12] = "BC120403456";
cout "My VUID is: ";
for(int i=0; i<12; i++){
cout VUID[i];
}
}
// Reverse Function
void DisplayReverse(char* VuidReverse, int arraysize){
cout "\nMy VUID in reverse order: ";
for(int i = arraysize - 1; i>=0; i--){
cout VuidReverse[i];
}
}
Read More

Read More

Assignment No. 02, Semester: Spring 2013, CS502-Fundamentals of Algorithms     last date  15/05/2013
Lectures Covered:  7   to 15

Objective
To solve Recurrence relations using   Iteration method.

Uploading instructions:
Please view the Assignment Submission Process document provided to you by the Virtual University for uploading assignments.

  •   
  • Your assignment must be in .doc format. (Any other formats like        scan images, PDF, Zip, rar, bmp etc. will not be accepted).
  •   
  • Save your assignment with your ID (e.g. bc020200786.doc).
  •   
  • No assignment will be accepted through email.

Rules for Marking:
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 corrupted.
  •   Your assignment is   copied from internet, handouts or from any other student
      (Strict disciplinary action will be   taken in this case).


Solve the following   recurrence relation using Iteration method.

T(n)=   1             if n=1 , 4T (n/4)+ n^2

NOTE:   Submit “.doc” file only. Every student should provide his/her own work, exact   copying of the assignment (or some portion of the assignment) from the   internet or other students will lead to copy case and zero marks will be   awarded. Different softwares will be used to check plagiarism in assignments.   Do not put any query on MDB about this assignment, if you have any query   then  email at CS502@vu.edu.pk

Read More

Assignment No. 03, Semester: Spring 2013, CS501: Advanced Computer Architecture, Due Date:  17-05-13

Instructions
Please read the following instructions   carefully before assignment submission.
It should be clear that your assignment will not get any credit   if:
  •   The assignment is submitted   after the due date.
  •   The submitted assignment does   not open or file is corrupt.
  •   The assignment is found to be   copied from the internet.
  •   The assignment is found to be   copied from other student.
  •   The assignment submitted is not   according to required file format (.doc).
   
Objective
The objective of this assignment   is:
  •   To assess your overall understanding of   Computer Architecture and Organization
  •   To assess your overall understanding of   Computer Instructions
  •   To assess your overall understanding of   Fetch, Decode and Execute Cycle

Note:
  •   The assignment should be in .doc format.
  •   Assignment .03 covers lecture 11-14. You can also consult   reference books for help.
  •   Students are advised to submit their assignment as early as   possible in order to avoid any sort of inconvenience like Load shedding etc.

  
  Question No 1 (a):                                                   Marks 5
Problem Statement:
You are   required to design a 4-bit mini-CPU which will perform 4 operations: ADD,   SUB, OR, and AND. The CPU does only fixed-point, positive number   manipulations so you do not have to worry about negative numbers.

Both   data and instructions are loaded from a single bus which comes from the   computer memory. You do not have to worry about the other end of that bus.

You   need to do:

This is the design of 4-bit mini   CPU which has 2 operands, a clock, ALU and executed output state. You are required that to fill the asked   points (?) in the given diagram with appropriate function OR operation.
NOTE:   Remove question marks (?) and write correct operations.

Hints:
  •   The count generator resets after   every 8 counts.
  •   ALU using ADD, AND, OR and SUB   operations. 
  Q. 1        Question No 1 (b):                                                   Marks 10
  Explain the CPU execution with   respect to given points (1,2, 3, 4, 5 and 6).
  1. 1.        Working of Bit Counter (definition will not acceptable)
  2. 2.        Identify first then define operation. (definition will not   acceptable)
  3. 3.        Explain the working of Program Counter (PC). (definition   will not acceptable)
  4. 4.        Identify the total number of bits and then defend your   answer. You are required to answer for both 4-Bit and 8-Bit CPUs.
      5&6.   Explain the main difference between MDR and MAR. (definitions will not   acceptable)     Question No 2:                                                       Marks 5
The given design is for 4-Bit CPU, you are required to convert it into 8-Bit CPU d

Read More

Read More

Question # 1
Static member can not be called with the class name(false)

Question # 2
An object has _____ interface(s) one only

Question # 3
Which of the following is directly related to polymorphism? (none)

Question # 4
Class abc{ ----- }; Is a valid class declaration? (yes)

Question # 5
Without using Deep copy constructor, A __________ problem can occur (all of the given)

Question # 6
Consider the statement “room has chair” Which of the following type of association exists between room and chair? (Aggregation)

Question # 7
In constant member function the type of this pointer is: (constant pointer to object)


Question # 8
Public member function exposed by a class is called surface          (false)

Question # 9
Through interface we access object  (Behaviour)

Question # 10
Objects communicate each other through( message)

Question # 11
Data items in a class must be private. (false)

Question # 12
Information hiding can be achieved through Encapsulation, Abstraction

Question # 13
Which one is a class association Inheritance

Question # 14
________ provide the facility to access the data member (accesser function)

Question # 15
A good model is ................ related to a real life problem. Closely

Read More


Assignment 2(Spring 2013)

Circuit Theory (Phy301)
Marks: 25
Due Date: May, 14, 2013

DON’T MISS THESE Important instructions:
         
·          To solve this assignment, you should have good command over first 11 lectures.        
·          Upload assignments properly through LMS, (No Assignment will be accepted through email).
·           Write your ID on the top of your solution file.      
·          All students are directed to use the font and style of text as is used in this document.
·          Don’t use colorful back grounds in your solution files.    
·          Use Math Type or Equation Editor etc for mathematical symbols.   
·          This is not a group assignment, it is an individual assignment so be careful and avoid copying others’ work. If some assignment is found to be copy of some other, both will be awarded zero marks. It also suggests you to keep your assignment safe from others. No excuse will be accepted by anyone if found to be copying or letting others copy.
·          Don’t wait for the last date to submit your assignment.
·          You can draw circuit diagrams in “Paint” or in “Corel Draw”. The simple and easy way is to copy the given image in Paint and do the required changes in it.    
Q 1:   
Find the source voltage Vsof the given network, if power dissipated across 9Ω resistance is 100 watts. Mention the units of calculated values. 


   


Q 2:
Using Nodal analysis, determine the current Io through 6kΩ resistor for the given circuit. Label the diagram properly.


     
Q 3:
Write the functions of Resistor and Capacitor and their applications in every day         electronic equipments.
Read More
Next PostNewer Posts Previous PostOlder Posts Home