mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 14:23:07 +02:00
Merge branch 'main' of https://github.com/kuchyx/WUT_Computer_Science
This commit is contained in:
commit
04b5143268
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
*.aux
|
||||
*.fdb_latexmk
|
||||
*.fls
|
||||
*.log
|
||||
*.synctex.gz
|
||||
*.xdv
|
||||
BIN
NotProgramming/EDABA/HW2/KRZYSZTOF_RUDNICKI_EDABA_HW2.pdf
Normal file
BIN
NotProgramming/EDABA/HW2/KRZYSZTOF_RUDNICKI_EDABA_HW2.pdf
Normal file
Binary file not shown.
34
NotProgramming/EDABA/HW2/hw2.tex
Normal file
34
NotProgramming/EDABA/HW2/hw2.tex
Normal file
@ -0,0 +1,34 @@
|
||||
\documentclass[12pt]{article}
|
||||
\title{EDABA Homework 2}
|
||||
\author{Krzysztof Rudnicki, 307585}
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\section{Task 1}
|
||||
Find names of Students attending \underline{at least 3 lectures}
|
||||
\[ LS1 := LS(L\# \rightarrow L1\#) \]
|
||||
\[ LS2 := LS(L\# \rightarrow L2\#) \]
|
||||
\[ R1 := LS \bowtie LS1 \]
|
||||
\[ R2 := \sigma_{L\# \neq L1\#} (R1) \]
|
||||
\[ R3 := R2 \bowtie LS2 \]
|
||||
\[ RF := \sigma_{L\# \neq L2\# \: AND \: L1\# \neq L2\#} (R1) \]
|
||||
\[ S1 = \pi_{S\#}(RF) \]
|
||||
\[ RES = \pi_{SName} (S1 \bowtie ST) \]
|
||||
|
||||
\section{Task 2}
|
||||
Find names of Students attending \underline{at least 2 lectures having ECTS > 5}
|
||||
\[ LS51 := LS \bowtie \pi_{L\#}(\sigma_{ECTS>5}(L)) \]
|
||||
\[ LS52 := LS51(L\# \rightarrow L52\#) \]
|
||||
\[ R1 := LS51 \bowtie LS52 \]
|
||||
\[ R2 := \sigma_{L\# \neq LS52\#} (R1) \]
|
||||
\[ R3 := \pi_{S\#}(R2) \]
|
||||
\[ Res := \pi_{SName,S\#}(ST \bowtie R3) \]
|
||||
|
||||
\section{Task 3}
|
||||
\underline{Find the oldest students}
|
||||
\[ R1 := \pi_{S\#, Age}(ST) \]
|
||||
\[ R2 := \pi_{S\#, Age}(ST) \]
|
||||
\[ R3 := R1xR2(AGE \rightarrow AGE2) \]
|
||||
\[ R4 := \sigma_{R1.age < R2.age2} (R3) \]
|
||||
\[ R5 := \pi_{S\#}(ST) - \pi_{S1}(R3) \]
|
||||
|
||||
\end{document}
|
||||
BIN
NotProgramming/ESOEN/HW2/1A.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/1A.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/1B.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/1B.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/31.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/31.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/32.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/32.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/33.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/33.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/34.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/34.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/35.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/35.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/36.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/36.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/37.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/37.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/4.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/4.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/4.png
Normal file
BIN
NotProgramming/ESOEN/HW2/4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
BIN
NotProgramming/ESOEN/HW2/5.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/5.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/Class1_103.png
Normal file
BIN
NotProgramming/ESOEN/HW2/Class1_103.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
18
NotProgramming/ESOEN/HW2/HW2.aux
Normal file
18
NotProgramming/ESOEN/HW2/HW2.aux
Normal file
@ -0,0 +1,18 @@
|
||||
\relax
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {1}Task 1}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}Task A}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Task B}{1}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2}Task 2}{3}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}A dining philosopher is using a fork.}{3}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}A file is an ordinary file or a directory file. }{3}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Files contain records.}{3}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.4}A polygon is composed of an ordered set of points. }{4}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.5}A person uses a computer language on a project. }{4}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.6}A route connects two cities }{4}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {2.7}Modems and keyboards are input/output devices. }{5}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {3}Task 3}{5}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {paragraph}{“John’s car has 10 wheels, including the spares.” }{5}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {paragraph}{“Each car has at least one wheel.” }{5}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {paragraph}{“In my car, there are two wheels on the left side and two wheels on the right side” }{5}{}\protected@file@percent }
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {4}Task 4}{7}{}\protected@file@percent }
|
||||
\gdef \@abspage@last{7}
|
||||
41
NotProgramming/ESOEN/HW2/HW2.fdb_latexmk
Normal file
41
NotProgramming/ESOEN/HW2/HW2.fdb_latexmk
Normal file
@ -0,0 +1,41 @@
|
||||
# Fdb version 3
|
||||
["xdvipdfmx"] 1667768597 "HW2.xdv" "HW2.pdf" "HW2" 1667768597
|
||||
"HW2.xdv" 1667768597 36324 eee6b9f4be8427a510057482f0f3a40c "xelatex"
|
||||
(generated)
|
||||
"HW2.pdf"
|
||||
["xelatex"] 1667768596 "/home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2/HW2.tex" "HW2.xdv" "HW2" 1667768597
|
||||
"/home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2/HW2.tex" 1667768596 4301 4e901d84253701d932a6fe2f6d73f7b1 ""
|
||||
"/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1650183167 3524 cb3e574dea2d1052e39280babc910dc8 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm" 1650183167 1524 4414a8315f39513458b80dfc63bff03a ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm" 1650183167 1288 655e228510b4c2a1abe905c368440826 ""
|
||||
"/usr/share/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm" 1650183167 1124 6c73e740cf17375f03eec0ee63599741 ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/article.cls" 1650183167 20144 8a7de377ae7a11ee924a7499611f5a9d ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/size12.clo" 1650183167 8449 bc7344e882df4d7e51c046514dee83e4 ""
|
||||
"/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd" 1650183167 2430 06a89bcded389391906798ea7a3f3aaa ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg" 1650183167 1224 978390e9c2234eab29404bc21b268d1e ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics-def/xetex.def" 1650183167 14363 d3c336f2f510c0b73629f44e987d2e6a ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/graphics.sty" 1650183167 18399 7e40f80366dffb22c0e7b70517db5cb4 ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty" 1650183167 7996 a8fb260d598dcaf305a7ae7b9c3e3229 ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/keyval.sty" 1650183167 2671 4de6781a30211fe0ea4c672e4a2a8166 ""
|
||||
"/usr/share/texmf-dist/tex/latex/graphics/trig.sty" 1650183167 4009 187ea2dc3194cd5a76cd99a8d7a6c4d0 ""
|
||||
"/usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def" 1650183167 35763 558b6bb076dfa9b058fe5c58dc6e0434 ""
|
||||
"/usr/share/texmf-dist/web2c/texmf.cnf" 1650183167 39911 2da6c67557ec033436fe5418a70a8a61 ""
|
||||
"/var/lib/texmf/web2c/xetex/xelatex.fmt" 1667608630 5825165 3134581dd7c4dda880f963204bf37269 ""
|
||||
"1A.pdf" 1667766361 24964 1808848d8de800365f5d13558afa89ac ""
|
||||
"1B.pdf" 1667766455 26924 747862487589a6108d5e0847631dc9a0 ""
|
||||
"31.pdf" 1667767150 15685 f64f8b9cb8d1c8815646d1be30d119d9 ""
|
||||
"32.pdf" 1667767307 17835 0356d3bba45f9dd6cca234c741b8ef05 ""
|
||||
"33.pdf" 1667767307 15188 fe6e86f0f0c299aba7e4390890796924 ""
|
||||
"34.pdf" 1667767150 25038 6a98a92f3df888e91e0ee3b834ef403a ""
|
||||
"35.pdf" 1667767150 26538 e341cf1e4809f289bbf46423a6d826d1 ""
|
||||
"36.pdf" 1667767150 22729 bfbeba7fc8c1e2e722da110513d7ab2d ""
|
||||
"37.pdf" 1667767150 19752 c04507a8854feb3218c5f961c1a0fcfc ""
|
||||
"4.pdf" 1667767731 19140 eccbff8de4dac784caf7fcb1c9400e65 ""
|
||||
"5.pdf" 1667768521 44159 3ff5f82d3ee403d3adb69122b9cb1f05 ""
|
||||
"Class1_103.png" 1667655221 4661 76fac92a3a370a3059fed3ef3ec0c0f2 ""
|
||||
"HW2.aux" 1667768597 1946 2688f2e1a5ddaf4495974f36d53f57d6 "xelatex"
|
||||
"HW2.tex" 1667768596 4301 4e901d84253701d932a6fe2f6d73f7b1 ""
|
||||
(generated)
|
||||
"HW2.aux"
|
||||
"HW2.log"
|
||||
"HW2.xdv"
|
||||
133
NotProgramming/ESOEN/HW2/HW2.fls
Normal file
133
NotProgramming/ESOEN/HW2/HW2.fls
Normal file
@ -0,0 +1,133 @@
|
||||
PWD /home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2
|
||||
INPUT /usr/share/texmf-dist/web2c/texmf.cnf
|
||||
INPUT /var/lib/texmf/web2c/xetex/xelatex.fmt
|
||||
INPUT /home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2/HW2.tex
|
||||
OUTPUT HW2.log
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size12.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size12.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size12.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/size12.clo
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-def/xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-def/xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-def/xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/graphics-def/xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT /usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
INPUT ./HW2.aux
|
||||
INPUT HW2.aux
|
||||
INPUT HW2.aux
|
||||
OUTPUT HW2.aux
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
INPUT /usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
INPUT /usr/share/texmf-dist/fonts/map/fontname/texfonts.map
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmr12.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm
|
||||
INPUT /usr/share/texmf-dist/fonts/tfm/public/cm/cmsy10.tfm
|
||||
INPUT ./1A.pdf
|
||||
INPUT ./1A.pdf
|
||||
INPUT 1A.pdf
|
||||
INPUT ./1B.pdf
|
||||
INPUT ./1B.pdf
|
||||
INPUT 1B.pdf
|
||||
OUTPUT HW2.xdv
|
||||
INPUT ./31.pdf
|
||||
INPUT ./31.pdf
|
||||
INPUT 31.pdf
|
||||
INPUT ./32.pdf
|
||||
INPUT ./32.pdf
|
||||
INPUT 32.pdf
|
||||
INPUT ./33.pdf
|
||||
INPUT ./33.pdf
|
||||
INPUT 33.pdf
|
||||
INPUT ./34.pdf
|
||||
INPUT ./34.pdf
|
||||
INPUT 34.pdf
|
||||
INPUT ./35.pdf
|
||||
INPUT ./35.pdf
|
||||
INPUT 35.pdf
|
||||
INPUT ./36.pdf
|
||||
INPUT ./36.pdf
|
||||
INPUT 36.pdf
|
||||
INPUT ./37.pdf
|
||||
INPUT ./37.pdf
|
||||
INPUT 37.pdf
|
||||
INPUT ./Class1_103.png
|
||||
INPUT ./Class1_103.png
|
||||
INPUT Class1_103.png
|
||||
INPUT ./4.pdf
|
||||
INPUT ./4.pdf
|
||||
INPUT 4.pdf
|
||||
INPUT ./5.pdf
|
||||
INPUT ./5.pdf
|
||||
INPUT 5.pdf
|
||||
INPUT HW2.aux
|
||||
134
NotProgramming/ESOEN/HW2/HW2.log
Normal file
134
NotProgramming/ESOEN/HW2/HW2.log
Normal file
@ -0,0 +1,134 @@
|
||||
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022/Arch Linux) (preloaded format=xelatex 2022.11.5) 6 NOV 2022 22:03
|
||||
entering extended mode
|
||||
restricted \write18 enabled.
|
||||
file:line:error style messages enabled.
|
||||
%&-line parsing enabled.
|
||||
**/home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2/HW2.tex
|
||||
(/home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2/HW2.tex
|
||||
LaTeX2e <2021-11-15> patch level 1
|
||||
L3 programming layer <2022-04-10> (/usr/share/texmf-dist/tex/latex/base/article.cls
|
||||
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
|
||||
(/usr/share/texmf-dist/tex/latex/base/size12.clo
|
||||
File: size12.clo 2021/10/04 v1.4n Standard LaTeX file (size option)
|
||||
)
|
||||
\c@part=\count181
|
||||
\c@section=\count182
|
||||
\c@subsection=\count183
|
||||
\c@subsubsection=\count184
|
||||
\c@paragraph=\count185
|
||||
\c@subparagraph=\count186
|
||||
\c@figure=\count187
|
||||
\c@table=\count188
|
||||
\abovecaptionskip=\skip47
|
||||
\belowcaptionskip=\skip48
|
||||
\bibindent=\dimen138
|
||||
) (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
|
||||
Package: graphicx 2021/09/16 v1.2d Enhanced LaTeX Graphics (DPC,SPQR)
|
||||
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
|
||||
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
|
||||
\KV@toks@=\toks16
|
||||
) (/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
|
||||
Package: graphics 2021/03/04 v1.4d Standard LaTeX Graphics (DPC,SPQR)
|
||||
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty
|
||||
Package: trig 2021/08/11 v1.11 sin cos tan (DPC)
|
||||
) (/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
|
||||
File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
|
||||
)
|
||||
Package graphics Info: Driver file: xetex.def on input line 107.
|
||||
(/usr/share/texmf-dist/tex/latex/graphics-def/xetex.def
|
||||
File: xetex.def 2022/04/12 v5.0l Graphics/color driver for xetex
|
||||
))
|
||||
\Gin@req@height=\dimen139
|
||||
\Gin@req@width=\dimen140
|
||||
) (/usr/share/texmf-dist/tex/latex/l3backend/l3backend-xetex.def
|
||||
File: l3backend-xetex.def 2022-04-14 L3 backend support: XeTeX
|
||||
\l__color_backend_stack_int=\count189
|
||||
\g__color_backend_stack_int=\count190
|
||||
\g__graphics_track_int=\count191
|
||||
\l__pdf_internal_box=\box50
|
||||
\g__pdf_backend_object_int=\count192
|
||||
\g__pdf_backend_annotation_int=\count193
|
||||
\g__pdf_backend_link_int=\count194
|
||||
) (./HW2.aux)
|
||||
\openout1 = `HW2.aux'.
|
||||
|
||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: Trying to load font information for TS1+cmr on input line 5.
|
||||
(/usr/share/texmf-dist/tex/latex/base/ts1cmr.fd
|
||||
File: ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
|
||||
)
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
|
||||
LaTeX Font Info: ... okay on input line 5.
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <14.4> on input line 6.
|
||||
LaTeX Font Info: External font `cmex10' loaded for size
|
||||
(Font) <7> on input line 6.
|
||||
|
||||
Underfull \hbox (badness 10000) in paragraph at lines 10--11
|
||||
|
||||
[]
|
||||
|
||||
File: 1A.pdf Graphic file (type pdf)
|
||||
<use 1A.pdf>
|
||||
File: 1B.pdf Graphic file (type pdf)
|
||||
<use 1B.pdf>
|
||||
[1
|
||||
|
||||
] [2]
|
||||
File: 31.pdf Graphic file (type pdf)
|
||||
<use 31.pdf>
|
||||
File: 32.pdf Graphic file (type pdf)
|
||||
<use 32.pdf>
|
||||
File: 33.pdf Graphic file (type pdf)
|
||||
<use 33.pdf>
|
||||
File: 34.pdf Graphic file (type pdf)
|
||||
<use 34.pdf>
|
||||
[3]
|
||||
File: 35.pdf Graphic file (type pdf)
|
||||
<use 35.pdf>
|
||||
File: 36.pdf Graphic file (type pdf)
|
||||
<use 36.pdf>
|
||||
[4]
|
||||
File: 37.pdf Graphic file (type pdf)
|
||||
<use 37.pdf>
|
||||
File: Class1_103.png Graphic file (type bmp)
|
||||
<Class1_103.png>
|
||||
[5]
|
||||
Underfull \hbox (badness 10000) in paragraph at lines 67--68
|
||||
|
||||
[]
|
||||
|
||||
File: 4.pdf Graphic file (type pdf)
|
||||
<use 4.pdf>
|
||||
|
||||
Overfull \hbox (18.0pt too wide) in paragraph at lines 69--70
|
||||
[][]
|
||||
[]
|
||||
|
||||
[6]
|
||||
File: 5.pdf Graphic file (type pdf)
|
||||
<use 5.pdf>
|
||||
[7] (./HW2.aux) )
|
||||
Here is how much of TeX's memory you used:
|
||||
1048 strings out of 476156
|
||||
18530 string characters out of 5814963
|
||||
317372 words of memory out of 5000000
|
||||
21857 multiletter control sequences out of 15000+600000
|
||||
470228 words of font info for 38 fonts, out of 8000000 for 9000
|
||||
1348 hyphenation exceptions out of 8191
|
||||
55i,6n,62p,462b,191s stack positions out of 5000i,500n,10000p,200000b,80000s
|
||||
|
||||
Output written on HW2.xdv (7 pages, 36324 bytes).
|
||||
BIN
NotProgramming/ESOEN/HW2/HW2.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/HW2.pdf
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/HW2.synctex.gz
Normal file
BIN
NotProgramming/ESOEN/HW2/HW2.synctex.gz
Normal file
Binary file not shown.
80
NotProgramming/ESOEN/HW2/HW2.tex
Normal file
80
NotProgramming/ESOEN/HW2/HW2.tex
Normal file
@ -0,0 +1,80 @@
|
||||
\documentclass[12pt]{article}
|
||||
\usepackage{graphicx}
|
||||
\title{ESOEN Tutorial 2 HW}
|
||||
\author{Krzysztof Rudnicki, 307585}
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\section{Task 1}
|
||||
|
||||
\subsection{Task A}
|
||||
Prepare a use case diagram for the following description: \\
|
||||
|
||||
"A student can check a timetable of the lessons and its own results in the university system. To use these services the student needs to authorize in the system. The student can add its comment to the timetable, if necessary."
|
||||
\\
|
||||
\includegraphics[width=\textwidth]{1A.pdf}
|
||||
|
||||
\subsection{Task B}
|
||||
Propose different ways of modelling of a student authorization (different diagrams). \\
|
||||
\includegraphics[width=\textwidth]{1B.pdf}
|
||||
|
||||
|
||||
\newpage
|
||||
\section{Task 2}
|
||||
Categorize the following relationships into \textbf{generalization}, \textbf{aggregation}, or \textbf{association}. Draw an appropriate \textbf{class diagram}. There could be more than one solution if applicable.
|
||||
|
||||
|
||||
\subsection{A dining philosopher is using a fork.}
|
||||
Dining philosopher is using \textbf{exactly} one fork and one fork is used \textbf{exactly} by one philosopher. \\
|
||||
This is \textbf{association}, this is not aggregation as fork is not a part of philosopher, neither philosopher part of fork, and this is not generalization as philosopher is not a kind of fork and fork is not a kind of philosopher.
|
||||
\\ \includegraphics[width=\textwidth]{31.pdf}
|
||||
\subsection{A file is an ordinary file or a directory file. }
|
||||
This is \textbf{generalization}, ordinary file is a kind of file, also directory is a kind of file, this is not aggregation as ordinary/directory file is not part of file.
|
||||
\\ \includegraphics[width=\textwidth]{32.pdf}
|
||||
|
||||
\subsection{Files contain records.}
|
||||
This is \textbf{aggregation}, records are part of files, this is not generalization as records are not kind of file.
|
||||
\\ \includegraphics[width=\textwidth]{33.pdf}
|
||||
|
||||
|
||||
\subsection{A polygon is composed of an ordered set of points. }
|
||||
This is \textbf{aggregation}, points are part of polygon, this is not generalization as points are not kind of polygon.
|
||||
\\ \includegraphics[width=\textwidth]{34.pdf}
|
||||
|
||||
\subsection{A person uses a computer language on a project. }
|
||||
This is \textbf{association}, this is not aggregation as computer language is not a part of person, neither person part of computer language, and this is not generalization as person is not a kind of computer language and computer language is not a kind of person.
|
||||
\\ \includegraphics[width=\textwidth]{35.pdf}
|
||||
\subsection{A route connects two cities }
|
||||
This is \textbf{association}, cities are associated through route.
|
||||
\\ \includegraphics[width=\textwidth]{36.pdf}
|
||||
|
||||
\newpage
|
||||
\subsection{Modems and keyboards are input/output devices. }
|
||||
This is \textbf{generalization}, Modems and keyboards are kind of input/output devices, this is not aggregation as modems/keyboards are not part of input/output devices
|
||||
\\ \includegraphics[width=\textwidth]{37.pdf}
|
||||
\section{Task 3}
|
||||
Are the following sentences consistent with the given class diagram (Explain)?
|
||||
\\
|
||||
\includegraphics[width=\textwidth]{Class1_103.png}
|
||||
|
||||
\paragraph{“John’s car has 10 wheels, including the spares.” }
|
||||
It is \textbf{not consistent} as there is maximum of \textbf{8} wheels on a car.
|
||||
\paragraph{“Each car has at least one wheel.” }
|
||||
It is \textbf{consistent} and true always, as each car has minimum of \textbf{3} wheels on a car
|
||||
\paragraph{“In my car, there are two wheels on the left side and two wheels on the right side” }
|
||||
It is \textbf{consistent}, this particular car contains wheels in amount between minimum and maximum, we do not care about the position of those wheels in our class diagram. \newpage
|
||||
|
||||
|
||||
Draw an exemplary object diagram for the class diagram. \\
|
||||
|
||||
\includegraphics[width=\textwidth]{4.pdf}
|
||||
\newpage
|
||||
\section{Task 4}
|
||||
Prepare a class diagram based on the following description of a card-playing program.
|
||||
\\
|
||||
“Deck, hand, discard pile, and draw pile are collection of cards. The initial size of the hand depends on the type of game. The collection of cards consists of an ordered set of cards. A card can be displayed and discarded. Each card is characterized by its suit and rank. At the beginning of the game the collection of cards is initialized. The cards on the deck can be shuffled.”
|
||||
\\
|
||||
\includegraphics[width=\textwidth]{5.pdf}
|
||||
|
||||
|
||||
|
||||
\end{document}
|
||||
BIN
NotProgramming/ESOEN/HW2/HW2.xdv
Normal file
BIN
NotProgramming/ESOEN/HW2/HW2.xdv
Normal file
Binary file not shown.
BIN
NotProgramming/ESOEN/HW2/KRZYSZTOF_RUDNICKI_ESOEN_HW_2.pdf
Normal file
BIN
NotProgramming/ESOEN/HW2/KRZYSZTOF_RUDNICKI_ESOEN_HW_2.pdf
Normal file
Binary file not shown.
1
NotProgramming/ESOEN/HW2/Untitled Diagram.drawio
Normal file
1
NotProgramming/ESOEN/HW2/Untitled Diagram.drawio
Normal file
@ -0,0 +1 @@
|
||||
<mxfile host="app.diagrams.net" modified="2022-11-05T13:03:43.969Z" agent="5.0 (X11)" version="20.5.2" etag="_BnvAnuLM-ccfV7e98hf" type="github"><diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">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</diagram></mxfile>
|
||||
Loading…
Reference in New Issue
Block a user