N O T I C E

Project on Computer topics, Programs for practicals for BCA Students, and Mobile Android app requirements. Please pay less and get more immediate delivery for school and higher level. Thank You. Contact me - at +91-8800304018(w)

Wednesday, April 15, 2026

Practical with HTML day by day

 




Dear viewers, A computer is a practical technology. If we learn only theory, then it will cause severe harm to us.

 


Day-1:  Practical Session


What is HTML?

  1. HTML stands for Hyper Text Markup Language
  2. HTML elements label pieces of content such as "this is a heading",
  3. HTML is the standard markup language for creating Web pages
  4. HTML describes well the structure of a Web page
  5. HTML consists of a series of elements
  6. HTML elements handle the browser how to display the content

"this is a paragraph", "this is a link", etc.

 

My First Simple HTML Page

<!DOCTYPE html>
<html>
<head>
<title>My First HTML Web Page</title>
</head>
<body bgcolor=’pink’>

<h1>My First Heading</h1>
<p>My first paragraph. </p>
</body>
</html>

=====================

 

Output

=====


Example Explained

  • The <!DOCTYPE html> declaration defines that this is an HTML5 document
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the HTML page
  • The <title> element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)
  • The <body> element defines the document's body, how will look and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
  • The <h1> element defines a large heading or bigger in size
  • The <p> element defines a paragraph and its’ content

====================================


 Day-2:  Practical Session


What is an HTML Element?

An HTML element is defined by a start tag, some content, and an end tag:

<tagname> Content goes here... </tagname>

The HTML element is everything from the start tag to the end tag:

<h1>My First Heading</h1>

<p>My first paragraph.</p>

Start tag

Element content

End tag

<h1>

My First Heading

</h1>

<p>

My first paragraph.

</p>

<br>

none

none

 Practical with HTML day by day

Note: Some HTML elements have no content (like the <br> element) are called empty elements.

 

HTML Page Structure

Below is a visualization of an HTML page structure:

 


Note: 

The content that is inside the <body> section will be displayed in a browser.

The content inside the <title> element will be shown in the browser's title bar.

Now Full code is :

<!DOCTYPE html>

<html>

<head>

<title>My First HTML Web Page</title>

</head>

<body bgcolor='lightblue'>

<h1>This is a heading</h1>

<p>This is a paragraph.</p>

<p>This is another paragraph.</p>

</body>

</html>

=================

Output:


Practical with HTML day by day

================================== 

Wednesday, March 18, 2026

Electricity Bill Calculation System in C Language (100 Units Free Scheme)

 


ElectricitybillCalculation System In C Language (100 Units Free Scheme) Download Free

       Help Us by Donating



Here is a complete C Language Project on Electricity Bill Management System with documentation. It is suitable for BCA / Computer Practical File and includes Introduction, Algorithm, Program, Output, and Viva Questions.


ELECTRICITY BILL MANAGEMENT SYSTEM (C LANGUAGE)

1. Title

Electricity Bill Calculation System in C Language (100 Units Free Scheme)


2. Introduction

Electricity billing systems are used to calculate the electricity charges consumed by a customer.
This project is developed in C programming language to calculate the electricity bill based on units consumed.

In this system, the first 100 units are free as per government scheme, and charges are applied only after 100 units.

This program takes customer details and electricity units consumed as input and calculates the final bill amount automatically.


3. Objective

The objectives of this project are:

  • To calculate electricity bills using C programming.
  • To apply government scheme (first 100 units free).
  • To practice structures, conditional statements and arithmetic operations in C.
  • To generate a formatted electricity bill.

4. Features of the System

  • Customer Name Input
  • Consumer Number
  • Units Consumed
  • First 100 Units Free
  • Automatic Bill Calculation
  • Display Final Bill

5. Assumed Electricity Tariff

Units Range

Rate

0 – 100

Free

101 – 200

₹5 per unit

201 – 300

₹7 per unit

Above 300

₹10 per unit


