[go: up one dir, main page]

0% found this document useful (0 votes)
8 views2 pages

C Language Unit 1

Uploaded by

siddhareddydata
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)
8 views2 pages

C Language Unit 1

Uploaded by

siddhareddydata
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/ 2

GOVERNMENT POLYTECHNIC, KAVALI

UNIT TEST - 1I
C-23:: EE-305 :: Programming in “C”
Time : 90 Minutes Total Marks: 40
PART – A
Instructions: 1st Question having 4 one mark questions, and remaining 4
Questions carry 3 marks each
1. (a) Write Syntax to declare 1-D Array.
(b) Write syntax of user defined function.
(c) Write syntax for Structure variable.
(d) what is the string handling function to copy string.
2. Write 4 types of storage classes.
3. Write an example for No arguments and Return type user defined function.
4. Write an example for union.
5. Mention any Two Conditional and Unconditional preprocessor directives.

GOVERNMENT POLYTECHNIC, KAVALI


UNIT TEST - 1I
C-23:: EE-305 :: Programming in “C”
Time : 90 Minutes Total Marks: 40
PART – A
Instructions: 1st Question having 4 one mark questions, and remaining 4
Questions carry 3 marks each
2. (a) Write Syntax to declare 1-D Array.
(b) Write syntax of user defined function.
(c) Write syntax for Structure variable.
(d) what is the string handling function to copy string.
2. Write 4 types of storage classes.
3. Write an example for No arguments and Return type user defined function.
4. Write an example for union.
5. Mention any Two Conditional and Unconditional preprocessor directives.
PART – B
Instructions: Part B consists of 3 Units. Answer any one full question from
each unit. Each question carries 8 marks and may have sub
questions.

6. a) Write a C program to find highest value of an array.

(or)
b) Write about String handling functions with examples.

7. a) Write a C program to generate Fibonacci series.


(or)
b) Exaplain in detail about Automatic and Static variables.

8. (a) Write differences between Structure and Union.


(or)
b) Write a C program to multiply Two matrices.

PART – B
Instructions: Part B consists of 3 Units. Answer any one full question from
each unit. Each question carries 8 marks and may have sub
questions.

7. a) Write a C program to find highest value of an array.


(or)
b) Write about String handling functions with examples.

7. a) Write a C program to generate Fibonacci series.


(or)
b) Exaplain in detail about Automatic and Static variables.

8. (a) Write differences between Structure and Union.


(or)
b) Write a C program to multiply Two matrices.

You might also like