Flashcards
Python Fundamentals
Cards in this deck (12)
- 1Advantages of Python1. easy to use
2. cross platform language
3. variety of usage
4. interpreted language
5. free and open source - 2Disadvantages of python1. not the fastest language
2. lesser libraries than JAVA and perl
3. not strong on type binding
4. not easily convertible - 3Character setIt is a bunch of identifying elements in python
- 4Tokens / Lexical unitsTokens are the smallest individual units in python language.
- 5Types of TokensPOKIL
1. Keywords
2. Identifiers
3. Literals
4. Punctuators
5. Operators - 6Keywords with examplesKeywords are reserved words which have a special meaning in python language.
eg: and , break , if etc - 7IdentifiersTokens are the names given to different parts of python program
- 8LiteralsLiterals are also called constants. These are the values which never change during the execution of a program
- 9Types of Literals1. String literals
2. Numeric Literals
3. Boolean Literals
4. Special literal None
5. Literal collections - 10String LiteralsThey are a sequence of letters enclosed in quotes
- 11Types of String Literals1. single line string
2. multi line string - 12Single line stringStrings Created using single quotes or double quotes
Information
- Description
- CBSE Central Board of Secondary Education Computer Science Flashcards on Python Fundamentals, created by Neha Thomas on 05/09/2020.
- Created by
- Neha Thomas
- Views
- 0
- Rating