We are building EduLadder(ELADR) - Protocol

The Eladr Protocol is a decentralized, security and efficiency enhanced Web3 noSQL database powered by IPFS as the data storage layer https://ipfs.io/, and the Cardano block chain as the rewards token platform, https://cardano.org/. It provides a JSON based, IPFS layer 2 solution for data indexing and retrieval in an 'append only' file system built with open source Node.js API libraries.

The ELADR token was designed to incentivize and reward community members as a proof of contribution. Token holders are also granted access to EduLadder.com premium features as well as associated ELADR token enabled apps.

WHITE PAPER Buy Now Try BETA

Real Problems! Real Experts!

Join Our Telegram Channel !


The Eduladder is a community of students, teachers, and programmers. 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

Model Question Paper PROGRAMMING IN C AND DATA STRUCTURES (14PCD13/14PCD23)

Time: 3 hrs. Max. Marks: 100

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

MODULE 1 
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) 
OR
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) 

  MODULE 2
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)

MODULE 3 
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 
function. 
ii. Reads a sentence and prints frequency of each of the vowels and 
total count of consonants. 
(8 Marks) 
OR
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 
functions. 
(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 
ranges. 
(6 Marks)

MODULE 4

7) a. What is a structure? Explain the syntax of structure declaration with 
example. 
(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) 
OR
8) a. Explain array of structures and structure within a structure with 
examples. 
(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)

MODULE 5
9) a. What is a pointer? Explain how the pointer variable declared and 
initialized. 
(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) 
OR
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)


Editors




You might like this video:Watch more here

Watch more videos from this user Here

Learn how to upload a video over here