0% found this document useful (0 votes)
62 views1 page

C Test 1

This document contains a test on C programming lab concepts. It includes 10 multiple choice questions testing topics like blocks of code, variable naming rules, logical and arithmetic operators. It also lists 5 short answer questions about expressions, data type conversion characters, variable naming rules, formatted output statements, and C program structure. Finally, it provides 3 programming problems to calculate the area and volume of a cylinder, sum and average of numbers, and evaluating an expression.

Uploaded by

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

C Test 1

This document contains a test on C programming lab concepts. It includes 10 multiple choice questions testing topics like blocks of code, variable naming rules, logical and arithmetic operators. It also lists 5 short answer questions about expressions, data type conversion characters, variable naming rules, formatted output statements, and C program structure. Finally, it provides 3 programming problems to calculate the area and volume of a cylinder, sum and average of numbers, and evaluating an expression.

Uploaded by

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

TEST 1

C PROGRAMMING LAB

1. A set of simple statements enclosed in a pair of braces is called a ___________of


statements
2. The only special character that is used in a variable is _____________
3. __________ statements makes the program self explanatory
4. The symbol used for an address operator is ___________
5. The escape character used for new line character is ___________
6. __________ is formatted input statement
7. __________ are used to link two relational operators
8. The logical AND operator is ______________
9. The modulus operator is _____________
10. _____________ operators are used to combine two arithmetic expressions
1 X 10 =10

1. What are the different types of expressions? Give example


2. Write conversion characters for various data types
3. List the rules for naming the variables.
4. Write the syntax for the formatted out put statement. Give example
5. Write a note on structure of C.
2X5=10

1. Write a program to calculate area and volume of cylinder.


2. Write a program to calculate sum and average of two numbers.
3. Evaluate the following expression

You might also like