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

C-Unit 1 Question Paper

The document contains questions about C programming for a course. It has multiple choice and long answer questions testing knowledge of keywords, variables, loops, data types, and operators in C.

Uploaded by

suganya devi
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)
151 views1 page

C-Unit 1 Question Paper

The document contains questions about C programming for a course. It has multiple choice and long answer questions testing knowledge of keywords, variables, loops, data types, and operators in C.

Uploaded by

suganya devi
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/ 1

Branch:CSE/CS/IT Year / Sem : I /02 Reg.no: Branch:CSE/CS/IT Year / Sem : I /02 Reg.

no:
Course Code/Name: CS3251/PROGRAMMING IN C Marks: 50 Course Code/Name: CS3251/PROGRAMMING IN C Marks: 50
PART – A PART – A
ANSWER ALL THE QUESTIONS (05X02 = 10marks) ANSWER ALL THE QUESTIONS (05X02 = 10marks)

1. Write a short notes on keywords in C language. 1. Write a short notes on keywords in C language.
2. What are the types of variables? 2. What are the types of variables?
3. What is the use of preprocessor directive? 3. What is the use of preprocessor directive?
4. Difference between while and do-while looping statements? 4. Difference between while and do-while looping statements?
5. What are the two ways to define constants in C? 5. What are the two ways to define constants in C?

PART –B (2*13 = 26 Marks) PART –B (2*13 = 26 Marks)


6. a) Elaborate the various Datatypes in C with suitable examples. 6. a) Elaborate the various Datatypes in C with suitable examples.

(OR) (OR)

b).Enumerate the difference between ‘else-if-ladder’ and ‘switch-case’ b).Enumerate the difference between ‘else-if-ladder’ and ‘switch-case’
statements with appropriate C program. statements with appropriate C program.

7. a) Explain the looping statements in C with suitable examples. 7. a) Explain the looping statements in C with suitable examples.

(OR) (OR)

b) Draw the structure of C program and explain each part in detail. b) Draw the structure of C program and explain each part in detail.

PART-C PART-C

ANSWER ALL THE QUESTIONS ( 1*14 = 14 Marks) ANSWER ALL THE QUESTIONS ( 1*14 = 14 Marks)

8. Explain the various types of operators with simple C program. 8. Explain the various types of operators with simple C program.

You might also like