Friday, December 5, 2014

CS508 Modern Programming Languages Assignments No. 2 fall 2014



CS508 Modern Programming Languages Assignments No. 2 fall 2014 


Question No. 01:

a. Being a member of a software development team which requires developing software for defense organization, needing to run for more than 20 years. Which of the following programming language you will prefer? Justify your answer with solid arguments. Marks: 04
i) SNOBAL

ii) Ada

iii) FORTRAN



b. Write the program in SNOBOL that outputs the square of numbers between 1 and 15. Marks: 06



Question No. 02:

Ada is one of the strongest and standardized programming languages. Like C/C++, Ada also has rich set of operators. Consider the following C++ code and write code in Ada programming language to get the similar results by using the same variables, loop etc. Marks : 10



#include<iostream.h>



main (int argc, char *argv[])



{

int n;

int i=1;

int fact=1;

cout"please enter a number\n";

cin>>n;



if(n<=1)

return 1;



while(i<n)

{

fact= fact*i;

i++; 

}

coutn"! ="fact; 

system("pause"); 

}



ECO302 Principles of Microeconomics Assignment No. 01 Fall 2014

ECO302 Principles of Microeconomics Assignment No. 01 Fall 2014

Despite the fact that tobacco is banned in public places, tobacco smoking in Pakistan is
common and one of the highest in South East Asian region. According to Pakistan
Demographic Health Survey, 46% men and 5.7% women smoke tobacco. This habit is
thought to be responsible for various health problems and deaths in the country. On
average, Pakistanis use to spend Rs.56 million every day in smoking. Suppose the price
and quantity demanded of tobacco is:
Price (Rupees) Quantity demanded of tobacco
(billion)
1 21
3 19
5 17
8 15
As tobacco causes eighteen types of cancers, heart diseases and different other
diseases, measures should be taken to reduce its usage. There is a need of effective
implementation of the existing laws along with necessary amendments in them.
Moreover, Government is planning to implement new taxes on tobacco products in
coming budget.
Requirements:
A. From the data given above, draw demand curve of tobacco.
B. Calculate price elasticity of demand for tobacco when price is between 1 and 3
by using arc elasticity method.
C. Suppose government has hired you as a member of tax commission to decide
whether tax should be levied on tobacco or not. Would elasticity of demand
calculated above be helpful to you in making this decision? Discuss.





Check Online MTH101 Calculus and Analytical Geometry Assignment No.1 Fall 2014

Check Online MTH101 Calculus and Analytical Geometry Assignment No.1 Fall 2014


To solve this assignment, you should have good command over 08 - 18 lectures.

Try to get the concepts, consolidate your concepts and ideas from these questions which you learn in the 08 to 18 lectures.
• Upload assignments properly through LMS, No Assignment will be accepted through email.

• Write your ID on the top of your solution file.

Don’t use colorful back grounds in your solution files.
Use Math Type or Equation Editor etc for mathematical symbols.
You should remember that if we found the solution files of some students are same then we will reward zero marks to all those students.
Try to make solution by yourself and protect your work from other students, otherwise you and the student who send same solutionfile as you will be given zero marks.
Also remember that you are supposed to submit your assignment in Word format any other like scan images etc will not be accepted and we will give zero marks correspond to these assignments.

Name:  mtth101.jpg
Views: 8
Size:  50.2 KB




Check Online CS501 - Advance Computer Architecture Solved Quiz No 2 Solution Discussion Fall 2014



Check Online  CS501 - Advance Computer Architecture Solved Quiz No 2 Solution  Discussion Fall 2014



CS501 Advance Computer Architecture Solved Quiz 

Question # 1
Where does the processor store the address of the first instruction of the ISR?
Select correct option:
=>Interrupt vector (p277)
Interrupt request
Interrupt handler
All of the given options


Question # 2
In ________, a separate address space of the CPU is reserved for I/O operations.
Select correct option:
=>Isolated I/O (p236)
Memory Mapped I/O
All of above
None of above


Question # 3
-------------- is the time needed by the CPU to recognize (not service) an interrupt request.
Select correct option:
=>Interrupt Latency (p279)
Response Deadline
Timer delay
Throughput


