Saturday, 24 October 2015

HTML Basics With Examples

HTML Basics

HTML  means Hypertext Markup Language. Html invented by Tim Berners - Lee in 1980. Html Designed For Communication Between User and Computer. Html Language used to Design Webpage ( Websites ). The Html is most popular ( Basic ) Language to Design Any Web Page. Html Having Simply Three Tags. They are HTML, HEAD, BODY ( tags) are denoted By < >  to </>.

Example For Html Tags:

<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
Here, We See  Three Tags. Every tag Having Some attributes For Design Web Pages. Bellow Explain More HTML Tags. 

Header Tags in HTML

<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
The Header tags are using the title names and main important content in webpages. Every Header Tag Having Some Text Size different Display initially.

Paragraph Using Tags in HTML 

<p></p>
<pre></pre>
<small> Some text </small>
<strong> Some Text</strong>
<b>Some Text</b>
<br><br/> ( Use For Break The Lane )


Hyperlink Using This Tag in HTML 

<a href=" URL "> Click Here </a>

Additional Link Access in HTML

<link rel=" " href=" " />  ( One page to another page data access )

Title tag in HTML

<title> Webpage name</title>

Address Tag in HTML

<address>Some Text </address>


Mark The Select Content Color in Html

 <mark>Some Text </mark>

Tuesday, 8 September 2015

Jntuk 4-1 1 mid Original Bits 2015 R10

Jntuk 4-1 1 mid Original Bits ECE, CSE, CIVIL, MECH 2015 R10

Click Link Get All Branch Bits In One page  ( Total )


Jntuk 4-1 1Mid Online Bits All Branches ( Click On Link )

Sunday, 6 September 2015

Jntuk 4-1 R10 1 Mid Online Bits (2015 )

Jntuk 4-1 R 10 1 Mid Online Bits ( 2015 )

4-1 1st mid CNS Online Bits ( CSE ) :   Download



Sunday, 30 August 2015

Addition in C Program With Example

Addition Program in c Language With Example and .How to Program Will Start Compile and Variable Declare and Data Type . Logic Explain in C Program With Example Output.

Addition : In Computer Programming Language Two Variable are plus ( + ) Operation  perform . Call as addition Operation in C program.

Syntax

int main()
{
datatype     Variable ;
---------------------;
---------------------;
---------------------;
Logic ;
}   

Addition Program in c 

#include<stdio.h>
#include<conio.h>
int main()
{                                                 

      int a,b,c;                              
      printf("Enter a value : ");
      scanf("%d",&a);
      printf("Enter b value : ");
      scanf("%d",&b);
      c=a+b;                 
      printf ("c value is : %d\n",c);
      return 0;
}


Output

Enter a value :5
Enter b value :5
c value is : 10

Like To Without plus ( + ) Operation addition in C Program 

Saturday, 15 August 2015

Functions in c Programming Language

Functions in c Program 

Functions are defined as block of Code. The Function perform a number of predefined commands to accomplish something productive.That's , means Create a Own functions. Programmer like Writes will generally require a prototype. 

Example Program

#include<stdio.h>
#include<conio.h>
void display();

int main()

{
display();
getch();
return 0;
}
void display()
{
printf("Welcome");
}

Output

welcome 

Explain : The above Functions Program compiler start the initial state to call the display( ). There the display function is printf having some text message. Display the Output.

Pointers in C Programming Language

Pointer in C Programming Language
A Pointer is a programming Language Object, Whose Value refers to another value stored else where in the computer memory using it's address. 

First Known As two Various in Pointers .  

1. &  Address of Operator.
2. *  Value Of Operator.

Simple To Understand :

1. if have a two variables a,b.
2.a ,b having few numbers for storage address.
3. if a storage address are having some values ( content ).
4.b having storage address first second point , the address numbers are a storage address values.
Program
#include<stdio.h> 
#include<conio.h>
int main()
{

int x=10;
int *j;
j=&x;

printf(" The Value of x is %d\n",x);
printf(" The Address of X is %p\n",&x);
printf("The value of x is *(&x)%d\n\n",*(&x));


printf(" The memory address storage pointer j is %P\n",j);
printf(" The value of pointer by the pointer  of j is %d\n",*j);
printf("The address of pointer j is %p",&j);

getch();
return 0;

}

