Codingpractice
Codingpractice
si=h2mFhJTBAQcGAN6Y
C Course: https://youtu.be/irqbmMNs2Bo?si=MWYOB_T0scvnJoib
Java Course:
https://youtube.com/playlist?list=PLsyeobzWxl7pe_IiTfNyr55kwJPWbgxB5&si=afA7Cy5Gobm_P2ge
Day 1
Tasks:
Introduction to programming
Basic syntax
Printing to console
Practice Problems:
Day 2
Tasks:
Practice Problems:
Write a program to declare variables of different types and print their values.
Day 3
Tasks:
Practice Problems:
Write a program to compare two numbers and print the larger one.
Write a program to check if a number is even or odd using logical operators.
Day 4
Tasks:
Practice Problems:
Day 5
Tasks:
Practice Problems:
Day 6
Tasks:
Arrays
Practice Problems:
Day 7
Tasks:
Functions
Practice Problems:
Write a program to create a function that calculates the factorial of a number.
Write a program to create a function that returns the maximum of three numbers.
Day 8
Tasks:
Pointers
Practice Problems:
Day 9
Tasks:
Strings
Practice Problems:
Day 10
Tasks:
Structures
Practice Problems:
Write a program to create a structure for a student and print their details.
Write a program to create an array of structures to store information about multiple students.
Write a program to sort an array of structures by a specific field (e.g., student marks).
Day 11
Tasks:
Practice Problems:
Day 12
Tasks:
Practice Problems:
Write a program to dynamically allocate memory for an array and find its sum.
Write a program to dynamically allocate memory for a matrix and perform matrix addition.
Write a program to release dynamically allocated memory and avoid memory leaks.
Day 13
Tasks:
Preprocessor Directives
Practice Problems:
Day 14
Tasks:
Recursion
Practice Problems:
Tasks:
Practice Problems:
Write a program to implement a simple calculator using all the concepts learned.
Write a program to manage a simple database (e.g., student records) using file handling and
structures.
Write a program to solve a real-world problem (e.g., inventory management) using dynamic memory
allocation, structures, and file handling.