WELCOME!

Services

WELCOME
welcome to my website by KARTHICKRAJA.thank u for visiting...வருகைக்கு நன்றி.|Krtamilanz இந்த BLOG யை நான் 2013 நவம்பர் 5 ல் துவங்கிய நோக்கமே நான் படித்த ,கேட்ட ,தெரிந்த விஷ​யங்கள் நீங்களும் அறியவேண்டும் என்ற நல்லெண்ண நோக்கமே தவிர வேறதும்மில்லை.இதில் வரும் சில பதிவுகள் இணையதளத்தில் இருந்தும், சில பதிவுகள் கேட்டவை ,படித்தவை , சில நானே தொகுத்தவை.௭ன்றும் அன்புடன் உங்கள் கார்த்திக்ராஜா...

Bookmark This Site



Latest News Study According to your Internal Marks, Pass Semester Exam!!

Important Services
Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Ad

info Links

entireweb

Friday, 21 November 2014

Diplomo computer Lab syllabus for C programming practical

C Programming Practical

"L" Scheme Syllabus - Sub Code: 25236
LAB EXERCISES

PART - A

  1. Write a C Program to calculate Simple and Compound interest
  2. Write a C Program to swap two variables using (i) third variable and (ii) without using a third variable.
  3. Write a C Program to find the largest number between given three numbers.
  4. Program to check whether the given string is palindrome or not.
  5. Read a string, which consists of both lower case characters and  upper case characters. Convert the lowercase character into upper case and vice versa. Display the new string.
  6. Program to prepare the total marks for N students by reading the Regno,, Name, Mark1 toMark6 by using array of structures. .
  7. Write a function to calculate the sum and average of given three numbers. Write  a main function to call the above function
  8. Using pointers, find the length of the given string.
  9. Write a program to print the address of a variable and increase the content by 5 and print the new value.
  10. Write a Macro in C to swap two data values.
PART – B
  1. Read an integer number. Find the number of digits and sum of all individual digits and also print the above number in reverse order.
  2. Using Switch… Case Statement, print the given number into equivalent Word. ( For example if the input is 3, then the output should be THREE)
  3. Write a program to find the factorial of a given number (i) Without recursion (ii)With recursion
  4. Write a program to arrange the given N names in alphabetical order.
  5. Write a program to read a string S1 from the terminal. Again read a string S2 from the terminal and check the given string S2 in the string S1. If it does, remove string S2 from the string S1 and print the updated string S1. ( For example S1 = Concatenate and S2 = cat , then the final result should be “Conenate”
  6. Program to read ten values to an array variable. Use pointers to locate and display each value.
  7. Reverse the following using pointers ( i) String ( ii) N integer numbers stored in any array.
Sub Code: 14036
"K" Scheme Lab Exercise:
On completion of the experiment students should be able to write programs in C and execute it.
  1. Program to calculate simple and compound instrest.
  2. Solution of a Quadratic Equation.
  3. Program for Pay bill calculation.
  4. Program to compute sum of series using While loop.
  5. Printing of multiplication table using Do…While loop.
  6. Program to find whether the given number is a positive number, negative number or zero.
  7. Program to sort a list of numbers
  8. Program to sort the strings.
  9. Preparation of the rank list of a class of students.
  10. Program to implement Matrix addition & multiplication.
  11. Program to implement Fibannoci series.
  12. Program to find factorial of given N numbers with out recursion.
  13. Program to find factorial of given N numbers with recursion.
  14. Program to tabulate a survey data.
  15. Program to count number of characters, words & lines in a text.
  16. Program to develop a pattern (eg.: pyramid, square)
  17. write a function to swap the values of to variables to illustrate the concept of pass by reference.
  18. write a program to add five numbers by getting the values through command line argument .
REQUIREMENTS:
Software:
• C Compiler with editor
Hardware:
• Pentium IV Computer 20 Nos

No comments :

Post a Comment

Related Posts Plugin for WordPress, Blogger...