• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Programming in Python

2020/2021
Academic Year
RUS
Instruction in Russian
3
ECTS credits
Delivered at:
School of Applied Linguistics and Foreign Languages
Course type:
Compulsory course
When:
2 year, 1 module

Instructor

Программа дисциплины

Аннотация

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.
  • Functions
    Function. 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.
  • Loops
    Loop. Increment. Iteration. Endless loops. Recursion.
  • Strings
    Line. Index. Splitting a string. Empty line. String operations. User input string. String methods.
  • Lists
    List. Element. Link. Mutable and immutable data types. List of methods. Nested lists. List generators.
  • Dictionaries
    Dictionaries. 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.
  • Files
    File. File object encoding. Reading and writing files.
  • Word processing.
    Solving tasks related to text processing and analysis.
Элементы контроля

Элементы контроля

  • неблокирующий Task list
  • неблокирующий Home work
Промежуточная аттестация

Промежуточная аттестация

  • Промежуточная аттестация (1 модуль)
    0.5 * Home work + 0.5 * Task list
Список литературы

Список литературы

Рекомендуемая основная литература

  • 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