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

Ia 1 QP C&DS

C DS QUESTION BANK

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)
13 views2 pages

Ia 1 QP C&DS

C DS QUESTION BANK

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/

COIMBATORE -641 107 R2021


INTERNAL ASSESSMENT TEST – I Page No:1/1
Exam Date :
Academic year Semester 03& Max Time :03:00 Hrs
20.11.2023/AN
2023-2024 & Class B.E-ECE Max.Marks : 100

Course code CS3353 Course Title C Programming and Data Structures


Answer all the questions
Part- A (10 x 2 = 20 marks)

11. Define Recursion. CO1


22. Differentiate between prefix and postfix increment operator. CO1
33. Recite enumerated datatypes . CO1
44. What are keywords? Give an example. CO1
55. Write a snippet to display “Hello World” in Python Interpreter. CO2
6 What is tuple assignment? Give an example. CO2
7 How will you execute the python program? CO2
86. List down the basic data types in python. CO2
97. Difference between unary operator and binary operator. CO3
10 Define Boolean values and operators. CO3

Part-B (5 x 16 = 80 marks)

11a (i) Generate an algorithm and draw the flowchart to guess an integer number CO1
in a given range {1-100}. (8)
(ii) Write an algorithm and draw the flowchart insert a card in a list of sorted
cards. (8)
OR
11b Create an algorithm and draw the flowchart for towers of Hanoi. Also write CO1
the Pseudo code for Towers of Hanoi (16)
12a Explain in detail about notations (Pseudo code, Flowchart and Programming CO1
languages). (16)
OR
12b Discuss in detail about algorithmic problem solving with appropriate diagram. CO1
(16)
13a (i)Illustrate about the building blocks of an algorithm. (8)
(ii)Write a python program to find the largest among three numbers CO2
{a=10, b=15, c=7}. (8)
OR
13b (i)Compare recursion and iteration with an example. (8) CO2
(ii) Develop an algorithm and draw the flowchart to find the minimum
element in the given list {56, 30, 45, 17, 5, 99, 86}. (8)
14a (i)Write a python program to find the student grade system. (8) CO2
(ii) Write a python program to find the sum of ‘n’ natural numbers. (8)
OR
14b (i)Write the program to exchange the values of two variables. (5) CO2
(ii) Create a python program to circulate the values of ‘n’ variable. (6)
(iii) Write the program to calculate the distance between two points. (5)

15a Explain if, if…else, if…elif…else, Nested if structures in detail with CO3
examples. (16)
OR
15b Define operator. Explain the types of operators with an example. (16) CO3

Faculty HoD Principal

You might also like