Skip to content

Commit

Permalink
Start Section 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Jun 11, 2024
1 parent 2183fc4 commit d5f7f5e
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
12 changes: 12 additions & 0 deletions examples/questions.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\documentclass{istqb}
\usepackage{markdown}
\markdownSetup{
import = {
istqb/sample-exam/questions = {
questions as ask,
}
}
}
\begin{document}
\markdownInput[snippet=ask]{questions.yml}
\end{document}
52 changes: 52 additions & 0 deletions examples/questions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
duration: [10, 15] # minutes
num-questions: 3
max-score: 4
pass-score: 50 # percent
questions:
1:
learning-objective: 1.2.3
k-level: K1
number-of-points: 1
question: >
What is the answer to life,
the universe, and everything?
answers: {a: 24, b: 42, c: 64, d: 84}
correct: b
explanation: >
The answer to life, the universe,
and everything is a concept from
Douglas Adams’ science fiction
series “The Hitchhiker’s Guide to
the Galaxy”, where the supercomputer
Deep Thought gives the answer as 42.
5:
learning-objective: 4.5.6
k-level: K2
number-of-points: 1
question: >
What is the capital of France?
answers:
a: Berlin
b: Madrid
c: Paris
d: Rome
correct: c
explanation: >
The capital of France is Paris,
known for art, fashion, and culture.
6:
learning-objective: 7.8.9
k-level: K3
number-of-points: 2
question: >
Which two of the following animals
are classified as mammals?
answers: { a: Shark, b: Dolphin,
c: Eagle, d: Whale, e: Crocodile }
correct: [b, d]
explanation: >
Dolphins and whales are classified
as mammals because they are
warm-blooded, have lungs for
breathing air, and nurse their
young with milk.
10 changes: 10 additions & 0 deletions images/landing-page.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
\smallskip

\begingroup
\centering
\setlength{\fboxsep}{0pt}%
\fbox{\includegraphics[width=.725\linewidth, trim={15mm 30mm 15mm 40mm}, clip]{examples/landing-page}}%
\phantomsection
\label{fig:landing-page}
\par
\endgroup
10 changes: 10 additions & 0 deletions images/questions.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
\smallskip

\begingroup
\centering
\setlength{\fboxsep}{0pt}%
\fbox{\includegraphics[width=\linewidth, trim={20mm 57.5mm 20mm 45mm}, clip]{examples/questions}}%
\phantomsection
\label{fig:questions}
\par
\endgroup

0 comments on commit d5f7f5e

Please sign in to comment.