field

field

BC0052 – THEORY OF COMPUTER SCIENCE


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )




ASSIGNMENT


PRIGRAM
BACHELOR OF COMPUTER APPLICATION
SEMESTER
5TH
SUBJECT CODE & NAME
BC – THEORY OF COMPUTER SCIENCE
CREDIT
4
BK ID
B0972
MAX. MARKS
60



Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme.
                                                                                                                                                           


Q.1Define g.c.d. (m,n)
Solve recursively: (i) f(x, y) = x + y
(ii) g(x, 0) = 0, g(x, y + 1) = g(x, y) + x.

Answer:Define g.c.d. (m,n)
The greatest common divisor (gcd), also known as the greatest common factor (gcf), or highest common factor (hcf), of two or more integers (at least one of which is not zero), is the largest positive integer that divides the numbers without a remainder. For ex



(ii) g(x, 0) = 0, g(x, y + 1) = g(x, y) + x.

Let P(x,y) denote g(x+y)+g(x)g(y)=g(xy)+g(x)+g(y). The important statements that we'd consider are

P(x,y)P(x,1)P(x,y+1):g(x+y)+g(x)g(y)=g(xy)+g(x)+g(y):g(x+1)+g(x)g(1)=2g(x)+g(y):g(x+y+1)+g(x)g(y+1)=g(xy+x)+g(x)+g(y+1)(1)(2)(3)



Q.2 Obtain a DFA to accept strings of a’s and b’s starting with the string ab.

Answer: It is clear that the string should start with ab and so, the minimum string that can be accepted by the machine is ab.




Q.3 Prove by mathematical induction.
          12 + 22 + 32+------+ n2 = (n(n+1)(2n+1))/6
Answer:- 12 + 22 + 32+------+ n2 = (n(n+1)(2n+1))/6
First of all Identify the general term and nth partial sum before beginning the problem

The general term, an, is the last term on the left hand side. an = n2
The nth partial sum, Sn, is the right hand side. Sn = n (n + 1) (2n + 1) / 6

Find the next term in the




Q.4 briefly describes Moore and Mealy machines.

Answer: -Describe Moore
An automation system in which the output depends only on the present input is called a Moore machine. Alternatively, an automaton system in which output depends both on the present input and the present state is called Mealy machine.

A Moore machine can be defined as a 6-tuple ( S, S0, Σ, Λ, T, G ) consisting of the following:
·         A finite set of states ( S )



Q.5 If G = ({ S }, { 0,1}, { S →0S1, S →Ʌ}, S ) then find L(G),
the language generated by G.

Answer:-
Since S → ^ is a production, S ⇒ ^.  This implies that ^ ∈L(G).
Now, for all n ≥ 1, we can write the following:
S ⇒ 0S1 ⇒ 00S11 … ⇒ 0nS1n ⇒ 0n1n.


Q.6 Prove that “A tree G with n vertices has (n–1) edges”

Answer:-
We prove this theorem by induction on the number vertices n.
Basic step: If n = 1, then G contains only one vertex and no edge. So the number of edges in
G is n –1 = 1 – 1 = 0.

Induction hypothesis: The statement is true for all trees with less than ‘n’ vertices. Induction step: Now
let us consider a tree with ‘n’ vertices. Let ‘ek

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )

BCA3010 - COMPUTER OREINETED NUMERICAL METHODS


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )


ASSIGNMENT


PROGRAM
BCA REVISED 2012
SEMESTER
III
SUBJECT CODE AND NAME
BCA3010 - COMPUTER OREINETED NUMERICAL METHODS
CREDIT
4
BK ID
B1643
MAX. MARKS
60





Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Eachquestion is followed by evaluation scheme.





Q.1 (i) State Lagrange’s mean value theorem.
(ii) Explain truncation errors.
(iii) Find the truncation error in the result of the following function for x= (N/2)when we use(a) first three terms(b) first four terms(c) first five terms ex = (1+x2/2+x3/3+x4/4+x5/5+x6/6)

Answer :- State Lagrange’s mean value theorem:- Suppose is a function defined on a closed interval (with ) such that the following two conditions hold:

1.      f is a continuous function on the closed interval (i.e., it is right continuous at , left continuous at , and two-sided

(ii) Explain truncation errors: Suppose we have a continuous differential equation

    y' = f(t,y), \q y(t_0) = y_0, \ t \ t_0

and we wish to compute an approximation y_n of the true solution y(t_n) at discrete time steps t_1,t_2,\l ,t_N . For simplicity, assume the time steps are equally spaced:

    h = t_n - t_{n-1}, \qquad n=1,2,\ldots,N.

Suppose we compute the sequence y_n with a one-step method of the form

y_n = y_{n-1} + h A(t_{n-1}, y_{n-1}, h, f).

The function A is called the increment function, and can be interpreted as an estimate of the slope of y_n .

Local truncation error

The local truncation error \tau_n is the error that our increment function, A , causes during a single iteration, assuming perfect knowledge of the true solution at the previous iteration.

More formally, the local truncation error, \tau_n , at step n is computed from the difference between the left- and the right-hand side of the equation for the increment y_n \approx y_{n-1} + h A(t_{n-1}, y_{n-1}, h, f) :

    \tau_n = y(t_n) - y(t_{n-1}) - h A(t_{n-1}, y(t_{n-1}), h, f).

The numerical method is consistent if the local truncation error is o(h) (this means that for every \varepsilon> 0 there exists an H such that |\tau_n| < \varepsilon h for all h < H ; see big O notation). If the increment function A is differentiable, then the method is consistent if, and only if, A(t,y,0,f) = f(t,y) .

Furthermore, we say that the numerical method has order p if for any sufficiently smooth solution of the initial value problem, the local truncation error is O(h^{p+1}) (meaning that there exist constants C and H such that |\tau_n| <Ch^{p+1} for all h < H ).

Global truncation error

The global truncation error is the accumulation of the local truncation error over all of the iterations, assuming perfect knowledge of the true solution at the initial time step.[citation needed]

More formally, the global truncation error, e_n , at time t_n is defined by:

    \begin{align} e_n&= y(t_n) - y_n \\ &= y(t_n) - \Big( y_0 + h A(t_0,y_0,h,f) + h A(t_1,y_1,h,f) + \cdots + h A(t_{n-1},y_{n-1},h,f) \Big). \end{align}

The numerical method is convergent if global truncation error goes to zero as the step size goes to zero; in other words, the numerical solution converges to the exact solution: \lim_{h\to0} \max_n |e_n| = 0 .



(iii) Find the truncation error in the result of the following function for x= (N/2)when we use(a) first three terms(b) first four terms(c) first five terms ex = (1+x2/2+x3/3+x4/4+x5/5+x6/6)

To determine the local truncation error for the three-step Adams-Bash forth m



Q2 Find the Taylors series of the function
f(x)  = 3x5- 2x4+ 15x3+ 13x2- 12x- 5  atthepoint c=  2

Answer:Definition

The Taylor series of a real or complex-valued function ƒ(x) that is infinitely differentiable at a real or complex number a is the power series

f(a)+ {f'(a)}/{1!} (x-a)+ {f''(a)}{2




Q3. (i) Evaluate∆2( x2) ; h= 1 and ∆2 (ex )
(ii) Find the backward difference table of the following set

X
9
10
11
12
13
14
y
5.0
5.4
6.0
6.8
7.5
8.1


Answer: -(i) Evaluate∆2( x2) ; h= 1 and ∆2   (ex )
= ∆2( x2)





Q4:- Investigate the values of λ and μ such that the system of equations
x+y+z=6, x+2y+3z=10, x+2y+λ z = μ  may have
 (a) Unique solution (b) Infinite number of solutions (c) no solution

Answer:-
  x+y+z=6   ……………………………………………… (i)
 x+2y+3z=10


Q.5Using the method of least squares, find a relation of the form y = axb
, that fits the data
X
2
3
4
5
y
27.8
62.1
110
161




Answer:-



Q6: Obtain the solution of initial value problem. dy/dx = y-x2.

y(0) = (1), y(0.2)=  1.1218 ,y(0.4)= 1.4682, y(0.6) = 1.7379
Estimate y (0.8) by Adam Moulton’s method.

Answer: Given
y(0) = (1), y(0.2)=  1.1218 ,y(0.4)= 1.4682, y(0.6) = 1.7379


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )

SMU MCA Projects Reports

Dear students get SMU MCA Projects Reports with source code+

Mail us at : “ help.mbaassignments@gmail.com ”
Or

Call : 08263069601



1)      Asset management PRINT bidding & jobsite