Output
The Value of x is 10
The Address of X is 000000000023FE4C
The value of x is *(&x) 10

The memory address storage pointer j is 000000000023FE4C
The value of pointer by the pointer  of j is 10
The address of pointer j is 000000000023FE40





JNTUK 2-2 (R10, R13, R07 ) Reg/supply Results are Released

Jntuk 2-2 ( R13, R10, R07 ) Reg/ supply may 2015 Results Are Released 


                                                       Jntuk 2-2 Results ( Click Here )  ( Server Not  Work  Wait  )


Note : Every One Get Results in Collage only . Because server are Working Slow . After Some Time  Check Results On Internet . ( Links Are not Working )



Friday, 14 August 2015

Array in C Language

Array in C Programming Language Full Information and With Some Examples

Array: - An array in c programming Language Act to Store Related Data Under a Single Variable name With an index, also known as a Subscript.

Simply:   a list or ordered grouping for variables of the same type ( or ) Collection of Similar Elements.

Program For Example
#include<stdio.h> 
#include<conio.h>
int main()
{

int marks[]={25,56,65,45,21};

float avg[2];
avg[0]=65.56;
avg[1]=32.52;

printf("%d\n",marks[0]);
printf("%d\n",marks[1]);

return 0;

}

Output
25
56

Explain : Here, 25 and 56 values coming outputs. Because, array list start [ 0 1 2 3 4 5.. ] .in above program [ 0 ] place insert 25 ,  [ 1 ] place insert 56. See printf  Display Only marks[0],marks[1]. Then Display the Array list select this Output. 

Thursday, 13 August 2015

Jntuk 2-2 May 2015 ( R13, R10, R07 ) Results Released Information

Jntuk Supply and Regular Examination Results are Released information. The All Papers are correction is Completed. Estimated Date is For Jntuk 2-2 may 2015 Results.


Released Date :


18/8/2015

Note :  Please, Read The Date is Not Official. 

Wednesday, 12 August 2015

Constants Variables and Keywords in c Language

Alphabets, Numbers are Special Symbols are Combined to from Constants, Variables and Keywords 
Constants
A Constant is an entity that doesn't change. 

Types Of Constants: 

  • 1.Integer Constant
  • 2.Real Constant
  • 3.Character Constant

Integer Constant : The integer Constants are contain  " Number Only ".    
Ex: 25, 55, 65.

Real Constant: The Real Constants are Contain " Real Number are float Number ".
Ex: 25.52, 0.05,0.25.

Character Constant: The Character Constants are Contains " Character Constants  (or) alphabets " .
Ex: 'a', 'A', 'z'.

Variables
1. An Variable is an entity that does change.
2. In Programming Language The Variable Used to Store the Data ( Value ).

Ex:   int  x = 10;

Here, x is Variable , 10 is integer.


Keywords
1. By Using Keywords We Can Constant The Meaning Full Statements.
2. Here, The Some Keywords Already Using The C Compiler.

Ex:  break, for, if, int, float, char, ......

3. Keywords Can't be Used as Variable names.


Conclusion

Type                                                  Keyword                                        Example

Integer                                                 int                                           int a;      int age;

Real  (or) floating Point                       float                                        float x;    float average;  

Character                                           char                                         char s;     char  initial;                         





Tuesday, 11 August 2015

Hello World Program in c Language

Hello World Program , This is Basic Program . Because , Every One Understand Simple To Hard . Now , Here , It's Small Program. But, The Program Can Be Derived No.of Instructions just in this program.


Program
#include<stdio.h>
#include<conio.h>
int main() 
{
Printf("Hello World !!");
}


Output
Hello World !! 


Explain Program:-   The above Program having <stdio.h> is Header file . Every One Call the preprocessor. What is use <stdio.h> ? Can Use a Program printf and scanf operations are include the this <stdio.h>. That's Call This is  " #include<stdio.h> " .

 " int main() " is the method.   " { " Start the Program in the flower brackets . Ends With " } ".

Thursday, 6 August 2015

Jntuk 3rd Year 2 Sem May 2015 Exam Results

Jntuk Exam Result 3rd year 2 sem 



Note : Wait For Few Min. Because, The Server is Very Slow Process. Check Marks Results...


logo

