Friday, 6 July 2012

Operators and its types

Operators and its Types

It refers as an operator is a symbol which is performing an operation .


Three categories of  operators

  1. Unary operator
  2. Binary operator
  3. Terinary operator

Unary operator is one operator and one operand only

Example: -X("-" is operator and "x" is a operand)

Binary operator is one operator and two operand

Example: x+y("+ "is operator and "x,y" is a operand)

Terinary operator is two operators and three operands

Example: (a>b)?a:b;("?,:" are operator and (a>b),a,b are operands)

Types of Operation

Java Supporting types of operators.They are
  • Assignment operator------------------------------------> "="
  • Arthmetic operator--------------------------------------> "-,+,*,/,%,++"
  • Relation operators/comparision operators--------> ">,<,>=,<=,==,!="
  • Logical operator/Boolean operator------------------>"&&,||,&,|,!,^"
  • Bit wise operator----------------------------------------->"&,|,^,<<,>>"
  • Compound Assignment operators--------------------> "+=,-=,*=,/=,%=,<<=,>>="
  • Conditional operatos/ternary operators------------>"?,:"




Standalone application and Web application

Standalone application and Web application


Standalone application


  • In Standalone application the networks is not applicable
  • Command prompt is required like DOS console
  • Creation, compilation, execution and output all are completed on a single system only
  • Program executed starts from main function onwards

Example:- C,C++

Web application

  • In web application networks is complusory
  • Web browser is required like IE(Internet Explorer )
  • In web applications creation compilation is on server side and execution and output both are done by client side
  • Program execution Starts from int() function onwords

Example:- JAVA, .NET

  • The application which is executed inside the web browser such applications are called as web application
  • Web applications are also called as internet applications /modern applications
  • web applications are GUI applications they are involving by 2 technologies
               Front end technologies
               Back end technologies

Front end technologies

>  These applications are used to take the input from the user as well as display the output
>The system which is used to take the input from the user, such system are called as client systems

Examples- HTML,JAVA,.NET,VB(Visual Basic)

Back end technologies

>These applications are used to store the DATA / Maniculating the data
>Generally these systems are called as server system
A server system is used for receiving the request and sending the response 

Example - ORACLE,MYSQL etc.....

Difference between C++ and JAVA

Difference between C++ and JAVA

C++


  • Platform dependent
  • Partial OOP(Object Oriented Language)/In complete
  • Pointers supported
  • Multiple inheritance supported by C++
  • Clear Data type takes one byte of memory
  • Operator over loading is supported by C++
  • Friend functions are supported by C++
  • It is a partial oop language where a program can able to write with class and with out class


JAVA

  • Platform Independent
  • Totally OOP(Object Oriented Language)/ FULLY
  • Inbuilt pointer are supported by JVM(or) pointers in JAVA
  • No multiple inheritance in JAVA directly
  • JAVA char Data type takes 2 bytes of memory
  • JAVA is not supporting operator overloading
  • No friend functions in JAVA
  • JAVA is a total oop language where every program must be writing inside the class only



Starting Excel

Starting Excel



  • Click on the start button on the windows taskbar to display the Start menu
  • Click on to all programs on the Start menu to display the All programs Submenu
  • select the Microsoft office in the All programs Submenu to Display the Microsoft office Submenu
  • Click Microsoft office Excel 2007 to start Excel and display a new blank workbook titled Book1 in the Excel window
  • If the Excel windows is not maximize  buttons next to the close buttons on its title bar to maximize the windows
  • If the worksheet windows in Excel is not maximized, click the Maximize buttons next to the close buttons on its title bar to maximize the worksheet windows within Excel



Creating a Work Sheet and an Embedded Chart

Creating a work sheet and an Embedded Chart


OBJECTIVES



>Start and quite Excel
>Enter text and numbers
>Use the sum buttons to sum a range of cells
>Copy the contents of a cell to a range of cells using the fill 
   handle
