Evaluate an expression to identify the data type Python will assign to each variable
- Identify str, int, float, and bool data types
Perform data and data type operations
- Convert from one data type to another type; construct data structures; perform indexing and slicing operations
Determine the sequence of execution based on operator precedence
- Assignment; Comparison; Logical; Arithmetic; Identity (is); Containment (in)
Select the appropriate operator to achieve the intended result
- Assignment; Comparison; Logical; Arithmetic; Identity (is); Containment (in)
Construct and analyze code segments that use branching statements
- if; elif; else; nested and compound conditional expressions
Construct and analyze code segments that perform iteration
- while; for; break; continue; pass; nested loops and loops that include compound conditional expressions
Construct and analyze code segments that perform file input and output operations
- Open; close; read; write; append; check existence; delete; with statement
Construct and analyze code segments that perform console input and output operations
- Read input from console; print formatted text; use of command line arguments
Document code segments using comments and documentation strings
- Use indentation, white space, comments, and documentation strings; generate documentation by using pydoc
Construct and analyze code segments that include function definitions
- Call signatures; default values; return; def; pass
Analyze, detect, and fix code segments that have errors
- Syntax errors; logic errors; runtime errors
Analyze and construct code segments that handle exceptions
- Try; except; else; finally; raise
Perform basic operations using built-in modules
- Math; datetime; io; sys; os; os.path; random
Solve complex computing problems by using built-in modules
- Math; datetime; random
2. Keywords in Python
3. Python operators precedence chart
4. Modes for opening file
5. Python Crash Course: Chapter 2-8, 10 [download]
6. Random Numbers [Link]
7. Pydoc and docstring [link1] and [link2]
8. Math module [link]
9. Sys module [link1] and [link2]
Following are few sources, that you can consult for practicing for the exam.
GIT ShowCase
GitHub