Thursday, 16 July 2015

Escape Sequence in c language

The Escape Sequence Using For in c Language. Escape sequence Mostly Used in Printf() Operation in c program. We check the operation below also. But,  1st  Learn Why Use Escape Sequence?


Different Type of Outputs Represents in c program.

\n                                          Represents a newline character

\r                                           Represents a carriage return

\b                                          Represents a backspace

\f                                           Represents a from-feed character

\t                                           Represents a horizontal tab

\v                                          Represents a vertical tab

\a                                          Inserts a bell (alert) Character or ( Beep Sound )

\?                                          Inserts a question mark Symbol ( ? )

\"                                           Inserts a Double Quote ( " )

\'                                           Inserts a single Quote ( ' )

\\                                           Inserts a Backslash ( \ )

Trigraph Sequences 

In General Every One Ca Use questions mark directly in string. The \?  escape sequence only exists because there are nine special sequence of characters called Trigraph Sequence. That are Three Characters Sequence for Representing each of the characters #, [, ], \, ^, ~, /, {, }. 

??=         #

??(         [

??)         ]

??/        \

??<        {

??>        }

??'         ^

??!        |

??-        ~

Example : 

Printf(" ??<Welcome Alltechprograms??>");

Output:

{ Welcome Alltechprograms }

logo

Explain C Program Step By Step

The C Program Can Be Explained Using Simple Program. Because, Understand Every One Way Of Learning in C Program & also Explain  comments where do use in c program. 

Program

#include<stdio.h>                                    //  This is a preprocessor directive

int main(void)                                           //  This is identifiers the function main()

{                                                               //  This marks the beginning of main()

printf("Welcome Alltechprograms");        //  This line outputs a quotation 

return 0;                                                   //  This return control to the operating system 

}                                                              //  This marks the end of the main() 


Then above the Symbol  //. Using For C Program Explain time. ( Good Way Understand ). Now , Comments also Be Used Explain Symbols in c program  /* sum text */ .

Comments Using Sample in C Program

#include<stdio.h>   /* This Line is a Preprocessor   directive  */


logo

Wednesday, 15 July 2015

Create C Programs Using Fundamental Stages

Create c Programs Using Fundamental Stages are 4 (Four) Types.

  1. Editing.
  2. Compiling.
  3. Linking.
  4. Executing.
Now , Below Explain The Each Topic

Editing

Editing is the process of creating and modifying C Source code. In Fact, an editor often provides a complete environment for Writing, Managing,Developing and testing your Programs.This is Some Times called as IDE ( Integrated Development Environment ). The Editor Using General Purpose Text Editor To Create Your Source Files.


Compiling

The Compiler converts your Source Code into Machine Language and detects and reports in the compilation process. The input to this stage is the file you produce during your editing, which is usually referred to as a source file.


Linking

The Linker Combines the object modules generated by the compiler from source code files ,adds required code modules from the standard library supplied as part of c, and welds everything into an executable whole. The Linker also detect the errors.

Executing

The Execution stage is where our run the program, having completed all the previous process successfully. But, Some Times  This stage can also generate a wide variety of error conditions. That can include producing the wrong output. We Can Use also Run  windows .exe file for Executing Output Display.

The Above Section is  Explain The Some Instructions For C Program Compile And Execution Statements.

Sample Program

#include<stdio.h>
int main()
{
printf("Welcome Alltechprograms !!");
return 0;
}

logo

Friday, 10 July 2015

armstrong number in c program

Armstrong Numbers in C Program


Armstrong Number :  The Armstrong Numbers is a Number. Such That the Sum ! of it's digits raised to the third power is equal to the number ! itself.

For Example :  Take A Armstrong Number Like 153

1 3  + 53    +33  =  1+ 125 + 27 = 153      //  Here Power of 3 is number of digits in Given number.

Program For Armstrong Number Find in c Program

#include <stdio.h>
 int power(int, int);
 int main()
{
   int n, sum = 0, temp, remainder, digits = 0;
   printf("Enter an integer\n");
   scanf("%d", &n);
   temp = n;
   while (temp != 0) 
{
   digits++;
   temp = temp/10;

}

   temp = n;
   while (temp != 0) {
   remainder = temp%10;
   sum = sum + power(remainder, digits);
   temp = temp/10;
 }

   if (n == sum)
  printf("%d is an Armstrong number.\n", n);
   else
   printf("%d is not an Armstrong number.\n", n);
   return 0;
}