>Save a workbook
>Format cells in a worksheet
>Create a 3-D clustered column chart
>Change document Properties
>Save a workbook a second time using the same file name
>Print a worksheet
>Open a workbook
>Use the Auto Calculate area to determine Statistics
>Correct errors on a worksheet
>Use Excel help to answer questions

PLAN AHEAD


>Select titles and subtitles for the worksheet
>Determine the contents for rows and columns
>Determine the calculations that are needed
>Determine where to save the workbook
>Identify how to format various elements of the worksheet
>Decide on the type of chart needed
>Establish where to position and how to format the chart

Thursday, 5 July 2012

About Programming langauage

About Programming Langauage

Every language is depending two conditions.They are

1.Syntax --> Syntax always concentrating on grammar rules

2.Semantics--> Its is always concentrating on meaning of the Statement


----Programming language main benefit is communication with the sytstem



Programming language are available in 3 levels.They are

1.Low level language ----------------first generation


Example is BINARY LANGUAGE (Instruction format example 1100100101)


2.middle level language---------------second generation


Example is ASSEMBLY LANGUAGE(Instruction Format example MOV A B)


3.high level language-----------------Third,fourth, fifth generation 


Example is JAVA, .NET(Instruction format  main(){ })

Java and Oracle is Third Generation

What is langauage?

What is language?
A language is nothing but Communication media, in order to maintain communication a language is compulsory.

Languages are three types

1. Symbolic language

2.Natural language

3.Programming language

->Symbolic Language

using symbolic language animal language communication is possible

->Natural language

Natural language is used for maintain the communication between person to person 

               Person------------> Person

->Programming language

Programming language are used for maintain communication between a programmer and system

       Person------c,c++,java, .net------->Computer


C,C++ VS Java

C,C++ COMPARE WITH JAVA


In c,c++ we are unable to develop


1.Network applications like ATM withdraw, Online Ticket booking applications etc.,


2.Attractive GUI(Graphical User Interface) application are unable to develop in a short time.


In JAVA 


To overcome these problems we are going to follow JAVA language


JAVA is Just Another virtual analyzer


It is a unofficial Abbreviation


Java Language is a not only Object Oriented language but also a Structure Oriented language

Saturday, 30 June 2012

How to connect the vodafone mobile internet in laptop through bluetooth

HOW TO CONNECT THE VODAFONE MOBILE INTERNET IN LAPTOPS THROUGH BLUETOOTH


1. Go to mobile settings and select connectivity


2. And after select the admin.settings


3.And after you get packet data and SIP setting


4.Click on packet data and select access point


5.And after you write on www


6.Click ok


7. Coming to system click on start menu and select the control panel in that you select the network and sharing center


8.now you get below screen




9.Click on  set up new connection


10.And after click on dial up connection and click to next


11. Now you get the dial number check box in that you type *99# and enter the connection name finally click on connect


12. Now you have the one message to mobile Yes/No click Yes


13.Now you get the internet connection through the bluetooth.

How can install the themes in windows 7

How to install the theme in windows 7


1. First download the universalthemepatcher 32 bit/64 bit depends upon your operating system


2.Install the universalthemepatcher and after you get one screen in that you have 3 patch click on that



3. Restart you system and download the themes after download the theme. you have the folder file into the below link
  
                  C:\Windows\Resources\Themes


4.Now you can click on the themes in the above link
   or 
   select the themes through the right click on desktop and go to the personalize and select the theme which one you like most

How to hide the folder on windows 7

How to hide the folder on windows 7


1. Create the new folder by right click on desktop


2.After creating the folder go to folder properties by right click


3.After clicking the folder properties go to customise in that you get change icon


4.After completion the 3 step you can browse the empty icon which show below image and click ok




5.  Now you get the folder with file name only given below




6.After that go to start menu and search the "character map" and select the empty check box  

6.Select the empty check box you can get the copy option (or) go to the character to copy check box and copy inside that check box which show in blue color


