MITS CODE
Home
Videos
  • Python
  • C Programing
  • Data Structures
Laboratory
  • Python
  • C Programing
  • C++
  • Java
  • Data Structures
Practice
  • Python
  • C Programing
  • Java
Events
Contact Us
MITS CODE
Home
Videos
  • Python
  • C Programing
  • Data Structures
Laboratory
  • Python
  • C Programing
  • C++
  • Java
  • Data Structures
Practice
  • Python
  • C Programing
  • Java
Events
Contact Us
More
  • Home
  • Videos
    • Python
    • C Programing
    • Data Structures
  • Laboratory
    • Python
    • C Programing
    • C++
    • Java
    • Data Structures
  • Practice
    • Python
    • C Programing
    • Java
  • Events
  • Contact Us
  • Home
  • Videos
    • Python
    • C Programing
    • Data Structures
  • Laboratory
    • Python
    • C Programing
    • C++
    • Java
    • Data Structures
  • Practice
    • Python
    • C Programing
    • Java
  • Events
  • Contact Us

20CSE201 C PROGRAMMING AND DATA STRUCTURES LABORATORY

 1. a) Write a C program to swap the two numbers. 

    b) Write a C Program to find the eligibility of admission for a Professional course based on the  following criteria: 

  i. Marks in Maths >=65

 ii. Marks in Physics >=55

 iii. Marks in Chemistry>=50 

OR

 iv. Total in all three subject >=180 

Solve

 2. a) Write a C program to compute the factorial of a given number.

     b) Write a program that reads numbers which are in the range 0 to 100, till it encounters  -1. Print  the sum of all the integers that you have read before you encountered -1. 

Solve

 3. a) Write a C program to accept a coordinate point in a XY coordinate system and        determine in  which quadrant the coordinate point lies. 

     b) The digital root (also called repeated digital sum) of a number is a single digit value obtained  by an iterative process of summing digits. Digital sum of 65536 is 7, because 6+5+5+3+6=25  and 2+5 = 7.Write a program that takes an integer as input and prints its digital root.

Solve

 4. a) Write a C program to find the series of prime numbers in the given range.

     b) Write a C program to generate Tribonacci numbers in the given range. 

Solve

 5. a) Write a C program to find sum of digits, Decimal to Binary conversion, reversal of numbers  using functions.

    b) Write a C program to find Factorial, Greatest Common Divisor, and Fibonacci using recursion. 

Solve

 6. Your program should take as input: dimension of a square matrix N, two matrices of size N x N  with integer values, and one operator symbol (+, - ,*). It must perform the corresponding  operation given below; 

a) Matrix Addition     b) Matrix Subtraction     c) Matrix Multiplication 

Solve

 7. Implement the following sorting techniques. 

a) Bubble sort          b) Insertion sort        c) Selection sort. 

Solve

 8. Implement the following searching techniques.

 a) Linear Search            b) Binary Search 

Solve

 9. a) Write a program in C to find the frequency of characters in a string. 

     b) Write a C program to implement all string operations (string length, string copy, string  compare, string concatenation and string reverse) without using string library functions. 

Solve

 10. a) Write a C program to get N elements in an array and sort it using Pointer.

      b) Write a C program to swap two integers using pass by reference. 

      c) Write a C program to find the largest element using Dynamic Memory Allocation. 

Solve

 11. a) Write a program in C to count the number of vowels, consonants, digits, special symbols,  words in a string using a pointer.

     b) Write a C program to print all permutations of a given string using pointers. 

Solve

 12. a) Write a C program to add two distances in the inch-feet system using structures. 

      b) Write a C program to calculate difference between Two Time Periods (in Hours, Minutes,  Seconds format) using structures. 

Solve

 13. Develop an application to match parenthesis of a given expression using Stack. 

Solve

 14. Develop an application to identify Palindrome string using Stack and Queue. 

Solve

 15. Develop an application to add two Polynomial equations using Linked List. 

Solve

Copyright © 2023 MITS CODE - All Rights Reserved.

  • Events

Created by -Sine Nitish , M Sangeetha

This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

Accept