Ads

Pages

Friday, January 14, 2011

CS101 Assignment No. 4 Solution

Q # 1: Suppose ABC Company have an office in Lahore. It has currently 50 computers. Now, Management is going to buy a new building in front of old building. They want to extend their network between these two buildings with 50 new computers:

Answer the questions given below in scenario described above. (5 * 2 = 10 Marks)

(i) If they can afford good budget, which cable will be suitable for networking. (You have to provide two best options. Option 1 has higher priority than Option 2)

Twisted Pair

Optic Fiber

(ii) Which network Topology will be better in building network in new building.

Star

(iii) Which network Topology will be better in building network between two buildings

Tree

(iv) Which network device(s) will be used to connect two networks?

Router

Switch

Bridge

(v) If we use wireless network between two buildings, what will be drawbacks or risks? (you have to describe two points)

Limited Access

Not Much Secure

Interruption

Low Speed

High Cost

Q # 2: Consider following network Topology and answer the questions given below. (5)

(i) Identify type/name of topology used in the figure above?



Mesh
(ii) If we have to decrease network cost then which type of measure (s) / action (s) we must take.


(Remember the figure given above while answering this question)

Thursday, January 13, 2011

Fin623 Assignment No. 2 Announced

The income tax assignment No. 2 last date is 12 Jan, 2011..

The assignment attached. please send the answer.

Question:

From the following particulars given by Mr. X, an officer in the Ministry of Trade, calculate the taxable income and tax payable by him in respect of the year ended on June 30, 2010.

1. Basic salary Rs. 120,000

2. He has been provided with the rent-free furnished accommodation with annual value of Rs. 60,000

3. He has been given a car by his employer and Rs. 1,000 per month to meet the running costs, etc. he can take that car home as well.

4. He is provided one free Karachi-London and back air ticket every year. During the year he received Rs. 17,000 in this respect.

5. Leave encashment paid to him Rs. 10,000.

6. He has let out his house at Rs. 3,000 per month. The tenant has left without paying rent for two months, which could not be recovered despite the best efforts.

7. He claims the following payments including Rs. 400 as Zakat deposited in Zakat fund.

Property tax Rs. 6,000 Fire Insurance Rs. 1,000

Corporation tax Rs. 5,000 Income tax deducted Rs. 3,000

Books purchased Rs. 5,000 Life Insurance Premium Rs. 6,000

8. The following amounts were received:

Dividend from NIT units (Zakat Rs. 1,000) 8,000

Dividend from XY (Pvt.) Ltd. (Zakat Rs. 600) 3,000

9. The life policy has Rs. 50,000 sum insured and the employee contributes one month’s basic salary to the Recognized Provident Fund.

Eng201 GDB solution

Applications of Hologram

Ever since it’s commercial usage in the 70's, there is no looking back for holography and hologram products. The demand has only man folded with each passing year. Holography has found its applications in almost all industrial sectors including commercial & residential applications. There is no doubt about the fact that in few years from now, you will see a new world of holograms in every aspect. The use of holograms is the representation of a new visual language in communication, where we are moving into the age of light as the media of the future. Holography will soon be an integral part of the light age of information and communications.

Wednesday, January 12, 2011

Mth302 Assignment No. 2 Announced

Assignment # 2


MTH302 (Fall 2010)
Total marks: 10
Lecture # 22 to 33
Due date: January 17, 2011


DON’T MISS THESE Important instructions:
• Upload assignments properly through LMS, (No Assignment will be accepted through email).
• All students are directed to use the font and style of text as is used in this document.
• This is an individual assignment, not ***** assignment, so keep in mind that you are supposed to submit your own, self made & different assignment even if you discuss the questions with your class fellows. All similar assignments (even with some meaningless modifications) will be awarded zero marks and no excuse will be accepted. This is your responsibility to keep your assignment safe from others. Many solution files sent by students in assignment 1 are found to be copied and so awarded zero. You are therefore reminding here again.

• There are 5 questions in the assignment but only one question will be graded.


Question 1: (Non-graded)

Find a linear regression line y = ax + b (where a is the slope and b is the y-intercept)
for values of x and y given below.


y x

7 3
10 5
11 7
15 9

Question 2: (Non-graded)

Find Quartile Deviation of the following data.

1,2,8,7,10,11,15,20,18,25

Question 3: (Graded) Marks 10

The table below shows the demand for a particular item in a shop for the last nine months.

Month Demand

1 10
2 12
3 13
4 17
5 15
6 19
7 20
8 21
9 20

Calculate a three month moving average. What would be your forecast for the demand in month ten?

Question 4: (Non-graded)

Calculate the coefficient of variation for data given below.
10, 12, 14, 16, 18, 20

Question 5: (Non-graded)
Calculate the mean, median, mode and range of the data given below.
0, 1, 2, 5, 9, 8, 3, 2, 6

Mth202 Assignment No. 4 Solution

Assignment 4 Of MTH202 (Fall 2010)

Maximum Marks: 15

Due Date: January 11, 2011

Q-1:

How many bit strings of length 10 have

a) Exactly three 0’s?

b) The same number of 0’s as 1’s?

Q:2

Prove by mathematical induction that for all positive integral values of n, x2n-1 is divisible by x +1 ;( x¹1)

Q:3

Use the Euclidean algorithm to find gcd (1331, 1001)



Question#2 solution

Using Mathematical Induction

Step 1: First we will prove that for n =1 it is true

thus x^2n-1 = x^2-1 = (x-1)*(x+1)

clearly since it has factor of x+1 we can say that x^2n-1 is divisible by x-1

Step 2: let assume that for n = k it is true thus

x^2k-1 is divisible by x+1

thus we can write as x^2k-1 = P (x+1) P is quotient

now we have to prove that it is true for n=k+1

Step 3: now let n = k+1 thus

x^2(k+1) - 1 = x^(2k+2) - 1 = x^2k*x^2 -1 = (x^2k-1+1)x^2 - 1

(x^2k-1)*x^2 + (x^2-1)

for step 2 we can write above equation as

P (x+1)*x^2 + (x+1)*(x-1) = (x+1)* (Px^2+x-1)

which contain factor of x+1 thus divisible by x+1

thus even it is proved for n=k+1

according to mathematical induction given is true for all integral values of n


Question 3; Marks: 03
Use the Euclidean algorithm to find gcd (1331, 1001)
Solution
gcd(1331, 1001) = gcd(1001, 330)
= gcd(330, 11)
= gcd(11, 0)
= 11



How many bit strings of length 10 have

a) Exactly three 0’s?

is ka answer hai 10C3 =120

b) The same number of 0’s as 1’s?
is ka answer hai 10 C 5 = 152