7. After copying the empty letter finally go to folder and click on rename by rick click on folder and paste the letter what ever you copy from character map  and click on ok finally you get hide folder which shows below

How to hide the Drives from my computer

How to hide the drives from the My computer

It is very easy to hide the drives from my computers please follow the steps below

1. Go to start menu and click on run (or) click  on (windows+R) buttons at once time you can get the run

2.In run you type "gpedit.msc" and click ok


 3. Now you get below screen


4. Go to user configuration and select the administration template by single click and after you some file in that you select windows component

user configuration--->administration template--->windows component


5.In that windows component you have windows explorer please click on that

windows component--->windows explorer


6. In windows explorer you have so many files don't get confuse please select the hide these specific drivers in my computer file from windows explorer folder


7. Finally you got the below screen in that you click on Enabled option after click on that you will have one option in that screen. please select which drive you want to hide. Finally click on ok /apply
 

If you want to show the drives just go to 1-7.STEP in that click on NOT CONFIGURED 
  

Thursday, 28 June 2012

How to restore the database in SQL management studio of .net project

How to restore the database in SQL .net project


After the completion the project on the .not how to restore the database on the SQL server Management studio

1. open the new file project on the SQL which file contains the database folder and other folders of the project.

Example i have one project that is railway reservations folder in that abstact , database,etc.,, in database folder cotains 3 files .bak , .mdf, .LDF files. I open the railway reservation folder on SQL server

2. you can get the task by click on the right click button in that you get the restore option final you get the database just see in below


  3.After completion the above process you get the below page just click on the from device because you store the database in the harddisk onlythat why click on from device


 4. After complition the 2 step you will get the below page which is easily to browse the .bak file simply select where you store in database folder are anywhere else


   5. Now you will get the check button just click on that after you click ok button


    6. Now you select on overwrite with existing database

   7. Now to successfull restore the database into the SQL server management studio

How to remove the navbar in blogger

How to remove the navbar In new version blogger

  1. First we login into the blogger
  2. Go to templates and select the customise option which shows on below page
   3. And after you have been select the advanced option then you will get the scroll option instead you will get the AddCSS option plz check it on below page


   4. Now you get one text area field in that you write
          #navbar-iframe{display:none!important;}
 

Now you get the page with out navbar

Wednesday, 27 June 2012

History of Java

History Of Java

  • Java language developed by the company sun micro system

  • Sun means Stanford University Network

  • The creator of Java Language is James goseling

  • The main intention of Java software is developing a common remote control

  • The single remote control wanted to operate on all electronic consumeble

  • This project started in 1990-1992

  • The common remote control(CRC)  name is STAR7, at a time it can able to operate on seven electronic consumebles

  • The team developed this Java software is called as "GREE TEAM"

  • OAK is the first name of Java Langauage, later the name changed

  • Java has no abrevation it representation of an ISLAND IN INDONESIA

Types of java

TYPES OF JAVA

Java is available in 3 types

They are

  1. Javase(java standard edition)

  2. Javaee(java enterprise edition)

  3. Javame(java micro edition)

Javase

It is refer as a suitable to develope standalone or desktop applications

Javaee

It is refer as suitable for development of enterprise applications or big application.These are also be called as distributed application (or) Internet application

Javame

It is refer as suitable for mobile applications.
In once upon time it can be called as j2se,j2ee,&j2me

Java features and versions

JAVA FEATURES AND VERSIONS


Features

  1. .It is a simple language
  2. It is object oriented programming
  3. It is a multi threaded
  4. It is architecture neutural
  5. It is portable
  6. It is robust
  7. It is compiler & interpreted language
  8. It is a distributed
  9. It is secured
  10. It is Network based
  11. Java is dynamic language
  12. Java is a platform independent

Versions

It will display below from lower version to high version with code name

java development kit    ---------  version  ------- code name

