Examination objectives
Python language is a programming language that explains operations, is object-oriented and has strong expansibility, and is an effective tool for college students to master computer programming ability and understand computer problem-solving methods. By studying the programming of this language, students should be able to master the basic grammar and programming methods of Python language, understand the computational thinking in programming, and be able to debug and run on the computer to solve practical problems.
basic requirement
1. Familiar with Python development environment; Master the method of converting a program into an executable file.
2. Master the basic syntax of Python.
3. Be able to design, read and analyze Python programs.
4. Master the relevant knowledge of the database.
5. Master the usage of Python standard library and understand the acquisition, installation and use of Python third-party library.
Examination content
First of all, Python basic syntax
1. Syntax elements: program format, indentation, comments, identifiers (names), constants, variables, functions, expressions, reserved words, data types, assignment statements and modules.
2. Basic input and output functions: input (), eval () and print ().
3.Python programming style: Python code specification and common writing style.
4. Features of Python: Advantages and disadvantages of Python.
Second, the basic data types
1. Number types: integer, floating-point number (real number) and complex number.
2. Numerical operation: numerical operation operators and numerical operation functions.
3. String types: index, fragment and basic format () formatting method.
4. String type operations: string operators, processing functions and processing methods.
5. Constants and variables: definition, assignment and use of variables.
6. System functions and expressions: common system functions; Operator, priority, operation rules.
7. Type judgment and type conversion: type judgment function and type conversion function.
Third, the program control structure
Three control structures of 1. program: sequence, branch and loop structure.
2. Choose structure: single branch structure, double branch structure and multi-branch structure.
3. Cycle structure: traversal cycle, infinite cycle, pass, interrupt and continue.
4. Exception handling: try? Except.
Fourth, user functions, modules and code reuse.
Definition of 1. function. Create a function; Formal parameters.
2. Parameter passing: optional parameter passing, parameter name passing and function return value.
3. Call the function. Recursive call, parameter (actual parameter).
4. Variable scope: local variables and global variables; Local variables and external variables.
5. Modules and their use: the definition, creation and use of modules.
Verb (abbreviation for verb) combination data type
1. list: the definition, operation function and operation method of the list.
2.Tuple (optional): the definition, operation function and operation method of tuple.
3.set (optional): the definition, operation function and operation method of set.
4. Dictionary type: dictionary definition, key-value pair, operation function and operation method.
Six, file and data formatting
1. file usage: open, read, write, attach and close text and binary files.
2. Dimensions of data organization: one-dimensional data and two-dimensional data.
3. Processing of one-dimensional and two-dimensional data: representation, storage and processing.
4. Read and write a two-dimensional data file in CSV format: the use of CSV format.
Seven. Objects and methods
1. Basic concepts: class, object, attribute, event, method, object-oriented design OOP.
2.2 characteristics. OOP: encapsulation, inheritance and polymorphism of classes and objects.
3. Classes and objects: the creation and use of classes and objects.
4. Events and methods: design, implementation and calling methods of events and methods.
Eight. Database database
1. Basic concepts of database: data, table, database DB, database management system DBMS and database system DBS.
2. Databases and tables: table structure design, database creation, table creation and table deletion.
3. Record editing and query: insert, modify, delete, query and cursor.
Nine, Python computing ecology
1. standard libraries: tkinter library, turtle library, random library.
2. How to acquire and install third-party libraries: Learn how to use third-party libraries.
The above is the outline of 2020 computer Python examination in Zhejiang universities compiled by Bian Xiao. Let's take a look at the students who are going to take the second interview. Want to know the exam trends in time? Free appointment SMS reminder? At that time, the global Ivy League will remind you of the relevant information of the national computer grade examination in time. Friendly reminder of Ivy League: For those who want to take the computer level 2 exam, Ivy League has specially prepared the computer level 2 exam materials for you. If necessary, please click below the article? Free download >>& gt Computer Level 2 exam materials? Download learning.