R/exams Moodle schoice question with no points - moodle

I would like to create an schoice question in R/exams, via exams2moodle, which includes an answer option without points:
\begin{answerlist}
\item Zurich is the capital of Switzerland.
\item Italian is an official language in Switzerland.
\item The currency in Switzerland is the Euro.
\item Switzerland is part of the European Union (EU).
\item No answer (****** this is a zero points answer****)
\end{answerlist}
With these conditions I don't know how to configure \exsolution{0100?}. Thank very much.
PD. Why I need this schoice question? In Moodle when one awswer is ticked in schoice question, imply that this question must be answered. Moodle doesn't allow to untick all answers.

You can add such an option for "abstention" through the eponymous argument for processing the individual Moodle items. For example for an mchoice question (as you list above:
exams2moodle("switzerland.Rnw", mchoice = list(abstention = "No answer"))
Analogously, you could add schoice = list(abstention = "Abstention") etc. In either case this adds an answer option that is associated with zero points:

Related

ISO-8859-9/Latin-9 encoding [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I know it exist ISO-8859-9/Latin-5 or ISO-8859-15/Latin-9, but recently I had to manage some messages encoded with ISO-8859-9/Latin-9 format.
What does it exactly mean?
There is ISO-8859-9 which is called Latin-5.
And there is ISO-8859-15 which is called Latin-9.
Yes, it is confusing. In my opinion it's simplest to always only use the ISO-8859-n moniker. That avoids potential confusions.
So "ISO-8859-9/Latin-9" is probably a typo (or someone wrongly thought that the suffix is identical for the "ISO-8859-" and the "Latin-" prefix).
Depending on the source of the data, you can guess which one they meant. ISO-8859-9 is used for Turkish text and ISO-8859-15 is basically the modern replacement for ISO-8859-1 (covering most of Western Europe, mostly used because it has the € symbol).
Source: ISO/IEC 8859 Wiki page.

E PROBLEMS when using Excel [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi my problem is everytime I use excel and place an E in the cell with numbers it turns it into a mathematical equation.
Example: 6807E02 turns to 6.81E+05. Totally driving me insane. Someone please help me?
This is happening because Excel assumes you are entering a number using a variant of scientific notation called E Notation. When you enter 6807E02, Excel assumes you are talking about the number 680,700 (6807 x 10 ^ 2). Excel has it's own method of formatting scientific notation, which is to always put the decimal to the right of the first digit, and end with the E (the multiple of 10) to the far right. That's why you're seeing 6.81E+05 (the display rounds to two digits after the decimal, but the number is still the same).
If you're intentionally trying to type in the text value "6807E02", you can either set the cell's data type to "Text" (Image below), or you can type the single apostrophe key (') before you start entering the number. If you want the number you typed in, but you don't want Excel to override your number formatting, that's unfortunately beyond my abilities. Excel is pretty stringent with custom formatting when it comes to Scientific Notation. You would probably end up spending far more time trying to force Excel to accept your notation as a custom format than the value doing so would add to your project.
Hope this helps!
Hi this link should help you,
From what I can see the easiest solution would be if you put an apostrophe (') in front of the number excel will treat it as text.
For example '6807E02

Is there a Unicode glyph that looks like a "key" icon? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Unicode has a million icon-like glyphs, but they're not always easy to search by, since I don't always know what they look like.
Is there a Unicode glyph that looks like a "key"? Or is there a symbol that's used in database circles to mean "primary key", which is in Unicode?
U+1F511 🔑 KEY
(128273 decimal)
Also:
U+1F5DD 🗝 (Decimal: 🗝) OLD KEY
U+26BF ⚿ SQUARED KEY
U+1F510 🔐 CLOSED LOCK WITH KEY
U+1F512 🔒 LOCK
U+1F513 🔓 OPEN LOCK
U+1F50F 🔏 LOCK WITH INK PEN
To find useful symbols, I have this resource:
http://shapecatcher.com
Allows you to draw a shape, which it then searches for similarly shaped unicode symbols.
I often end up using shapecatcher these days just because it's a fun break just to be able to draw the shape that you want and have the site pull it up for you. At least, sometimes it will pull it up.
Misc. Symbols Blocks
http://shapecatcher.com/unicode/block/Miscellaneous_Symbols_And_Pictographs is also a great category of unicode symbols, though as with all unicode, you may have to test compatibility.
This is duplicated from my answer here because I think the approach will be useful to others besides just me: What Unicode character do you use in your website? (instead of image icons)
I used a little Python 3 script to look, and the closest I found does not display here for me (does display in Idle on my machine), but it is:
9897 ⚩ HORIZONTAL MALE WITH STROKE SIGN
(Looks like a male sign pointed right with a perpendicular stroke added between the arrow and circle)
I searched for various matches like "KEY" and "LOCK" in the unicode names using Python's unicodedata module and no luck there.
Editing to add - Ah hah - one that looks even more like a key:
9911 ⚷ CHIRON
I give both of the above code points in decimal. To see them and their hex codes, go to this link:
http://www.unicode.org/charts/PDF/U2600.pdf
See 26B7 in particular for the Chiron.
Check out #26bf.
9919 ⚿ SQUARED KEY (HTML: ⚿)
It's the parental lock, which is a key inside a square. It's a newer Unicode specification so standard fonts don't support it, but if you can find a font that has it, you're home free.
I've found Google to be the best way to find Unicode characters. I didn't find see anything useful for a key symbol, however.
If you want to search visually, use the PDF charts, since HTML-based listings will only show symbols that occur in the particular set of fonts you have installed.
Lacking any specific symbol, I would just use "I" to indicate an index and "PK" for a primary key.
I browsed through all the symbols (using a PHP script I created a while back) and can't see a key symbol. You could try one of these:
A mathematic-looking P:
ℙ (#8473)
Various star shapes:
★ (#9733)
☆ (#9734)
✶ (#10038)
There doesn't seem to be a unicode character that fits your description, but I'd recommend the silk icon set by famfamfam if you can use icons in your situation--just a suggestion :P

Looking for special characters in Google [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Do you know how to look for special characters with google...?
I'm looking at bash code and there's the ## operator. I would like to know what It does but I wasn't able to figure out a way to protect the character (I'm not sure it's even possible).
This is particularly annoying when you're looking for some code patterns, some characters are always ignored.
Update: this answer is no longer applicable as of 2017. See https://blog.google/products/search/improvements-searching-special-characters-programming-languages/
Google strips most punctuation from queries, as described here, so it won't help you with the bash syntax.
It's very easy to search for the string "##" in the bash documentation: Just run "info bash", hit "s", and enter "##" as the search string.
google strips puntuation, imho, because:
it's somewhere used for special search (chars like - to exclude, +to add and 10..20 to specify a range)
to avoid spammers to get email addresses (characters like # or .)
in my experience, it's even impossible to escape special characters.
the only solution I found, by now, is using yahoo http://it.search.yahoo.com/

Unicode "end of story" [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
I'm looking for a good character that means "end-of-story" in unicode. I remember seeing one once that looked like a fractal and was really cool. Does anyone know where I can find this character? More importantly, where can I go to find a unicode character with a special meaning when I don't know it's names? Google wasn't very helpful.
Edit: I found something that looks kinda like a fractal, and also happens to be called "end-of-story." It's a Thai character.
Is this what you were looking for?
http://www.decodeunicode.org/en/u+0e5b/data/k//XS/khomut31910809.jpg
End of story The Khomut sign is a terminal punctuation character which is placed in old books at the end of a verse in a poem, the end of a chapter or at the end of a story.
Compare to U+17DA Khmer Sign Koomuut
Btw: I found this with a Google Image Search on "end of story" unicode--It was the 4th result. That's probably the best way to search for any kind of symbol. Though without the name of the character it would probably have been impossible to find, since unicode fractal didn't return anything useful.
Go and have a look at the unicode.org code charts. You can browse through them and find a character that you like by what they look like. http://www.unicode.org/charts/
Alternatively, browse through the names of the characters using the data file that has the official character name. Do a search using your browser or editor search function. http://www.unicode.org/Public/5.1.0/ucd/UnicodeData.txt
When you find a character that you want to see what it looks like, just do a search for the character code. e.g. character 0087 (the first field in the UnicodeData.txt file) is searched as U+0087. FileFormat.info usually has all of the characters. For example, END OF SELECTED AREA.
Are you using Windows? Use the Character Map (Start | Accessories | System Tools). I personally like the Greek Omega (U+03A9) or the Ohm sign which is an Omega (U+2126).