Sunday, April 7, 2019

FCFS(First Come First Serve) Program in C

 FCFS stand for First Come First Served. In this program you will learn how to work FCFS program in c. First in, first out (FIFO), is also known as first come, first served (FCFS), it is the simplest scheduling algorithm. FIFO is the simply queues processes in the order that they arrive in the ready queue.

FCFS Program:


int main()
    int n,bt[20],wt[20],tat[20],avwt=0,avtat=0,i,j;
    printf("Enter total number of processes(maximum 20):");

    printf("\nEnter Process Burst Time\n");

    wt[0]=0;    //waiting time for first process is 0

    //calculating waiting time

    printf("\nProcess\t\tBurst Time\tWaiting Time\tTurnaround Time");

    //calculating turnaround time

    printf("\n\nAverage Waiting Time:%d",avwt);
    printf("\nAverage Turnaround Time:%d",avtat);

    return 0;


FCFS Program

Monday, April 1, 2019

What is Local Area Network(LAN)?

A local area network (LAN) is a computer network that interconnects computers within a limited area such as a residence, school, laboratory, university campus or office building.

Full Form of LAN is Local Area Network.

A local area network (LAN) is a group of computers and associated devices that share a common communications line or wireless link to a server. Typically, a LAN encompasses computers and peripherals connected to a server within a distinct geographic area such as an office or a commercial establishment. Computers and other mobile devices use a LAN connection to share resources such as a printer or network storage.

A local area network may serve as few as two or three users (for example, in a small-office network) or several hundred users in a larger office. LAN networking comprises cables, switches, routers and other components that let users connect to internal servers, websites and other LANs via wide area networks.

Typically, a suite of application programs can be kept on the LAN server. Users who need an application frequently can download it once and then run it from their local device. Users can order printing and other services as needed through applications run on the LAN server. A user can share files with others stored on the LAN server; read and write access is maintained by a network administrator. A LAN server may also be used as a web server if safeguards are taken to secure internal applications and data from outside access.

LAN is a type of network. LAN is used to locally connect several devices with each other.

  1. LAN normally covers an area of less than 2 miles.
  1. It is generally owned privately.
  1. Connects some host in a single office, building or campus.
  1. It has Client-Server Architecture
  1. Depending on the needs of organizations, can be simple as two PCs and a printer in someone's office. Or extended throughout a company.

  • Allows sharing of resources.
  • Hardware e.g Printer
  • Software e.g an application program
  • Data

Sunday, March 24, 2019

Windows Activate Permanently 10,8.1,8,7 All Version || 100% Legal Way to Active Windows

In this article, you will learn how to activate windows. Permanently activate windows 7,8,8.1,10 all version without installing any harmful software or key. 100% legal way to activate your windows.

Windows Activate Without Software

Windows All Version:

  • Windows-XP  
  • Windows-7
  • Windows-8
  • Windows-8.1
  • Windows-10


1. Open the web browser.
2. Type the
3. Copy all the text (Ctrl+C).
4. Open a new text document.
5. Paste the copy text (Ctrl+V).
6. Save as file in any name (
Example: Windows.cmd) but
    when you complete typing the file name add (
.cmd) then press save button.
    Example: If you type the file name 
   Then the complete file name is Windows.cmd
7. Windows text file Run as administrator.
8. Wait for a few minutes and windows activate automatically.

When you complete the process, you can see that product activate successfully.

Windows Activate TXT File Link:

Saturday, March 23, 2019

How to Create Table Using HTML || Make Database Form Using HTML

In this article, you will learn how to create a table using HTML. Make different types of table form using the source code. Create database table form using HTML.


Create Table Using HTML


<meta http-equiv="Content-Language" content="en-us">


<table border="1" width="525" height="321">
<td height="35" width="243" valign="bottom">
<p align="center"><b><font size="5">NAME</font></b></td>
<td height="35" width="266" valign="bottom">
<p align="center"><b><font size="5">ADDRESS</font></b></td>
<td height="35" width="243" valign="bottom"><font color="#800080">HANIF
<td height="35" width="266" valign="bottom"><font color="#800080">
<td height="32" width="243" valign="bottom"><font color="#800080">HASAN
AL BANNA</font></td>
<td height="32" width="266" valign="bottom"><font color="#800080">
<td height="34" width="243" valign="bottom"><font color="#800080">RAKESH
<td height="34" width="266" valign="bottom"><font color="#800080">MALDA</font></td>
<td height="39" width="243" valign="bottom"><font color="#800080">BARKAT
<td height="39" width="266" valign="bottom"><font color="#800080">
<td height="41" width="243" valign="bottom"><font color="#800080">RABIUL
<td height="41" width="266" valign="bottom"><font color="#800080">
<td height="38" width="243" valign="bottom"><font color="#800080">BISHAL
<td height="38" width="266" valign="bottom"><font color="#800080">MALDA</font></td>
<td height="28" width="243" valign="bottom"><font color="#800080">
ABDULLA FARUK</font></td>
<td height="28" width="266" valign="bottom"><font color="#800080">



HTML Important Mcq Question With Answer ~ CodeTextPro

