1. Prof. Neeraj Bhargava
Pramod Singh Rathore
Department of Computer Science
School of Engineering & System Sciences,
MDS University Ajmer, Rajasthan, India
1
Basics of Web Programming using
ASP.NET
3. Character Set
It is a set of valid characters that a language can
recognize
A character represent any letter, digit etc
Eg :
Letters A-Z, a-z
Digit 0-9
Special symbol: +,-,?,*
3
5. Token
Keyword
Are reserved word in a program
E.g. for, if-else, void , main etc
Identifiers
Names given to different parts of the program like for variables
, objects, classes, function , array, etc
Valid identifier : MyFile, _Rollno
Invalid identifier : 3Myfile, my.file
5
6. Token
Literals
Or constant which never change their value during the program
run
Integer Constant : 7,100,9
Character Constant : ‘c’ , ’d’
Real Constant : 7.0 ,8.9
String Constant : “psr”
6
8. Data Types and Variable
Variable are used to store piece of information
Student _Name
Data types are used to declare the type of variable
int
Float
String
Char
bool
8