We are Using Coin Mining Also To Monitise This Website. If you keep this website open for some time that helps us to keep making content for you.

The Eduladder is a community of students, teachers, and programmers just interested to make you pass any exams. So we help you to solve your academic and programming questions fast.
In eduladder you can Ask,Answer,Listen,Earn and Download Questions and Question papers.
Watch related videos of your favorite subject.
Connect with students from different parts of the world.
Apply or Post Jobs, Courses ,Internships and Volunteering opportunity. For FREE
See Our team
Wondering how we keep quality?
Got unsolved questions? Ask Questions

You are here:Open notes-->VTU-->Model-Question-Paper--PROGRAMMING-IN-C-AND-DATA-STRUCTURES--14PCD1314PCD23


Time: 3 hrs. Max. Marks: 100

Note: Answer any FIVE full questions, choosing one full question from each module. 

1) a. What is pseudo code? How it is used as a problem-solving tool. (6 Marks) 
b. What is an operator? Explain the arithmetic, relational, logical, and 
assignment operators in C language. 
(10 Marks) 
c. Write a program in C to print the numbers from 4 to 9 and their squares. (4 Marks) 
2) a. Write and explain the basic concepts of a C program. (8 Marks) 
b. Write the guidelines to use printf() function in C language. (8 Marks) 
c. Write a program in C to find the area and perimeter of a circle. (4 Marks) 

4) a. Explain the different types of loops in C with syntax and example. (8 Marks)  b. Explain the use of break and continue statement in loops with example. (6 Marks) 
 c. Design and develop a C program to reverse of an integer number NUM
and check whether it is PALINDROME or NOT. 
(6 Marks) 

a.Explain two way selection
b. Explain the switch statement with syntax and example. (8 Marks) 
 c. Design and develop a C program to read a year as an input and find 
whether it is leap year or not. Also consider end of the centuries. 
(4 Marks)

5) a. What is an array? Explain the declaration and initialization of one and 
two dimensional arrays with example. 
(6 Marks) 
b. Explain void and parameter less functions in C with examples. (6 Marks) 
c. Write a C program that: 
i. Implements string copy operation STRCOPY(str1,str2) that 
copies a string str1 to another string str2 without using library 
ii. Reads a sentence and prints frequency of each of the vowels and 
total count of consonants. 
(8 Marks) 
6) a. Explain any five string manipulation library functions with examples. (10 Marks) 
b. What is function parameter? Explain different types of parameters in C 
(4 Marks) 
c. Write a C function isprime(num) that accepts an integer argument and 
returns 1 if the argument is prime, a 0 otherwise. Write a C program that 
invokes this function to generate prime numbers between the given 
(6 Marks)


7) a. What is a structure? Explain the syntax of structure declaration with 
(4 Marks) 
 b. What is a file? Explain how the file open and file close functions (6 Marks) handled in C. 
 c. Write a C program to maintain a record of “n” student details using an 
array of structures with four fields (Roll number, Name, Marks, and 
Grade). Each field is of an appropriate data type. Print the marks of the 
student given student name as input. 
(10 Marks) 
8) a. Explain array of structures and structure within a structure with 
(8 Marks) 
 b. Explain how the structure variable passed as a parameter to a function 
with example. 
(6 Marks) 
 c. Write a C program to read and display a text from the file. (6 Marks)

9) a. What is a pointer? Explain how the pointer variable declared and 
(4 Marks) 
b. What is dynamic memory allocation? Write and explain the different 
dynamic memory allocation functions in C. 
(6 Marks) 
c. What are primitive and non-primitive data types? (4 Marks) 
d. Write a C program to swap two numbers using call by pointers method. (6 Marks) 
10) a. Explain the array of pointers with example. (4 Marks) 
b. Write and explain any two preprocessor directives in C. (4 Marks) 
c. What is a stack? Explain it with its applications. (4 Marks) 
d. Write a C program to read n unsorted numbers to an array of size n and 
pass the address of this array to a function to sort the numbers in 
ascending order using bubble sort technique. 
(8 Marks)


Stay home and watch eduladder premium videos for free In at this qurentine.

You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video and start earning here