Q 1 - Which of the following feature is a part of HTML 5?
A. Persistent Local Storage
B. WebSocket
C. Server-Sent Events
D. All of the above.
Q 2 - Which of the following tag represents a section of the document intended for navigation in HTML5?
A. footer
B. nav
C. section
D. dialog
Q 3 - Which of the following is true about 'video' tag in HTML5?
A. MPEG4 files with H.264 video codec and AAC audio codec are supported.
B. You can use <source> tag to specify media along with media type and many other attributes.
C. An video element allows multiple source elements and the browser will use the first recognized format.
D. All of the above.
Q 4 - HTML stands for?
A. Hyper Text Markup Language
B. High Text Markup Language
C. Hyper Tabular Markup Language
D. None of these

Q 5 - which of the following tag is used to mark the beginning of the paragraph?
A. <TD>
B. <br>
C. <P>
D. <TR>

Q 6 - Correct HTML tag for the largest heading is
A. <head>
B. <h6>
C. <heading>
D. <h1>

Q 7 - Markup tags tell the web browser
A. How to organize the page
B. How to display the page
C. How to display the message box on the page
D. None of these

Q 8 - www is based on which model?
A. Local-server
B. Client-server
C. 3-tier
D. None of these

Q 9 - Which of the following attributes of text box control allow to limit the maximum character?
A. size
B. len
C. max length
D. all of these

Q 10 - Web pages start with which of the following tag?
A. <Body>
B. <Title>
D. <Form>

Q 11 - Which of the following is a container?
D. Both (a) and (b)

Q 12 - The attribute, which defines the relationship between the current document and HREF'ed URL is
D. all of these

Q 13 - Correct HTML to left align the content inside a table cell is
A. <tdleft>
B. <td raligh = "left" >
C. <td align = "left">
D. <td leftalign>

Q 14 - The tag which allows you to rest other HTML tags within the description is
A. <TH>
B. <TD>
C. <TR>

Q 15 - <Base> tag is designed to appear only between

Q 16 - A much better approach to establishing the base URL is to use
A. BASE element
B. HEAD element
C. both (a) and (b)
D. none of these

Q 17 - Which of the tag is used to creates a number list?
A. <LI>
B. <OL>
C. <LI> and <OL>
D. None of these

Q 18 - <INPUT> is
A. format tag
B. empty tag
C. both (a) and (b)
D. none of these

Q 19 - The latest HTML standard is
C. HTML 4.0
D. HTML 5.0

Q 20 - The tag used to create a hypertext relationship between the current document and another URL is
B. <A>
D. none of these

Q 21 - The text inside the <TEXT AREA> tag works like
A. <P> formatted text
B. <T> formatted text
C. <PRE> formatted text
D. none of these

Q 22  - Main container for <TR>, <TD> and <TH> is
D. All of these

Q 23  - The body tag usually used after
A. Title tag
B. HEAD tag
C. EM tag
D. FORM tag

Q 24  - Which tag creates a number/order list?
A. <UL>
B. <OL>
C. <OT>
D. None of these

Q 25  - What HTML tag do we use to link the HTML with the CSS file?
A. <a>
B. <css>
C. <link>
D. None of these

Q 26  - CSS is written in rules. Each rule consists of:
A. a selector and a property
B. a selector and a declaration block
D. None of these

Q 27  - What is the difference between classes and IDs?
A. classes Can be used as many times as we wish, while ID's can be used only once in each HTML document
B. classes always have priority over ID's in HTML and CSS
C. Classes are semantically more correct than Id's
D. Classes and ID's are the same.

Q 28  - What CSS property do we use to create space between container?
A. space
B. margin
C. padding
D. None of these

Q 29  - HTML elements can be:
A. Low level or high-level elements.
B. low-priority or high-priority elements.
C. inline or block elements.
D. None of these.

How to Create HTML Form ~ CodeTextPro

In this article, you will learn how to create an HTML form. Different types of stylish registration form are available here. 

 Registration Form

HTML Form Types

<!DOCTYPE html>
<body bgcolor="#F22235">

<h2>HTML Forms</h2>

  First name:<br>
  <input type="text" name="firstname" value="Hanif">
  Last name:<br>
  <input type="text" name="lastname" value="Miah">
  <input type="submit" value="Submit">
            <!-- CodeTextPro.Com-->
<p> Radio Button </p>

<input type="radio" name="gender" value="male" checked> Male<br>
  <input type="radio" name="gender" value="female"> Female<br>
  <input type="radio" name="gender" value="other"> Other
            <!-- CodeTextPro.Com-->
 <p> GROUP </p>
    <legend>Personal information:</legend>
    First name:<br>
    <input type="text" name="firstname" value="Hanif"><br>
    Last name:<br>
    <input type="text" name="lastname" value="Miah"><br><br>
    <input type="submit" value="Submit">
            <!-- CodeTextPro.Com-->
<p> GET METHOD </p>

<form action="/xml.php" target="_blank" method="GET">
  First name:<br>
  <input type="text" name="firstname" value="Hanif">
  Last name:<br>
  <input type="text" name="lastname" value="Miah">
  <input type="submit" value="Submit">
            <!-- CodeTextPro.Com-->
<p> POST METHOD </p>
<form action="/action_page.php" target="_blank" method="POST">
  First name:<br>
  <input type="text" name="firstname" value="Hanif">
  Last name:<br>
  <input type="text" name="lastname" value="Miah">
  <input type="submit" value="Submit">