Click here to Skip to main content
15,907,392 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
I am uploading a question paper (only .doc format) and save it into a database, but my problem is that I want to store each question in one row of the database table. Every question has chemical structure of IUPAC name.
What should I do?

Format of my Question Paper:

*[image of chemical compound]=image will display here

1.) The IUPAC name of is:

[image of chemical compound]

(A) Ethyoxy methanone (B) ethyl-2-methyl propanoate
(C) ethoxy propanone (D) 2-methyl ethoxy propanone

2.) The IUPAC name of the following compound is:

[image of chemical compound]

(A) 3-amino-2-hydroxy propanoic acid (B) 2-amino-propan-3-ol-1-oic acid
(C) 2-amino-3-hydroxy propanoic acid (D) amino hydroxy propanoic acid.



3.) IUPAC name of the compound [image of chemical compound]


(A) 4,5-dimethyloct-4-ene (B) 2,3-dipropylbut-2-ene
(C) 4-methyl-5-propylhex-4-ene (D) none of the above

4.) The in correct IUPAC name is:

(A)[image of chemical compound] (B) [image of chemical compound]
(C)[image of chemical compound] (D) [image of chemical compound]

5.) IUPAC name of the compound

[image of chemical compound]



(A) -amino--hydroxybutyric acid (B) 4-amino-2-hydroxybutanoic acid
(C) -amino--hydroxybutyric acid (D) 1-amino-3-hydroxybutyric acid
Posted
Updated 30-Nov-11 23:47pm
v4
Comments
RaisKazi 28-Nov-11 7:31am    
Could you change that Title to some meaningful text? Your Question description is unclear.

1 solution

If you have multiple questions in that one .doc file there is only one thing for you to do: Parsing[^].

For complex things like languages you would want to write a Parser[^], but for very simple parsing Regular Expressions[^] are more than sufficient.

If you'd show us the the structure of your .doc files it would be easier for us to help you.

Regards,

—MRB
 
Share this answer
 
Comments
Member 7745088 29-Nov-11 1:51am    
how did i see you .doc file there no option here to see .doc file

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900