Skip to content

dsc-courses/practice.dsc10.com

Repository files navigation

practice.dsc10.com

Repository containing practice problems for DSC 10 (past exams and discussion). Hosted at practice.dsc10.com. Before using the repo, make sure you have the following packages installed (install them all via pip install):

- BeautifulSoup4
- pandoc
- lxml
- pyyaml
- regex

Also, make sure you install pandoc as a standalone program on your computer.

Style guide for writing up problems:

  • Answer: should be bolded followed by unbolded answer(s), comma separated if it fits on one line, or each answer on a new line if it doesn't fit on one line
  • Use () for choose one, [] for select all. Add a space before the text of each answer choice.
  • For subsubparts, use numbers followed by period to introduce each question

In translating from Latex to Markdown, there are a few easy find/replace things that help with a lot of things:

\begin{verbatim} --> py \end{verbatim} --> " --> ' _ --> _ \texttt{ --> ` \textbf{ --> ** \textit{ --> * \bubble --> ( ) \correctbubble --> ( ) \squarebubble --> [ ] \correctsquarebubble --> [ ] \begin{subprobset} --> \end{subprobset} --> \begin{subprob} --> # BEGIN SUBPROB \end{subprob} --> # END SUBPROB \begin{responsebox} --> # BEGIN SOLUTION \end{responsebox} --> # END SOLUTION \begin{soln} --> # BEGIN SOLUTION \end{soln} --> # END SOLUTION \bigskip --> \noindent -->

Note: ( ) and [ ] need a space between the brackets. There should not be blank lines between options.

To explain up-front:

  • All exams are individual (collaboration on exams is never allowed).
  • What ( ) and [ ] mean. In their absence, students needed to write out code by hand.
  • In-person means on-paper.
  • Think of select-all questions as a sequence of true-false questions. Partial credit for these questions was assigned accordingly.
  • When taking an exam for practice, we recommend having a copy of the DSC 10 reference sheet open in another tab, as well as a second copy of the exam, so you can access the data descriptions.

Note: encoding used is UFT-8, if you are running into encoding errors using run.py, use run-uft8.py

About

Practice questions for DSC 10.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published