Jdk                                                 1.0                      ____
jdk                                                  1.1                     _____
jdk                                                  1.2                   playground
jdk                                                  1.3                   kestrel
jdk                                                  1.4                   Marlyn
jdk                                                  1.5                   tiger
jdk                                                  1.6                   Mustang
jdk                                                  1.7                   dolphin                                                  

Monday, 25 June 2012

WHAT ARE FORMS IN HTML

WHAT ARE FORMS IN HTML

Form is nothing but entering the details into specific location for example text fields,checkbox,buttons etc.

online forms can be used in different purpose For example for online exam, online ticket booking,etc.

Forms are creating by inserting <form>....<?form>tags in the html code.

Example Program

<html>
<head>
<title>Forms</title>
</head>
<body>
<center><h1>Hello frnds</h1>
</center>
<Form>
<p><h5>Name:<input name="Name" type="Text" size="30"></p>(it display the onle line text field with 30 letters length)
<p><h5>Address:<textarea name="Address:" rows="5" cols="20"></textarea></p>(it display the text field for entering the data )
<br>
</br>
<input type="SUBMIT" value="SUBMIT">(it display the button of submit)
<input type="Reset" value="Reset">(it displays the reset button)
</form>
</body>
</html>

one form attribute that is password <input type="password" name="pwd"

one more attribute that is radio for using that select one in multiple options eg: gender
<input type="radio" name="gender" value="male"/>Male<br/>
<input type="radio" name="gender" value="female"/>Female

check box also similar as radio... it is used for selct multiple times in multiple options


<input type="checkbox" name="vehicle" value="car"/>i have a car<br/>
<input type="checkbox" name="vehicle" value="bus"/>i have a bus

  
simply copy the program and paste it on notepad and save with filename.html and open it on web browser

HOW TO INSERT THE IMAGE IN WEB PAGES

HOW TO INSERT THE IMAGE IN WEB PAGES

<img>...</img>tag is used for insert the image on web pages

some attributes we can use in this <img> tag

1.SRC is used to selcet the path of the image either in c drive nor in d drive

2.ALT is used for when the browser fails to show the image due to several reasons that time we use this ALT attribute for the displayed on the account of its absence.

3.ALIGN is used for arranging the image left/right/middle

4.BORDER is used for set border of the image

5.HEIGHT/WIDTH is used for set the height/width of the image

6.HSPACE/VSPACE is used for set the gaps /whote space between the text and image

7.NAME is used for specify the name of the image

EXAMPLE 

<html>
<head>
<title>Image</title>
<body>
<img src="select the path of the image(example c:\images\wallpaper\abc..jpg)" align="bottom">
</body>
</html>

NOTE:how can we find the path of the image?
just open the image in web browser u can get the path on the address bar(right click on the image open with web browser).

EXAMPLE FOR TABLE IN HTML

EXAMPLE FOR TABLE IN HTML

<html>
<head>
        <title>TAbles</title>
</head>
<body>
<center>
<font size=7 color=brown>
<h1>MY COLLEGE</h1>
</font>
<table border=3 align="center" bgcolor="blue">
<caption><h3>fee details</h3></caption>
<tr>
<th>student rollnumber</th>
<th>total amount</th>
<th>balance amount>/th>
</tr>
<tr>
<td>420</td>
<td>2300</td>
<td>1000</td>
</tr>
</table>
</body>
</html>    

copy this total program and paste in notepad and after u save with filename.html and open it on web browser

ABOUT TABLES IN HTML

ABOUT TABLES IN HTML


It is used to create a table that is representing the data in rows and columns. example college details of course, faculty, student and student roll number etc.,,

Entire data will be written in <table>.........</table>

It will be described some attributes

1. ALIGN is used for assigning value left/right/center respectively

2.BACKGROUND is used for to set the background image/graphics for the table

3.BGCOLOR is used for set color of the window

4.BORDERCOLOR is used for set the color of the border

5.BORDER is used for set the width of the border

6.COLS is used for to specify the number of columns

7.WIDTH is used for to specify the width of the table

