0% found this document useful (0 votes)
13 views3 pages

XII - COMPUTER 2025 Importants

The document outlines a syllabus for learning the C programming language, covering topics such as the history of C, basic structure of C programs, data types, operators, control structures, iterative structures, functions, arrays, and pointers. It includes specific questions and programming tasks to assess understanding of each topic. Additionally, it emphasizes the importance of user-defined functions and provides examples of practical programming exercises.

Uploaded by

fawazarif1236
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)
13 views3 pages

XII - COMPUTER 2025 Importants

The document outlines a syllabus for learning the C programming language, covering topics such as the history of C, basic structure of C programs, data types, operators, control structures, iterative structures, functions, arrays, and pointers. It includes specific questions and programming tasks to assess understanding of each topic. Additionally, it emphasizes the importance of user-defined functions and provides examples of practical programming exercises.

Uploaded by

fawazarif1236
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/ 3

ACCORDING TO REDUCED SYLLABUS

1.Introduction and history of C language.


SECTION B
1. What is difference between source program and an object program?
2. How many types of programming languages are there regarding structure?
3. Write brief history of „C‟ Language.
2. Basic Structure/Block structure of C program.
SECTION B
1. What is a header file? Describe its purpose.
2. What is a variable? Describe rules to define a variable.
3. What is a constant? Why it is used in programming?
4. Why is C language called „case sensitive‟ language?
5. Define preprocessor directive with example.
6. What are identifiers? Describe with example?
7. Define and explain escape sequences/ format specifier.
8. Define address operator with example code.
9. What is an input statement/ output statement? Give example.
10. What is C Processor Directive? Define # define OR # include.
11. For what purpose the key words are used in C language?
12. What are the methods to write comments in C?
13. Define the following function with an example.
abs() pow() sqrt()
SECTION C
1. Explain data type. How many data types are used in C language?
2. What are the commonly used input/ output function in C language? How are they accessed
3.Operators and its usages
SECTION B
1. What is an operator? How many types of operators are there in C?
2. Explain operands with example.
3. Define and explain expression.
4. What is the purpose of increment (++) and decrement (--) operators in C language?
5. What is a modulus operator? Why it is used?
SECTION C
1. Explain all types of operators used in C.
4.Selection/Decision making Structure
SECTION B
1. What are control structures used in C?
2. Explain the control structure sequence/ structure selection/ structure iteration.
3. Differentiate Switch Statement & if statement
4. Differentiate between break and continue.
5. Explain switch and break statement with example.
SECTION C
1. Explain If statement with syntax and example program also draw flow chart.
2. Why nested if statement is used? explain your answer with example program.
6. Iterative Structure
SECTION B
1. Define the term iteration.
2. Dubug (Find out the error and correct) the following program segment:
main()
{int m=7, n=3;
for(n=1; n<=m; n++)
printf(“%f”, &n);
3. Differentiate while and do while loop.
4. Differentiate between while loop and do while.
5. Write a program that generates following output (using for loop)
1 4 7 10 13 16
SECTION C
1. Explain all loop with syntax and example program.
2. What is loop in c? list all iterative control structure in C language
3. What is nested loop In c language? explain with examples.
6. Functions
SECTION B
1. Define function and its types.
2. Differentiate between internal/local and external/global variables.
3. Differentiate between Actual Parameters and Formal Parameters.
4. Write advantages of user defined function.
5. Write procedure of creating a user defined function
SECTION C
1. Describe predefined or built in functions.
2. What is function? Define its importance in C language.
3. Describe programmer defined functions used in C.
6. Array and Strings
SECTION B
1. Define and initialize of an array and explain one dimensional array.
2. Define and initialize of an array and explain two dimensional array.
8. Pointers (Initialization, declaration with example)
SECTION B
1. Define the term pointer. Describe the advantage of using pointer variables.
2. How the declaration of a pointer variable is different from the declaration of a variable?
3. What is meant by the term pointer initialization? Write a simple program to illustrate this
concept.
Most Important Program
Operators and its usages
1. Write a program which uses arithmetical operators to calculate the area of a triangle,
volume of a sphere, etc.
2. Write a program that reads base and altitude of triangle and calculate area of a triangle.
3. Write a program, take input for the marks of five subjects and calculate total marks and
percentage.
Selection/Decision making Structures
4. Take Input for three numbers and find the greatest among them
5. Take input for two numbers x and y, Compare the numbers by if() and print the message
whether these are equal or not.
6. Write a program code in „C‟ language to print the Even numbers b/w 50 and 100.
7. Write a program to make a simple calculator in C using switch statement.
Iterative Structure
1. Write a program that calculate power of base without using power function by taking input
both.
2. Write a program to generate the table of N.
3. 17. Find the factorial of N, use scanf() to read the value of N
4. What will be the output of the following program segment? (Iteration Control Structure-for
loop)
for(i=1; i<5; i++)
if(i==3)
continue;
else
printf(“%d”,i);
Functions
5. Write a program, define a function which can add two integers. Then call the function at
least two times from main () function.
6. Write a program, create a user defined function, which receives marks of five subjects of a
student and returns the final percentage.
7. Create a user defined function which takes basic salary, house rent allowance and tax as
arguments and calculates the net salary.
8. Write a program which returns a value but doest not take any argument.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy