Solved

How to store questions in a table that contains mathematical symbols.

Posted on 2013-06-10
4
206 Views
Last Modified: 2013-06-12
How to store this kind of questions in the database that involves mathematical questions.
The questions contains symbols.
FM-quiz-1.doc
0
Comment
Question by:searchsanjaysharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 8

Expert Comment

by:rpkhare
ID: 39235534
I think for special characters, NVARCHAR datatype is the right choice. It accepts Unicode characters.
0
 
LVL 25

Expert Comment

by:chaau
ID: 39236271
I think the answers for question 20 can only be stored as images. In this case, the right data type is varbinary
0
 
LVL 48

Accepted Solution

by:
PortletPaul earned 500 total points
ID: 39236492
I guess the first point is there are questions, and there are options (for each question) and the questions appear to be purely varchar or nvarchar (I'd go with nvarchar)

It would seem a pity to have to use images for all options as so many are text, however these indicate "issues":
Q6 Options:
(a) M–1L3       (b) ML–3       (c) MLT–1       (d) M–1L–1T.

q12 Options
(a) dp = –¿dz             (b) dp = –¿dz             (c) d¿¿= –¿dz             (d) dp = –zd¿

q20 Options
(even in Word 3 of 4 are images)
The reason for pasting in those options is to highlight the possibility that different methods of rendering may present some challenges.

e.g.
http://en.wikipedia.org/wiki/Help:Displaying_a_formula
http://en.wikipedia.org/wiki/Help:Displaying_a_formula#Pros_of_HTML

http://www.univie.ac.at/moe/formeln.html

How do you intend to deliver this test? Through a web browser?
MAYBE, the formulae could be represented in html? (in which case nvarchar could be used.)
0
 

Author Comment

by:searchsanjaysharma
ID: 39236970
The test would be on Windows based application in Vb.Net.

I was thinking to fethc the questions dynamically based on the difficulty level.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question