Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Department of Computer Science and Technology, UTU 2013 Five years Integrated M.Sc.(IT) Semester 1 060010101 - Fundamentals of Programming File should contain 1. Problem Statement 2. Algorithm 3. Flowchart 4. Program in C language(Code) 5. Output and sample calculation for all problems given below. Problem definition written in italic and bold font need to solve as practical assignment GROUP - 1 Sr. No. 1 Hou rs Allo cate d 2 Problem Definition 2 2 2. 3 4 4. 5. 4 6 6. 7. 8. 9. 1. Write a C program to display "Hello Computer" on the screen. 3. 10. 11. 12. 13. Mr. Sapan Naik Objective To understand Basic of Programmin g and "Printf Function" Write a C program to find the area of a circle using the To formula. Area = PI * r2 understand Write a C program to find the area and volume of sphere. Printf and Formulas are Area = 4*PI*R*R Volume = 4/3*PI*R*R*R. Scanf functions Write a C program to find the maximum from given three nos. To Write a C Program to find that entered year is leap year or not. understand conditional statement Write a C Program to print a table of any number. To Write a C program to find the sum of digits of accepted no. understand Write a C program to find the sum of first 100 natural nos. concept of Write a C program to find the sum of first 100 odd nos. and loop even nos. Write a C program to display first 25 Fibonacci nos. Write a C program for given below conversions also make user define functions. Octal to binary, Octal to decimal, Octal to hex, Hex to binary, Hex to decimal, Hex to Octal. Write a C program to Display this kind of output on screen. 1 0 1 1 0 1 0 1 0 1… Write a C program to Display this kind of output on screen. Page 1 Department of Computer Science and Technology, UTU 14. 15. 5 4 16. 6 4 18. 17. 19. 20. 21. 1 01 101 … Write a C program to Display this kind of output on screen. 1 10 101 … Write a C program to Display this kind of output on screen. 1 1 0 1 0 1 … Write a C Program to find largest of two numbers using functions. Write C program using recursion function, Factorial, Prime number, Fibonacci series, GCD, Palindrome, Reverse string, LCM, Matrix multiplication, Sum of digits, Find power, Reverse number, Sum of n numbers, Binary search, Decimal to binary, Largest element in an array. Write a C program to Find log and square root of first 20 integer no. use arrays to store results. Write C program which are work on Matrix, Division, Transport, Sum of diagonal elements, Inverse, Determinants, Lower and Upper triangular Write a C program using array concept for given below problems. Find second largest, Find second smallest, Delete duplicate elements, Delete at desire position, Insert at desire position. Write a C program which works on string, String copy, Find length (using pointer), Concatenation, String to ASCII, Reverse of String Write a C program for Simple pointer practical for printing integer and its memory address. 7 4 22. 8 4 23. Write C program which are work on File. Write text and close, Delete a file, Copy from one location to other, Copy data of file, Display source code as output, Write string in the file, Know last date of modification, Write array in the file, Concatenate two file and write it third, Find size of any file 24. Write C program using recursion function, Factorial, Prime number, Fibonacci series, GCD, Palindrome, Reverse string, LCM, Matrix multiplication, Sum of digits, Find power, Reverse number, Sum of n numbers, Binary search, Decimal to binary, Largest element in an array. Mr. Sapan Naik 2013 To understand the concept of user define function To understand the concept of array and string To understand the concept of pointer To understand the concept of file Page 2 Department of Computer Science and Technology, UTU 2013 GROUP - 2 Sr. No. Hours Problem Definition Allocated 2 1. Write a C program to display Your Name, Address and City in different lines. 2 2 2. 3. 3 4 4. 4 6 6. 7. 8. 1 5. 9. 10. 11. 12. 13. 14. Mr. Sapan Naik Objective To understand Basic of Programmin g and "Printf Function" Write a C Program to find the simple interest. To Write a C Program to find gross salary. understand Printf and Scanf functions Write a C Program to find that entered year is leap year or To not. understand Write a C program to find that the accepted no is Negative, conditional Positive or Zero. statement Write a C program to display first 100 prime nos. To Write a C program to find factorial of accepted nos. understand Write a C program to print the accepted no and its reverse concept of no. loop Write a C program to find whether the accepted string number is palindrome or not. Write a C program for given below conversions also make user define functions. Octal to binary, Octal to decimal, Octal to hex, Hex to binary, Hex to decimal, Hex to Octal. Write a C program to Display this kind of output on screen (in the left of the screen) 1 22 333 4444 Write a C program to Display this kind of output on screen (in the center of the screen.) 1 2 2 3 3 3 4 4 4 4 … Write a C program to Display this kind of output on screen. 1 23 456 78910 … ……….. 90 91 Write a C program to Display this kind of output on Page 3 Department of Computer Science and Technology, UTU 5 4 15. 6 4 17. 16. 18. 19. 20. 7 4 8 4 Mr. Sapan Naik 21. screen. 1 23 456 78910 Write a C Program to find factorial of a number using recursion. Write C program using recursion function, Factorial, Prime number, Fibonacci series, GCD, Palindrome, Reverse string, LCM, Matrix multiplication, Sum of digits, Find power, Reverse number, Sum of n numbers, Binary search, Decimal to binary, Largest element in an array. Write C program which are work on Matrix, Addition, Subtraction, Multiplication. Write C program which are work on Matrix, Division, Transport, Sum of diagonal elements, Inverse, Determinants, Lower and Upper triangular Write a C program using array concept for given below problems. Find second largest, Find second smallest, Delete duplicate elements, Delete at desire position, Insert at desire position. Write a C program which works on string, String copy, Find length (using pointer), Concatenation, String to ASCII, Reverse of String Write a C Program to add two number using pointer. 2013 To understand the concept of user define function To understand the concept of array and string To understand the concept of pointer 22. Write C program which are work on File. Write text and To close, Delete a file, Copy from one location to other, Copy understand data of file, Display source code as output, Write string in the concept the file, Know last date of modification, Write array in the of file file, Concatenate two file and write it third, Find size of any file 23. Write C program using recursion function, Factorial, Prime number, Fibonacci series, GCD, Palindrome, Reverse string, LCM, Matrix multiplication, Sum of digits, Find power, Reverse number, Sum of n numbers, Binary search, Decimal to binary, Largest element in an array. Page 4 Department of Computer Science and Technology, UTU 2013 GROUP - 3 Sr. No. 1 2 3 4 Ho Problem Definition Objective urs All oca ted 2 1. Write a C program to display Your Name, father name and To mother name in different lines. understand Basic of Programmin g and "Printf Function" 2 2. Write a C Program to calculate sum of 5 subjects & find To percentage. understand 3. Write a C program to convert centigrade into Printf and Fahrenheit. Formula : C=(F-32)/1.8. Scanf functions 4 4. Write a C Program to find that entered year is leap year or not. To 5. Write a C program to Find the median from given nos. understand conditional statement 6 6. Write a C program to find whether the accepted string number To is palindrome or not. understand 7. Write a C program to find x1+x2+x3+x4+ ….+xn. concept of 8. Write a C program to find 1+1/2+1/3+1/4+ …+1/n!. loop 9. Write a C program to find 1+1/2!+1/3/4!+ …+1/n!. 10. Write a C program for given below conversions also make user define functions. Binary to decimal, Binary to octal, Binary to hex, Decimal to binary, Decimal to octal, Decimal to hex. 11. Write a C program for given below conversions also make user define functions. Octal to binary, Octal to decimal, Octal to hex, Hex to binary, Hex to decimal, Hex to Octal. 12. Write a C program to Display this kind of output on screen. * ** *** **** 13. Write a C program to Display this kind of output on screen. * * * * * * * * * * 14. Write a C program to Display this kind of output on screen. 1 121 12321 1234321 123454321 15. Write a C program to Display this kind of output on screen. 1 Mr. Sapan Naik Page 5 Department of Computer Science and Technology, UTU 5 4 16. 6 4 18. 17. 19. 20. 21. 22. 23 345 4567 56789 … …….. 90 91 Write a C program to Find the NPR, NCR with using User Defined Function. NPR = N!/(N-R)!. NCR = N!/(R!*(N-R). Write C program using recursion function, Factorial, Prime number, Fibonacci series, GCD, Palindrome, Reverse string, LCM, Matrix multiplication, Sum of digits, Find power, Reverse number, Sum of n numbers, Binary search, Decimal to binary, Largest element in an array. Write C program which are work on Matrix, Division, Transport, Sum of diagonal elements, Inverse, Determinants, Lower and Upper triangular Write a C program using array concept for given below problems. Find Largest element, Sorting of elements. Write a C program using array concept for given below problems. Find second largest, Find second smallest, Delete duplicate elements, Delete at desire position, Insert at desire position. Write a C program which works on string, Upper to Lower, Lower to upper, Print initials, Delete consonants, String palindrome, Sort the characters, Comparison. Write a C program which works on string, String copy, Find length (using pointer), Concatenation, String to ASCII, Reverse of String Write a C Program to find the maximum number in array using pointer. 7 4 23. 8 4 24. Write C program which are work on File. Write text and close, Delete a file, Copy from one location to other, Copy data of file, Display source code as output, Write string in the file, Know last date of modification, Write array in the file, Concatenate two file and write it third, Find size of any file 25. Write C program using recursion function, Factorial, Prime number, Fibonacci series, GCD, Palindrome, Reverse string, LCM, Matrix multiplication, Sum of digits, Find power, Reverse number, Sum of n numbers, Binary search, Decimal to binary, Largest element in an array. Mr. Sapan Naik 2013 To understand the concept of user define function To understand the concept of array and string To understand the concept of pointer To understand the concept of file Page 6