2)      Business Intelligence

3)      Change Management System

4)      customer relationship management

5)      Customer Service Analyser

6)      ASM Setup

7)      Event management

8)      fleet project

9)      healthcare

10)   Nwtwork Back up system Code

11)   ERP

12)   HEALTH CARE Doc & coding

13)   Hostel management System

14)   Inspection

15)   Instabanking

16)   Interactive Savings

17)   ONLINE BANKING

18)   Online customer management

19)   Quantum reinsurance

20)   online Banking

21)   project SCMSTGITS

22)   SPYWARE

23)   WebBasedTutorial

MTM-12 - TOURISM PRODUCTS: DESIGN AND DEVELOPMENT


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

  “ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )



MTM-12 - TOURISM PRODUCTS: DESIGN AND DEVELOPMENT

(Tutor Marked Assignment)
Course Code: MTM-12
Assignment Code: MTM-12/TMA/2013
Total Marks:  100

Note:    This TMA consists of two parts.
Part I consists of two questions out of which you have to attempt any one. The question carries 25 marks and should be answered in about 700 words.
Part II consists of ten questions. Attempt any five in about 500 words each. Each question carries 15 marks.
Send your TMA to the Coordinator of your Study Centre.

PART – I

1) Define market segmentation. How do you segment a market? Explain with the help of suitable     examples.

Ans : Market segmentation :
                                                                                                                                                                                                         Market segmentation is a marketing strategy that involves dividing a broad target market into subsets of consumers who have common needs and priorities and then designing and implementing strategies to target them. Companies create product differentiation strategies to target market segments. Market segmentation helps Product Mangers quantify and define the market opportunity when developing new products.

Market segmentation is one of the basics of Product Management but there are many Product Managers that blindly embark on the product development journey without completing this activity.
Before developing any new product, Product

PART – II


6) What are the basic steps in tourism product development? Explain with the help of suitable example?    

Ans : Within the tourism industry, destination management organisations and development agencies regularly refer to 'product development' although they may in fact mean other growth strategies. All of the following are currently being undertaken in the UK under the guise of product development.

  • Some capital projects leading to new visitor attractions (far fewer now than in the early days of lottery funding).
  • Improvements to infrastructure such as creating new paths and cycle tracks.
  • Programmes to encourage more hotel

                                                                               
                                                                                                                 
7) Explain the difference between publicity and advertisement. Discuss their role in the promotion of Tourism Activity                                                                                                               

Ans :  Difference between publicity and advertising :

Advertising and publicity are different forms of getting the word out about your business, with different subject matter, costs and expectations. Many business owners, however, try to blur the line between the two, which can cause misunderstandings with the news media and negate a company’s efforts to improve business and its image. Knowing the differences between the two and how to use them as complementary efforts can reap benefits in spreading a company's message.

1. Placement Cost :

               

8) Discuss the process of training, recruiting and motivating the sales personnel. 

Ans : A sales manager's primary job is to recruit, train, and motivate their sales force to achieve peak performance. Of these three vitally important responsibilities, recruiting is the least understood and by far the most challenging. When you recruit the right person you will find that they are self-motivated and eager to train. On the other hand, if you hire someone that is not suited for the position, you will experience low morale, high turnover and find yourself constantly in the training mode. The importance of matching the job


9) What are the steps in the development of tourism product?               

Ans : Step 1: Situation analysis :

This first step in product development is crucial as it sets the basis for all subsequent decisions regarding the product that you want to develop. The situation analysis itself includes several
steps which build on each other, which means that you have to undertake them in a certain order!

