mirror of
https://github.com/AlatarQ/AHE.git
synced 2024-12-07 23:00:04 +01:00
Nowe repo
This commit is contained in:
parent
0962585959
commit
727dd662e2
BIN
AiSD/Ćwiczenie 1/AiSD5_C1 Ćwiczenie 1.pdf
Normal file
BIN
AiSD/Ćwiczenie 1/AiSD5_C1 Ćwiczenie 1.pdf
Normal file
Binary file not shown.
BIN
AiSD/Ćwiczenie 1/Zadanie 1.docx
Normal file
BIN
AiSD/Ćwiczenie 1/Zadanie 1.docx
Normal file
Binary file not shown.
110
AiSD/Ćwiczenie 1/Zadanie 1.drawio
Normal file
110
AiSD/Ćwiczenie 1/Zadanie 1.drawio
Normal file
|
@ -0,0 +1,110 @@
|
|||
<mxfile host="app.diagrams.net" modified="2023-12-26T14:00:11.450Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0" etag="6SluqkW5Lv7hbOQHYW4x" version="22.1.11" type="device">
|
||||
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||
<mxGraphModel dx="1426" dy="751" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-0" value="<font style="font-size: 16px;">Start</font>" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.start_1;whiteSpace=wrap;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;locked=0;connectable=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="210" y="40" width="100" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-1" value="<font style="font-size: 14px;">Czytaj: ROK</font>" style="shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="195" y="150" width="130" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-2" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" target="1UC2pnBAoffbAsrEaLbG-1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="260" y="100" as="sourcePoint" />
|
||||
<mxPoint x="300" y="360" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-3" target="1UC2pnBAoffbAsrEaLbG-36">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="130" y="540" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-22" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="1UC2pnBAoffbAsrEaLbG-20">
|
||||
<mxGeometry x="-0.5926" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-3" target="1UC2pnBAoffbAsrEaLbG-5">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="420" y="260" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-24" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="1UC2pnBAoffbAsrEaLbG-23">
|
||||
<mxGeometry y="-1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-3" value="ROK mod 400 = 0" style="rhombus;whiteSpace=wrap;html=1;aspect=fixed;fontSize=14;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="190" y="260" width="140" height="140" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-4" value="" style="endArrow=classic;html=1;rounded=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-1" target="1UC2pnBAoffbAsrEaLbG-3">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="250" y="410" as="sourcePoint" />
|
||||
<mxPoint x="300" y="360" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-5" target="1UC2pnBAoffbAsrEaLbG-6">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-32" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="1UC2pnBAoffbAsrEaLbG-27">
|
||||
<mxGeometry x="0.0571" y="3" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-5" value="ROK mod 4 = 0" style="rhombus;whiteSpace=wrap;html=1;fontSize=14;aspect=fixed;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="395" y="260" width="140" height="140" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-6" value="<span style="font-size: 14px;">ROK mod 100 = 0</span>" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="395" y="500" width="140" height="140" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-5" target="1UC2pnBAoffbAsrEaLbG-38">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="630" y="540" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-29" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="1UC2pnBAoffbAsrEaLbG-28">
|
||||
<mxGeometry x="-0.6214" y="2" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-6" target="1UC2pnBAoffbAsrEaLbG-38">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="580" y="570" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-35" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="1UC2pnBAoffbAsrEaLbG-30">
|
||||
<mxGeometry x="-0.0857" y="-1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-6" target="1UC2pnBAoffbAsrEaLbG-36">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="180" y="570" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-33" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="1UC2pnBAoffbAsrEaLbG-31">
|
||||
<mxGeometry x="-0.25" y="-1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-36" value="ROK jest przestępny" style="shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="50" y="540" width="110" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-38" value="ROK jest<br>nieprzestępny" style="shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="610" y="540" width="140" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-39" value="Koniec programu" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="325" y="730" width="100" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-38" target="1UC2pnBAoffbAsrEaLbG-39">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="1UC2pnBAoffbAsrEaLbG-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="1UC2pnBAoffbAsrEaLbG-36" target="1UC2pnBAoffbAsrEaLbG-39">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
4
AiSD/Ćwiczenie 1/Zadanie 1.drawio.svg
Normal file
4
AiSD/Ćwiczenie 1/Zadanie 1.drawio.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 20 KiB |
BIN
AiSD/Ćwiczenie 1/Zadanie 2.docx
Normal file
BIN
AiSD/Ćwiczenie 1/Zadanie 2.docx
Normal file
Binary file not shown.
81
AiSD/Ćwiczenie 1/Zadanie 2.drawio
Normal file
81
AiSD/Ćwiczenie 1/Zadanie 2.drawio
Normal file
|
@ -0,0 +1,81 @@
|
|||
<mxfile host="app.diagrams.net" modified="2023-12-26T14:50:31.177Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0" etag="YGD-i31xUfUIeMaCkhBg" version="22.1.11" type="device">
|
||||
<diagram name="Strona-1" id="h1znjzHMW2Z386dxDfW-">
|
||||
<mxGraphModel dx="1426" dy="751" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-1" target="mKEJIIaMg7ZnNQqt7IKG-4">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-1" value="START" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.start_2;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="360" y="20" width="80" height="80" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-2" target="mKEJIIaMg7ZnNQqt7IKG-25">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-2" value="czytaj: LICZBA" style="shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;" vertex="1" parent="1">
|
||||
<mxGeometry x="320" y="210" width="160" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-4" target="mKEJIIaMg7ZnNQqt7IKG-2">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-4" value="SUMA = 0" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="340" y="130" width="120" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-8" target="mKEJIIaMg7ZnNQqt7IKG-9">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-8" value="SUMA = SUMA + (LICZBA mod 10)" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="340" y="390" width="120" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-9" value="LICZBA = LICZBA div 10" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="325" y="470" width="150" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-10" target="mKEJIIaMg7ZnNQqt7IKG-11">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-24" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="mKEJIIaMg7ZnNQqt7IKG-14">
|
||||
<mxGeometry x="-0.3" y="1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;fontSize=14;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-10" target="mKEJIIaMg7ZnNQqt7IKG-8">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="300" y="250" as="targetPoint" />
|
||||
<mxPoint x="280" y="570" as="sourcePoint" />
|
||||
<Array as="points">
|
||||
<mxPoint x="200" y="610" />
|
||||
<mxPoint x="200" y="415" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-23" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="mKEJIIaMg7ZnNQqt7IKG-18">
|
||||
<mxGeometry x="-0.7356" y="-1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-10" value="LICZBA = 0" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="350" y="560" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-11" value="PISZ: SUMA" style="shape=parallelogram;html=1;strokeWidth=2;perimeter=parallelogramPerimeter;whiteSpace=wrap;rounded=1;arcSize=12;size=0.23;" vertex="1" parent="1">
|
||||
<mxGeometry x="350" y="710" width="100" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-12" value="KONIEC" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="350" y="800" width="100" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-11" target="mKEJIIaMg7ZnNQqt7IKG-12">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-9" target="mKEJIIaMg7ZnNQqt7IKG-10">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mKEJIIaMg7ZnNQqt7IKG-25" target="mKEJIIaMg7ZnNQqt7IKG-8">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="mKEJIIaMg7ZnNQqt7IKG-25" value="LICZBA = ABS (LICZBA)" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="325" y="300" width="150" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
4
AiSD/Ćwiczenie 1/Zadanie 2.drawio.svg
Normal file
4
AiSD/Ćwiczenie 1/Zadanie 2.drawio.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 16 KiB |
BIN
AiSD/Ćwiczenie 1/Zadanie 3.docx
Normal file
BIN
AiSD/Ćwiczenie 1/Zadanie 3.docx
Normal file
Binary file not shown.
156
AiSD/Ćwiczenie 1/Zadanie 3.drawio
Normal file
156
AiSD/Ćwiczenie 1/Zadanie 3.drawio
Normal file
|
@ -0,0 +1,156 @@
|
|||
<mxfile host="Electron" modified="2023-12-26T16:38:28.004Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.11 Chrome/114.0.5735.289 Electron/25.9.8 Safari/537.36" version="22.1.11" etag="9drqIC9Oh1mET4SjwTQ5" type="device">
|
||||
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||
<mxGraphModel dx="1434" dy="836" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-5" value="" style="group" vertex="1" connectable="0" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="110" y="500" width="200" height="80" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-0" value="mb_suma_t1 = mb_suma_t1 + mb" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="tY3tbmE9Y3aRwsiy2Lqo-5">
|
||||
<mxGeometry width="200" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-3" value="mc_suma_t1 = mc_suma_t1 + mc" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="tY3tbmE9Y3aRwsiy2Lqo-5">
|
||||
<mxGeometry y="50" width="200" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="tY3tbmE9Y3aRwsiy2Lqo-5" source="tY3tbmE9Y3aRwsiy2Lqo-0" target="tY3tbmE9Y3aRwsiy2Lqo-3">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-8" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-6" target="tY3tbmE9Y3aRwsiy2Lqo-7">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-9" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-8">
|
||||
<mxGeometry x="-0.1667" y="2" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-6" target="tY3tbmE9Y3aRwsiy2Lqo-0">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="210" y="490" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-14" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-10">
|
||||
<mxGeometry x="-0.4667" y="1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-6" value="godzina &gt; 6 &amp;&amp; godzina &lt; 13" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="150" y="340" width="120" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-7">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="210" y="500" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-13" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-12">
|
||||
<mxGeometry x="-0.4322" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-7" target="tY3tbmE9Y3aRwsiy2Lqo-16">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-20" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-19">
|
||||
<mxGeometry x="-0.3727" y="-1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-7" value="godzina &gt; 15 &amp;&amp; godzina &lt; 22" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="330" y="340" width="120" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-15" value="" style="group" vertex="1" connectable="0" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="460" y="500" width="200" height="80" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-16" value="mb_suma_t2 = mb_suma_t2 + mb" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="tY3tbmE9Y3aRwsiy2Lqo-15">
|
||||
<mxGeometry width="200" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-17" value="mc_suma_t2 = mc_suma_t2 + mc" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="tY3tbmE9Y3aRwsiy2Lqo-15">
|
||||
<mxGeometry y="50" width="200" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="tY3tbmE9Y3aRwsiy2Lqo-15" source="tY3tbmE9Y3aRwsiy2Lqo-16" target="tY3tbmE9Y3aRwsiy2Lqo-17">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-21" target="tY3tbmE9Y3aRwsiy2Lqo-32">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-58" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-50">
|
||||
<mxGeometry x="-0.3" y="1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-21" value="miesiac != mies_ost" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="310" y="660" width="120" height="110" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-22" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-17" target="tY3tbmE9Y3aRwsiy2Lqo-21">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-32" value="MAKSYMALNA MOC CZYNNA<br>mc_pop_max = 0<br>mies_ost = miesiac" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="230" y="810" width="280" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-38" target="tY3tbmE9Y3aRwsiy2Lqo-6">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-40" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-39">
|
||||
<mxGeometry x="-0.15" y="2" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-38" target="tY3tbmE9Y3aRwsiy2Lqo-41">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-44" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-42">
|
||||
<mxGeometry x="-0.2571" y="1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-38" value="mc &gt; mc_pop_max" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="160" y="200" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-41" target="tY3tbmE9Y3aRwsiy2Lqo-6">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-41" value="MAKSYMALNA MOC CZYNNA<br>mc_pop_max = mc" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="330" y="225" width="190" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-3" target="tY3tbmE9Y3aRwsiy2Lqo-21">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="390" y="660" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-52" value="mb_suma_t1=0; mb_suma_t2=0; mc_suma_t1=0; mc_suma_t2=0<br>mc_pop_max=0; mies_ost=0" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="70" y="110" width="400" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-59" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-32" target="tY3tbmE9Y3aRwsiy2Lqo-38">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="70" y="835" />
|
||||
<mxPoint x="70" y="250" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-60" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-52" target="tY3tbmE9Y3aRwsiy2Lqo-38">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-62" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-61" target="tY3tbmE9Y3aRwsiy2Lqo-52">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-61" value="START" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.start_2;whiteSpace=wrap;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
|
||||
<mxGeometry x="130" y="10" width="80" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="tY3tbmE9Y3aRwsiy2Lqo-21" target="tY3tbmE9Y3aRwsiy2Lqo-38">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="70" y="715" />
|
||||
<mxPoint x="70" y="250" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="tY3tbmE9Y3aRwsiy2Lqo-64" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="tY3tbmE9Y3aRwsiy2Lqo-63">
|
||||
<mxGeometry x="-0.7912" y="-1" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
4
AiSD/Ćwiczenie 1/Zadanie 3.drawio.svg
Normal file
4
AiSD/Ćwiczenie 1/Zadanie 3.drawio.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 28 KiB |
150
AiSD/Ćwiczenie 1/Zadanie 4.drawio
Normal file
150
AiSD/Ćwiczenie 1/Zadanie 4.drawio
Normal file
|
@ -0,0 +1,150 @@
|
|||
<mxfile host="Electron" modified="2023-12-26T17:39:09.919Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.11 Chrome/114.0.5735.289 Electron/25.9.8 Safari/537.36" etag="2Ly77CnFqtQkEtJENI7b" version="22.1.11" type="device">
|
||||
<diagram name="Strona-1" id="TPs9RIOk-bqX5EH8e2hw">
|
||||
<mxGraphModel dx="1418" dy="820" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-1" value="START" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.start_2;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="50" y="50" width="50" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-2" value="Odblokuj telefon" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="280" y="50" width="100" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-3" target="o1pITRKlNABaUKv8JNny-4">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-24" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="o1pITRKlNABaUKv8JNny-13">
|
||||
<mxGeometry x="-0.8231" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-3" value="Oddzwaniasz?" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="440" y="25" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-4" target="o1pITRKlNABaUKv8JNny-16">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-4" value="Otwórz listę ostatnich rozmów" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="139.25" y="250" width="115" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-8" target="o1pITRKlNABaUKv8JNny-2">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-8" value="Telefon zablokowany?" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="140" y="20" width="110" height="110" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-1" target="o1pITRKlNABaUKv8JNny-8">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-2" target="o1pITRKlNABaUKv8JNny-3">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-8" target="o1pITRKlNABaUKv8JNny-3">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="195" y="150" />
|
||||
<mxPoint x="410" y="150" />
|
||||
<mxPoint x="410" y="75" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-16" target="o1pITRKlNABaUKv8JNny-18">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-16" value="Wyszukaj połączenie" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="136.75" y="320" width="115" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-18" value="Wybierz połączenie&nbsp;" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="135.75" y="430" width="117" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-22" value="Telefon Dzwoni" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.terminator;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="144.25" y="575" width="100" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-18" target="o1pITRKlNABaUKv8JNny-22">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-39" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-25" target="o1pITRKlNABaUKv8JNny-4">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-40" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="o1pITRKlNABaUKv8JNny-39">
|
||||
<mxGeometry x="-0.8723" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-25" value="Ostatnio dzwoniłeś" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="570" y="25" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-3" target="o1pITRKlNABaUKv8JNny-25">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-55" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="o1pITRKlNABaUKv8JNny-27">
|
||||
<mxGeometry x="0.4" y="1" relative="1" as="geometry">
|
||||
<mxPoint x="-5" y="-14" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-43" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-32" target="o1pITRKlNABaUKv8JNny-41">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-32" value="Otwórz książkę telefoniczną" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="440" y="250" width="120" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-33" target="o1pITRKlNABaUKv8JNny-32">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-42" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="o1pITRKlNABaUKv8JNny-36">
|
||||
<mxGeometry x="-0.5714" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-51" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-33" target="o1pITRKlNABaUKv8JNny-48">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-53" value="TAK" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="o1pITRKlNABaUKv8JNny-51">
|
||||
<mxGeometry x="-0.3091" y="-3" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-33" value="Nowy numer?" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="660" y="180" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-25" target="o1pITRKlNABaUKv8JNny-33">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-35" value="NIE" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="o1pITRKlNABaUKv8JNny-34">
|
||||
<mxGeometry x="-0.287" y="4" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-41" target="o1pITRKlNABaUKv8JNny-44">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-41" value="Wybierz osobę" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="440" y="335" width="120" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-44" value="Wybierz numer z listy" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="440" y="420" width="120" height="45" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-44" target="o1pITRKlNABaUKv8JNny-22">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-48" target="o1pITRKlNABaUKv8JNny-49">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-48" value="Wpisz numer" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="650" y="335" width="120" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-49" value="Wciśnij wybieranie numeru" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="650" y="420" width="120" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="o1pITRKlNABaUKv8JNny-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="o1pITRKlNABaUKv8JNny-49" target="o1pITRKlNABaUKv8JNny-22">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="710" y="520" />
|
||||
<mxPoint x="194" y="520" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
4
AiSD/Ćwiczenie 1/Zadanie 4.drawio.svg
Normal file
4
AiSD/Ćwiczenie 1/Zadanie 4.drawio.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 28 KiB |
157
AiSD/Ćwiczenie 1/Zadanie 5.drawio
Normal file
157
AiSD/Ćwiczenie 1/Zadanie 5.drawio
Normal file
|
@ -0,0 +1,157 @@
|
|||
<mxfile host="Electron" modified="2023-12-26T18:31:22.551Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/22.1.11 Chrome/114.0.5735.289 Electron/25.9.8 Safari/537.36" etag="B0csO4ddWjvORvS2wr7F" version="22.1.11" type="device">
|
||||
<diagram name="Strona-1" id="8lcdezLdL735A1NryrTW">
|
||||
<mxGraphModel dx="1418" dy="820" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-1" target="e5IxrtWhWxQ2K8Mq58SP-2">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-1" value="START" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.start_1;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="360" y="30" width="90" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-2" target="e5IxrtWhWxQ2K8Mq58SP-7">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-2" value="Krok do przodu" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="350" y="95" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-4" target="e5IxrtWhWxQ2K8Mq58SP-14">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="490" y="270" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-20" value="TAK (góra)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="e5IxrtWhWxQ2K8Mq58SP-12">
|
||||
<mxGeometry x="-0.0364" relative="1" as="geometry">
|
||||
<mxPoint y="-10" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-4" target="e5IxrtWhWxQ2K8Mq58SP-18">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-21" value="NIE (dół)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="e5IxrtWhWxQ2K8Mq58SP-19">
|
||||
<mxGeometry x="0.0182" y="-3" relative="1" as="geometry">
|
||||
<mxPoint y="-7" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-4" value="strona &gt; 0" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="355" y="220" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-7" value="strona = yr div (12/2)" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="330" y="150" width="150" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-14" target="e5IxrtWhWxQ2K8Mq58SP-23">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-14" value="Obrót -90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="480" y="300" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-7" target="e5IxrtWhWxQ2K8Mq58SP-4">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-18" target="e5IxrtWhWxQ2K8Mq58SP-22">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-18" value="Obrót 90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="220" y="300" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-27" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-22" target="e5IxrtWhWxQ2K8Mq58SP-24">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-22" value="Do przodu: <br>(yr/0,75)-1<br>kroków" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="220" y="352" width="110" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-23" target="e5IxrtWhWxQ2K8Mq58SP-25">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-23" value="Do przodu: <br>((12-yr)/0,75)-1<br>kroków" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="480" y="352" width="110" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-24" target="e5IxrtWhWxQ2K8Mq58SP-30">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-24" value="Obrót -90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="220" y="440" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-33" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-25" target="e5IxrtWhWxQ2K8Mq58SP-30">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-25" value="Obrót 90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="480" y="440" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-30" value="Do przodu:<br>((22-xr)/0,75)-1<br>kroków" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="355" y="520" width="100" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-34" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-38" target="e5IxrtWhWxQ2K8Mq58SP-39">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="490" y="660" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-35" value="TAK (góra)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="e5IxrtWhWxQ2K8Mq58SP-34">
|
||||
<mxGeometry x="-0.0364" relative="1" as="geometry">
|
||||
<mxPoint y="-10" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-36" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-38" target="e5IxrtWhWxQ2K8Mq58SP-40">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-37" value="NIE (dół)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="e5IxrtWhWxQ2K8Mq58SP-36">
|
||||
<mxGeometry x="0.0182" y="-3" relative="1" as="geometry">
|
||||
<mxPoint y="-7" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-38" value="strona &gt; 0" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="355" y="610" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-58" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-39" target="e5IxrtWhWxQ2K8Mq58SP-49">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-39" value="Obrót 90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="480" y="690" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-60" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-40" target="e5IxrtWhWxQ2K8Mq58SP-49">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-40" value="Obrót -90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="220" y="690" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-30" target="e5IxrtWhWxQ2K8Mq58SP-38">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-49" value="Do przodu:<br>((12/2)/0,75)-1<br>kroków" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="355" y="760" width="100" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-50" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-54" target="e5IxrtWhWxQ2K8Mq58SP-55">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="490" y="900" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-51" value="TAK (góra)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="e5IxrtWhWxQ2K8Mq58SP-50">
|
||||
<mxGeometry x="-0.0364" relative="1" as="geometry">
|
||||
<mxPoint y="-10" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-54" target="e5IxrtWhWxQ2K8Mq58SP-56">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-53" value="NIE (dół)" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="e5IxrtWhWxQ2K8Mq58SP-52">
|
||||
<mxGeometry x="0.0182" y="-3" relative="1" as="geometry">
|
||||
<mxPoint y="-7" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-54" value="strona &gt; 0" style="strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;" vertex="1" parent="1">
|
||||
<mxGeometry x="355" y="850" width="100" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-55" value="Obrót -90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="480" y="930" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-56" value="Obrót 90<span style="font-size: 10px;"><sup>o</sup></span>" style="rounded=1;whiteSpace=wrap;html=1;absoluteArcSize=1;arcSize=14;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="220" y="930" width="110" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e5IxrtWhWxQ2K8Mq58SP-57" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="e5IxrtWhWxQ2K8Mq58SP-49" target="e5IxrtWhWxQ2K8Mq58SP-54">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
BIN
AiSD/Ćwiczenie 2/AiSD5_C2 Ćwiczenie 2.pdf
Normal file
BIN
AiSD/Ćwiczenie 2/AiSD5_C2 Ćwiczenie 2.pdf
Normal file
Binary file not shown.
BIN
AiSD/Ćwiczenie 2/Zadanie1.docx
Normal file
BIN
AiSD/Ćwiczenie 2/Zadanie1.docx
Normal file
Binary file not shown.
63
AiSD/Ćwiczenie 2/Zadanie1.lpi
Normal file
63
AiSD/Ćwiczenie 2/Zadanie1.lpi
Normal file
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="12"/>
|
||||
<PathDelim Value="\"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
<MainUnitHasTitleStatement Value="False"/>
|
||||
<MainUnitHasScaledStatement Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<Title Value="Zadanie1"/>
|
||||
<UseAppBundle Value="False"/>
|
||||
<ResourceType Value="res"/>
|
||||
</General>
|
||||
<BuildModes>
|
||||
<Item Name="Default" Default="True"/>
|
||||
</BuildModes>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<UseFileFilters Value="True"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
</RunParams>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Target>
|
||||
<Filename Value="Zadanie1"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<DebugInfoType Value="dsDwarf3"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions>
|
||||
<Item>
|
||||
<Name Value="EAbort"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="ECodetoolError"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="EFOpenError"/>
|
||||
</Item>
|
||||
</Exceptions>
|
||||
</Debugging>
|
||||
</CONFIG>
|
53
AiSD/Ćwiczenie 2/Zadanie1.lpr
Normal file
53
AiSD/Ćwiczenie 2/Zadanie1.lpr
Normal file
|
@ -0,0 +1,53 @@
|
|||
program Zadanie1;
|
||||
|
||||
uses unit1;
|
||||
|
||||
var a,b,c,x1,x2,delta :real;
|
||||
|
||||
begin
|
||||
|
||||
writeln('Rozwiazanie rownania kwadratowego');
|
||||
writeln('Podaj wartosci wspolczynnikow' );
|
||||
write('a: ');
|
||||
readln(a);
|
||||
write('b: ');
|
||||
readln(b);
|
||||
write('c: ');
|
||||
readln(c);
|
||||
|
||||
if a=0 then
|
||||
begin
|
||||
x1 := c / b;
|
||||
write('To jest rownanie liniowe , x=');
|
||||
writeln(x1);
|
||||
end
|
||||
else
|
||||
begin
|
||||
delta := b*b-4*a*c;
|
||||
if delta < 0 then
|
||||
begin
|
||||
writeln('Brak rozwiazan');
|
||||
end
|
||||
else
|
||||
begin
|
||||
if delta > 0 then
|
||||
begin
|
||||
x1:=(-1*b-sqrt(delta))/(2*a);
|
||||
x2:=(-1*b+sqrt(delta))/(2*a);
|
||||
writeln('Dwa pierwiastki:');
|
||||
write('x1=');
|
||||
writeln(x1);
|
||||
write('x2=');
|
||||
writeln(x2);
|
||||
end
|
||||
else
|
||||
begin
|
||||
x1:=(b*-1)/(2*a);
|
||||
write('Jeden pierwiastek: x=');
|
||||
writeln(x1);
|
||||
end
|
||||
end
|
||||
end;
|
||||
readln();
|
||||
end.
|
||||
|
77
AiSD/Ćwiczenie 2/Zadanie1.lps
Normal file
77
AiSD/Ćwiczenie 2/Zadanie1.lps
Normal file
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectSession>
|
||||
<PathDelim Value="\"/>
|
||||
<Version Value="12"/>
|
||||
<BuildModes Active="Default"/>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<TopLine Value="13"/>
|
||||
<CursorPos X="9" Y="50"/>
|
||||
<UsageCount Value="20"/>
|
||||
<Loaded Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
<JumpHistory HistoryIndex="12">
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="20"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="4" Column="3"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="11" Column="29"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="22" Column="9"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="20" Column="9"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="30" Column="33"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="20" Column="8"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="2" Column="20"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="23" Column="24"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="26" Column="7"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="23" Column="14"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="26" Column="11"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="51" Column="23" TopLine="14"/>
|
||||
</Position>
|
||||
</JumpHistory>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
<Modes ActiveMode=""/>
|
||||
</RunParams>
|
||||
</ProjectSession>
|
||||
</CONFIG>
|
63
AiSD/Ćwiczenie 2/Zadanie2.lpi
Normal file
63
AiSD/Ćwiczenie 2/Zadanie2.lpi
Normal file
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="12"/>
|
||||
<PathDelim Value="\"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
<MainUnitHasTitleStatement Value="False"/>
|
||||
<MainUnitHasScaledStatement Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<Title Value="Zadanie2"/>
|
||||
<UseAppBundle Value="False"/>
|
||||
<ResourceType Value="res"/>
|
||||
</General>
|
||||
<BuildModes>
|
||||
<Item Name="Default" Default="True"/>
|
||||
</BuildModes>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<UseFileFilters Value="True"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
</RunParams>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Target>
|
||||
<Filename Value="Zadanie2"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<DebugInfoType Value="dsDwarf3"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions>
|
||||
<Item>
|
||||
<Name Value="EAbort"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="ECodetoolError"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="EFOpenError"/>
|
||||
</Item>
|
||||
</Exceptions>
|
||||
</Debugging>
|
||||
</CONFIG>
|
53
AiSD/Ćwiczenie 2/Zadanie2.lpr
Normal file
53
AiSD/Ćwiczenie 2/Zadanie2.lpr
Normal file
|
@ -0,0 +1,53 @@
|
|||
program Zadanie2;
|
||||
|
||||
uses CRT, math, sysUtils;
|
||||
|
||||
function czytaj_rok() :integer;
|
||||
var rok :integer;
|
||||
begin
|
||||
write('Podaj rok: ');
|
||||
readln(rok);
|
||||
czytaj_rok:=rok;
|
||||
end;
|
||||
|
||||
function sprawdz_rok(rok :integer) :boolean;
|
||||
begin
|
||||
if rok mod 400 = 0 then
|
||||
sprawdz_rok:= true
|
||||
else
|
||||
if rok mod 4 <> 0 then
|
||||
sprawdz_rok:= false
|
||||
else
|
||||
if rok mod 100 = 0 then
|
||||
sprawdz_rok:= false
|
||||
else
|
||||
sprawdz_rok:= true
|
||||
|
||||
end;
|
||||
|
||||
procedure wypisz_rok(rok: integer; przestepny :boolean);
|
||||
begin
|
||||
write('Rok ');
|
||||
write(rok);
|
||||
if przestepny = false then
|
||||
write(' nie');
|
||||
write(' jest ');
|
||||
writeln('przestepny')
|
||||
|
||||
end;
|
||||
|
||||
procedure zadanie2;
|
||||
var rok :integer;
|
||||
var przestepny :boolean;
|
||||
begin
|
||||
rok := czytaj_rok();
|
||||
przestepny := sprawdz_rok(rok);
|
||||
wypisz_rok(rok,przestepny);
|
||||
readln();
|
||||
end;
|
||||
|
||||
|
||||
begin
|
||||
zadanie2();
|
||||
end.
|
||||
|
101
AiSD/Ćwiczenie 2/Zadanie2.lps
Normal file
101
AiSD/Ćwiczenie 2/Zadanie2.lps
Normal file
|
@ -0,0 +1,101 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectSession>
|
||||
<PathDelim Value="\"/>
|
||||
<Version Value="12"/>
|
||||
<BuildModes Active="Default"/>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<TopLine Value="13"/>
|
||||
<CursorPos X="37" Y="28"/>
|
||||
<UsageCount Value="20"/>
|
||||
<Loaded Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
<JumpHistory HistoryIndex="18">
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="15" Column="11"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="2" Column="17"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="5" Column="10"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="4" Column="32"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="7" Column="24"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="9" Column="20"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="13" Column="7"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="25"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="12" Column="48"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="10"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="17" Column="39"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="22" Column="5"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="21" Column="30"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="26" Column="5"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="24" Column="29"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="18" Column="25"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="49" Column="14" TopLine="14"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="37" Column="20" TopLine="14"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie2.lpr"/>
|
||||
<Caret Line="32" Column="29"/>
|
||||
</Position>
|
||||
</JumpHistory>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
<Modes ActiveMode=""/>
|
||||
</RunParams>
|
||||
</ProjectSession>
|
||||
</CONFIG>
|
63
AiSD/Ćwiczenie 2/zadanie3.lpi
Normal file
63
AiSD/Ćwiczenie 2/zadanie3.lpi
Normal file
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="12"/>
|
||||
<PathDelim Value="\"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
<MainUnitHasTitleStatement Value="False"/>
|
||||
<MainUnitHasScaledStatement Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<Title Value="zadanie3"/>
|
||||
<UseAppBundle Value="False"/>
|
||||
<ResourceType Value="res"/>
|
||||
</General>
|
||||
<BuildModes>
|
||||
<Item Name="Default" Default="True"/>
|
||||
</BuildModes>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<UseFileFilters Value="True"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
</RunParams>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="zadanie3.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Target>
|
||||
<Filename Value="zadanie3"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<DebugInfoType Value="dsDwarf3"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions>
|
||||
<Item>
|
||||
<Name Value="EAbort"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="ECodetoolError"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="EFOpenError"/>
|
||||
</Item>
|
||||
</Exceptions>
|
||||
</Debugging>
|
||||
</CONFIG>
|
45
AiSD/Ćwiczenie 2/zadanie3.lpr
Normal file
45
AiSD/Ćwiczenie 2/zadanie3.lpr
Normal file
|
@ -0,0 +1,45 @@
|
|||
program zadanie3;
|
||||
var inp :integer;
|
||||
|
||||
function czytaj_liczbe() :integer;
|
||||
var liczba: integer;
|
||||
begin
|
||||
writeln('Wpisz liczbe');
|
||||
read(liczba);
|
||||
czytaj_liczbe:=liczba;
|
||||
end;
|
||||
|
||||
function sumuj_cyfry(liczba :integer) :integer;
|
||||
var suma :integer;
|
||||
begin
|
||||
suma := 0;
|
||||
while liczba <> 0 do
|
||||
begin
|
||||
suma:= suma + (liczba mod 10);
|
||||
liczba:=liczba div 10
|
||||
end;
|
||||
sumuj_cyfry:=suma;
|
||||
end;
|
||||
|
||||
procedure wypisz_sume(liczba,suma :integer);
|
||||
begin
|
||||
write('suma cyfr liczby ');
|
||||
write(liczba);
|
||||
write(' wynosi ');
|
||||
writeln(suma);
|
||||
end;
|
||||
|
||||
procedure zadanie3();
|
||||
var liczba,suma :integer;
|
||||
begin
|
||||
writeln('Obliczanie sumy cyfr liczby rzeczywistej');
|
||||
liczba:=czytaj_liczbe();
|
||||
suma:=sumuj_cyfry(liczba);
|
||||
wypisz_sume(liczba,suma);
|
||||
end;
|
||||
|
||||
begin
|
||||
zadanie3();
|
||||
read(inp);
|
||||
end.
|
||||
|
44
AiSD/Ćwiczenie 2/zadanie3.lps
Normal file
44
AiSD/Ćwiczenie 2/zadanie3.lps
Normal file
|
@ -0,0 +1,44 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectSession>
|
||||
<PathDelim Value="\"/>
|
||||
<Version Value="12"/>
|
||||
<BuildModes Active="Default"/>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="zadanie3.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<CursorPos X="22" Y="12"/>
|
||||
<UsageCount Value="20"/>
|
||||
<Loaded Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
<JumpHistory HistoryIndex="4">
|
||||
<Position>
|
||||
<Filename Value="zadanie3.lpr"/>
|
||||
<Caret Line="15" Column="22"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="zadanie3.lpr"/>
|
||||
<Caret Line="29" Column="12"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="zadanie3.lpr"/>
|
||||
<Caret Line="20" Column="21"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="zadanie3.lpr"/>
|
||||
<Caret Line="14" Column="9"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="zadanie3.lpr"/>
|
||||
<Caret Line="13" Column="16" TopLine="7"/>
|
||||
</Position>
|
||||
</JumpHistory>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
<Modes ActiveMode=""/>
|
||||
</RunParams>
|
||||
</ProjectSession>
|
||||
</CONFIG>
|
BIN
AiSD/Ćwiczenie 3/AiSD5_C3 Ćwiczenie 3.pdf
Normal file
BIN
AiSD/Ćwiczenie 3/AiSD5_C3 Ćwiczenie 3.pdf
Normal file
Binary file not shown.
BIN
AiSD/Ćwiczenie 3/Zadanie1.docx
Normal file
BIN
AiSD/Ćwiczenie 3/Zadanie1.docx
Normal file
Binary file not shown.
70
AiSD/Ćwiczenie 3/Zadanie1.lpi
Normal file
70
AiSD/Ćwiczenie 3/Zadanie1.lpi
Normal file
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="12"/>
|
||||
<PathDelim Value="\"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
<MainUnitHasTitleStatement Value="False"/>
|
||||
<MainUnitHasScaledStatement Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<Title Value="Zadanie1"/>
|
||||
<UseAppBundle Value="False"/>
|
||||
<ResourceType Value="res"/>
|
||||
</General>
|
||||
<BuildModes>
|
||||
<Item Name="Default" Default="True"/>
|
||||
</BuildModes>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<UseFileFilters Value="True"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
</RunParams>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Target>
|
||||
<Filename Value="Zadanie1"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Parsing>
|
||||
<SyntaxOptions>
|
||||
<CStyleOperator Value="False"/>
|
||||
<AllowLabel Value="False"/>
|
||||
<CPPInline Value="False"/>
|
||||
</SyntaxOptions>
|
||||
</Parsing>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<DebugInfoType Value="dsDwarf3"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions>
|
||||
<Item>
|
||||
<Name Value="EAbort"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="ECodetoolError"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="EFOpenError"/>
|
||||
</Item>
|
||||
</Exceptions>
|
||||
</Debugging>
|
||||
</CONFIG>
|
53
AiSD/Ćwiczenie 3/Zadanie1.lpr
Normal file
53
AiSD/Ćwiczenie 3/Zadanie1.lpr
Normal file
|
@ -0,0 +1,53 @@
|
|||
program Zadanie1;
|
||||
|
||||
function czytaj_liczbe() :int64;
|
||||
var liczba :int64;
|
||||
begin
|
||||
write('podaj liczbe:');
|
||||
readln(liczba);
|
||||
czytaj_liczbe:=liczba;
|
||||
end;
|
||||
|
||||
function silnia_rek(liczba :int64) :int64;
|
||||
begin
|
||||
if liczba > 0 then
|
||||
silnia_rek:=liczba * silnia_rek(liczba-1)
|
||||
else
|
||||
silnia_rek:=1;
|
||||
end;
|
||||
|
||||
function silnia_iter(liczba :int64) :int64;
|
||||
var wynik :int64;
|
||||
begin
|
||||
wynik:=1;
|
||||
while liczba>=1 do
|
||||
begin
|
||||
wynik := wynik * liczba;
|
||||
liczba := liczba - 1;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure wyswietl_wynik(silnia1,silnia2 :int64);
|
||||
begin
|
||||
write('Silnia rekurencyjnie: ');
|
||||
writeln(silnia1);
|
||||
write('Silnia iteracyjnie: ');
|
||||
writeln(silnia2);
|
||||
end;
|
||||
|
||||
procedure start();
|
||||
var liczba,silnia1,silnia2 :int64;
|
||||
begin
|
||||
liczba:=czytaj_liczbe();
|
||||
silnia1:=silnia_rek(liczba);
|
||||
silnia2:=silnia_iter(liczba);
|
||||
wyswietl_wynik(silnia1,silnia2);
|
||||
end;
|
||||
|
||||
begin
|
||||
writeln('Program obliczajacy silnie');
|
||||
start();
|
||||
|
||||
readln();
|
||||
end.
|
||||
|
69
AiSD/Ćwiczenie 3/Zadanie1.lps
Normal file
69
AiSD/Ćwiczenie 3/Zadanie1.lps
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectSession>
|
||||
<PathDelim Value="\"/>
|
||||
<Version Value="12"/>
|
||||
<BuildModes Active="Default"/>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<IsVisibleTab Value="True"/>
|
||||
<TopLine Value="7"/>
|
||||
<CursorPos X="14" Y="25"/>
|
||||
<UsageCount Value="20"/>
|
||||
<Loaded Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
<JumpHistory HistoryIndex="10">
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="25"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="3" Column="33"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="15" Column="39"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="19" Column="19"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="17" Column="5"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="25" Column="35"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="4" Column="21"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="11" Column="45"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="12"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="14" Column="19"/>
|
||||
</Position>
|
||||
<Position>
|
||||
<Filename Value="Zadanie1.lpr"/>
|
||||
<Caret Line="16" Column="19"/>
|
||||
</Position>
|
||||
</JumpHistory>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
<Modes ActiveMode=""/>
|
||||
</RunParams>
|
||||
</ProjectSession>
|
||||
</CONFIG>
|
BIN
AiSD/Ćwiczenie 3/Zadanie2.docx
Normal file
BIN
AiSD/Ćwiczenie 3/Zadanie2.docx
Normal file
Binary file not shown.
63
AiSD/Ćwiczenie 3/Zadanie4.lpi
Normal file
63
AiSD/Ćwiczenie 3/Zadanie4.lpi
Normal file
|
@ -0,0 +1,63 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CONFIG>
|
||||
<ProjectOptions>
|
||||
<Version Value="12"/>
|
||||
<PathDelim Value="\"/>
|
||||
<General>
|
||||
<Flags>
|
||||
<MainUnitHasCreateFormStatements Value="False"/>
|
||||
<MainUnitHasTitleStatement Value="False"/>
|
||||
<MainUnitHasScaledStatement Value="False"/>
|
||||
</Flags>
|
||||
<SessionStorage Value="InProjectDir"/>
|
||||
<Title Value="Zadanie4"/>
|
||||
<UseAppBundle Value="False"/>
|
||||
<ResourceType Value="res"/>
|
||||
</General>
|
||||
<BuildModes>
|
||||
<Item Name="Default" Default="True"/>
|
||||
</BuildModes>
|
||||
<PublishOptions>
|
||||
<Version Value="2"/>
|
||||
<UseFileFilters Value="True"/>
|
||||
</PublishOptions>
|
||||
<RunParams>
|
||||
<FormatVersion Value="2"/>
|
||||
</RunParams>
|
||||
<Units>
|
||||
<Unit>
|
||||
<Filename Value="Zadanie4.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
</Unit>
|
||||
</Units>
|
||||
</ProjectOptions>
|
||||
<CompilerOptions>
|
||||
<Version Value="11"/>
|
||||
<PathDelim Value="\"/>
|
||||
<Target>
|
||||
<Filename Value="Zadanie4"/>
|
||||
</Target>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="$(ProjOutDir)"/>
|
||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
||||
</SearchPaths>
|
||||
<Linking>
|
||||
<Debugging>
|
||||
<DebugInfoType Value="dsDwarf3"/>
|
||||
</Debugging>
|
||||
</Linking>
|
||||
</CompilerOptions>
|
||||
<Debugging>
|
||||
<Exceptions>
|
||||
<Item>
|
||||
<Name Value="EAbort"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="ECodetoolError"/>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name Value="EFOpenError"/>
|
||||
</Item>
|
||||
</Exceptions>
|
||||
</Debugging>
|
||||
</CONFIG>
|
60
AiSD/Ćwiczenie 3/Zadanie4.lpr
Normal file
60
AiSD/Ćwiczenie 3/Zadanie4.lpr
Normal file
|
@ -0,0 +1,60 @@
|
|||
program Zadanie4;
|
||||
|
||||
function czytaj_liczbe() :integer;
|
||||
var liczba: integer;
|
||||
begin
|
||||
writeln('Wpisz liczbe');
|
||||
readln(liczba);
|
||||
czytaj_liczbe:=liczba;
|
||||
end;
|
||||
|
||||
function sumuj_cyfry(liczba :integer) :integer;
|
||||
var suma :integer;
|
||||
begin
|
||||
suma := 0;
|
||||
while liczba <> 0 do
|
||||
begin
|
||||
suma:= suma + (liczba mod 10);
|
||||
liczba:=liczba div 10
|
||||
end;
|
||||
sumuj_cyfry:=suma;
|
||||
end;
|
||||
|
||||
function sumuj_cyfry_r(liczba :integer) :integer;
|
||||
var suma: integer;
|
||||
begin
|
||||
if liczba <> 0 then
|
||||
begin
|
||||