0% found this document useful (0 votes)
22 views4 pages

CP Part B Questions

The document outlines a comprehensive curriculum for learning C programming, divided into five units covering topics such as the structure of C programs, operators, conditional statements, arrays, strings, functions, structures, linked lists, dynamic memory allocation, and file processing. Each unit includes definitions, syntax, examples, and programs to illustrate concepts. The curriculum emphasizes hands-on programming exercises to reinforce learning.

Uploaded by

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

CP Part B Questions

The document outlines a comprehensive curriculum for learning C programming, divided into five units covering topics such as the structure of C programs, operators, conditional statements, arrays, strings, functions, structures, linked lists, dynamic memory allocation, and file processing. Each unit includes definitions, syntax, examples, and programs to illustrate concepts. The curriculum emphasizes hands-on programming exercises to reinforce learning.

Uploaded by

akashsudha2007
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Unit 1

1. Structure of C program
Draw the structure and explain the each sction
2. operators
● Definition (what is operator)
● List out the types
● Explain each and every operator with symbol and ex

3. Conditional statements (decision making statements and Looping Statements)


1. Decision Making Statements
● Definition
● List out the types
● Explain each statements
(ex
If statement
● Definition
● Syntax
● Flowchart
● Explain the process
● Ex program )
Repeat the steps for all types
● Same as for Looping statements

4. Programs
➔ Leap year or not (if and if else statement)
➔ Largest among three numbers (else if and nested statement)
➔ Sum of n numbers
➔ Number palindrome
Unit 2

1. Arrays
● Definition
● Array structure with diagram
● List out the types
● Explain each types
(ex
❖ Definition
❖ Syntax(declaration , initialization )
❖ Example
❖ Draw the structure with index value (how data store in array)
❖ Explain
Repeat the steps for all types
2. String
● Definition
● Syntax(declaration , initialization )
● Example
● Draw the structure with index value (how data store in array)
● Explain
● List of string functions
● Explain each string funcion
(ex
1, strlen()
➢ Definition
➢ Syntax
strlen(str_var) ;
➢ Example
Char s1[30]=”programming”;
Int a= strlen(s1);
)
Repeat the above steps for all functions

● Example program (at the Last)

3. Programs
➔ Linear search
➔ Binary search
➔ Sorting
➔ Matrix programs
➔ String palindrome(with string function and without string functions)

Unit 3

1. Functions
● Definition
● Function declaration,function definition, function calling (syntax and ex)
● Ex program
2. Function prototype
● Definition
● List
● Explain each prototype with example program
3. Recursive function
● Definition
● Structure
● Explain
● Ex program
4. Passing parameters
● Call by value
➔ Definition
➔ Explain the process
➔ Ex program
● Call by Reference
➔ Definition
➔ Explain the process
➔ Ex program
5. Programs
➔ Factorial using recursive function
➔ Swapping two numbers (call by value and call by reference)
Unit 4
1. Structure
● Definition
● Syntax
● Example
● Draw structure and explain briefly
● Example program
2. Array of structure
● Definition
● Syntax
● Example
● Draw structure and explain briefly
● Example program

3. Nested structure
● Definition
● Syntax
● Example
● Draw structure and explain briefly
● Example program
4. Pointer structure
● Definition
● Syntax
● Example
● Draw structure and explain briefly
● Example program
5. Singly linked List
● Definition
● Draw the structure and explain
● List of operations
● Explain each operations with diagram
6. Dynamic memory allocation
● Definition
● List of memory allocations
● Explain each types with syntax and example
7. Programs
➢ Student details
➢ Employee payroll
➢ Singly linked list operations
Unit 5

1. Types of file processing


● Sequential access file

● Random access file


2. programs
Finding average of numbers stored in sequential access file

You might also like