You are on page 1of 11

RAJAJI INSTITUTE OF TECHNOLOGY, SALEM-636 308 BOARD PRACTICAL EXAMINATIONS, OCTOBER-2012 PROGRAMMING IN C PRACTICAL Year/Sem Date

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. 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. 8. Write a C program to print the abbreviation of an Organization Name. ( For example if the input is BHARAT HEAVY ELECTRONICS LIMITED , then the output should be BHEL.) 9. Program to copy contents of one file to another file. Also find the number of characters, lines and words in the above file.

: II/III : 11.10.2012

Sub Code Duration

: 24036 : 3 Hrs

INTERNAL EXAMINER Mr.KARTHIK K LECT/COMPUTER 362,RIT,SALEM

EXTERNAL EXAMINER Mr.JAYAKAR M Sr.LECT/ECE 326,SPT,SALEM

RAJAJI INSTITUTE OF TECHNOLOGY, SALEM-636 308 BOARD PRACTICAL EXAMINATIONS, OCTOBER-2012 PROGRAMMING IN C PRACTICAL Year/Sem Date
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. 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. Program to read ten values to an array variable. Use pointers to locate and display each value. 6. Reverse the following using pointers ( i) String ( ii) N integer numbers stored in any array. 7. Write a C program to print the abbreviation of an Organization Name. ( For example if the input is BHARAT HEAVY ELECTRONICS LIMITED , then the output should be BHEL.) 8. 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 9. Program to copy contents of one file to another file. Also find the number of characters, lines and words in the above file.

: II/III : 11.10.2012

Sub Code Duration

: 24036 : 3 Hrs

INTERNAL EXAMINER Mr.KARTHIK K LECT/COMPUTER 362,RIT,SALEM

EXTERNAL EXAMINER Mr.JAYAKAR M Sr.LECT/ECE 326,SPT,SALEM

PART-A 6. Program to prepare the total marks for N students by reading the Regno,, Name, Mark1 toMark6 by using array of structures. .

PART-B 9. Program to copy contents of one file to another file. Also find the number of characters, lines and words in the above file.

PART-A 4. Program to check whether the given string is palindrome or not. PART-B 8. Write a C program to print the abbreviation of an Organization Name. ( For example if the input is BHARAT HEAVY ELECTRONICS LIMITED , then the output should be BHEL.)

PART-A 1. Write a C Program to calculate Simple and Compound interest

PART-B 7. Reverse the following using pointers ( i) String ( ii) N integer numbers stored in any array.

PART-A 3. Write a C Program to find the largest number between given three numbers.

PART-B 6. Program to read ten values to an array variable. Use pointers to locate and display each value.

PART-A 2. Write a C Program to swap two variables using (i) third variable and (ii) without using a third variable. PART-B 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 .

PART-A 9. Write a program to print the address of a variable and increase the content by 5 and print the new value.

PART-B 4. Write a program to arrange the given N names in alphabetical order.

PART-A 7. Write a function to calculate the sum and average of given three numbers. Write a main function to call the above function

PART-B 3. Write a program to find the factorial of a given number (i) Without recursion (ii)With recursion

PART-A 8. Using pointers, find the length of the given string. PART-B 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)

PART-A 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. 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.

PART-A 1. Write a C Program to calculate Simple and Compound interest PART-B 8. Write a C program to print the abbreviation of an Organization Name. ( For example if the input is BHARAT HEAVY ELECTRONICS LIMITED , then the output should be BHEL.)

PART-A 2. Write a C Program to swap two variables using (i) third variable and (ii) without using a third variable PART-B 6. Program to read ten values to an array variable. Use pointers to locate and display each value.

PART-A 3. Write a C Program to find the largest number between given three numbers. PART-B 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

PART-A 4. Program to check whether the given string is palindrome or not. PART-B 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)

PART-A 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. PART-B 7. Reverse the following using pointers ( i) String ( ii) N integer numbers stored in any array.

PART-A 6. Program to prepare the total marks for N students by reading the Regno,, Name, Mark1 toMark6 by using array of structures. . PART-B 9. Program to copy contents of one file to another file. Also find the number of characters, lines and words in the above file.

PART-A 7. Write a function to calculate the sum and average of given three numbers. Write a main function to call the above function

PART-B 4. Write a program to arrange the given N names in alphabetical order.

PART-A 8. Using pointers, find the length of the given string. 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.

PART-A 9. Write a program to print the address of a variable and increase the content by 5 and print the new value. PART-B 3. Write a program to find the factorial of a given number (i) Without recursion (ii)With recursion

PART-A 1. Write a C Program to calculate Simple and Compound interest PART-B 8. Write a C program to print the abbreviation of an Organization Name. ( For example if the input is BHARAT HEAVY ELECTRONICS LIMITED , then the output should be BHEL.)

PART-A 2. Write a C Program to swap two variables using (i) third variable and (ii) without using a third variable PART-B 6. Program to read ten values to an array variable. Use pointers to locate and display each value.

PART-A 3. Write a C Program to find the largest number between given three numbers. PART-B 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

PART-A 4. Program to check whether the given string is palindrome or not. PART-B 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)

PART-A 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. PART-B 7. Reverse the following using pointers ( i) String ( ii) N integer numbers stored in any array.

PART-A 6. Program to prepare the total marks for N students by reading the Regno,, Name, Mark1 toMark6 by using array of structures. . PART-B 9. Program to copy contents of one file to another file. Also find the number of characters, lines and words in the above file.

PART-A 7. Write a function to calculate the sum and average of given three numbers. Write a main function to call the above function

PART-B 4. Write a program to arrange the given N names in alphabetical order.

PART-A 8. Using pointers, find the length of the given string. 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.

PART-A 9. Write a program to print the address of a variable and increase the content by 5 and print the new value. PART-B 3. Write a program to find the factorial of a given number (i) Without recursion (ii)With recursion

PART-A 9. Write a program to print the address of a variable and increase the content by 5 and print the new value.

PART-B 4. Write a program to arrange the given N names in alphabetical order.

PART-A 7. Write a function to calculate the sum and average of given three numbers. Write a main function to call the above function

PART-B 3. Write a program to find the factorial of a given number (i) Without recursion (ii)With recursion

PART-A 8. Using pointers, find the length of the given string. PART-B 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)

PART-A 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. 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.

PART-A 1. Write a C Program to calculate Simple and Compound interest PART-B 8. Write a C program to print the abbreviation of an Organization Name. ( For example if the input is BHARAT HEAVY ELECTRONICS LIMITED , then the output should be BHEL.)

RAJAJI INSTITUTE OF TECHNOLOGY, SALEM-636 308 BOARD PRACTICAL EXAMINATIONS, OCTOBER-2012 PROGRAMMING IN C PRACTICAL Year/Sem Date
.

: II/III : 11.10.2012

Sub Code Duration

: 24036 : 3 Hrs

MARK ALLOCATION TABLE Writing any one program from PART-A Writing any one program from PART-B Executing the program(PART-A) Executing the program(PART-B) Result with printout(PART-A) Result with printout(PART-B) VIVA-VOCE TOTAL 10 15 15 20 5 5 5 75

INTERNAL EXAMINER Mr.KARTHIK K LECT/COMPUTER 362,RIT,SALEM

EXTERNAL EXAMINER Mr.JAYAKAR M Sr.LECT/ECE 326,SPT,SALEM

You might also like