Programme Programme code : PGDCA Name : Course Code PGDCA101PR Semester : 1 Practical Based on PGDCA-101 (PR) 03 Course type : Practical Credit : Teaching time (hours) Examination Marking scheme Theory Practical Internal External Total (hrs) (hrs) (Marks) (Marks) 30 (Practical 3 X 15 = 45 20 50 of 3 hrs) Practical based on Logic development using programming Language – ‘C’ Practical List 1 Write a C program to find the sum of digits of accepted no. 2 Write a C program to find the sum of first 100 natural nos. 3 Write a C program to find the sum of first 100 odd nos. and even nos. 4 Write a C program to display first 25 Fibonacci nos. 5 Write a C program to check whether the given number is prime or not. 6 a C program to find factorial of the given number. 7 Write a C program to reverse the accepted number. 8 a C program to find whether the accepted string number is palindrome or not. 9 a C program to convert decimal number to its equivalent binary number. 10 Write a C program to convert decimal number to its equivalent octal number. 11 a C program to convert decimal number to its equivalent hexadecimal number. 12 Write a C program to arrange the accepted numbers in ascending order and descending order. 13 Convert given line into upper case or lower case character as user want. (Use switch statement for the choice of case.) Count How many Characters, Words, lines, spaces, tabs into given text. 14 15 Print detail of students like R-no, name, address, city, phone on screen. (Use structure.) 16 Swap the values of two different no using UDF & pointer. 17 Create one text file store some information into it and print the same information on terminal. 18 You have given a file which contains some integers. From this file create another two files one for odd and second for even numbers. Print the result of both files. 19 Create one file and insert some information using fprintf() and fscanf() function. 20 Display the following format on screen. C CP CPR CPRO . . CPROGRAMING . . CPRO CPR CP C 21 Display the following format on screen
Programme code : PGDCA Programme Name : Course Code PGDCA101PR Semester : 1 Practical Based on PGDCA-101 (PR) Course type : Practical Credit : 03 Teaching time (hours) Examination Marking scheme Theory (hrs) Practical (hrs) Internal External (Marks) Total (Marks) 3 X 15 = 45 20 30 (Practical of 3 hrs) 50 Practical based on Logic development using programming Language – ‘C’ Practical List 1 Write a C program to find the sum of digits of accepted no. 2 Write a C program to find the sum of first 100 natural nos. 3 Write a C program to find the sum of first 100 odd nos. and even nos. 4 Write a C program to display first 25 Fibonacci nos. 5 Write a C program to check whether the given number is prime or not. 6 a C program to find factorial of the given number. 7 Write a C program to reverse the accepted number. 8 a C program to find whether the accepted string number is palindrome or not. 9 a C program to convert decimal number to its equivalent binary number. 10 Write a C program to convert decimal number to its equivalent octal number. 11 a C program to convert decimal number to its equivalent hexadecimal number. 12 Write a C program to arrange the accepted numbers in ascending order and descending order. 13 Convert given line into upper case or lower case character as user want. (Use switch statement for the choice of case.) 14 Count How many Characters, Words, lines, spaces, tabs into given text. 15 Print detail of students like R-no, name, address, city, phone on screen. (Use structure.) 16 Swap the values of two different no using UDF & pointer. 17 Create one text file store some information into it and print the same information on terminal. 18 You have given a file which contains some integers. From this file create another two files one for odd and second for even numbers. Print the result of both files. 19 Create one file and insert some information using fprintf() and fscanf() function. 20 Display the following format on screen. C CP CPR CPRO . . CPROGRAMING . . CPRO CPR CP C 21 Display the following format on screen