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

C&ds-Assesment 1

assesment

Uploaded by

sai dhivya
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)
40 views2 pages

C&ds-Assesment 1

assesment

Uploaded by

sai dhivya
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

ADITHYA INSTITUTE OF TECHNOLOGY AIT/IQAC/QP/

(Autonomous) R2021
COIMBATORE - 641 107
INTERNAL ASSESSMENT TEST – I Page No:1/2
Exam Date :
Academic year Semester & Max Time :03:00 Hrs 08.10.2024/AN
03 & B.E. ECE
2024-2025 Class Max.Marks : 100

Course code CS3353 Course Title C PROGRAMMING AND DATA


STRUCTURES

Answer all the questions


Part- A (10 x 2 = 20 marks)

1. List the type of operators supported in C. CO1


2. Difference between while and do while statement. CO1
3. Write a short note on Two Dimensional Array. CO1
4. Distinguish Compiler and Interpreter. CO1
5. What is a Structure in C? CO2
6. Compare Structure and Union. CO2
7. Is it better to use a Macro or a Function. Give a reason. CO2
8. Illustrate few Preprocessor directives in C. CO2
9. Define List ADT in data structure?. CO3
10. State the difference between Singly linked list and Doubly linked list. CO3

Part-B (5 x 13 = 65 marks)

11a Elaborate the different Conditional Statements available in C with Syntax and CO1
Examples
OR
11b Categorize the Looping Statements and its types with neat Examples. CO1

12a Explain Single and Multi dimensional array with Examples CO1
OR
12b (i)Develop a C program to check whether the given number is odd or even. CO1

(ii)Create a C program to calculate the factorial of a given number

13a Discuss Union with Example. CO2


OR
13b Evaluate the Structure and the main aspects of working with structure. CO2

14a Illustrate Pointers with Syntax and Lists its Advantages. CO2
OR
14b Construct a C Program for Swapping of two numbers using function pointers CO2
15a Analyze and explain pre processor directives with it types and examples. CO3
OR
15b Explain Singly linked list with algorithms and examples. CO3

Part-C (1 x 15 = 15 marks)

16 a Demonstrate Tower of Hanoi with sample program. CO1


OR

16 b Develop a C program to store the employee information using structure and CO2
search a particular employee using Employee number

Faculty HoD Principal

You might also like