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