DI01000131 - Computer Programming Fundamentals - Syllabus CLICK TO View
Basic Computer Programming (Course Code: 4310702) - Syllabus CLICK TO View
C programming language Tutorial
C programming Mastery Games
C programming language Video Tutorial
Practical List for a C Programming Course
1. Practice using scratch programming/snap programming.
- Basic:
- Create a simple animation (e.g., a bouncing ball).
- Design a basic game (e.g., a number guessing game).
- Intermediate:
- Build a story-based interactive game.
- Create a simple calculator.
- Advanced:
- Develop a complex simulation (e.g., a traffic light system).
- Design a machine learning model (e.g., a simple image classifier).
2. Design and develop various problem statements using flowchart and Algorithm.
- Basic:
- Draw a flowchart for calculating the area of a circle.
- Write an algorithm to find the largest of three numbers.
- Intermediate:
- Create a flowchart for implementing bubble sort.
- Develop an algorithm to check if a number is prime.
- Advanced:
- Design a flowchart for solving the Tower of Hanoi problem.
- Write an algorithm for implementing binary search.
3. Design and test C programs using constants, variables, data types and different operators.
- Basic:
- Write a program to swap two numbers.
- Calculate the area and perimeter of a rectangle.
- Intermediate:
- Convert temperature from Celsius to Fahrenheit.
- Implement a simple calculator.
- Advanced:
- Calculate the factorial of a number using recursion.
- Implement a program to find the greatest common divisor (GCD) of two numbers.
4. Design and test C programs to show formatted and unformatted input and output.
- Basic:
- Read a name and print it in uppercase.
- Print a formatted table of student information.
- Intermediate:
- Read a file and count the number of lines, words, and characters.
- Write a program to create a formatted invoice.
- Advanced:
- Implement a program to read and write data to a CSV file.
- Create a custom formatting function to print numbers in hexadecimal, octal, and binary.
5. Design and test at least one C programs using below given decision making statements: (1) Simple if (2) if…else (3) Nested if (4) if…else ladder (5) switch (6) goto
- Basic:
- Check if a number is positive, negative, or zero.
- Find the largest of three numbers.
- Intermediate:
- Implement a simple menu-driven program.
- Calculate the grade of a student based on their marks.
- Advanced:
- Implement a quadratic equation solver.
- Create a program to check if a triangle is equilateral, isosceles, or scalene.
6. Design and test C programs using the for, while and do. While loop.
- Basic:
- Print numbers from 1 to 10.
- Calculate the sum of even numbers between 1 and 100.
- Intermediate:
- Implement a factorial calculator.
- Find the Fibonacci series up to a given term.
- Advanced:
- Implement a bubble sort algorithm.
- Create a program to generate prime numbers within a given range.
7. Design and test a C program using break and continue statements.
- Basic:
- Break out of a loop if a certain condition is met.
- Skip even numbers in a loop.
- Intermediate:
- Implement a menu-driven program with an exit option.
- Find the sum of digits of a number.
- Advanced:
- Create a program to search for a specific element in an array.
- Implement a pattern printing program.
8. Design and test C programs using one dimensional array and two dimensional arrays.
- Basic:
- Find the maximum and minimum elements in an array.
- Reverse an array.
- Intermediate:
- Implement matrix addition and subtraction.
- Find the transpose of a matrix.
- Advanced:
- Implement a sorting algorithm (e.g., quicksort, mergesort).
- Create a program to solve a system of linear equations.
9. Design and test C programs using pointers.
- Basic:
- Swap two numbers using pointers.
- Find the length of a string using pointers.
- Intermediate:
- Implement a dynamic array.
- Create a linked list.
- Advanced:
- Implement a stack using linked lists.
- Create a queue using linked lists.
10. Design and C programs using user defined Functions.
- Basic:
- Create a function to calculate the factorial of a number.
- Write a function to check if a number is prime.
- Intermediate:
- Implement a function to find the greatest common divisor (GCD) of two numbers.
- Create a function to sort an array.
- Advanced:
- Implement a function to perform matrix multiplication.
- Create a function to solve a quadratic equation.
11. Design and test recursion function.
- Basic:
- Calculate the factorial of a number using recursion.
- Implement a recursive function to find the Fibonacci series.
- Intermediate:
- Solve the Tower of Hanoi problem recursively.
- Create a recursive function to calculate the power of a number.
- Advanced:
- Implement a recursive function to generate permutations of a string.
- Create a recursive function to solve the maze problem.
12. Design and test a C program to test various inbuilt string functions.
- Basic:
- Find the length of a string.
- Convert a string to uppercase.
- Intermediate:
- Compare two strings.
- Search for a substring within a string.
- Advanced:
- Implement a string reversal function.
- Create a program to tokenize a string.
13. Design and test C programs using file operations.
- Basic:
- Read and write data to a text file.
- Count the number of lines in a file.
- Intermediate:
- Create a program to copy a file.
- Implement a file appending function.
- Advanced:
- Create a program to merge two files.
- Implement a file encryption/decryption algorithm.
14. Design and test C programs using Command line arguments.
- Basic:
- Print the command-line arguments.
- Calculate the sum of numbers passed as command-line arguments.
- Intermediate:
- Create a program to check if a file exists.
- Implement a program to convert a number from one base to another.
- Advanced:
- Create a program to execute a shell command.
- Implement a program to parse command-line options.


0 Comments