# Python Fundamentals

1. 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

## Results

 -



### #1. What would be output of the above program?

 hello world
 helloworld
 error

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

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

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

 Single quotation mark
 Double quotation marks
 Triple quotation marks

### #4. Identifiers are

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

### #5. Which option is correct?

 a
 b
 c
 a and b
 a, b and c
 None of the above
None of the above is correct because  opening quotation is triple but closing is double. So, there would be an error Related Posts  Computer Vision in Python using OpenCV | Read an Image using OpenCV

### #6. 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  Sum of Natural Numbers in C++

### #7. Keywords are

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

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

 HELLO
 HAPPY

### #9. Which one is a special literal in Python?

 No
 Null
 None

### #10. Which one is a Boolean literal in Python?

 T
 True
 1