Step 2: Define aims

As the second step, you need to define the aims

10)  Discuss the relevance of sustainable development and carrying capacity in the success of a destination   ?                

Ans : Sustainable development :

The basic ideas and principles of sustainable development have been applied to tourism, but perhaps as a result of conceptual problems, disagreements, and the multidimensionality of both concepts, many commentators have stated that no exact definitions of sustainable tourism exist. Consequently, the notion has sometimes been understood as an ideology and point of view rather than an exact operational definition, and has been defined broadly as ‘‘tourism which is economically viable but does not destroy the resources on which the future of tourism will depend, notably the physical environment and the social fabric of the host community’’. Definitions like this emphasize the needs of the industry and
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

  “ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
(Prefer mailing. Call in emergency )

MC0082- THEORY OF COMPUTER SCIENCE


Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601


WINTER 2013, ASSIGNMENT

DRIVE
WINTER 2014
PROGRAM
MCA(REVISED FALL 2007)
SUBJECT CODE & NAME
MC0082- THEORY OF COMPUTER SCIENCE
SEMESTER
5TH SEM
CREDITS
4
MAX. MARKS
60
BK ID

B0970



Answer all questions

1 Differentiate between Recursive Functions and growth functions.

Answer : What's a Recursive Function?

Technically, a recursive function is a function that makes a call to itself. To prevent infinite recursion, you need an if-else statement (of some sort) where one branch makes a recursive call, and the other branch does not. The branch without a recursive call is usually the base case (base cases do not make recursive calls to the function).
Functions can also be mutually recursive. For example, function f() can call function g() and function g() can call function f(). This is still considered recursion because a function can eventually call itself. In this case, f() indirectly calls itself.


2. Describe direct and indirect proof techniques.

Ans : Direct proof :

In mathematics and logic, a direct proof is a way of showing the truth or falsehood of a given statement by a straightforward combination of established facts, usually existing lemmas and theorems, without making any further assumptions. In order to directly prove a conditional statement of the form "If p, then q", it suffices to consider the situations in which the statement p is true. Logical deduction is employed to reason from assumptions to conclusion. The type of logic employed is almost invariably first-order logic, employing the quantifiers for all and there exists. Common proof rules used are modus ponens and universal instantiation.



3. Discuss about Walks and Paths in Trees

Ans :  Walks and Paths in Trees :

In the mathematical field of graph theory, a path graph or linear graph is a particularly simple example of a tree, namely a tree with two or more vertices that is not branched at all, that is, contains only vertices of degree 2 and 1. In particular, it has two terminal vertices (vertices that have degree 1), while all others (if any) have degree 2.
A path in a graph is a sequence of vertices such that from each of its vertices there is an edge to the next vertex in the sequence. A path may be

4. What is DFA? Discuss about Transition System.

Ans :  DFA :

In automata theory, a branch of theoretical computer science, a deterministic finite automaton (DFA)—also known as deterministic finite state machine—is a finite state machine that accepts/rejects finite strings of symbols and only produces a unique computation (or run) of the automaton for each input string.'Deterministic' refers to the uniqueness of the computation. In search of simplest models to capture the


5.  Differentiate between Moore machine and Mealy machine.

Ans :  Moore machine :

In the theory of computation, a Moore machine is a finite-state machine whose output values are determined solely by its current state. This is in contrast to a Mealy machine, whose output values are determined both by its current state and by the values of its inputs. The Moore machine is named after Edward F. Moore, who presented the concept in a 1956 paper, “Gedanken-experiments on Sequential Machines.



6. Define context-free grammar. What is an ambiguous grammar? Explain with an example.

Ans : Ambiguous grammer :

In computer science, an ambiguous grammar is a formal grammar for which there exists a string that can have more than one leftmost derivation, while an unambiguous grammar is a formal grammar for which every valid string has a unique leftmost derivation. Many languages admit both ambiguous and unambiguous grammars, while some languages admit only ambiguous grammars. Any non-empty language admits an ambiguous grammar by
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
help.mbaassignments@gmail.com
or
call us at : 08263069601