8.HEIGHT is used for to specify the height of the table


Some of the attributes are used is <tr>...</tr> tag which is used  to corresponds to a single Row of a given table. The attributes are ALIGN,BGCOLOR,BORDERCOLOR,VALIGN (which is used for to assign the value in top,widdle,bottom)

similarly we use this attributes in <th>..</th>tag which is used for heading of the table. The attributes are ALIGN,BGCOLOR,BORDERCOLOR,VALIGN,WIDTH(to set the width of the table header).

<td>..</td> tag is used for to insert the data into each block of the table.

Saturday, 23 June 2012

Some simple Tags for HTML

SOME SIMPLE TAGS FOR HTML


<title>  is used for to display the address of the page on top of the line or tab

<br> is used for breaking the line

<center> is used for whatever you wrote it placed in center of the line.

<left> is used for whatever you wrote it must placed in left of the line

<right> is used for whatever you wrote it must be placed in right of the line

<p> is used for what ever you wrote it must be placed in paragraph

<font size> is used for to define the size of font

<font color> is used to denfine the color of font

HTML NESTED LIST

HTML NESTED LIST IS ONE OF THE LIST OF HTML


When one list type is included in other list type then such type of succession is usually referred to as Nested list

<html>
<head> 
    <title>Nested</title>
</head>
<body>
    <center><h1>NIET</h1></center>
    <ol type="1">
    <li>CSIT</li>
    <ol type="a">
    <li>Professors</li>
    <ol type="i">
    <li>Ravi</li>
    </ol>
   </ol>
   </ol>
</body>
</html>

SAVE WITH .HTML and after open the file on web browser

HTML ORDERED LIST

HTML ORDERED LIST

In ordered list we can display the text carrying large roman letters, small roman letters, capital letters etc.,

Ordered list intiates using the tags <OL type="Value"> text to be displayed </OL>

<html>
<head>
  <title>ordered</title>
</head>
<body>
MY STUFFS
<ol type="A">
<li>bag</li>
<li>watch</li>
</ol>
Music
<ol type="1">
<li>slow</li>
<li>fast</li>
<li>sad</li>
</ol>
</body>
</html>

SAVE WITH  .HTML and after open on web browser

HTML Unordered list

One of the list of HTML is Unordered list

To display text on the console, with each independent sentence being initiated with a bullet mark

Entire text is enclosed under this tags<UL> text to be displayed</UL> with each independent sentence initiating with <LI> and closing with </LI>.

Example

<HTML>
<Head>
<title>Unordered</title>
</head>
<body>
<ul>
     <li>black</li>
     <li>white</li>
     <li>green</li>
     <li>blue</li>
</ul>
</body>
</html>

SAVE WITH .HTML and after u can open the file on web browser

How to starts the HTML program

How to starts the HTML program

First open the system and after go to the Start menu

select the Run and typing the Notepad at the command prompt

Type the program

<HTML>
    <HEAD>
           <Title>My program</Title>
    </HEAD>
    <BODY>
    <p>how are you frnds</p>
    </BODY>
</HTML>

SAVE with .HTML  and after u can open the file on web browser.
                   

Few points to write HTML code

Few points to write HTML code

Every HTML codes begin with <HTML> tag and end with </HTML> tag

Every HTML saved by .HTML or .HTM

We can write the code on simple notepad

Output of the HTML document can be displayed by typing path where has been saved the path along with .HTML extension on the address bar of any web browser

If the browser is not displays our expected output, it means the HTML documents carries error

The HTML Language is not case sensitive we can use upper / lower case also will make no difference.

What is html?

WHAT IS HTML

HTML is stands for Hyper Text Mark up language.

This language is immensely used in developing web pages.

The HTML highlights different views of a given web page in terms of headers, titles, plain text, images, sounds etc.,

In HTML there is considered numerous inbuilt tags.

Tags is nothing but it is a special keyword supported by HTML., inscribed under gulliments "<' tag ">"