Session

for Student

Close

First Programming – Python for AI – step1 (Exercises)

Times:5 sessions

Format:On-demand

Presented:AIC

(1) Purpose and content of the course

This is an exercise-style course for those who are new to programming. Participants are required to write and submit Python programs in response to the theme of each session, which will be graded by a grading file created by AIC. The course covers arithmetic operations, conditional branching (if statements), repetition (for and while statements), data types, recursive functions, etc. It is recommended to take this course in combination with “Python for AI: Your First Programming Step 1”. (It is also possible to take this course only, but less specific explanation of the grammar will be provided in this course).

(2) Contents of each session

Session 1: “System Tutorial

First, an explanation of the overall curriculum of this course, how to take the course, how to use the 90 minutes each time, and an introductory explanation of the execution environment, etc. As the first question, students will work on the tutorial problem “A+B”. The basic concepts of input/output, constraints, scoring, input/output examples, etc. will be explained while actually solving the problem, and the basic flow up to submission will be demonstrated. The execution environment for the participants is assumed to be a local PC and an online program execution service (e.g. Paiza.io). At the end of the course, students will be asked to solve a simple input/output test problem on their own to confirm the procedure.

Session 2: “Types and Operators

There will be about 3 or 4 exercises corresponding to those in the second session of “Python for AI: Your First Programming”. Specifically, we plan to deal with problems that use type conversion and arithmetic operators, and problems that require string manipulation. For each problem, students will watch a video explaining the contents of the problem, try to solve the problem on their own within the time specified for the difficulty level of each problem, submit the solution and check their score, watch the explanation video whether they solve the problem or not, and ask questions if they have any doubts or do not understand why they cannot get a perfect score. If you have any questions or do not understand why you did not get a perfect score, ask questions.

Session 3: “Data Structure and Branching

There will be 3 or 4 exercises corresponding to those in the third session of “Python for AI: Your First Programming Lesson, step 1. Specifically, problems using data structures such as list, tuple, dict, set, etc. and problems that require branching processing using if, elif, else will be treated. For each problem, students will watch a video explaining the contents of the problem, try to solve the problem on their own within the time specified for the difficulty level of each problem, submit the solution and check their score, watch the explanation video whether they solve the problem or not, and ask questions if they have any doubts or do not understand why they cannot get a perfect score. The cycle is repeated.

Session 4: “Loops

There will be 3 or 4 exercises corresponding to those in the 4th session of “Python for AI: Your First Programming”. Specifically, there will be problems on loop processing using for and while statements, as well as problems on multiple loops requiring break and continue statements. For each problem, students will watch a video explaining the contents of the problem, try to solve the problem on their own within the time limit specified for the difficulty level of each problem, submit the solution and check their score, watch the explanation video whether they solve the problem or not, and ask questions if they have any doubts or do not understand why they cannot get a perfect score. The cycle will be repeated.

Session 5: “Functions

There will be 3 or 4 exercises corresponding to those in the 5th session of “Python for AI: Your First Programming”. Specifically, we plan to deal with problems that require more advanced thinking, such as problems in which multiple functions are created by themselves and recursive functions. For each problem, students will watch a video explaining the contents of the problem, try to solve the problem on their own within a time limit specified for the difficulty level of each problem, submit the solution and check their score, watch the explanatory video whether they solve the problem or not, and ask questions if they have any doubts or do not understand why they cannot get a perfect score. The cycle is repeated.

ページトップ