0% found this document useful (0 votes)
210 views4 pages

C Program Question Paper

Uploaded by

Loki
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)
210 views4 pages

C Program Question Paper

Uploaded by

Loki
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/ 4

SRI VENKATESHWARA COLLEGE OF ENGINEERING AND TECHNOLOGY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


CS3251 Programming in C- INTERNAL ASSESMENT - I
(Regulations 2021)
Time: 09.00 A.M. to 10.30 A.M Maximum Marks: 50
PART-A (7*2=14 Marks)

1. Define Constants in C. Mention the types. 02M Remember (CO1)

2. Write a for loop statement to print numbers from 10 to1. 02M Understand (CO1)

3. difference between Logical AND and Bitwise AND? 02M Remember (CO1)
4. Define scanf() function: 02M Remember (CO2)
5. Define unconditional statement 02M Explain (CO2)
6. Define break statement 02M Discuss (CO2)
7. Define Array 02M Understand (CO2)
PART-B (2*13=26 Marks)

6. a Explain in detail about “C” declarations and variables. 13M Understand (CO1)

Or
b Discuss about the various data types in “C”. 13M Understand (CO1)

7. a. Explain binary search in C 13M Apply (CO2)


Or
b. Explain in detail about String Operations 13M Understand (CO2)

PART-C (1*10=10 Marks)

8. a Write a c program for 3 X 3 Matrics Multiplication 10M Understand (CO2)


Or
b Explain in detail about One - dimensional Array 10M Remeber (CO2)
.

Course In charge Course Coordinator HOD/ CSE


SRI VENKATESHWARA COLLEGE OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
CS3251 Programming in C- INTERNAL ASSESMENT - II

(Regulations 2021)
Time: 09.00 A.M. to 10.30 A.M Maximum Marks: 50
PART-A (7*2=14 Marks)

1. Differentiate while loop and for loop 02M Remember (CO3)


2. Differentiate continue and pass 02M Remember (CO3)
3. Define recursion with an example. 02M Understand (CO3)
4. How will you update list items? Give one example. 02M Remember (CO4)
5. How to slice a list in Python? 02M Remember (CO4)
6. How lists differ from tuples? 02M Understand (CO4)
7. Define list comprehensions in python 02M Understand (CO4)
PART-B (2*13=26 Marks)

6. a. Describe user defined function with example 13M Understand (CO3)


Or
b. List the three types of conditional statements in python and explain 13M Understand (CO3)

7. a Explain in detail about python dictionary with necessary examples 13M Understand (CO4)
Or
b Define Dictionary in Python. Do the operations on dictionaries. 13M Understand (CO4)

PART-C (1*10=10 Marks)

8. a Write a Python program to perform linear search on a list. 10M Understand (CO4)

Or
b Discuss the different options to traverse a list. 10M Remember (CO4)
.

Course In charge Course Coordinator HOD/ CSE


SRI VENKATESHWARA COLLEGE OF ENGINEERING AND TECHNOLOGY
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
CS3251 Programming in C- INTERNAL ASSESMENT - I

(Regulations 2021)
Time: 09.00 A.M. to 12.00 P.M Maximum Marks: 100
PART-A (10*2=20 Marks)
1. Define Algorithm 02M Remember (CO1)
2. How will you analyze the efficiency of an algorithm? 02M Remember (CO1)
3. Define statement with example 02M Remember (CO2)
4. Python program to exchange the values of two numbers without using a 02M Remember (CO2)
temporary variable.
5. Differentiate while loop and for loop 02M Remember (CO3)
6. Define recursion with an example. 02M Remember (CO3)
7. List out different built-in methods used in tuple 02M Remember (CO4)
8. How will you update list items? 02M Remember (CO4)
9. Write notes on python module 02M Understand (CO5)
10. How to use command line arguments in python 02M Evaluate (CO5)
PART-B (5*13=65 Marks)
11. a. Identify the simple strategies for developing an algorithm 13M Understand (CO1)

Or
b. Find the factorial of a number 13M Understand (CO1)
12. a Write about different types of python operators with example 13M Remember (CO2)

Or
b Write a Python Program to Exchange the Value of two variables. 13M Understand (CO2)
13. a. Describe user defined function with example 13M Evaluate (CO3)
Or
b. Write a python function to swap the values of two variables. 13M Understand (CO3)
Or
14. a. Explain in detail about python dictionary with necessary examples 13M Remember (CO4)
Or
b. Write a script in python to sort n numbers using selection sort 13M Understand (CO4)
15. a. Write a python program to count the number of words in a text file. 13M Analyse (CO5)

Or
b. Explain the commands used to read and write into a file with example 13M Create (CO5)

PART-C (15*1=15 Marks)


16. a. Explain the syntax and structure of user defined functions in Python with 15M Remember (CO3)
examples.
Or

b. Write a python code perform binary search. Trace 15M Remember (CO3)

Course In charge Course Coordinator HOD/ CSE

You might also like