HOMEビジネス 基礎から分かる!プログラミング講座 - 「プログラムの構造は、順次処理、分岐、繰り返しの3種類のみ」

基礎から分かる!プログラミング講座 - 「プログラムの構造は、順次処理、分岐、繰り返しの3種類のみ」

Shingo Hirono

2013/07/18(最終更新日:2013/07/18)


このエントリーをはてなブックマークに追加

[{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29098","time":"2013-07-18 11:34:56","post":"u003Ch4u003E■基礎から分かる!プログラミング講座u003C/h4u003E","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003Cdiv class="ResultImage"u003Eu003Cimg src="https://imgs.u-note.me/note/uploadimage/47485470.jpg"/u003Eu003C/divu003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29100","time":"2013-07-18 11:36:33","post":"u003Ch4u003E世の中に存在するプログラミング言語u003C/h4u003E","order":"0","renote":"0","row":"0"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29101","time":"2013-07-18 11:39:00","post":"u003Cbu003E<コンパイル型言語>u003C/bu003Eu003Cbru003Eu003Cbru003Ec, c++, c#, Visual Basic, Java COBOL, PowerBuilder, Pascal, FORTRANu003Cbru003Eコンパイル型言語は、コードを書いたらコンパイル作業しないと実行できない。nnnu003C/bru003Eu003C/bru003Eu003C/bru003E","order":"0","renote":"0","row":"0"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29102","time":"2013-07-18 11:40:36","post":"u003Cbu003E<インタプリタ型言語>u003C/bu003Eu003Cbru003Eu003Cbru003EPHP, Ruby, Perl, python, JavaScriptu003Cbru003Eインタプリタ型言語は、コンパイルする必要がない。コードを書いたらすぐに使える。nnnu003C/bru003Eu003C/bru003Eu003C/bru003E","order":"0","renote":"0","row":"0"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29103","time":"2013-07-18 11:42:16","post":"u003Ch4u003Eプログラミングの基礎をPHPで説明u003C/h4u003E","order":"0","renote":"0","row":"0"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29104","time":"2013-07-18 11:43:13","post":"<プログラムの構造は基本的に3種類しかない>u003Cbru003Eu003Cbru003E1. 順次処理u003Cbru003E2. 分岐u003Cbru003E3. 繰り返しnnnnu003C/bru003Eu003C/bru003Eu003C/bru003Eu003C/bru003E","order":"0","renote":"0","row":"0"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29105","time":"2013-07-18 11:43:45","post":"u003Ch4u003E1. 順次処理u003C/h4u003E","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29107","time":"2013-07-18 11:44:10","post":"1つずつ処理を行っていく。実習すると下記のようになる。","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29108","time":"2013-07-18 11:44:24","post":"u003Ch4u003E2. 分岐u003C/h4u003E","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29110","time":"2013-07-18 11:45:44","post":"条件によって処理を変える。実習すると下記のようになる。","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29112","time":"2013-07-18 11:46:17","post":"u003Ch4u003E3. 繰り返しu003C/h4u003E","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29113","time":"2013-07-18 11:46:33","post":"同じ処理を繰り返す。実習すると下記のようになる。","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29117","time":"2013-07-18 11:49:22","post":"u003Ch4u003ETwitterボットを作ろうu003C/h4u003E","order":"0","renote":"0","row":"0"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29118","time":"2013-07-18 11:50:48","post":"プログラムを実行すると、現在時刻をつぶやくボット。必要なコード量は下記の程度くらいになる。","order":"0","renote":"0","row":"0"},{"post":"u003Cdiv class="ResultImageBox"u003Eu003C/divu003E","type":"memo"},{"user_id":"1740224026","event_id":"1353","enabled":"1","id":"29120","time":"2013-07-18 11:53:06","post":"<ボットの作成手順>u003Cbru003E1. ボット用のTwitterアカウントを作るu003Cbru003E2. Twitterのdeveloperに登録して、OAuth用の認証コードをもらうu003Cbru003E3. 認証用プログラムファイルもダウンロードするu003Cbru003E4. PHPプログラムを書くu003Cbru003E5. 実行するnnnnnnu003C/bru003Eu003C/bru003Eu003C/bru003Eu003C/bru003Eu003C/bru003E","order":"0","renote":"0","row":"0"}]

hatenaはてブ


この記事の関連キーワード