Skip to content

Latest commit

 

History

History
197 lines (173 loc) · 2.1 KB

File metadata and controls

197 lines (173 loc) · 2.1 KB

Python

Below are all the possible things we will test for.

1. Basic Operators

  • +
  • -
  • *
  • **
  • /
  • //
  • %
  • =
  • +=
  • -=
  • *=
  • /=
  • !

2. Conditions

  • ==
  • !=
  • >
  • <
  • >=
  • <=

3. Data Types

  • Mutable

    • List
    • Byte Array
    • Dictionary
    • Set
  • Immutable

    • String
    • Byte
    • Tuple
    • Boolean
    • Integer
    • Decimal
    • Float
    • Complex
    • Frozen Set

4. Strings

  • \'
  • \"
  • \\
  • \n
  • \r
  • \t
  • \b
  • \ooo
  • \xhhh
  • Subscripting (Indexing)
  • Slicing
  • .format()

5. List

  • .append()
  • .pop()
  • .remove()
  • .clear()

6. Statements

  • import
  • if
  • elif
  • else
  • while
  • for
  • try
  • except
  • finally
  • raise
  • pass
  • break
  • continue
  • return
  • lambda
  • True
  • False
  • as
  • in
  • def
  • class
  • global

7. Basic Functions

  • len()
  • type()
  • abs()
  • all()
  • any()
  • ascii()
  • bin()
  • bool()
  • bytes()
  • complex()
  • dict()
  • dir()
  • enumerate()
  • eval()
  • exec()
  • filter()
  • float()
  • format()
  • getattr()
  • globals()
  • hasattr()
  • hash()
  • help()
  • hex()
  • input()
  • int()
  • isinstance()
  • issubclass()
  • list()
  • locals()
  • max()
  • map()
  • min()
  • next()
  • open()
  • pow()
  • print()
  • range()
  • round()
  • set()
  • setattr()
  • super()
  • sorted()
  • str()
  • sum()
  • tuple()
  • zip()
  • __main__()

8. Modules

  • argparse
    • argparse.ArgumentParser()
    • add_argument()
    • parse_args()
  • random
    • seed()
    • randbytes()
    • randrange()
    • randint()
    • random()
    • triangular()
  • json
    • load()
    • dump()

9. Classes

  • class
  • Inheritance
  • Multiple Inheritance
  • Private Variables
  • properties
  • Methods
  • Self
  • Instance Object
  • __init__(self)
  • __str__(self)
  • __iter__(self)
  • __next__(self)

10. Tasks

  • Create variables
  • Cast variables
  • Utilize Nested loops
  • Import modules
  • Utilize command line input
  • Read and write to a file
  • Create Functions
  • Function recursion
  • Create a class
  • Create a class using inheritance
  • Create object
  • Serialize and deserialize json
  • Create and use random numbers

11. PEP8

  • Style manually or utilizing pep8 tool