diff options
Diffstat (limited to 'kpov_judge/tasks/rdate/preparation/howtos')
15 files changed, 0 insertions, 57 deletions
diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu1.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu1.png Binary files differdeleted file mode 100644 index c6eeac8..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu1.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu15.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu15.png Binary files differdeleted file mode 100644 index c2ac808..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu15.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu2.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu2.png Binary files differdeleted file mode 100644 index 85fcfa8..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu2.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu3.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu3.png Binary files differdeleted file mode 100644 index 831e764..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu3.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu4.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu4.png Binary files differdeleted file mode 100644 index 495351a..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu4.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu5.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu5.png Binary files differdeleted file mode 100644 index 103e0e6..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu5.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu6.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu6.png Binary files differdeleted file mode 100644 index b032223..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu6.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu7.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu7.png Binary files differdeleted file mode 100644 index bd50500..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu7.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu8.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu8.png Binary files differdeleted file mode 100644 index 98f7812..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu8.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/bu9.png b/kpov_judge/tasks/rdate/preparation/howtos/images/bu9.png Binary files differdeleted file mode 100644 index 9ed78ce..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/bu9.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/predvaja_clip_image003.gif b/kpov_judge/tasks/rdate/preparation/howtos/images/predvaja_clip_image003.gif Binary files differdeleted file mode 100644 index 02be389..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/predvaja_clip_image003.gif +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/s1.png b/kpov_judge/tasks/rdate/preparation/howtos/images/s1.png Binary files differdeleted file mode 100644 index 52b6ee5..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/s1.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/s2.png b/kpov_judge/tasks/rdate/preparation/howtos/images/s2.png Binary files differdeleted file mode 100644 index 78a65ce..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/s2.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/images/s3.png b/kpov_judge/tasks/rdate/preparation/howtos/images/s3.png Binary files differdeleted file mode 100644 index c32eae1..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/images/s3.png +++ /dev/null diff --git a/kpov_judge/tasks/rdate/preparation/howtos/si/index.html b/kpov_judge/tasks/rdate/preparation/howtos/si/index.html deleted file mode 100644 index a22f5c2..0000000 --- a/kpov_judge/tasks/rdate/preparation/howtos/si/index.html +++ /dev/null @@ -1,57 +0,0 @@ -<html>
-
-<head>
-<meta http-equiv=Content-Type content="text/html; charset=windows-1250">
-</head>
-
-<body><font face="Georgia, Times New Roman, Times, serif">
-<strong><h1>XX. predvaja:</h1></strong><br>
-<p><strong><h2>Naloga na hitro:</h2></strong><br>
- Nastavi uro na strežniku s pomočjo rdate. Napiši program, ki pretvori 24-bitna števila z dvojiškim komplementom v decimalno obliko.</p>
-<p><strong><h2>Navodila:</h2></strong><br>
- 1. Iz imenika s slikami virtualnih računalnikov povlecite sliki Student.vdi(klient) in SimpleArbiter.vdi(strežnik).<br>
- 2. Z VirtualBoxom (ali ostalim programom za virtualne računalnike) ustvarite dva virtualna računalnika in jim kot disk za shranjevanje podajte Student.vdi ter SimpleArbiter.vdi.<br>
- 3. Zaženite oba navidezna računalnika.<br>
- 4. Na Student se prijavite z uporabnikom <strong>root</strong> in geslom <strong>kaboom</strong> na SimpleArbiter pa z uporabnikom <strong>tester</strong> in geslom <strong>SedemKrogovPekla</strong>.</p>
-<img src="slike/bu15.png"> <img src="slike/bu1.png">
-<p><h3><u><strong><em>Prvi del naloge: posodobi uro računalnika s pomočjo rdate.</em></strong></u></h3><br>
- 1. Preverite in si zapišite IP naslov na SimpleArbiter. (ifconfig)<br><img src="slike/bu2.png"><br><img src="slike/bu3.png"><br>
- 2. Z ukazom <strong>sudo apt-get install</strong> rdate namestimo program rdate.<br>
- 3. Na Student z pomočjo rdate posodobi uro računalnika. <strong>rdate IP_SIMPLE_ARBITER</strong><br><img src="slike/bu4.png"><br>
- Opozorilo: NI napaka, če se posodobljen čas ne ujema s pravilnim časom. <br>
- </p>
-<p><br>
- <u><strong><em><h3>Drugi del naloge: napiši program, ki pretvori binarni zapis 32-bitnega števila v decimalnega.</h3></em></strong></u><br>
- Nalogo lahko rešite v Javi ali v Pythonu. Prav tako pa lahko kodo pišete v poljubnem tekstovnem urejevalniku.</p>
-<p><br>
- JAVA------<br>
- 1. Z ukazom nano bintodec3.java ustvarimo in odpremo prazen program s tekstovnim urejevalnikom nano<br>
- 2. Napišemo program za pretvarjanje 24-bitnega števila z dvojiškim komplementom v decimalno obliko<br>
-<img src="slike/bu6.png"><br><img src="slike/bu7.png"><br>
- 3. Pritisnemo Ctrl+X, nato Y in Enter, da program zapremo in shranimo.<br>
- 4. Če je še nimamo, naložimo Javo <strong>sudo apt-get install openjdk-6-jdk</strong><br><img src="slike/predvaja_clip_image003.gif"><br>
- 5. Prevedemo program <strong>javac bintodec3.java</strong><br>
- 6. Lahko ga še zaženemo ter preizkusimo <strong>java bintodec3</strong>. Na standardni vhod vnašamo 24-bitno število v šestnajstiški obliki<br><img src="slike/bu9.png"><br></p>
-<p>PYTHON------<br>
- 1. Z ukazom nano bintodec3.py ustvarimo in odpremo prazen program s tekstovnim urejevalnikom nano<br>
- 2. Napišemo program za pretvarjanje 24-bitnega števila z dvojiškim komplementom v decimalno obliko<br>
-<img src="slike/bu5.png"><br>
- 3. Pritisnemo Ctrl+X, nato Y in Enter, da program zapremo in shranimo.<br>
- 4. Program zaženemo z ukazom <strong>python bintodec3.py</strong><br><img src="slike/bu8.png"><br></p><br><br>
-
-
- <p>
- <h3> Testiranje </h3>
- 1. Lahko poženemo tester; z ukazom ./run_test.py<br>
- <img src="slike/s1.png"><br>
- 2. Kot "Upor. Ime" in "Geslo" napišite vaše podatke učilnice. (npr.: "pz1234@student.uni-lj.si" in "geslo123")<br>
- <img src="slike/s2.png"> <img src="slike/s3.png"> <br>
- 3. Kot ime naloge vpišite XX.predvaja.<br>
- 4. Ko vas program vpraša po poti programa vnesite vašo pot do programa za pretvarjanje. (npr.: če imate program bintodec3.py v isti mapi kot program run_test.py, vnesete: ./bintodec3.py)<br>
- 5. Povpraša tudi po IP naslovu SimpleArbiterja, vnesite.<br>
- 6. Če je šlo vse po sreči, program vrne OK vi pa ste opravili nalogo.</p>
-
- </font>
-</body>
-
-</html>
|