<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>講義資料 on プログラミング演習B</title>
    <link>https://ksupbpb.github.io/2025/categories/%E8%AC%9B%E7%BE%A9%E8%B3%87%E6%96%99/</link>
    <description>Recent content in 講義資料 on プログラミング演習B</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja</language>
    <copyright>© 2026 </copyright>
    <lastBuildDate>Wed, 14 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://ksupbpb.github.io/2025/categories/%E8%AC%9B%E7%BE%A9%E8%B3%87%E6%96%99/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>第09講 機械学習（1/2; ベクトル、行列、可視化）</title>
      <link>https://ksupbpb.github.io/2025/lesson09/</link>
      <pubDate>Wed, 24 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson09/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;概要 
    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;第09講では，機械学習などで用いられるベクトル，行列をPython の NumPy ライブラリでどのように扱うかを学びます．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第01講 プログラミングAの復習，基本データ型（1/2; リスト，タプル）</title>
      <link>https://ksupbpb.github.io/2025/lesson01/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson01/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;概要 
    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;第01講では，では，プログラミングAで学んだ内容を復習します．
具体的には，Pythonの基本文法，ファイルの読み書き，リストとタプルについて復習します。
加えて，&lt;a
  href=&#34;grammer/#%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3%e5%bc%95%e6%95%b0&#34;&gt;コマンドライン引数&lt;/a&gt;についても学びます．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第10講 機械学習（2/2; 教師あり学習／教師なし学習）</title>
      <link>https://ksupbpb.github.io/2025/lesson10/</link>
      <pubDate>Wed, 11 Dec 2024 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson10/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;概要 
    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;span class=&#34;flex&#34; style=&#34;cursor: pointer;&#34;&gt;
  &lt;span class=&#34;rounded-md border border-primary-400 px-1 py-[1px] text-xs font-normal text-primary-700 dark:border-primary-600 dark:text-primary-400&#34;&gt;
    教科書 p.372（Lesson 13）
  &lt;/span&gt;
&lt;/span&gt;

&lt;p&gt;ここでは，機械学習の教師あり学習／教師なし学習について学びます．
以降，&lt;code&gt;scikit-learn&lt;/code&gt; を使って，教師あり学習の手法を実装していきますので，以下の手順でインストールしておいてください．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>まとめ</title>
      <link>https://ksupbpb.github.io/2025/lesson14/summary/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson14/summary/</guid>
      <description>この講義で学んだ内容のまとめとして、学んだ内容へのリンク集を掲載します。</description>
      
    </item>
    
    <item>
      <title>最終課題</title>
      <link>https://ksupbpb.github.io/2025/lesson14/final_assignment/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson14/final_assignment/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;概要 
    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;PyGame を用いてゲームを作成してください。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Player型の導入</title>
      <link>https://ksupbpb.github.io/2025/lesson12/player/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson12/player/</guid>
      <description>前回作成した例題7をオブジェクト指向のプログラムとして再構築し、機能を追加していきます。</description>
      
    </item>
    
    <item>
      <title>PyGame サンプルゲーム集</title>
      <link>https://ksupbpb.github.io/2025/lesson13/examples/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson13/examples/</guid>
      <description>PyGameを用いて作られたゲームを確認して、どのように作られているのかを確認しましょう。</description>
      
    </item>
    
    <item>
      <title>サンプルゲームを動かそう</title>
      <link>https://ksupbpb.github.io/2025/lesson11/examples/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson11/examples/</guid>
      <description>PyGameが提供するサンプルゲームを動かして、PyGameでどのようなことができるのかを確認します。</description>
      
    </item>
    
    <item>
      <title>PyGameの基本</title>
      <link>https://ksupbpb.github.io/2025/lesson11/basic/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson11/basic/</guid>
      <description>PyGameでの基本的なプログラミング方法を学びます。</description>
      
    </item>
    
    <item>
      <title>コードリーディング</title>
      <link>https://ksupbpb.github.io/2025/lesson13/code_reading/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson13/code_reading/</guid>
      <description>コードを読む力を養うために、コードリーディングと呼ばれる手法を紹介します。</description>
      
    </item>
    
    <item>
      <title>第02講 基本データ型（2/2; セット，ディクショナリ）</title>
      <link>https://ksupbpb.github.io/2025/lesson02/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson02/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;概要 
    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;第02講では，集合を扱うもののうち &lt;strong&gt;セット（set）&lt;/strong&gt; と &lt;strong&gt;ディクショナリ（dictionary）&lt;/strong&gt; について学習します．
