0% found this document useful (0 votes)
7 views5 pages

Problem Solving Using C Important Questions

The document is a list of important questions for a semester exam on Problem Solving using C at B V Raju College. It includes essay questions and very short answer questions categorized by units and chapters, covering topics such as programming languages, algorithms, control statements, arrays, pointers, functions, dynamic memory allocation, structures, and file handling in C. Each section contains specific questions aimed at assessing students' understanding of C programming concepts.

Uploaded by

hodds
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views5 pages

Problem Solving Using C Important Questions

The document is a list of important questions for a semester exam on Problem Solving using C at B V Raju College. It includes essay questions and very short answer questions categorized by units and chapters, covering topics such as programming languages, algorithms, control statements, arrays, pointers, functions, dynamic memory allocation, structures, and file handling in C. Each section contains specific questions aimed at assessing students' understanding of C programming concepts.

Uploaded by

hodds
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

B V RAJU COLLEGE (A)

SEMESTER-I
MAJOR 2: PROBLEM SOLVING USING C
LIST OF IMPORTANT QUESTIONS

ESSAY ANSWER QUESTIONS 10 MARKS

UNIT-I

Chapter-1
1. Define Programming and explain types of Programming Languages.
2. Explain algorithm and its characteristics with suitable examples.
3. Write about flow chart and its symbols with two examples.
Chapter-2
4. Explain the structure of a C Program with an example.
5. Define token in C and explain its types.
6. Define Operator and explain the types of Operators in C.
7. Define data type and explain the types of data types in C with a suitable example
program.

UNIT-II

Chapter-1
8. Explain branching or selection or decision making or conditional control statements in C
with syntax and examples.
Chapter-2
9. Explain looping or iterative control statements in C with syntax and example.

UNIT-III

Chapter-1
10. Define an array and explain the types of arrays with examples.
11. Write a C program to find the multiplication of two matrices.
Chapter-2
12. Define String and explain about the String Handling Functions in C with syntax and
examples.

1 NARESH BHIMAVARAPU, HOD-DATA SCIENCE B V RAJU COLLEGE(A) VISHNUPUR-BHIMAVARAM


UNIT-IV

Chapter-1
13. Define pointer and explain the procedure to declare, initialize and accessing the pointer
variables in C with an example.
14. Explain the concept of using arrays with pointers.
Chapter-2
15. Define function and explain the steps for creating a user defined function in C or Explain
the parts of a user defined function in C
16. Explain the types of user defined functions in c with examples.
17. Write about the parameter passing techniques in C with examples.
18. Discuss about arrays using functions with an example.
Chapter-3
19. Define storage class and explain the types of storage classes in C

UNIT-V

Chapter-1
20. Briefly explain about dynamic memory allocation in C.
Chapter-2
21. Define structure and explain the process of defining, declaring, initializing and accessing
the structure members with an example.
22. Write about structures using pointers and structures using functions with an example.
23. Explain about array of structures and nested structures with examples.
Chapter-3
24. Define file in C and explain file handling functions in C with an example. OR Explain
about reading and writing files in C with an example.

2 NARESH BHIMAVARAPU, HOD-DATA SCIENCE B V RAJU COLLEGE(A) VISHNUPUR-BHIMAVARAM


VERY SHORT ANSWER QUESTIONS 2 MARKS

UNIT I

Chapter 1
1. What is software and mention any two types of software.
2. What is system software and application software?
3. Define compiler and interpreter.
4. What is a flowchart and mention any two symbols used in flowcharts.
5. Define algorithm and rite any two characteristics of a good algorithm.
Chapter 2
6. History of C.
7. Write about the features of C.
8. What are C tokens and write it’s types.
9. Define variable and State rules for constructing variable names
10. What are keywords in C? Give any two examples of C keywords.
11. What are constants in C give example.
12. What is a data type? List any two basic data types in C.
13. What is an operator? Give any two arithmetic operators in C.
14. What are relational operators?
15. What are increment and decrement operators in C.
16. Explain conditional operator in C.
17. Write about sizeof operator.
18. What is formatted input and formatted output in C?
19. Write syntax of printf() and scanf() functions.
20. What are unformatted I/O functions and give any two examples of unformatted I/O
functions.

3 NARESH BHIMAVARAPU, HOD-DATA SCIENCE B V RAJU COLLEGE(A) VISHNUPUR-BHIMAVARAM


UNIT II

Chapter 1
21. What is a control statement?
22. What is if–else statement?
23. What is the use of switch statement?
24. Mention one difference between if-else and switch.
Chapter 2
25. Write the syntax of for loop and while loop.
26. Write about nested loops.
27. Mention differences between while and do–while.
27. Explain break and continue.
28. What is goto statement?

UNIT III

Chapter 1
29. Define array and how do you declare a one-dimensional array?
30. What is a two-dimensional array and write syntax for declaring 2D array.
31. What is a string? How is a string terminated in C?
32. Name any two string handling functions.
33. What is strlen() and strcpy() used for?
34. What are character handlings functions?

UNIT IV

Chapter 1
35. What is a pointer? How do you declare a pointer?
36. What is pointer arithmetic?
Chapter 2
37. What is a function and function prototype?
38. What are the parts of a user defined function?
39. What are the types of functions?

4 NARESH BHIMAVARAPU, HOD-DATA SCIENCE B V RAJU COLLEGE(A) VISHNUPUR-BHIMAVARAM


40. What is recursion?
41. What is call by value?
42. What is call by address?
43. Explain about local variable and global variable?
44. Write about static storage class?

UNIT V

Chapter 1
45. What is dynamic memory allocation?
46. Explain malloc() function?
47. Explain calloc() function?
48. Explain realloc() and free() functions?
Chapter 2
49. What is a structure and how do you define a structure?
50. What is nested structure?
51. What is an array of structures?
52. What is structure pointer?
53. What is a union and how does union differ from structure?
Chapter 3
54. What is a file and a file pointer?
55. What are file opening modes or text modes?
56. What is the use of fopen() and fclose().
57. What is the use of fprintf() and fscanf()?

5 NARESH BHIMAVARAPU, HOD-DATA SCIENCE B V RAJU COLLEGE(A) VISHNUPUR-BHIMAVARAM

You might also like