Assignment
Bubble Sort (Basic Array)
Write a C program to sort 10 numbers in ascending order using Bubble Sort.
Largest Element in Array
Write a C program to find the largest number in an array of n elements.
Palindrome Number
Write a C program to check whether a given number is a palindrome or not.
Factorial Using Loop
Write a C program to find the factorial of a number using a for loop.
Sum of Digits
Write a C program to calculate the sum of digits of a given number.
Even and Odd Count
Write a C program to count how many even and odd numbers are present in an array.
Reverse a Number
Write a C program to reverse a given integer number.
Linear Search
Write a C program to search for an element in an array using Linear Search.
String Length Without strlen()
Write a C program to find the length of a string without using the built-in strlen() function.
Simple Calculator (Switch Case)
Write a C program to create a simple calculator using switch case for addition, subtraction,
multiplication, and division.
--------------------------------------------------------------------------------------------------------------------------------------
Assignment Submission Instructions
All students must carefully follow the instructions given below while preparing and submitting the
assignment.
Submission Format
• The assignment must be done on A4 size paper.
• Writing must be on one side of each page only.
• All pages should be properly arranged and stapled.
• Maintain neat and clear handwriting.
Order of Arrangement
Your assignment file must be arranged in the following order:
1. Front Cover Page
The first page should contain:
• Student Name
• Class
• Section
• Roll Number
• Registration Number
• Year
2. Project Page (Color Printed)
• The first inner page must be the HTML Project Output (Website Design).
• This page must be color printed.
3. HTML Code (Printed Copy)
• After the project page, attach the complete HTML code of your project.
• The HTML code must be printed (not handwritten).
• The code should be properly formatted and readable.
4. C Programming Code (Handwritten)
• All C programming programs must be written in your own handwriting.
• Printed copy of C programs is not allowed.
• Write the full program with proper syntax and indentation.
Important Instructions
• Do not use both sides of the page.
• Avoid overwriting and unnecessary cutting.
• Follow the sequence strictly.
• Submit the assignment on or before the given deadline.