Add next homework files for weeks 4 - 6

This commit is contained in:
kajetan.szal 2021-01-28 21:43:42 +01:00
parent be5ad33638
commit 7924974e74
22 changed files with 136 additions and 0 deletions

12
wdi4/main.c Normal file
View File

@ -0,0 +1,12 @@
#include <stdio.h>
int main{
int n = 0;w
scanf("%d", &n);
for (int i = 0; i < n; i++) {
printf("%c", 'a' + (i % 26));
}
return 0;
}

1
wdi4/zad1.txt Normal file

File diff suppressed because one or more lines are too long

BIN
wdi4/zad1.zip Normal file

Binary file not shown.

BIN
wdi4/zad2.txt Normal file

Binary file not shown.

BIN
wdi4/zad2.zip Normal file

Binary file not shown.

BIN
wdi4/zad3.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 KiB

BIN
wdi4/zad3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
wdi4/zad4.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

BIN
wdi4/zad4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

123
wdi5xml_Szal.txt Normal file
View File

@ -0,0 +1,123 @@
<?xml version="1.0"?>
<!DOCTYPE shop [
<!ELEMENT shop (department+)>
<!ELEMENT department (shelf+)>
<!ATTLIST department domain CDATA #REQUIRED>
<!ELEMENT shelf (product*)>
<!ELEMENT product (name, price)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT price (#PCDATA)>
]>
<shop>
<department domain="Spożywczy">
<shelf>
<product>
<name>
Coca-cola puszka 250 ml
</name>
<price>
3 pln
</price>
</product>
</shelf>
<shelf>
<product>
<name>
Bułka kajzerka
</name>
<price>
0,80 pln
</price>
</product>
</shelf>
</department>
<department domain="Papierniczy">
<shelf>
<product>
<name>
Długopis wkład czarny
</name>
<price>
3 pln
</price>
</product>
</shelf>
<shelf>
<product>
<name>
Blok papier biały A4 50 kartek
</name>
<price>
5 pln
</price>
</product>
</shelf>
</department>
<department domain="Elektronika">
<shelf>
<product>
<name>
Sony ericsson odtwarzacz mp3
</name>
<price>
200 pln
</price>
</product>
</shelf>
<shelf>
<product>
<name>
Gra Fifa 09
</name>
<price>
99 pln
</price>
</product>
</shelf>
</department>
<department domain="Sport">
<shelf>
<product>
<name>
Piłka nożna Kappa
</name>
<price>
39 pln
</price>
</product>
</shelf>
<shelf>
<product>
<name>
Koszulka reprezentacja Polski Robert Lewandowski
</name>
<price>
69 pln
</price>
</product>
</shelf>
</department>
<department domain="Odzież">
<shelf>
<product>
<name>
Spodnie jeansy niebeiskie
</name>
<price>
199 pln
</price>
</product>
</shelf>
<shelf>
<product>
<name>
Klapki gumowe Kubota
</name>
<price>
29 pln
</price>
</product>
</shelf>
</department>
</shop>

BIN
wdi6/zad1a-tablica.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
wdi6/zad1a-uklad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
wdi6/zad1b-tablica.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
wdi6/zad1b-uklad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

BIN
wdi6/zad1c-tablica.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
wdi6/zad1c-uklad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
wdi6/zad1d-tablica.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
wdi6/zad1d-uklad.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
wdi6/zad2-subtraktor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
wdi6/zad2-tablica.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
wdi6/zad3-tabela.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
wdi6/zad3-wzor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB