Бакалавриат
2020/2021
Программирование на языке Python
Статус:
Курс обязательный (Филология)
Направление:
45.03.01. Филология
Кто читает:
Департамент иностранных языков
Где читается:
Факультет гуманитарных наук (Нижний Новгород)
Когда читается:
2-й курс, 1 модуль
Формат изучения:
без онлайн-курса
Преподаватели:
Морозов Андрей Игоревич
Язык:
русский
Кредиты:
3
Контактные часы:
28
Программа дисциплины
Аннотация
The discipline "Programming in Python" introduces students of philology to programming tools that are applicable to solving various problems in the field of philology. At the end of the course, students will become familiar with the basics of programming in Python 3 for solving problems in the field of philology. Master the rules of Python 3 syntax, learning basic keywords, commands, and standard library 3 modules.
Цель освоения дисциплины
- Elimination of the psychological barrier inherent in many humanities students who have no programming experience and is expressed in fear or discomfort in relation to this type of activity.
- The student is familiar with some of the best Python 3 coding practices and common mistakes beginner programmers make.
- Development of algorithmic thinking for solving various problems.
- Mastering the rules of Python 3 syntax, learning the basic keywords, commands and modules of the standard library.
- Mastering programming in Python 3 for solving problems in the field of philology.
Планируемые результаты обучения
- The student has general knowledge of the subject according to the description of the topic.
Содержание учебной дисциплины
- Introduction.Programming language. Program. Algorithm. Algorithmic thinking. Features of the programming language Python 3. Types of errors. Debugging
- Variables.Values and types. Variables. Variable names and keywords. Expressions. Suggestions. Operators. Settlement procedure. Comments.
- FunctionsFunction. Function definition. Parameter, function argument. Function call. Local Variable Return Value Module. Import module. Built-in functions.
- Branching.Boolean expression. Comparison operators. Logical operators. Branching. Nested branches.
- LoopsLoop. Increment. Iteration. Endless loops. Recursion.
- StringsLine. Index. Splitting a string. Empty line. String operations. User input string. String methods.
- ListsList. Element. Link. Mutable and immutable data types. List of methods. Nested lists. List generators.
- DictionariesDictionaries. Key. Value. Dictionary methods. Using dictionaries and lists. Dictionary generators.
- Tuples.Tuple. Comparing tuples and lists. Using tuples.
- Sets.Sets. Operations with sets. Using sets.
- FilesFile. File object encoding. Reading and writing files.
- Word processing.Solving tasks related to text processing and analysis.
Список литературы
Рекомендуемая основная литература
- Learning Python : [covers Python 2.5], Lutz, M., 2008
- Джозеф Л. - Изучение робототехники с помощью Python - Издательство "ДМК Пресс" - 2019 - 250с. - ISBN: 978-5-97060-749-7 - Текст электронный // ЭБС ЛАНЬ - URL: https://e.lanbook.com/book/123716
- Саммерфилд М. - Python на практике - Издательство "ДМК Пресс" - 2014 - 338с. - ISBN: 978-5-97060-095-5 - Текст электронный // ЭБС ЛАНЬ - URL: https://e.lanbook.com/book/66480
Рекомендуемая дополнительная литература
- Python 3, Прохоренок, Н. А., 2016
- Python. Самое необходимое, Прохоренок, Н. А., 2015