Electricity Bill Calculation System in C Language (100 Units Free Scheme)

6. Algorithm

1.    Start the program.

2.    Input customer name.

3.    Input consumer number.

4.    Input units consumed.

5.    Check if units ≤ 100

o    Bill = 0

6.    If units between 101 and 200

o    Bill = (units − 100) × 5

7.    If units between 201 and 300

o    Bill = (100 × 5) + (units − 200) × 7

8.    If units above 300

o    Bill = (100 × 5) + (100 × 7) + (units − 300) × 10

9.    Display customer details and bill amount.

10.                       Stop the program.


7. Flowchart (Text Representation)

Start

   |

Enter Customer Details

   |

Enter Units Consumed

   |

Units <= 100 ?

   |Yes

Bill = 0

   |

   No

Units <= 200 ?

   |Yes

Bill = (Units-100)*5

   |

   No

Units <= 300 ?

   |Yes

Bill = (100*5) + (Units-200)*7

   |

   No

Bill = (100*5)+(100*7)+(Units-300)*10

   |

Display Bill

   |

End


8. C Program

#include<stdio.h>

 

int main()

{

    char name[50];

    int consumer_no;

    float units, bill=0;

 

    printf("\n===== Electricity Bill System =====\n");

 

    printf("Enter Customer Name: ");

    scanf("%s", name);

 

    printf("Enter Consumer Number: ");

    scanf("%d", &consumer_no);

 

    printf("Enter Units Consumed: ");

    scanf("%f", &units);

 

    if(units <= 100)

    {

        bill = 0;

    }

    else if(units <= 200)

    {

        bill = (units - 100) * 5;

    }

    else if(units <= 300)

    {

        bill = (100 * 5) + (units - 200) * 7;

    }

    else

    {

        bill = (100 * 5) + (100 * 7) + (units - 300) * 10;

    }

 

    printf("\n\n----- Electricity Bill -----\n");

    printf("Customer Name     : %s\n", name);

    printf("Consumer Number   : %d\n", consumer_no);

    printf("Units Consumed    : %.2f\n", units);

    printf("Total Bill Amount : Rs %.2f\n", bill);

 

    printf("\nFirst 100 Units are Free (Govt Scheme)\n");

 

    return 0;

}



Electricity Bill Calculation System in C Language (100 Units Free Scheme)


9. Sample Output

===== Electricity Bill System =====

 

Enter Customer Name: Asif

Enter Consumer Number: 1025

Enter Units Consumed: 250

 

 

----- Electricity Bill -----

Customer Name     : Asif

Consumer Number   : 1025

Units Consumed    : 250

Total Bill Amount : Rs 850.00

 

First 100 Units are Free (Govt Scheme)


10. Advantages

  • Simple and easy to use
  • Reduces manual billing errors
  • Implements government subsidy logic
  • Useful for learning C programming

11. Limitations

  • Works for a single customer at a time
  • No database storage
  • No file handling

12. Future Improvements

  • Add file handling to store customer records
  • Add multiple customer billing
  • Create menu-driven program
  • Convert into GUI application

13. Viva Questions

1. What is C language?
C is a general-purpose programming language used for system and application programming.

2. What is a variable?
A variable is a named memory location used to store data.

3. What is an if statement?
It is a conditional statement used to execute code based on conditions.

4. What is printf()?
It is a function used to display output on the screen.

5. What is scanf()?
It is used to take input from the user.

6. What are data types in C?
Examples: int, float, char, double.


14. Conclusion

The Electricity Bill Management System developed in C successfully calculates the electricity bill based on the number of units consumed while applying the 100 units free government scheme. This project demonstrates the use of conditional statements, input/output functions, and arithmetic calculations in C.


 

 Electricity Bill Calculation System in C Language (100 Units Free Scheme)

 

If you want, I can also give you:

  • Full BCA Practical File Format (Cover Page + Certificate + Acknowledgement + Index)
  • Improved Version with File Handling (Store Customer Records)
  • Menu Driven Electricity Bill System (More Professional Project)
  • 30 Viva Questions for Exam

