Tuesday 16 April 2013

introduction to visual basic & programming language


visual basic goes to 1960 ,VB 1.0 was introduced in 1991

:what does basic mean 

 "basic mean "Beginner All_purpose Symbolic Instruction Code



visual basic.net

:versions of visual basic

:Dos

IBM basic
quick basic
GW basic
turbo basic

: windows

visual basic

that mean all versions works under dos expect visual basic which works under windows system

?why visual basic


:we use visual basic for those reasons 
  1. we can use it for input or output information
  2. visual basic has IDE that mean integrated development environment
  3. visual basic commandos are similar  to the rules of the English Language
  4. and other properties that no available on dos system

programming basics



-->

what is the program? 

program is a set of  commandos line that are implemented to achieve a particular

what is the meaning of programming language?

 programming language aims to communicate with computer or machine . while human language aims to communicate with other human :)

what is machine (computer) language?

 machine language has gust two symbol . there are the numbers 1 and 0 , it was the first programming in the world and its the only programming language which computer understand

11001011010


Best programming language:

c++
java
c
visual basic

what is the compiler?

compiler is the responsible for convert program commandos line into machine language and its the only language that computer understand .

type of compilers :

1- interpreter:

  interpreter is a compiler which convert programming language to machine language and the conversion 
.process is sentence by sentence


2-compiler :

compiler convert the programming language commandos at once

what is the compiler type in visual basic?

compiler in visual basic class filed as interpreter and we can note that when we get an error in the program .we can see a red line under the error line .

what tasks do the compiler do ?

  1. convert programming language to machine (computer) language
  2. Discover   errors

type of errors in visual basic:


  1. Syntax errors
It error occurs due to violation Grammar . and as we know visual basic commandos slimier to English  

    2.  Logical error 

what is the different between computer and human?

human is different from computer that he can think Who is thinking for computer and guide it to Resolving any problem.

computer is different from human which its speed ,accurately and the large memory (couldn't forget any thing) 


p.s:

All programming language need a compiler expect machine language

No comments:

Post a Comment