セットは順序なしの要素の集まりであり，ディクショナリはキーと値のペアの集まりです．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>図形や画像を動かそう</title>
      <link>https://ksupbpb.github.io/2025/lesson11/animation/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson11/animation/</guid>
      <description>図形や画像を動かしてアニメーションを作成する方法を学びます。</description>
      
    </item>
    
    <item>
      <title>第03講 関数（1/2; 関数の基礎）</title>
      <link>https://ksupbpb.github.io/2025/lesson03/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson03/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;概要 
    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;第03講では，関数（function）の基本的な使い方について学習します．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>キーで操作しよう</title>
      <link>https://ksupbpb.github.io/2025/lesson11/keystroke/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson11/keystroke/</guid>
      <description>ユーザからのキー入力を扱う方法を学びます。</description>
      
    </item>
    
    <item>
      <title>第04講 関数（2/2; 関数の応用） </title>
      <link>https://ksupbpb.github.io/2025/lesson04/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson04/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;概要 
    &lt;div id=&#34;概要&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%a6%82%e8%a6%81&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;第04講では，引き続き関数について学習します．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第05講 再帰関数（1/2; 再帰関数の基礎）</title>
      <link>https://ksupbpb.github.io/2025/lesson05/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson05/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;再帰関数 
    &lt;div id=&#34;再帰関数&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e5%86%8d%e5%b8%b0%e9%96%a2%e6%95%b0&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;第05講では，再帰関数（recursive function）について学習します．
再帰関数は，関数の中で自分自身を呼び出すことができる関数です．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第06講 再帰関数（2/2; 探索）</title>
      <link>https://ksupbpb.github.io/2025/lesson06/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson06/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;探索（再帰関数） 
    &lt;div id=&#34;探索再帰関数&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;
    
    &lt;span
        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;
        &lt;a class=&#34;group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline&#34; href=&#34;#%e6%8e%a2%e7%b4%a2%e5%86%8d%e5%b8%b0%e9%96%a2%e6%95%b0&#34; aria-label=&#34;アンカー&#34;&gt;#&lt;/a&gt;
    &lt;/span&gt;        
    
&lt;/h2&gt;
&lt;p&gt;第06講では，データ構造を辿り，目的のデータを探索する再帰関数について学びます．
リストの中から目的のファイルを探すプログラムや
ディレクトリツリーの中のファイルやディレクトリを数えるプログラムなどを実装します．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第07講 クラス（1/2）</title>
      <link>https://ksupbpb.github.io/2025/lesson07/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson07/</guid>
      <description>&lt;p&gt;今日の Python はオブジェクト指向プログラミング言語（OOP; Object Oriented Programming Language）になっています．
他の人の書いたプログラムを読むときに，クラスやオブジェクト指向の書き方は，プログラムの理解に必須です．
2回に分けて，Python でのオブジェクト指向プログラミングを学びます．
1回目のこの講では，以下の内容を学びます．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第08講 クラス（2/2）</title>
      <link>https://ksupbpb.github.io/2025/lesson08/</link>
      <pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson08/</guid>
      <description>&lt;p&gt;今日の Python はオブジェクト指向プログラミング言語（OOP; Object Oriented Programming Language）になっています．
他の人の書いたプログラムを読むときに，クラスやオブジェクト指向の書き方は，プログラムの理解に必須です．
2回に分けて，Python でのオブジェクト指向プログラミングを学びます．
2回目のこの講では，以下の内容を学びます．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>補講01講 応用 Python プログラム</title>
      <link>https://ksupbpb.github.io/2025/supplemental/advanced/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/supplemental/advanced/</guid>
      <description>&lt;p&gt;ここではプログラミング演習B で学ぶには高度な内容や，