Question # 4
_________ is a technique in which some of the CPU’s address lines forming an input to the address decoder are ignored.
Select correct option:
Microprogramming
Instruction pre-fetching
Pipelining
=>Partial decoding (p255)


Question # 5
How can you define an interrupt? 
Select correct option:
A process where an external device can speedup the working of the microprocessor
A process where memory can speed up programs execution speed
=>A process where an external device can get the attention of the microprocessor (p198, 223, 273)
A process where input devices can takeover the working of the microprocessor


Question # 6
An interface that can be used to connect the microcomputer bus to ________is called an I/O Port.
Select correct option:
Flip Flops
Memory
=>Peripheral devices (p234)
Multiplexers


Question # 7
Every time you press a key, an interrupt is generated. This is an example of
Select correct option:
=>Hardware interrupt
Software interrupt
All of the given
None of the given


Question # 8
Identify the following type of serial communication error condition: “The prior character that was received was not still read by the CPU and is over written by a new received character.”
Select correct option:
Framing error
Parity error
=>Overrun error (p240)
Under-run error


Question # 9
A software routine performed when an interrupt is received by the computer is called as ---------
Select correct option:
Interrupt
=>Interrupt handler
Exception
Trap


Question # 10
Which one of the following methods for resolving the priority makes use of individual bits of a priority encoder?
Select correct option:
Daisy-Chaining Priority
Asynchronous Priority
=>Parallel Priority (p281)
Semi-synchronous Priority

Get Solution Check Online  CS501 - Advance Computer Architecture Solved Quiz No 2 Solution  Discussion Fall 2014



Thursday, November 27, 2014

Assignment No. 01 Solution MGMT 629 Crisis Management Fall 2014


Assignment No. 01 Solution MGMT 629 Crisis Management Fall 2014 


Chemica Ltd. was started in 1990 and gained the position of public limited company in 1995.
The CEO, Mr. Raza, brought the company from good to great within two decade. The company
takes pride in having plants in all major industrial hubs of Pakistan, producing chemicals like
caustic soda, soda ash, carbon black, phenol, acetic acid, methanol and azo dyes for both
domestic usage and export purposes. The petrochemical intermediate products are also major
products of the company by which the maximum revenue is generated in domestic as well as
international market.
There are around 260 employee including engineers, sub engineers and workers. Chemica has
been maintaining and ensuring the highest safety standards at work place and also provide safety
trainings to their employees along with a bonus scheme which further helps to embed a safety
culture in the organization. Excluding engineers and sub engineers, all workers and slum
population are resided around plants in particular industrial areas. There was only one water
filtration plant around chemical production sites.
One fine day as the work started at the Plant A, an explosion occurred on the main machine that
was producing more than 50 percent of all production and was handled by 10 experienced
supervisors and 50 workers who also suffered severe injuries from this catastrophe. The
engineers rushed to the site of explosion and tried to resolve the problem. Despite all efforts the
plant exploded, resulting in severe injuries to the engineers and other workers. The explosion
resulted in massive gas and chemical leakage leading to air contamination and low oxygen level
and polluting the water course in which recycled water was drawn out. This calamity aagonized the company CEO Mr. Raza as this incident led to loss in production
and injuries to workers operating the machine. The news spread like wild-fire and all external
stakeholders and media exaggerated the news from all angles. Within two hours, the share prices
of Chemica declined from Rs. 164 to Rs. 143.

MGMT629 Crisis Management Assignment No. 01 Solution Fall 2014 Last Date 3rd Dec 2014

MGT201 - Financial Management Assignment No. 1 fall 2014 Solution and Discussion



MGT201 - Financial Management Assignment No. 1 fall 2014  Solution and Discussion 

Suppose; the top management of a famous hotel chain is planning to construct a new hotel 
on Murree Express Way adjoining Muree. This project requires an initial investment of Rs. 
30,125,700; while the proposed income from this project is Rs. 8,400,000, Rs. 8,400,500, 
Rs. 8,500,000 and Rs. 8,65,4000 annually for next four years. The required rate of return for 
this project is 19%. The company hires you as its financial analyst and requires you to do 
the following: 
1. Evaluate the project feasibility through using Net Present Value technique. (4 marks)
2. Evaluate the project feasibility through applying Profitability Index (PI) technique. (4
marks) 
3. Based on both calculations, interpret and suggest whether the XYZ Construction 
Company should invest in this project? (2 marks)

