You can pay in 6 instalment of
Rs 125-125 if u have any doubt.
computeroperator4@gmail.com
www.smuassignment.in
www.assignmenthelpforall.blogspot.in
PROGRAM: BSc IT
SEMESTER: FIRST
SUBJECT CODE & NAME: BT0065, C Programming and Data Structures
CREDIT: 3
BK ID: B0949
MAX. MARKS: 60
Q.1:
Explain the structure of the C program.
ANS:
C language statements
we need several operators and expressions. The operators have some special
meaning and syntax rather grammar, so we should follow that to build any C
language statement just as
Q.2:
What is recursion? Differentiate between recursion and iteration.
ANS:
Recursion is a tool to
allow the programmer to reach a particular point called the recursion point. It
executes from bottom to top approach. It copies the function into the memory
number of times. The
Q.3:
Define array and explain its need. Write a program to calculate sum and average
of the elements stored in an array.
ANS:
Array is the
contiguous allocation of memory having the common name. To identify each
element on the array, an index number called subscription is defined. It is
numbered from 0 to (n-1) where the array
Q.4: Explain Union.
Differentiate between structure and union.
ANS:
A "union
declaration" specifies a set of variable values and, optionally, a tag naming
the union. The variable values are called "members" of the union and
can have different types. Unions are similar to "variant records" in
other languages.
Q.5: What is data
structure? Explain abstract data type in brief. Differentiate between linear
and nonlinear data structure.
ANS:
Q.6: What is linked
list? Explain the advantages of linked lists over array.
ANS:
A
linked list is a self-referential data type because it contains a pointeror
link to another datum of the same type. Linked lists permit insertion
andremoval of nodes at any point in the list in constant time, but
No comments:
Post a Comment