<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://strudel.pld.ttu.ee/wiki/e/index.php?action=history&amp;feed=atom&amp;title=IAG0581_-_Programming_I_%282015%29</id>
		<title>IAG0581 - Programming I (2015) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://strudel.pld.ttu.ee/wiki/e/index.php?action=history&amp;feed=atom&amp;title=IAG0581_-_Programming_I_%282015%29"/>
		<link rel="alternate" type="text/html" href="https://strudel.pld.ttu.ee/wiki/e/index.php?title=IAG0581_-_Programming_I_(2015)&amp;action=history"/>
		<updated>2026-04-21T17:53:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.4</generator>

	<entry>
		<id>https://strudel.pld.ttu.ee/wiki/e/index.php?title=IAG0581_-_Programming_I_(2015)&amp;diff=2476&amp;oldid=prev</id>
		<title>Hkinks: backupped last year's page (by SublimeText.Mediawiker)</title>
		<link rel="alternate" type="text/html" href="https://strudel.pld.ttu.ee/wiki/e/index.php?title=IAG0581_-_Programming_I_(2015)&amp;diff=2476&amp;oldid=prev"/>
				<updated>2016-08-11T10:06:52Z</updated>
		
		<summary type="html">&lt;p&gt;backupped last year&amp;#039;s page (by SublimeText.Mediawiker)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[IAG0581 - Programmeerimine I|Eesti keelne leht]] [[File:Estonia.png | 32px | link=IAG0581 - Programmeerimine I]]&lt;br /&gt;
