1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
\documentclass[12pt, addpoints]{exam}
\hyphenpenalty=10000
\hbadness=10000
\widowpenalty=10000
\clubpenalty=10000
\sloppy
\pagestyle{plain}
\usepackage{titlesec}
\usepackage{circuitikz}
\usepackage{graphicx}
\usepackage{svg}
\usepackage[a4paper, right=1.5in, left=1.5in,
top=0.5in, bottom=0.8in ]{geometry}
\usepackage{lipsum}
\usepackage{fix-cm}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage[scale=0.85]{plex-mono}
\usepackage{plex-sans}
\usepackage{fontspec}
\defaultfontfeatures{LetterSpace=1.05}
\setmainfont{Sabon}
\ctikzset{resistor = european}
\usetikzlibrary{calc,shapes.geometric,shapes.gates.logic.US,arrows}
\setlength{\parskip}{0.5em}
\PassOptionsToPackage{hyphens}{url}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\usepackage{titling}
\newenvironment{myquote}{
\list{}{\leftmargin=1in\rightmargin=0.6in}\item[]}%
{\endlist}
\setlength{\droptitle}{-3cm}
\pretitle{\vspace{0.3in}\begin{flushleft}\Large\bfseries}
\posttitle{\par\end{flushleft}}
\preauthor{\vspace{0.1in}\begin{flushleft}}
\postauthor{\end{flushleft}}
\predate{\begin{flushleft}}
\postdate{\par\end{flushleft}}
\title{Computer Science Paper 1}
\author{Mohit Agarwal}
\date{2021}
\begin{document}
Computer Science Test: Data representation
\vspace{5mm}
\makebox[\textwidth]{Name:\enspace\hrulefill}
\vspace{5mm}
\makebox[\textwidth]{Teacher’s name:\enspace\hrulefill}
\vspace{2cm}
\begin{center}
\gradetable[h][questions]
\end{center}
\vspace{2cm}
\noindent Written by Mohit Agarwal (\url{https://mohit.uk}) for the
Computer Science Department at William Perkin Church of England High
School
\begin{myquote}
This work is licensed under the Creative Commons Attribution 4.0
International License. To view a copy of this license, visit\\
\url{http://creativecommons.org/licenses/by/4.0/} or send a letter to
Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
\end{myquote}
\include{questions.tex}
\end{document}
|