From d7c53b350f07470bfd9c98fa955186722916ab11 Mon Sep 17 00:00:00 2001
From: maggicl
Date: Fri, 16 Nov 2018 22:52:06 +0000
Subject: [PATCH] team-leader: Added back code for quizzes in separate
directory for grading (by Marwan Announ)
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@241 a672b425-5310-4d7a-af5c-997e18724b81
---
quiz/README.md | 5 +
quiz/ab_re_quiz.html | 121 ++++++++++++++++++++++++
quiz/example_quiz_java/exampleofcss.css | 74 +++++++++++++++
quiz/example_quiz_java/javasc.html | 45 +++++++++
quiz/example_quiz_java/main.js | 40 ++++++++
quiz/java_ab_re.js | 51 ++++++++++
6 files changed, 336 insertions(+)
create mode 100644 quiz/README.md
create mode 100644 quiz/ab_re_quiz.html
create mode 100644 quiz/example_quiz_java/exampleofcss.css
create mode 100644 quiz/example_quiz_java/javasc.html
create mode 100644 quiz/example_quiz_java/main.js
create mode 100644 quiz/java_ab_re.js
diff --git a/quiz/README.md b/quiz/README.md
new file mode 100644
index 0000000..56a6b2f
--- /dev/null
+++ b/quiz/README.md
@@ -0,0 +1,5 @@
+# Code for quiz feature
+
+This folder contains code for a multiple choice quiz feature implemented by *Marwan Announ*.
+Sadly, this feature was not implemented in the main site due to lack of time. The code
+is here just for grading purposes.
diff --git a/quiz/ab_re_quiz.html b/quiz/ab_re_quiz.html
new file mode 100644
index 0000000..f11e462
--- /dev/null
+++ b/quiz/ab_re_quiz.html
@@ -0,0 +1,121 @@
+---
+layout: page
+category: File System
+tags: absolute relative path
+author: Marwan Announ
+title: fs
+---
+
+
ABSOLUTE VS RELATIVE
+
+
+ Now, you can ask, why I have to use one or another?
+ What is the difference? and questions like this.
+
Don't worry, the answer it's easy.., we can use an absolute path from any location
+ whereas you want to use relative path we should be present that you have to be in the working directory.
+
+
+
+
We suppose that now you know the differences between both, but, what is the vantages and disadvantages?
+
+
+
+
Pro and Cons of using Absolute and Relative
+
+
+ 1)Absolute paths are clearer: who will have to maintain/modify your script (you or others) will be able to know
+ every time what directories are involved;
+
2)With absolute paths you are sure the involved directories are the one with the exact path you are writing
+ in the script;
+
3)Relative paths are shorter, but you need to be sure of the subtree you're working into;
+
4)You can achieve shortness replacing recurring paths with a variable at the beginning of the script
+
I'm sure that if you read this for two or more times you will be able to pass the quiz
+
+Yeah, right, there is a quiz.
+ The best way to learn something it's not the theory, in fact you have to do some practice, if you click
+ the button "QUIZ", you can try to do a quiz in order to check what you've just read.
+
+
Don't worry it's for you, good luck
+
+
+
* for css, please try to do a button or layout to links the quiz*
+
+