# Python Fundamentals

This lecture series contains videos, study materials and quizzes related to the following topics.
Python character set
Tokens and its types
The basic process to follow the lecture series is.
1- First watch video
3- Finally, take the quiz
4- If any problem or error in lecture series comment

## Things to remember

Character set is a set of valid characters which Python recognizes and uses.

Python has the following character set.

Letters: {a,b,c,….,z} {A,B,C,…Z}
Digits: {0,1,2,3,4,….,9}
Special Symbols: (), _, #, {}
Whitespaces: newline, tab, formfeed
ASCII and Unicode characters

## Sources Sunita Arora, Computer Science with Python Textbook for Class XI, Dhanpat Rai and Co., Edition 2019, Pages 120-154.

You have learned it is time to test yourself

## Results

 -
Share to Your Friend                Related Posts  User Defined Functions in Python
Share to Your Friend                Related Posts  Lambda Function in Python



###  #1 Which is a valid identifier in Python?

 DATA-REC
 29CLCT
 _DS
 del
Correct option is _DSOption DATA-REC is false because -(hyphen)  can not be part of an identifier. (adsbygoogle = window.adsbygoogle || []).push({}); Option 29CLCT is false because 29( a number i)  can be part of  an identifier, however, it can not be at the beginning. Related Posts  User Defined Functions in Python

###  #2 Keywords are

 Words that convey a special meaning to the Python languages.
 Data items that have a fixed value.

###  #3 Identifiers are

 Tokens that trigger some computation when applied to variables
 Used for the names given to different parts of a program.

###  #4 An escape sequence is represented by.

 Backslash followed by one or more characters
 Forwardslash followed by one or more characters

###  #5 What would be the output of the above program? (See ASCII code table corresponding to hexadecimal values)

 HELLO
 HAPPY

###  #6 Which one is a Boolean literal in Python?

 T
 True
 1

###  #7 Which one is a special literal in Python?

 No
 Null
 None

###  #8 Which quotation mark can be used for a multiline string?

 Single quotation mark
 Double quotation marks
 Triple quotation marks

###  #9 What would be output of the above program?

 hello world
 helloworld
 error

###  #10 Which option is correct?

 a
 b
 c
 a and b
 a, b and c