0% found this document useful (0 votes)
25 views3 pages

C Programming and Data Structures Mt1 QP A&b

This document outlines the structure and content of a monthly test for the course 'C Programming and Data Structures' at Anand Institute of Higher Technology. It includes instructions, a breakdown of questions into parts A, B, and C, and covers various topics such as data types, operators, recursion, and programming tasks. The test is designed for II/III/ECE students and is worth a total of 50 marks.

Uploaded by

vimalrajas.csbs
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)
25 views3 pages

C Programming and Data Structures Mt1 QP A&b

This document outlines the structure and content of a monthly test for the course 'C Programming and Data Structures' at Anand Institute of Higher Technology. It includes instructions, a breakdown of questions into parts A, B, and C, and covers various topics such as data types, operators, recursion, and programming tasks. The test is designed for II/III/ECE students and is worth a total of 50 marks.

Uploaded by

vimalrajas.csbs
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

ANAND INSTITUTE OF HIGHER TECHNOLOGY A

MONTHLY TEST-I
(Department of Computer Science and Business Systems)
Course Title: C PROGRAMMING AND DATA STRUCTURES Course Code: CS3353
Duration: 1hour 30 mins Date: Marks: 50marks
Class (Year/Sem): II/III/ECE
Instructions:
1. Before attempting any question paper, be sure that you got the correct question paper.
2. The missing data, if any, may be assumed suitably
Question
Question Mark BTL CO
No
Part A (5×2 = 10 Marks) Answer all Questions
BTL-1 CO1
1 What are the different data types available in “C”? 2

2 What is the difference between Logical AND and Bitwise AND? 2 BTL-2 CO1

3 What are the main features and applications of C language? 2 BTL-3 CO1

4 What is meant by Preprocessor? 2 BTL-2 CO2

BTL-1 CO2
5 What is the difference between an array and pointer? 2

Part B (2×13 = 26 Marks)

BTL-3
6a Explain the different looping statement with example? 13 CO1

Or

Explain the different types of operators used in C with necessary 13 BTL-1


b CO1
program.

BTL-1
7a What do you mean by Call by reference? Explain with an example. 13 CO2
Or
BTL-3
b Enumerate difference between structures and unions. 13 CO2

Part C (1×14 = 14 Marks)

(i)Write a C program to generate Fibonacci series using function.


BTL-3
8a (ii)Write a C Program to find factorial of a given number using recursive 14 CO2
function.
Or
(i)Write a C program to check whether the given number is palindrome or
BTL-3
b not. 14 CO1
(ii) Write a C program to sum of digits of an integer.

Subject Staff HOD

AIHT/IQAC/QP/MTI/001
ANAND INSTITUTE OF HIGHER TECHNOLOGY B
MONTHLY TEST-I
(Department of Computer Science and Business Systems)
Course Title:C PROGRAMMING AND DATA STRUCTURES Course Code: CS3353
Duration: 1hour 30 mins Date: Marks: 50marks
Class (Year/Sem): II/III/ECE
Instructions:
3. Before attempting any question paper, be sure that you got the correct question paper.
4. The missing data, if any, may be assumed suitably
Question
Question Mark BTL CO
No
Part A (5×2 = 10 Marks) Answer all Questions

1 What are various types of C operators? 2 BTL-2 CO1

2 Write the features of array. 2 BTL-1 CO1

3 What is enumeration constant? 2 BTL-4 CO1

4 Give the rules for defining preprocessor. 2 BTL-2 CO2

BTL-2 CO2
5 List the advantage of recursion. 2

Part B (2×13 = 26 Marks)

BTL-4
6a Discuss about the various data types in “C” 13 CO1

Or

13 BTL-3
b Explain in details about control statements with an example program. CO1

(i)what is the significance of structure in language c? explain in detail


BTL-3
7a with an example program. 13 CO2
(ii)Write brief notes on preprocessor directives.
Or
BTL-4
b Enumerate difference between structures ,pointer, function and unions. 13 CO2

Part C (1×14 = 14 Marks)

(i)Write a program to solve the Quadratic equation.


BTL-3
8a (ii) Write a C program to find the largest and smallest element in an 14 CO1
array.
Or
(i) What is difference between pass by value and pass by reference?
Write the C coding for swapping two numbers using pass by
reference BTL-3
b 14 CO2
(ii) What is recursion? Explain the procedure to compute sin(x) using
recursive
functions. Write a C code for the same.

Subject Staff HOD

AIHT/IQAC/QP/MTI/001
AIHT/IQAC/QP/MTI/001

You might also like