Just tell me 👍.

 

Thank you

 

Thursday, March 12, 2026

Practical for Beginners with Solutions

 

Practical for Beginners with Solutions

         Help Us by Donating


Practical for Beginners  Download for practical



Introduction to C Practical (100 Solved Questions)

This practical file contains 100 important programs written in the C programming language. The main purpose of this practical work is to help BCA students understand the basic and advanced concepts of C programming through practice. C is one of the most important programming languages and it forms the foundation for learning many other languages.

In this practical file, different types of programs are included which cover topics such as basic numerical programs, control statements, strings, arrays, and file handling. Each program is explained with a simple algorithm, C program code, and sample output, so that students can easily understand the logic and working of the program.

The programs are arranged topic-wise, starting from simple programs and gradually moving toward more complex problems. This makes it easier for students to learn step by step and improve their programming skills.

This practical file is useful for students because it helps them to:

  • Understand the basic structure of C programs
  • Improve their logical thinking and programming skills
  • Practice important programs frequently asked in exams
  • Prepare for practical exams and viva questions
  • Gain confidence in writing programs independently

Topic-wise Summary of C Practical Questions

1. Basic Programs and Numerical Problems

The first section includes basic programs and numerical problems. These programs help students learn the fundamental concepts of C programming such as variables, operators, and input/output statements.

Some examples of programs in this section include:

  • Swapping two numbers
  • Finding the factorial of a number
  • Checking whether a number is prime or not
  • Calculating simple interest
  • Finding the largest among three numbers
  • Finding the sum of digits of a number

These programs help beginners understand how a program works and how to apply simple logic in programming.


2. Control Statements

This section focuses on decision-making and looping statements, which are essential in programming.

The topics covered include:

  • if and if–else statements
  • nested if statements
  • switch case statements
  • for loop
  • while loop
  • do–while loop

Some common programs in this section are:

  • Checking whether a number is even or odd
  • Printing multiplication tables
  • Generating number patterns
  • Displaying Fibonacci series
  • Reversing a number

These programs help students understand how programs can make decisions and repeat tasks using loops.


3. String Programs

In this section, students learn how to work with strings in C programming. Strings are used to store and manipulate text data.

Programs included in this section are:

  • Finding the length of a string
  • Concatenating two strings
  • Comparing two strings
  • Reversing a string
  • Checking whether a string is a palindrome

Students also become familiar with string functions available in the C library, such as strlen(), strcpy(), and strcmp().


4. Single Dimensional Array Programs

This section explains the use of one-dimensional arrays, which allow programmers to store multiple values in a single variable.

Some programs included in this section are:

  • Finding the sum and average of array elements
  • Searching an element in an array
  • Finding the largest and smallest element in an array
  • Sorting elements of an array
  • Counting even and odd numbers in an array

These programs help students understand how arrays can be used to manage and process multiple data values efficiently.


5. Two Dimensional Array Programs

This section introduces two-dimensional arrays, which are mainly used for matrix operations.

Programs included in this section are:

  • Matrix addition
  • Matrix subtraction
  • Matrix multiplication
  • Transpose of a matrix
  • Finding the sum of rows and columns in a matrix

Through these programs, students learn how to work with data arranged in rows and columns.


6. File Handling Programs

The last section deals with file handling in C. File handling allows programs to store information permanently in files so that it can be used later.

Programs included in this section are:

  • Creating a file
  • Writing data into a file
  • Reading data from a file
  • Appending data to a file
  • Counting characters in a file

This section helps students understand how programs can store and retrieve data using files.


Conclusion

This practical file of 100 solved C programs is very helpful for BCA students who want to improve their understanding of C programming. By practicing these programs regularly, students can develop better programming skills and logical thinking.

It also helps students perform well in practical examinations and viva, and it builds a strong base for learning other programming languages in future studies.