feat: add hw2

This commit is contained in:
kuchyx 2022-11-05 14:03:13 +01:00
parent 9ba247de1f
commit 16fdbf9b60
8 changed files with 172 additions and 0 deletions

View File

@ -0,0 +1,13 @@
\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}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.1}A dining philosopher is using a fork.}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.2}A file is an ordinary file or a directory file. }{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.3}Files contain records.}{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.4}A polygon is composed of an ordered set of points. }{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.5}A person uses a computer language on a project. }{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.6}A route connects two cities }{1}{}\protected@file@percent }
\@writefile{toc}{\contentsline {subsection}{\numberline {2.7}Modems and keyboards are input/output devices. }{1}{}\protected@file@percent }
\gdef \@abspage@last{1}

View File

@ -0,0 +1,19 @@
# Fdb version 3
["xdvipdfmx"] 1667653186 "HW2.xdv" "HW2.pdf" "HW2" 1667653186
"HW2.xdv" 1667653186 9408 ed6fcbd2a23fce2a5fa2d215d2f02a64 "xelatex"
(generated)
"HW2.pdf"
["xelatex"] 1667653185 "/home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2/HW2.tex" "HW2.xdv" "HW2" 1667653186
"/home/kuhyx/Zlew/Studia/WUT_Computer_Science/NotProgramming/ESOEN/HW2/HW2.tex" 1667653185 1094 4b200e9d3155af14ceb5aa91cd9c5138 ""
"/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/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 ""
"HW2.aux" 1667653186 1350 086026ea45cf03e87ebaf925d123d031 "xelatex"
"HW2.tex" 1667653185 1094 4b200e9d3155af14ceb5aa91cd9c5138 ""
(generated)
"HW2.aux"
"HW2.log"
"HW2.xdv"

View File

@ -0,0 +1,41 @@
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/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
OUTPUT HW2.xdv
INPUT HW2.aux

View File

@ -0,0 +1,69 @@
This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022/Arch Linux) (preloaded format=xelatex 2022.11.5) 5 NOV 2022 13:59
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/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 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 3.
LaTeX Font Info: Trying to load font information for TS1+cmr on input line 3.
(/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 3.
LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
[1
] (./HW2.aux) )
Here is how much of TeX's memory you used:
482 strings out of 476156
10214 string characters out of 5814963
311701 words of memory out of 5000000
21329 multiletter control sequences out of 15000+600000
469307 words of font info for 34 fonts, out of 8000000 for 9000
1348 hyphenation exceptions out of 8191
35i,5n,38p,340b,107s stack positions out of 5000i,500n,10000p,200000b,80000s
Output written on HW2.xdv (1 page, 9408 bytes).

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,30 @@
\documentclass[12pt]{article}
\begin{document}
\section{Task 1}
\subsection{Task A}
\subsection{Task B}
\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.
\subsection{A file is an ordinary file or a directory file. }
\subsection{Files contain records.}
\subsection{A polygon is composed of an ordered set of points. }
\subsection{A person uses a computer language on a project. }
\subsection{A route connects two cities }
\subsection{Modems and keyboards are input/output devices. }
\end{document}

Binary file not shown.