int power(int n, int r) 
{
   int c, p = 1;
   for (c = 1; c <= r; c++) 
   p = p*n;
   return p;   

}

Outputs


armstrong






logo

Addition two Pointers in c Program

 Addition of pointers in c program


Pointer: A pointer can be declare as a ( * ) Symbol. Now Bellow Can Be Addition Of Two Variable Pointers Example Program With Outputs.

Program

#include<stdio.h>
int main()
{
int *a,*b,c,first,second;
printf("enter the two numbers :\n");
scanf("%d%d",&first,&second);
a=&first;
b=&second;
c=*a+*b;
printf("the Sum Of Two Pointers : %d",c);
}

Output

pointers addition
logo

Sunday, 5 July 2015

Loops in c Language

Loops in C Language

Loops : The Computer lies in its ability to perform a set of instructions repeatedly. That Means Loop is Number of Times Repeat Until a Particular Condition is Satisfied. This Repetitive Operation is Done Through a Loop Control Statement. 
loops in c language alltechprograms

There are Three Methods. They are,
  • Using a For Statement 
  • Using a While Statement
  • Using a do-While Statement
First we need to Understanding While Loop in C Program.

While Loop: In This Case programming that you want to do something a fixed number of times. The while loop mostly Cases use for calculate salary of different no.of persons. Convert to temperature from centigrade to Fahrenheit .

Sample Program For While Loop

#include<stdio.h>
int main()
{
int p,n,count;
float r,si;
count=1;
while (count<=3)
{
printf("Enter values p,n,r:\n");
scanf("%d%d%f",&p,&n,&r);
si=p*n*r/100;
printf("Interest = %f",si);
count=count+1;
}
}

For Loop:  The For Loop is Most Popular in looping instruction  c Programming Language . Why For Loop is Popular ? . For loop Having  Three stages Complete at a line.

General Form For Loop Syntax

for ( initial value; test value; increment value )

Sample Program

#include<stdio.h>
int main()
{
int a;
printf("Enter a Values:\n");
scanf("%d",&a);
for (a=a;a<=10;a++)
{
printf("Enter The Value is %d\n",a);
}
}

Nested Loops : The Nested Loop process With in while and for loops in c programming Language.

Sample Program For Nested Loop in For Loop !!

#include<stdio.h>
int main()
{
int r,c,sum;
for(r=1;r<=3;r++) //outer loop
{
for(c=1;c<=2;c++) // inner loop
{
sum=r+c;
printf("r=%d C=%d sum=%d \n",r,c,sum);
}
}
}

Odd Loop : The odd loop using for the far executed the statement with in ten a finite number of times.The odd loop function can be used in below program with do or while methods.

Program For Odd Loop

#include<stdio.h>
int main()
{
char another;
int x;
do{
printf("Enter a Number :");
scanf("%d",&x);
printf("Square of %d Value %d",x,x*x);
printf("\n we want to Enter the Another Number : y/n");
scanf("%c",&another);
}
while(another=='y');
}

Break Statement : The Break Statement is using in loop process jump the out of the loop.

For Example Break Statement in C
                                                                   // prime number Checking
#include<stdio.h>
int main()
{
int num,i;
printf("Enter number");
scanf("%d",&num);
i=2;  // initial value
while( i <=num-1)
{
if(num%i==0)
{
printf("This Number is not Prime ");
break;
}
i++;
}
if(i==num)
printf("prime number");
}

Continue Statement : The Continue Statement is some programming situations. we want to take the control to the beginning of the loop , by passing the statement inside the loop , which have not yet been executed. 
Using Keyword  " continue ".

Sample Programs for continue 

#include<stdio.h>
int main()
{
int i,j;
for(i=1;i<=2;i++)
{
for(j=1;j<=2;j++)
{
if(i==j)
continue;
printf("\n %d %d\n",i,j);
}
}
}

do-While Loop : The  do-while loop like to be while process.( minor difference ) .The While tests the condition before executing any of the statements with in the while loop. as against this , the do-while tests the condition after having executed the statements with in the loop.

Small Program Example For Do-While Loop

