Skip to content
Snippets Groups Projects
Commit 81c59877 authored by Petr Ježek's avatar Petr Ježek
Browse files

moodle formats, readme update

parent 1df65f76
No related branches found
No related tags found
No related merge requests found
# SEM_PRO
# Zadání
## Nástroj pro zadávání zkouškových testů
Vedoucí: Ing. Karel Frajták, Ph.D.
### Popis
Nástroj pomůže při organizaci zkouškových testů pro studenty. Vyučující bude moci zadávat otázky (volný text, 1 z N, M z N, apod.), kategorizovat je a sestavovat testy podle požadavků (kategorie. počet bodů, apod.). Systém zamezí opakování otázek v testech.
Test bude pak možné vyexportovat do formátu pro Moodle nebo do PDF pro přímý tisk.
### Výstupy
- webová aplikace umožňující tvorbu zkouškových testů pro nahrání do moodle
- závěrečná zpráva o rozsahu min. 10 normostran, 1800 znaků/strana, forma LaTeX
### Termíny kontrolních bodů
- každé 2 týdny počínaje 1.10.2021
### Očekávaný obsah závěrečné zprávy
- představení téma a motivace
- analýza
- návrh řešení, architektury, zvolené technologie
- detaily implementace
- dokumentace
- závěr
# Rozcestník
- [Závěrečná zpráva semestrálního projektu v LaTeX Overleaf](https://www.overleaf.com/read/hgphgsrqpzkc)
- [Gitlab repozitář aplikace](https://gitlab.fel.cvut.cz/jezekpe6/sem_pro)
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you can’t go back!**
If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>Moodle Quiz XHTML Export</title>
<style type="text/css">
body {
font-family: verdana, helvetica, sans-serif;
background-color: #fff;
color: #000;
}
.question {
border: 1px solid #ddd;
margin: 5px;
padding: 3px;
}
.question h3 {
font-weight: normal;
font-size: 125%;
}
.question ul {
list-style-type: none;
}
</style>
</head>
<body>
<form action="...REPLACE ME..." method="post">
<!-- question: 235277 name: Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je -->
<div class="question">
<h3>Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je</h3>
<p class="questiontext"><p><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je&quot;}" data-sheets-userformat="{&quot;2&quot;:12801,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0,&quot;15&quot;:&quot;\&quot;Calibri\&quot;, sans-serif&quot;,&quot;16&quot;:9}">Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je</span><br></p></p>
<ul class="multichoice">
<li><input name="quest_235277" type="checkbox" value="&lt;p&gt;2n&lt;/p&gt;" /><p>2n</p></li>
<li><input name="quest_235277" type="checkbox" value="&lt;p&gt;n&lt;/p&gt;" /><p>n</p></li>
<li><input name="quest_235277" type="checkbox" value="&lt;p&gt;2&lt;/p&gt;" /><p>2</p></li>
<li><input name="quest_235277" type="checkbox" value="&lt;p&gt;n/2&lt;/p&gt;" /><p>n/2</p></li>
</ul>
</div>
<!-- question: 235276 name: Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je -->
<div class="question">
<h3>Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je</h3>
<p class="questiontext"><p>Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je<br></p></p>
<ul class="multichoice">
<li><input name="quest_235276" type="checkbox" value="&lt;p&gt;2n&lt;/p&gt;" /><p>2n</p></li>
<li><input name="quest_235276" type="checkbox" value="&lt;p&gt;n&lt;/p&gt;" /><p>n</p></li>
<li><input name="quest_235276" type="checkbox" value="&lt;p&gt;n^2&lt;/p&gt;" /><p>n^2</p></li>
<li><input name="quest_235276" type="checkbox" value="&lt;p&gt;2^n&lt;/p&gt;" /><p>2^n</p></li>
</ul>
</div>
<p class="submit">
<input type="submit" />
</p>
</form>
</body>
</html>
// question: 0 name: Switch category to $course$/top/kombinace1
$CATEGORY: $course$/top/kombinace1
// question: 235277 name: Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je
// [tag:1] [tag:kombinace1]
::Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je::[html]<p><span data-sheets-value\="\{&quot;1&quot;\:2,&quot;2&quot;\:&quot;Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je&quot;\}" data-sheets-userformat\="\{&quot;2&quot;\:12801,&quot;3&quot;\:\{&quot;1&quot;\:0\},&quot;12&quot;\:0,&quot;15&quot;\:&quot;\\&quot;Calibri\\&quot;, sans-serif&quot;,&quot;16&quot;\:9\}">Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je</span><br></p>{
~%-33.33333%<p>2n</p>
~%-33.33333%<p>n</p>
~%100%<p>2</p>
~%-33.33333%<p>n/2</p>
}
// question: 235276 name: Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je
// [tag:1] [tag:kombinace1]
::Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je::[html]<p>Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je<br></p>{
~%-33.33333%<p>2n</p>
~%-33.33333%<p>n</p>
~%-33.33333%<p>n^2</p>
~%100%<p>2^n</p>
}
<?xml version="1.0" encoding="UTF-8"?>
<quiz>
<!-- question: 0 -->
<question type="category">
<category>
<text>$course$/top/kombinace1</text>
</category>
<info format="html">
<text></text>
</info>
<idnumber></idnumber>
</question>
<!-- question: 235277 -->
<question type="multichoice">
<name>
<text>Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je</text>
</name>
<questiontext format="html">
<text><![CDATA[<p><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je&quot;}" data-sheets-userformat="{&quot;2&quot;:12801,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0,&quot;15&quot;:&quot;\&quot;Calibri\&quot;, sans-serif&quot;,&quot;16&quot;:9}">Počet kombinací generovaných technikou Condition Coverage (CC) pro výraz v binární logice, kde n je počet vstupů, je</span><br></p>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>2.0000000</defaultgrade>
<penalty>0.3333333</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<single>false</single>
<shuffleanswers>true</shuffleanswers>
<answernumbering>abc</answernumbering>
<showstandardinstruction>1</showstandardinstruction>
<correctfeedback format="html">
<text>Vaše odpověď je správná.</text>
</correctfeedback>
<partiallycorrectfeedback format="html">
<text>Vaše odpověď je částečně správná.</text>
</partiallycorrectfeedback>
<incorrectfeedback format="html">
<text>Vaše odpověď je chybná.</text>
</incorrectfeedback>
<shownumcorrect/>
<answer fraction="-33.33333" format="html">
<text><![CDATA[<p>2n</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<answer fraction="-33.33333" format="html">
<text><![CDATA[<p>n</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<answer fraction="100" format="html">
<text><![CDATA[<p>2</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<answer fraction="-33.33333" format="html">
<text><![CDATA[<p>n/2</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<tags>
<tag><text>1</text>
</tag>
<tag><text>kombinace1</text>
</tag>
</tags>
</question>
<!-- question: 235276 -->
<question type="multichoice">
<name>
<text>Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je</text>
</name>
<questiontext format="html">
<text><![CDATA[<p>Počet kombinací generovaných technikou Multiple Condition Coverage (MCC) pro výraz v binární logice, kde n je počet vstupů, je<br></p>]]></text>
</questiontext>
<generalfeedback format="html">
<text></text>
</generalfeedback>
<defaultgrade>2.0000000</defaultgrade>
<penalty>0.3333333</penalty>
<hidden>0</hidden>
<idnumber></idnumber>
<single>false</single>
<shuffleanswers>true</shuffleanswers>
<answernumbering>abc</answernumbering>
<showstandardinstruction>1</showstandardinstruction>
<correctfeedback format="html">
<text>Vaše odpověď je správná.</text>
</correctfeedback>
<partiallycorrectfeedback format="html">
<text>Vaše odpověď je částečně správná.</text>
</partiallycorrectfeedback>
<incorrectfeedback format="html">
<text>Vaše odpověď je chybná.</text>
</incorrectfeedback>
<shownumcorrect/>
<answer fraction="-33.33333" format="html">
<text><![CDATA[<p>2n</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<answer fraction="-33.33333" format="html">
<text><![CDATA[<p>n</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<answer fraction="-33.33333" format="html">
<text><![CDATA[<p>n^2</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<answer fraction="100" format="html">
<text><![CDATA[<p>2^n</p>]]></text>
<feedback format="html">
<text></text>
</feedback>
</answer>
<tags>
<tag><text>1</text>
</tag>
<tag><text>kombinace1</text>
</tag>
</tags>
</question>
</quiz>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment