Wednesday, 21 September 2016
PHP - Open Source Server Side Scripting Language: Difference between Web Development and Mobile App ...
PHP - Open Source Server Side Scripting Language: Difference between Web Development and Mobile App ...: What is Project ? Project is a work done by the student or candidate for about one semester on any latest technologies t...
Asp.net Project - Engineering Students: Last Semester Project Training in Vadodara
Asp.net Project - Engineering Students: Last Semester Project Training in Vadodara: Last Semester Project Training in Vadodara Introduction to Project : Last Semester Project Training for Engineering, Diploma, BCA ...
What is Algorithm? Why Algorithms are used ?
Definition of Algorithm
Algorithm :Algorithm is stepwise solution to the problem. In algorithm each step is solution of the small problem. hence algorithm is list of steps which makes complete solution of a problem.
For Example :
1. Write an algorithm to add two numbers.
step1: START
step2: Input A and B
step3: Compute ANS=A+B
step4: Print ANS
step5: STOP
2. Write an algorithm to find average of three subject marks.
In this problem sub1 is maths, sub2 is eng and sub3 is science.
step1: START
step2: Input sub1,sub2,sub3
step3: Total = sub1+sub2+sub3
step4: Avg=Total/3
step5: Print Avg
step6:stop
3. Write an algorithm to find area of circle
R is Radius, P is pi and A is area
step1: START
step2: Input R
step3: A=P*R*R
step4: Print A
step5: STOP
4. Write an Algorithm to find the greatest number among two numbers.
step1: start
step2: Input number1, number2
step3: check if number1 > number2 then go to step5
step4: Print number2 is greatest and go to last step
step5: Print number1 is greatest
step6: stop
Why Algorithms are used?
Algorithm is one of the problem solving technique or programming technique. Algorithms provides an easy way to the programmer to find the solution of problem using program.Algorithms provides logic and it is useful for our daily life also. e.g., Milk man giving milk at our home daily. We collecting raw material like how many liter given by him on each day. End of the month we calculate total liter and multiply it with the Amount per liter and get the answer. How much we have to pay to the Milk man at the end of the month? Here the algorithm is used to calculate the total and Money pay at the end of the month.
The conclusion is, We don't know but every person using algorithms or logic in their life.
Thank you,
Hitesh Vataliya.
FOR MORE INFORMATION :
Visit Our Center :
120-121, Gangotri Complex,
30 Meter Gotri Road,Near Yash Complex,
Gotri, Vadodara - 390021
Gujarat, India.
Contact No: +91 9726185104
Tuesday, 20 September 2016
My City Vadodara - Internet and Website designing
MCA - Internet Concept and Web Design
Solution of Assignment (First Semester - IGNOU)
1. Create a website that provides information about historical tourist places around your city. Your site should include the following pages.
(30 Marks)
(a)
The Home page should consists of four areas containing the following information:
TOP area containing the name of your city and a photograph of a historical monument. Make sure that you use a good picture format.
LEFTMENU area containing the links to other pages - these links should include - My City, List of Monuments, History of the City, Important Addresses and Feedback.
The CONTENT area of this Home page should display information like population, and climatic conditions etc. about your city.
The COPYRIGHT area should display the copyright information and current date and time.
You need to make sure that the TOP, LEFT MENU and COPYRIGHT area is same across all the pages of the website.
(b)
My City page should give information about the objectives, festivals of the city etc. in some structured format in the CONTENT area. You may use lists or tables for the same.
(c)
List of Monuments page lists the names of important Monuments in the CONTENT area. These names should be hyperlinked to History of City page.
(d)
History of City page should highlight the history of city as well as important monuments in the CONTENT area.
Here is the solution :
You can create an html file as given below screen shots :
- HTML files are missing in this Assignment.
- In Comments PUT Your Email ID to Receive the original Images who have the solution.
Thank you,
Hitesh Vataliya.
FOR MORE INFORMATION :
Visit Our Center :
120-121, Gangotri Complex,
30 Meter Gotri Road,Near Yash Complex,
Gotri, Vadodara - 390021
Gujarat, India.
Contact No: +91 9726185104
Monday, 19 September 2016
Maths Assignment Solution for IGNOU Students
MCS-013
Descrete Mathematics
January 2016 Session
Q - 1
(a)
Ans (i) : p->(~q v ~r) ^ ~p ^ ~q
Precedence Rules
1. ~
2. ^
3. v and exor
4. -> and <->
p
|
q
|
r
|
~p
|
~q
|
~r
|
x=~qv~r
|
y=x^~p
|
z=y^~q
|
p->z
|
T
|
T
|
T
|
F
|
F
|
F
|
F
|
F
|
F
|
F
|
T
|
T
|
F
|
F
|
F
|
T
|
T
|
F
|
F
|
F
|
T
|
F
|
T
|
F
|
T
|
F
|
T
|
F
|
F
|
F
|
T
|
F
|
F
|
F
|
T
|
T
|
T
|
F
|
F
|
F
|
F
|
T
|
T
|
T
|
F
|
F
|
F
|
F
|
F
|
T
|
F
|
T
|
F
|
T
|
F
|
T
|
T
|
T
|
F
|
T
|
F
|
F
|
T
|
T
|
T
|
F
|
T
|
T
|
T
|
T
|
F
|
F
|
F
|
T
|
T
|
T
|
T
|
T
|
T
|
T
|
Ans (ii) : p->(r v ~q) ^ (~p v r)
p
|
q
|
r
|
~p
|
~q
|
x=r v ~q
|
y=~p v r
|
z=x ^ y
|
p->z
|
T
|
T
|
T
|
F
|
F
|
T
|
T
|
T
|
T
|
T
|
T
|
F
|
F
|
F
|
F
|
F
|
F
|
F
|
T
|
F
|
T
|
F
|
T
|
T
|
T
|
T
|
T
|
T
|
F
|
F
|
F
|
T
|
T
|
F
|
F
|
F
|
F
|
T
|
T
|
T
|
F
|
T
|
T
|
T
|
T
|
F
|
T
|
F
|
T
|
F
|
F
|
T
|
F
|
T
|
F
|
F
|
T
|
T
|
T
|
T
|
T
|
T
|
T
|
F
|
F
|
F
|
T
|
T
|
T
|
T
|
T
|
T
|
(b) Venn Diagram
Ans (i): (A
B)
(C~A)
Ans (ii): (A
B)
(B
C)
C)Geometric Representation
Ans(ii) : {1,2} x {2,-3} it has four points as shown in below figure
Question 2:
(a)Write Down suitable mathematical statement that can be represented by the following symbolic properties.
Ans (i) : (
x)(
y)P
(any one of x)(all of y)
Ans (ii) :
(x)(
y)(
z)P
(all of x)(all of y)(any one of z)
(b) Show whether root of 15 is rational or irrational.
As usual, for contradiction, assume 15.5=p/q, where p,q are coprime integers and q is non-zero.
Thus, 15q2 = 5*3*q2 = p2
Since 5 and 3 are prime, they must divide p.
Hence we can say that 15 is irrational.
(c) explain inclusion - exclusion principle with example.
Book 2 Page 51-52.
Question 3:
(a)Make the logic circuit for the following expression.
Figure on Page 1 White Page.
(b)What is tautology? If P and Q are statements, show whether the statement (P->Q)V(Q->P) is a tautology or not.
A Compound Proposition that is true for all possible truth values of the simple propositions involved in it is called a tautology.
P
|
Q
|
P->Q
|
Q->P
|
(P->Q)V(Q->P)
|
T
|
T
|
T
|
T
|
T
|
T
|
F
|
F
|
T
|
T
|
F
|
T
|
T
|
F
|
T
|
F
|
F
|
T
|
T
|
T
|
The given statement is tautology.
Question 4:
(a) How many different 8 professionals committees can be formed each containing at least 2 Professors, at least 2 Technical Managers and 3 Database Experts from list of 10 Professors, 8 Technical Managers and 10 Database Experts?
The 8 members team can be either of the following:
a. 3 professor, 2 technical managers and 3 database expert
Total ways of choosing this =10C3*8C2*10C3=120*28*120=403200
b. 2 professor, 3 technical managers and 3 database expert
Total ways of choosing this =10C2*8C3*10C3=45*56*120=302400
c. 2 professor, 2 technical managers and 4 database expert
Total ways of choosing this =10C2*8C2*10C4=45*28*210=264600
Total ways
= 403200+302400+264600
= 970200
(b) What are De Morgan’s Law? Explain the use of De Morgan’s Law with example.
Ans:Book1 Page no 17 (a) to (e) law and Page no 18. Example (7) with solution.
(c) Explain the addition theorem in probability.
Book2 Pageno 29. Start to Example 2 and Solution.
Question 5:
(a) How many words can be formed using letter of UNIVERSITY using each letter at most once?
i) If each letter must be used,
ii) If some or all the letters may be omitted.
U
N
I
V
E
R
S
I is repeated.
T
Y
Only I is repeated hence 9 distinct character are there.
(i) if each letter must be used
Then 9! = 9x8x7x6x5x4x3x2x1=3,62,880
(ii) if some or all the letters may be omitted
0 of 9 letters
P(9,0) =0! =1
P(9,1) =9!/8! =9
P(9,2) =9!/7! =72
P(9,3) =9!/6! =504
P(9,4) =9!/5! =3024
P(9,5) =9!/4! =15,120
P(9,6) =9!/3! =60,480
P(9,7) =9!/2! =1,81,440
P(9,8) =9!/1! =3,62,880
P(9,9) =9! =3,62,880
Total : 9,86,409
(b) Show that (p->q)->q => pvq
Proved solution p->q = ~pvq
=~pvq ->q
=~(~pvq) v q
=(p^~q)vq [De Morgan’s Law of Double Negation]
=(pvq)^(~qvq) [De Morgan’s Law of Distribution]
=(pvq)^T [~qvq is always true]
=pvq
(c) prove that n!(n+2) = n!+(n+1)!
RHS = n! + (n+1)n!
=(1)n! + (n+1)n!
=(1+n+1)n!
=(n+2)n!
=LHS
Question 6:
(a)
How many ways are there to distribute 20 district object into 10
distinct boxes with:
i) At least three empty box.
ii) No empty box
Select 10
No of ways to select 3 distinct boxes: 10*9*8 = 720
No of ways to arrange 20 in the 8 remaining distinct boxes:
20P8 = 5079110900
Ans: 720*5079110900 = 4.11408x10^12
ii) No empty box.
20P10 = 20!/10! = 6.7044x10^11 ways
(b) Explain principle of multiplication with an example.
Book 2 Page no 28, topic 2.2 and example1 with solution.
(c) Set A,B and C are: A = {1, 2, 4, 8, 10 12,14}, B = { 1,2, 3 ,4, 5 } and C { 2, 5,7,9,11, 13}.
A
B
C = {1,2,4,5,7,9,11,13}
A
B
C = {1,2,4,5,7,9,11,13}
A
B
C = {1,2,3,4,5,8,10,12,14}
B~C = {1,3,5}
Question 7.
(a) Find how many 3 digit numbers are odd?
Ans:
1st Position -> 1-9 not zero -> 9 places
2nd Position -> 0-9 -> 10 places
3rd Position -> 1,3,5,7,9 -> 5 places of
Total 3 digit numbers = 9x10x5
= 450
(b) What is counterexample? Explain with an example.
A counterexample is a special kind of example that disproves a statement or proposition. Counterexamples are often used in math to prove the boundaries of possible theorems. In algebra, geometry, and other branches of mathematics, a theorem is a rule expressed by symbols or a formula.
Counterexamples are helpful because they make it easier for mathematicians to quickly show that certain conjectures, or ideas, are false. This allows mathematicians to save time and focus their efforts on ideas to produce provable theorems.
A counterexample to the statement "all prime numbers are odd numbers" is the number 2, as it is a prime number but is not an odd number. Neither of the numbers 7 or 10 is a counterexample, as neither contradicts the statement. In this example, 2 is the only possible counterexample to the statement, but only a single example is needed to contradict "All prime numbers are odd numbers". Similarly the statement "All natural numbers are either prime or composite" has the number 1 as a counterexample as 1 is neither prime nor composite.
(c) What is a function? Explain following types of functions with example i) Surgective ii) Injective iii) Bijective
Book2 Page no 16 for function definition. page no 18 1.5.1 types of functions with example
Question 8.
(a) Find inverse of the following function: f(x)=(x3+2)/(x-3) where x!=3
y=(x3+2)/(x-3) replace x by y and y by x
x=(y3+2)/(y-3)
x*(y-3)=(y3+2)
x*(y-3)-2=y3
xy-3x-2=y3
-3x-2=y3-xy
xy-y3=3x+2
y=((3x+2)/(x-1))1/3
f-1(x)=((3x+2)/(x-1))1/3
(b) Explain equivalence relation with example.
Ans:
Book2 Page No 15 Last Two paragraph and page 16 first five lines.
(c) Find Boolean expression for the output of the following logic
circuit.
Ans : (((A’^B)^B’)’VC)’
(d) Prove that the inverse of one-one onto mapping is unique.
Ans : White Page- 2nd Page
- Some Figures are missing in this Assignment.
- In Comments PUT Your Email ID to Receive the original Images who have the solution.
Thank you,
Hitesh Vataliya.
FOR MORE INFORMATION :
Visit Our Center :
120-121, Gangotri Complex,
30 Meter Gotri Road,Near Yash Complex,
Gotri, Vadodara - 390021
Gujarat, India.
Contact No: +91 9726185104
Subscribe to:
Comments (Atom)