Get 100 Percent Solution Ideas MGT201 - Financial Management Assignment No. 1 fall 2014 
Tuesday, November 25, 2014

Check Online Solution IT430 E-Commerce Assignments No. 1 2014


Check Online Solution IT430 E-Commerce Assignments No. 1 2014


Suppose you have to use a switch or a bridge for the 2 networks in two buildings where 
Building # 01 has 3 floors and each floor have computers to be on the same network. Building # 02 
has only one floor and all computers are on the same floor and you have to connect them on 
network. 
Find out the network device feasibility to use in both buildings that which building will use bridge and 
which one will use switch. State your answer with reason. 10 marks 
Part b)


Name:  IT430ECommerceAssignmentsNo.1Solution (1).jpg
Views: 32
Size:  76.9 KB


In the above diagram, R1, R2, R3, R4, and R5 are the routers attached with the computers A, B, C, D, 
and E respectively. Suppose computer ‘A’ sitting on the network 140.57 sends a message to a 
computer ‘E’ sitting on the network 150.54.30.14. Find 
(a) The shortest path from computer A to computer E [5 marks] 
(b) All other possible paths which can exist between computer A and E [5 marks]


Check Online Solution IT430 E-Commerce Assignments No. 1 2014



MCM401 Fundamentals of Public Relations Assignment No. 01




The Lahore Electric Supply Company Limited (LESCO) is government-owned public utility maintaining electricity in Lahore. During last few months due to spell of heavy rain fall following more than 24 hours of load shedding, infuriated mobs took to the streets and attacked LESCO installations, strikes in front of their offices all over the Lahore city.
Task:
Suppose you are a Public Relations Officer (PRO) in LESCO. Your task is to plan an effective
public relations campaign to overcome the bad impression against LESCO among public.
Keep in mind the following points while designing the PR campaign:
· Objective of this campaign? (Marks: 3)
· What type of media & techniques will be used? (Marks: 4)
· Target Message (Marks: 2)
· What will be the Slogan of your campaign? (Marks: 2)
· A brief analysis of the new emerging digital media would be beneficial and applicable
in this regard? If yes then why? (Marks: 3) 



Check Online STA301 Statistics and Probability Assignment No. 1 Fall 2014





(a) Construct a frequency distribution table where the class intervalis 12, the number of classes is 6 and the smallest observation is 49 (lowest class limit). Also build the column of the relative frequency. The data is given below:

74, 49, 103, 95, 90, 118, 52, 88, 101, 96, 72, 56, 64, 110, 97, 59, 62, 96, 82, 65, 85, 105, 116, 91, 83, 99, 52, 76, 84, 90.

Question 2: (Marks: 5)

a) Compute the mean deviation from the mean for the following data.

(Where Mean = 3.949)





x
f
2.8
4
3.0
15
3.2
20
3.4
47
3.6
63
3.8
78
4.0
88
4.2
69
4.4
59
4.6
35
4.8
10
5.0
8
5.2
4
500
Question 3: (Marks: 3+2=5)



a) The ages of 22 football players are listed below:

66, 73, 68, 54, 25, 38, 67, 69, 74, 53, 52, 72, 55, 75, 37, 24, 13, 12, 11, 26, 39, 23

Make a stem and leaf display for the data.


b) Which variable (Discrete or Continuous) is more suitable in the following examples?


The content of a bottle of fluid is quoted as 1025 ml.
People are asked to state their age at their birthday. 
People are asked to state how many times in the last month they visited their family doctor.
The height of trees at a nursery.



Get Solution Check Online STA301 Statistics and Probability Assignment No. 1 Fall 2014 
Vugurus. Powered by Blogger.

Popular Posts

Blog Archive

Labels

Imp Links

Followers

Total Pageviews

Subscribe for email

Blog Archive

Labels

Search

Loading...