While 

#include<stdio.h>
int main()
{
while(4<1)
printf("Welcome");
}

Do -while

#include<stdio.h>
int main()
{
do{
printf("welcome\n");
}
while(4<1);
}

Thanks For Visiting Welcome !! 


nested if else in c

Nested if else statement in c 

Nested if else :  An Entire if else construct within either the body of the if statement or the body of else statement. That is called as " nesting " of ifs.
nested if else alltechprograms

Program For Nested if else

#include<stdio.h>
int main(){
int x;
printf("Enter Only 1 or 2 Numbers:\n");
scanf("%d",&x);
if ( x==1)
printf("Your Enter Number is Equal to 1");
else{
if(x==2)
printf("the number is equal to 2");  
else
printf("the number is not Equal To 1 or 2");
}
}

The above Programs Can be nested if else statement process. If we enter the number is equal to 1 .it's true go to next statement printf().otherwise goes to the else statement, but here can having also if statement. The if statement is true then process to printf(). otherwise else statement is executed. 

Use of Logical Operators in Nested if else

The Logical operators are Process in Nested Else - if statement . The Logical Operator are  &&,  || ,  ! . There are read as  'AND'  'OR'  'NOT'  Respectively.

Program For Logical Operator Using Nested If else Statement in c Program  ( Percentage Problem Solve ).

#include<stdio.h>
int main()
{
int n1,n2,n3,n4,n5,n6,per;
printf("Enter The Marks in 6 Subject:\n");
scanf("%d%d%d%d%d%d",&n1,&n2,&n3,&n4,&n5,&n6);
per=(n1+n2+n3+n4+n5+n6)/6;
if(per>=60)
printf("Good Marks");
else{
if(per>=50)
printf("Average Marks");
else{
if(per>=40)
printf("Bellow Average");
else
printf("Dull");
}
}
}
Nested else if Statement  ( Another Way ) would be Like Bellow Program.
Sample Example Program
Suppose , 
if ( i==2 )                                                       if( i==2)
printf(" Hello ");                                            printf("Hello ");
else{                                                              elseif( j==2 )
if(j==2)                                                         printf("World"); 
printf(" world ");
}

Thanks For Reading More Information Nested If Else. Any Doubts Comment. Like This Post.

Saturday, 4 July 2015

if else statement in c

if else Statement in C Program

Definition Of if Statement : C Uses the keywords if  to implement the decision control instruction. The if statement like to be syntax .
if ( this condition true )
     execute statement here;

The Key of if tells the compiler time, when condition is true execute the given statement. Otherwise, Don't Perform The Operation Bellow Statement.If statement conditions like to be bellow.
if else statement
  • x==y      x is equal to y
  • x!=y       x is not equal to y
  • x<y        x is less than to y 
  • x>y        x is greater than to y
  • x<=y      x is less than or equal to y
  • x>=y      x is greater than or equal to y
Example For if Statement : 

#include<stdio.h>
int main()
{
int x;
printf("Enter The Number must be 10");
scanf("%d",&x);
if( x==10 )
printf(" x  value is %d equal to 10",x);
}

Multiple Statement in if Statement

The Multiple Statement , it may be happen that in a program .we want to be more than one statement extra to be executed . if the expression following if is satisfied. if such multiple statements are to be executed then they must be placed with in a pair of braces .

Following The Example For Multiple Statement 

#include<stdio.h>
int main()
{
int bouns,cy,yoj,yr_of_ser;
printf("Enter the Current Year and Year Of Joining ");
scanf("%d%d",&cy,&yoj);

yr_or_ser=cy-yoj;
if( yr_or_ser>3 )

{
bouns=2500;
printf("Bouns=rs %d",bouns);
}
}


if - else Statement

The if Statement , itself will execute a single statement or multiple statement . When the expression following if evaluates to true. the statement will be executed. The expression is false , the else statement will be executed. For Following Syntax and Example Bellow.

Program For if - else

#include<stdio.h>
int main()
{
int a,b,c;
printf("Enter The a and b values :");
scanf("%d%d",&a,&b);
c=a+b;
if(c==10)
{
printf("C value equal to 10");
}
else
{
printf("C Value not equal to 10");
}
}

Thanks For Reading More Information About C Programming Language Available Here !!