guess paper computer 2025
guess paper computer 2025
Important definitions:
1. Differentiate between char and int data types. 2. Write two rules for naming variables
7. Write the syntax for initiating a variable. 8. What is meant by data type of a
variable?
Important definitions
Statement terminator, format specifier, scanf function, escape sequence, rational operator,
arithmetic operator, logical operator, assignment operator, operators, relational operators
10. Define escape sequence. Explain different escape sequences that are used in C language.
1. Write a program that takes the input the length of one side of a quadrilateral and calculate the
area of it.
2. Write a program that takes 2-digit number form user, computes the product of both digits and
shows the output.
3. Write a program that displays the following outputs using single printf() statement.
4. Write a program that takes the radius of a circle as input. The program should calculate and
display the area of the circle.
Important definitions
1. Explain the structure of if-else statement in details. 2. Explain the if-else statement.
Important Programs questions
1. Write a program that takes the percentage of students as an input and displays “Pass” if the
percentage is above 50.
2. Write a program that takes 2 integers as input and tells whether first one is a factor of the
second one.
3. Write a program that takes a number as input and displays “Yes” if the input number is a
multiple of 3, and has 5 in unit’s place.
Important Definitions
Data Structure, Array, Loop structure, loop, nested loop, loop body
1. Write a program that stores the ages of 5 persons in an array and then display on screen.
2. Write a program that displays the values from 1-10 on computer screen
Unit 5 (Functions)
Important definitions