== Links == &lt;br /&gt;
* [https://ois.ttu.ee/portal/page?_pageid=35,428610&amp;amp;_dad=portal&amp;amp;_schema=PORTAL&amp;amp;p_msg=&amp;amp;p_public=1&amp;amp;p_what=1&amp;amp;p_lang=ET&amp;amp;p_open_node2=&amp;amp;p_id=100807&amp;amp;p_mode=1&amp;amp;p_pageid=OKM_AINE_WEB_OTSING&amp;amp;_ainer_kood=iag0581 Course information in Study Information System OIS]&lt;br /&gt;
* '''[https://docs.google.com/document/d/1uf-X2HZC73b0U4mVBCY7D9wrrgBvu5UtlQJ5yvSJ90I/pub Announcements]'''&lt;br /&gt;
* '''[https://docs.google.com/spreadsheets/d/1MSrsvUsdJUbMzJ5MYUwNSj0BjIJKyZVvDaLv8uKlTMM/pubhtml?gid=882379455&amp;amp;single=true Results]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [http://ati.ttu.ee/wiki/index.php/Git_manual Git manual]&lt;br /&gt;
&lt;br /&gt;
=== Materials ===&lt;br /&gt;
''Vladimir Viies'' - http://www.tud.ttu.ee/im/Vladimir.Viies/materials/IAG0581,IAG0582,PROGRAMMEERIMINE/PR1/&lt;br /&gt;
&lt;br /&gt;
''Risto Heinsar'' - http://www.blue.pri.ee/ttu/programming-i/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Moodle materials ===&lt;br /&gt;
Self-registration from https://moodle.e-ope.ee/&lt;br /&gt;
&lt;br /&gt;
==General information==&lt;br /&gt;
===Points system===&lt;br /&gt;
* 15p - I test&lt;br /&gt;
* 15p - II test&lt;br /&gt;
* 15p - I homework&lt;br /&gt;
* 15p - II homework&lt;br /&gt;
* 40p - Labwork&lt;br /&gt;
* 10p - Bonus&lt;br /&gt;
&lt;br /&gt;
Grade&lt;br /&gt;
* &amp;lt; 50p - 0&lt;br /&gt;
* 50p - 1&lt;br /&gt;
* 60p - 2&lt;br /&gt;
* 70p - 3&lt;br /&gt;
* 80p - 4&lt;br /&gt;
* 90p - 5&lt;br /&gt;
&lt;br /&gt;
===Lectures===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Date !! Topic !! Deadlines&lt;br /&gt;
|-&lt;br /&gt;
| 01.09.2015 || Introduction to Git, concept of the algorithm ||&lt;br /&gt;
|-&lt;br /&gt;
| 15.09.2015 || Numeral systems, extremes and bubblesort, calendar || Possibility to write pre-exam&lt;br /&gt;
|-&lt;br /&gt;
| 29.09.2015 || UML, Shell sort. ||&lt;br /&gt;
|-&lt;br /&gt;
| 13.10.2015 || Writing test I (only algorithm) || '''I test''' &lt;br /&gt;
|-&lt;br /&gt;
| 27.10.2015 || C language, the basic language phrases, dialogue program || '''I homework''' (algoritm + programmikood)&lt;br /&gt;
|-&lt;br /&gt;
| 10.11.2015 || Sorting algorithm realization, subroutines || &lt;br /&gt;
|-&lt;br /&gt;
| 24.11.2015 || Writing test II (writing code) || '''II test''' and '''II homework ''' &lt;br /&gt;
|-&lt;br /&gt;
| 08.12.2015 || Final test(if necessary) ||&lt;br /&gt;
|}&lt;br /&gt;
http://www.tud.ttu.ee/im/Vladimir.Viies/materials/IAG0581,IAG0582,PROGRAMMEERIMINE/PR1/progr_I__eng/Progra1Cal5MVEB.xls&lt;br /&gt;
&lt;br /&gt;
===I homework task===&lt;br /&gt;
http://www.tud.ttu.ee/im/Vladimir.Viies/materials/IAG0581,IAG0582,PROGRAMMEERIMINE/PR1/progr_I__eng/Homework%20I.pdf&lt;br /&gt;
[http://www.tud.ttu.ee/im/Vladimir.Viies/materials/IAG0581,IAG0582,PROGRAMMEERIMINE/PR1/progr_I__eng/Homework%20formatting.pdf Formatting guidelines]&lt;br /&gt;
&lt;br /&gt;
== Lab computers ==&lt;br /&gt;
Labs are taking place in ICT-502.&lt;br /&gt;
&lt;br /&gt;
It is possible to connect remotely to ICT-502 linux computers through SSH. [http://mini.li.ttu.ee/~priit/IAY0340.2013/ssh_setup/putty_guide.html Remote SSH tutorial]&lt;br /&gt;
&lt;br /&gt;
ICT-502 computers have both Windows 7 and OpenSUSE 13.1 Linux operating system installed. For this course Linux will be used. If the computer is in Windows, restart it and choose ''OpenSUSE 13.1'' from the boot menu.&lt;br /&gt;
&lt;br /&gt;
=== Logging in to Linux ===&lt;br /&gt;
&lt;br /&gt;
When presented with the login screen,&lt;br /&gt;
# Choose the domain '''INTRA'''&lt;br /&gt;
# Insert your Uni-ID username. If you do not have it, you can get one from ICT-410 or with ID-card/residence permit from the website https://pass.ttu.ee.&lt;br /&gt;
# Insert password and press enter&lt;br /&gt;
&lt;br /&gt;
=== Beginning your work ===&lt;br /&gt;
Most of the time you will be needing terminal. The quickest way to open it is to '''right click on desktop''' and choose '''Open in Terminal'''.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| [[File:Loginselect.jpg|200px|thumb|none|Logging in]]&lt;br /&gt;
| [[File:Openterm.jpg|200px|thumb|none|Opening terminal]]&lt;br /&gt;
| [[File:Termopen.jpg|thumb|none|Terminal]]&lt;br /&gt;
|}&lt;br /&gt;
First thing you should type in is the command&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot; collapse=&amp;quot;false&amp;quot;&amp;gt;cad&amp;lt;/source&amp;gt;&lt;br /&gt;
This will prepare the environment for work, so that the following commands for opening software will work later on.&lt;br /&gt;
&lt;br /&gt;
==== Basic linux bash commands ====&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot; collapse=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
ls #outputs the files in the current directory&lt;br /&gt;
ls -l #outputs the contents of the current directory as a list with additional information, like permissions and date modified.&lt;br /&gt;
ls -a #outputs all of the files in the current directory, including dot files.&lt;br /&gt;
ls -la #outputs the contents of the current directory, combining the preferences from two last commands&lt;br /&gt;
cd new #changing directory to folder named ''new'' that resides in the current directory&lt;br /&gt;
cd .. #changes directory to parent directory&lt;br /&gt;
cd ../new #changes directory to folder named ''new'' which resides in the parent directory&lt;br /&gt;
mkdir newfolder #creates new folder with name ''newfolder''&lt;br /&gt;
cp main.c main2.c #copies the file ''main.c'' to ''main2.c''&lt;br /&gt;
mv main.c main2.c #moves the file ''main.c'' to ''main2.c''&lt;br /&gt;
man &amp;lt;command&amp;gt; #displays information about the specified command&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
For opening a program in the background, so you can continue using terminal, you can use ampersand (&amp;amp;). For example: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot; collapse=&amp;quot;false&amp;gt;firefox&amp;amp;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Network drives ====&lt;br /&gt;
Every student should have multiple network drives that they can access.&lt;br /&gt;
* P drive - For personal files. Limit 200MB&lt;br /&gt;
* W drive - Personal web directory. You can access this through web by going to http://www.tud.ttu.ee/web/&amp;lt;UNI-ID USER&amp;gt;. Limit 50MB.&lt;br /&gt;
* M drive - Materials&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
==== Compilation from terminal ====&lt;br /&gt;
For compiling code in terminal, there's a command '''gcc'''.&lt;br /&gt;
For example when you have saved your source code into file hello.c, then to compile it, insert:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot; collapse=&amp;quot;false&amp;quot;&amp;gt;gcc -o hello hello.c&amp;lt;/source&amp;gt;&lt;br /&gt;
This will create a compiled, binary file named ''&amp;quot;hello&amp;quot;''. To make sure it really did so, we can check by inserting command '''ls''', which will show the contents of the current directory.&lt;br /&gt;
&lt;br /&gt;
Next, we can execute by typing&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot; collapse=&amp;quot;false&amp;quot;&amp;gt;./hello&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Compilation under windows ====&lt;br /&gt;
For compiling C under Windows, you will need to download either one of the following, which includes gcc compiler:&lt;br /&gt;
&lt;br /&gt;
* MinGW	- http://www.mingw.org/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Cygwin - http://www.cygwin.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====C/C++ Integrated Development Environments (IDE)====&lt;br /&gt;
* Code::Blocks - http://www.codeblocks.org/ (Windows, Linux, Mac OS)&lt;br /&gt;
&lt;br /&gt;
To open in lab computers, use command '''codeblocks'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Geany - http://www.geany.org/ (Windows, Linux)&lt;br /&gt;
&lt;br /&gt;
To open in lab computers, use command '''geany'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Orwell Dev-C++ - http://sourceforge.net/projects/orwelldevcpp/ (Windows)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Text editors with syntax highlight ===&lt;br /&gt;
&lt;br /&gt;
* SciTE - http://www.scintilla.org/SciTE.html (Windows, Linux, Mac OS)&lt;br /&gt;
&lt;br /&gt;
To open in lab computers, use command '''SciTE'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Notepad++ - http://notepad-plus-plus.org/ (Windows)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Diagram drawing tools ===&lt;br /&gt;
&lt;br /&gt;
* ArgoUML - http://argouml.tigris.org/ (Windows, Linux)&lt;br /&gt;
&lt;br /&gt;
To open in lab computers, use command '''argouml'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Astah Community - http://astah.net/download#community (Windows, Linux, Mac OS)&lt;br /&gt;
&lt;br /&gt;
To open in lab computers, use command '''astah-com'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* yEd - http://www.yworks.com/en/products_yed_about.html. (Windows, Linux, Mac OS)&lt;br /&gt;
&lt;br /&gt;
To open in lab computers, use command '''yEd'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Jackson System Programming (JSP) Editor - http://www.his.se/english/university/contact/staff/henrik-engstrom/jsp-editor/ (Windows, Linux, Mac OS)&lt;br /&gt;
&lt;br /&gt;
To open in lab computers, use command '''jsp'''&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| [[File:Scite.png|200px|thumb|none|SciTE]]&lt;br /&gt;
| [[File:Argouml.png|200px|thumb|none|argoUML]]&lt;br /&gt;
| [[File:Yed.png|200px|thumb|none|yEd]]&lt;br /&gt;
| [[File:Jsp.png|thumb|none|Jackson System Programming (JSP) Editor]]&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Hkinks</name></author>	</entry>

	</feed>