BCA-Programming in c - Important questions
PART –A
1.Define Constant and Variable
2.What is comma operator? What is its
purpose?
3.What is meant by nested loop? Give
example
4.What is recursion function?
5.What is an array? Write the Syntax of
array declaration
6.Does =x' differ from ?x?? Justify.
7.What is the advantage of using Union?
8.What is pointer? Give example.
9.What is the use of #define directives?
10. Define Linked list representation.
11.
What is meant by character set and its categories?
12. Define size of operator.
13. What is a null statement?
14. Write the general form of for loop.
15. List out the common operations performed on
character strings.
16. Comment on calling a function.
17. Write any two reasons for using pointers.
18. What is command line argument?
19. List out the memory allocation functions.
20. What are the categories of directives.
PART B
11. (a) Explain the basic data types in C
language
Or
(b) What is meant by expression? Explain the
hierarchy and rules of forming the
expressions.
12. (a) What is the purpose of the scanf()
function? Compare it with getchar() function.
Or
(b) Explain the usage break and continue
statements.
13. (a) Discuss briefly the string and character
arrays with example.
Or
(b) Discuss the purpose of using the function
prototype in C Language.
14. (a) Explain how pointer variables are
initialized.
Or
(b) Discuss the basic operations of file
Processing
15. (a) What is dynamic memory allocation?
Explain how to allocate a block of
memory.
Or
(b) What is the purpose of a header file? Explain.
16.(a)
Write a short note on declaration of storage class.
Or
(b) Explain the importance of C.
17.(a) Write a program to compute the sum of
digits of integer number.
(Or)
(b) Explain about the conditional expression
operator.
18.(a) Describe the form of C functions.
Or
(b) Give a short note on arithmetic operation on
characters.
19.(a) Write a short note on declaring and
initializing pointers.
Or
(b) Explain about unions.
20.(a) Write a short note on advantages of
linked lists.
Or
(b) Explain about File inclusion.
PART C
16. Explain the Relational operators, logical operators, conditional operators
and
bitwise operators with example
17. Explain the for(..) loop and while(..) loop statements with examples
18. Explain the declaration and usages of one dimensional array and
multidimensional array with example
19. Give the importance of structure in C and explain with syntax
20. Explain the following basic operations of linked list.
21.
List and explain any five operator types in C.
22. Discuss in detail about types of loop
operations.
23. Give a brief note on string handling
functions.
24. Describe about the random access to files.
25. Explain in detail about macro substitution
directives.
Comments
Post a Comment