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

h

The document outlines a course syllabus for A8501 - Problem Solving through C, covering various modules including C programming basics, control statements, arrays and strings, functions, structures, unions, pointers, and file operations. Each module contains a set of questions and programming tasks designed to assess understanding of the concepts. The syllabus emphasizes practical programming skills alongside theoretical knowledge in C programming.

Uploaded by

akshaya.sama1234
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)
16 views5 pages

h

The document outlines a course syllabus for A8501 - Problem Solving through C, covering various modules including C programming basics, control statements, arrays and strings, functions, structures, unions, pointers, and file operations. Each module contains a set of questions and programming tasks designed to assess understanding of the concepts. The syllabus emphasizes practical programming skills alongside theoretical knowledge in C programming.

Uploaded by

akshaya.sama1234
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
You are on page 1/ 5

Dr. R.

KARTHIKEYAN, PROFESSOR/CSE(AI&ML)

Some Notable Questions


Subject: A8501 - Problem Solving through C

Module-I (Introduction to C Programming)

1. List out the characteristics of algorithm.


2. List out the features of flowchart.
3. List out the sections available in C program structure.
4. Define Identifier.
5. list out the rules before defining the identifiers.
6. Give three examples syntax for valid identifiers.
7. Differentiate identifier and keyword.
8. Define static variable.
9. List out the data types in C with its memory size.
10. What are the needs for operators in C programming language?
11. Give the example of right and left shift operators.
12. List out the special operators.
13. Define operator precedence and associativity.
14. Write the precedence and associativity of +,-,*,/,%,().
15. Evaluate the expression 6*2/(2+1*2/3+6)+8*(8/4) using precedence and associativity.
16. What is Type casting?
17. Distinguish implicit and Explicit Type Conversion.
18. Give the syntax for I/O statements.

PART-B
1. Explain in detail about different phases in C program structure.
2. Write a C program which includes all kinds of data types.
3. What are the different kinds of operators available in C? Explain in detail with appropriate
syntax..
4. To implement all bitwise operators while the value of m=15 and n=20.
5. Evaluate the following expression by manual using precedence and associativity in step by
step manner 6*2/(2+1*2/3+6)+8*(8/6).
6. Give the detailed notes on evaluation of expression with suitable example.

VARDHAMAN COLLEGE ENGINEERING


Dr. R. KARTHIKEYAN, PROFESSOR/CSE(AI&ML)

Module-II (Control Statements)


1) Define Decision making and branching.
2) List out the Decision-making handling statements in C.
3) What the different kinds of IF statement available in C?
4) Distinguish the terms simple IF,IF…ELSE, Nested IF…ELSE, ElSE.IF Ladder.
5) Give the syntax of switch statement.
6) What is the need for Switch statement?
7) List out the rules of Switch statement.
8) List out the iterative looping statements available in C.
9) Differentiate the terms While,Do…While, oops.
10) Compare Break, continue and goto jumping statements.

PART-B
1. Write a C program to calculate the Largest of two numbers by using IF statement.
2. Explain in detail about different kinds of IF statements.
3. Give the brief notes on Decision making and branching.

4. Write a C program with suitable if statement to read 3 subject Marks. Calculate and display
the grade of a student based on the following percentages.

➢ < 40 - Fail

➢ Between 41 and 50 – C grade

➢ Between 51 to 60 – B grade

➢ Between 61 to 75 – A grade

➢ Greater than 75 – distinction

5. Give the detailed notes on Switch statement.

6. Write a C Program to perform Arithmetic Operations using switch.

7. Explain in detail about different types of Iterative loop statements.

8. Give brief notes on break, Continue and goto statements.

9. Write a C program to find sum of n natural numbers ( 1+2+3. . . .+n) using while loop.

VARDHAMAN COLLEGE ENGINEERING


Dr. R. KARTHIKEYAN, PROFESSOR/CSE(AI&ML)

Module-III (Array & String)


1. Define Array.
2. Demonstrate the structure of Array.
3. List out the properties of Array.
4. Pros and cons of Array.
5. Explore the types of Array.
6. Define one dimensional Array.
7. Explain about Two Dimensional Array.
8. Give the syntax of 1-D array initialization and declaration.
9. Give the syntax of 2-D array initialization and declaration.
10. How to perform read and write operations in an array?
11. Define String.
12. Give the syntax of string declaration and initialization.
11. Distinguish char array and string literal.
12. How to perform read operation in String? Give the syntax.
13. How to perform write operation in string? Give the syntax.
14. Demo the syntax of strcpy().
15. Demo the syntax of strcat().
16. List out any 7 string handling functions.
17. Show the memory allocation structure of String.
18. Define Literals.

PART-B
1) Write a C program to find Multiplications of two Matrices using Array.
2) Write a C program to find the largest and smallest number among a list of integers in an
Array.
3) Write a C Program to read an array of n elements and find the sum of all even integers
and odd integers.
4) Write a C program to find Addition of two Matrices using Array.
5) Demonstrate the Two dimensional array concept with suitable syntax of initialization and
declaration.
6) Predict the importance of String with suitable syntax.
7) Write a C program to demonstrate any four string handling functions.
VARDHAMAN COLLEGE ENGINEERING
Dr. R. KARTHIKEYAN, PROFESSOR/CSE(AI&ML)

8) Write a C program to Check whether a given string is palindrome or not

Module-IV (Functions &Structures and Unions)


1. Define function with syntax.
2. List out the advantages of function.
3. Give the function type classification.
4. Give the syntax of function declaration.
5. Explain about return and non-return type functions.
6. What is call by value?
7. What is call by reference?
8. Clarify passing arguments in function.
9. Describe the concept of recursive function with its types.
10. Define the term Structure.
11. Differentiate Array and Structure.
12. Describe the way of passing structure as an argument to the function.
13. Describe the method sizeof().
14. Describe the term Union.
15. Compare Union and Structure.
16. Define Recursive function.

PART-B
2. Demonstrate the recursive function concept with suitable program.

3. Explain in detail about Function call methodology by appropriate sample program.

4. Write a C program to find the factorial of a given number using non recursive function.

5. Write a C program to find the factorial of a given number using recursive function.

7. Validate the structure initialization and declaration with suitable syntax.

8. Explain the concept of Array of structure with suitable program.

9. How to find out the size of structure? Explain with suitable example.

10. Write a C program to create a Student structure containing name, rollNo and grade as

structure members. Display the name, rollNo and grade of a student.

11. Enlighten the concept of Union initialization and declaration with suitable example.

VARDHAMAN COLLEGE ENGINEERING


Dr. R. KARTHIKEYAN, PROFESSOR/CSE(AI&ML)

Module-V (Pointers & Files)

1. What is pointer?
2. What is pointer variable.
3. Give the syntax of declaration and initialization of pointer.
4. Define the term pointer to pointer.
5. List out the operators in pointer arithmetic.
6. Define array pointer.
7. Define File.
8. Describes the importance of file.
9. Define Text file.
10. Define Binary file.
11. List out the different file operations.
12. Describe any three file modes.
13. What is sequential file accessing?
14. Define Random accessing of files.
15. Compute fprintf().
16.Compute fscanf().

PART-B
1. Explain pointer to pointer initialization and declaration concept with suitable
example.
2. Analyse the pointer to array concept with suitable syntax.
3. Demonstrate pointer arithmetic concept with suitable example.
4. Examine the concept of pointer to structure with appropriate example.
5. Illustrate the file operations with suitable sample program.
6. Demo the Read and Write operation of file with example.
7. Investigate Random accessing file methods with appropriate example.

VARDHAMAN COLLEGE ENGINEERING

You might also like