本筋から少し外れた内容を扱います．
必要なときに見返してみると良いかと思います．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>迷路ゲームを作る</title>
      <link>https://ksupbpb.github.io/2025/lesson12/maze/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson12/maze/</guid>
      <description>ここでは、例題として迷路ゲームを作成します。要件を提示しますので、その要件に従って作成していきましょう。</description>
      
    </item>
    
    <item>
      <title>補講02講 Webアプリケーション（Docker）</title>
      <link>https://ksupbpb.github.io/2025/supplemental/webapp/</link>
      <pubDate>Wed, 04 Dec 2024 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/supplemental/webapp/</guid>
      <description>&lt;p&gt;この講義では，Docker というコンテナ仮想化技術を用いて，Web アプリケーションを開発する方法を学びます．
Python で Web アプリケーションを作成するには，&lt;a
  href=&#34;https://msiz07-flask-docs-ja.readthedocs.io/ja/latest/&#34;
    target=&#34;_blank&#34;
  &gt;Flask（フラスク/フラスコ）&lt;/a&gt; もしくは &lt;a
  href=&#34;https://www.djangoproject.com/&#34;
    target=&#34;_blank&#34;
  &gt;Django（ジャンゴ）&lt;/a&gt; という Web フレームワークを利用するのが一般的です．
&lt;a
  href=&#34;https://survey.stackoverflow.co/2024/technology/#1-web-frameworks-and-technologies&#34;
    target=&#34;_blank&#34;
  &gt;Stackoverflowの調査&lt;/a&gt;では，Python の Web フレームワークでは，Flask が一番人気，次いで Django が人気のようです．
ここでは，Flask を Docker コンテナ上で動作させ，自作のプログラムを Web アプリケーションとして公開する方法を学びます．&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第11講 PyGame を用いたソフトウェア開発（1/3）</title>
      <link>https://ksupbpb.github.io/2025/lesson11/</link>
      <pubDate>Wed, 17 Dec 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson11/</guid>
      <description>&lt;p&gt;第11講から題13講にかけて、PyGameを用いてソフトウェア開発を行います。
PyGame はゲーム作成に役立つ機能を提供するライブラリです。
主に次のようなことができます。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ゲーム用にウィンドウを表示する。&lt;/li&gt;
&lt;li&gt;グラフィックスを表示する、動かせる。&lt;/li&gt;
&lt;li&gt;キーボード・マウスからの入力を受け付ける。&lt;/li&gt;
&lt;li&gt;音を鳴らせる。&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;以降、PyGame を利用するので、あらかじめ以下のコマンドで PyGame をインストールしておいてください。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第12講 PyGame を用いたソフトウェア開発（2/3）</title>
      <link>https://ksupbpb.github.io/2025/lesson12/</link>
      <pubDate>Wed, 24 Dec 2025 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson12/</guid>
      <description>&lt;p&gt;第11講から題13講にかけて、PyGameを用いてソフトウェア開発を行います。
PyGame はゲーム作成に役立つ機能を提供するライブラリです。
第12講は、第11講で作成したプログラムを&lt;a
  href=&#34;../lesson07&#34;&gt;第07講&lt;/a&gt;、&lt;a
  href=&#34;../lesson08&#34;&gt;第08講&lt;/a&gt;で学んだオブジェクト指向を導入して、全体的な見通しをよくします。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第13講 PyGame を用いたソフトウェア開発（3/3）</title>
      <link>https://ksupbpb.github.io/2025/lesson13/</link>
      <pubDate>Wed, 07 Jan 2026 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson13/</guid>
      <description>&lt;p&gt;自ら仕様を決めて、PyGame を用いたソフトウェア開発を行います。
そのためには、参考になるようなソースコードを読み、理解することが重要です。
そこで、PyGame で作られた様々なゲームのソースコードを読み解いて
どのように実装されているかを確認してみましょう。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>第14講 最終課題、期末試験、まとめ</title>
      <link>https://ksupbpb.github.io/2025/lesson14/</link>
      <pubDate>Wed, 14 Jan 2026 00:00:00 +0000</pubDate>
      
      <guid>https://ksupbpb.github.io/2025/lesson14/</guid>
      <description>&lt;p&gt;本講では、最終課題、期末試験の説明を行い、講義全体のまとめを行います。&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
