theshell.ch/site/pages/fs/ab_re_quiz.html

96 lines
3.3 KiB
HTML
Raw Normal View History

---
layout: page
category: File System
tags: absolute relative path
author: Marwan Announ
title: fs
---
<h1>ABSOLUTE VS RELATIVE</h1>
<p>
Now, you can ask, why I have to use one or another?
<br> What is the difference? and questions like this.
<br> <br> <br> Don't worry, the answer it's easy.., we can use an absolute path from any location
<br> whereas you want to use relative path we should be present that you have to be in the working directory.
</p>
<!-- quiz about absolute vs relative, where the user have to choose one or another(javascript) -->
<h2> I'm sure that if you read this for two or more times you will be able to pass the quiz </h2>
Yeah, right, there is a quiz.
<br> The best way to learn something it's not the theory, in fact you have to do some practice, if you click
<br> the button "QUIZ", you can try to do a quiz in order to check what you've just read.
<br><br><br> Don't worry it's for you, good luck
<br><br><br> * for css, please try to do a button or layout to links the quiz*
<!-- quiz di javascript pronto che linkero -->
<link href ="style.css" rel ="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<script src = "main.js"></script>
</head>
<body>
<h1>Are you ready for the quiz?</h1>
<form id = "quiz" name = "quiz">
<!--1-->
<p class = "questions">What is path?</p>
<input type = "radio" id = "mc" name = "question1" value = "Is a location to a folder or file in a file system of a Operating System"> Is a location to a folder or file in a file system of a Operating System<br>
<input type = "radio" id = "mc" name = "question1" value = "Is an Operating System"> Is an Operating System<br>
<input type = "radio" id = "mc" name = "question1" value = "Is a folder that you can find on your Operating System"> Is a folder that you can find on your Operating System<br>
<!--2-->
<p class = "questions">What is an absolute path?</p>
<input type = "radio" id = "mc" name = "question2" value = "The bigger folder that you can find on your Operating System"> The bigger folder that you can find on your Operating System<br>
<input type = "radio" id = "mc" name = "question2" value = "Is defined as specifying the location of a file or directory from the root directory(/)"> Is defined as specifying the location of a file or directory from the root directory(/)<br>
<input type = "radio" id = "mc" name = "question2" value = "The last location of a file or directory from Documents"> The last location of a file or directory from Documents<br>
<p class = "questions">"cat /home/a1/group1.txt" it's an example of absolute path?</p>
<input type = "radio" id = "mc" name = "question3" value = "YES"> YES <br>
<input type = "radio" id = "mc" name = "question3" value = "NO"> NO <br>
<p class = "questions">If you choose "NO" why it's not correct? if you think it's correct don't write anything</p>
<input id = "textbox" type = "text" name = "question4">
<p class = "questions">"pwd/home/user1cd Documents" it's an example of relative path?</p>
<input type = "radio" id = "mc" name = "question5" value = "YES"> YES <br>
<input type = "radio" id = "mc" name = "question5" value = "NO"> NO <br>
<br><br><input id = "button" type = "button" value = "Finish? Sure!?" onclick = "check();">
</form>
<div id = "after_submit">
<p id = "number_correct"></p>
<p id = "message"></p>
<img id = "picture">
</div>