 has many drawbacks:

*

*The logic is in 2 different systems (SQL database logic and JavaScript interpreter)

*Interpreting the JavaScript is slow, and is probably overkill for the simple boolean logic needed

*The system is very difficult to maintain, especially because the JavaScript logic must always be written by a developer.

I'd really like to hear suggestions on how to improve this design.
Other Info
My database is MS SQL Server, the backend is.NET C#, and the JavaScript interpreter is JINT.  The UI implementation is not important, but is a AJAX enabled website used to ask and answer these questions.

A: We had to do something similar in the past for a medical system and due to its complexity, we resorted to reuse the rule engine that support multi-classification decision tree. I remember that I came across a nice simple design about this and managed to dig out the link. 
http://www.javaworld.com/javaworld/javatips/jw-javatip139.html?page=1
The design is loosely coupled from the data storage, so making it easy to fit into your existing solution design. 

A: If I understand your question correctly, it sounds like you are building a finite state machine.
Each state corresponds to a question, and based on the answer you move on to a new question. The same question might occur in several separate states.
In your example the begin state would be the question "State?", and if it the answer is "CA" we move to the next state with the question "Rent or Own?". For any answer to that question the next state will be the question "Age?" since there is no further sub-questions for the "State?"->"Rent or Own?" path.
For you db model you need a state table and a relation table between states, ie:
table states:


*

*id (int)

*question (varchar)

*type (set[text, boolean, int])


table state_state: 


*

*fromState (int)

*toState(int)

*answerType (set[any, equals, greater,...]) 

*answer (varchar)


In your code you only need to know the current state, ask the question, make a query to state_state and compare the results to the answer given to know what the id of the next state will be and thus the next question.
If you have a lot of states with the same question you can create a questions table and relate it to state.
If you have several 'begin questions' you can either have one state machine and tie the end questions to the next 'begin question', or you could have several state machines.

A: We had a similar requirement to create custom surveys. We have 3 tables, question, response and questionroute. the response table allows you to create multiple answers to each question, and the questionroute table allows you to select the next question based on a specific response.
CREATE TABLE [dbo].[Question]
(
QuestionID uniqueidentifier,
[Text] varchar(512)
)
CREATE TABLE [dbo].[Response]
(
ResponseID uniqueidentifier,
QuestionID uniqueidentifier,
[Text] varchar(512)
)
CREATE TABLE [dbo].[QuestionRoute]
(
QuestionRouteID uniqueidentifier,
QuestionID uniqueidentifier,
ResponseID uniqueidentifier,
NextQuestionID uniqueidentifier
)

Hsbc Holdings PLC Has $18.82 Million Stake in Iron Mountain Incorporated (NYSE:IRM)
Hsbc Holdings PLC lowered its stake in Iron Mountain Incorporated (NYSE:IRM) by 39.4% in the third quarter, according to its most recent Form 13F filing with the Securities and Exchange Commission. The fund owned 429,173 shares of the financial services provider’s stock after selling 278,956 shares during the quarter. Hsbc Holdings PLC owned approximately 0.15% of Iron Mountain worth $18,817,000 as of its most recent SEC filing.
Other hedge funds also recently bought and sold shares of the company. TCTC Holdings LLC bought a new position in shares of Iron Mountain in the third quarter worth about $27,000. Danda Trouve Investment Management Inc. bought a new position in shares of Iron Mountain in the third quarter worth about $28,000. Newbridge Financial Services Group Inc. lifted its holdings in shares of Iron Mountain by 47.1% in the second quarter. Newbridge Financial Services Group Inc. now owns 859 shares of the financial services provider’s stock worth $36,000 after acquiring an additional 275 shares during the last quarter. TCI Wealth Advisors Inc. lifted its holdings in shares of Iron Mountain by 459.5% in the third quarter. TCI Wealth Advisors Inc. now owns 884 shares of the financial services provider’s stock worth $38,000 after acquiring an additional 726 shares during the last quarter. Finally, Sound Income Strategies LLC lifted its holdings in shares of Iron Mountain by 74.1% in the third quarter. Sound Income Strategies LLC now owns 940 shares of the financial services provider’s stock worth $41,000 after acquiring an additional 400 shares during the last quarter. 77.67% of the stock is owned by hedge funds and other institutional investors.
IRM stock opened at $45.92 on Tuesday. The stock has a market capitalization of $13.30 billion, a P/E ratio of 20.87 and a beta of 0.82. The company has a current ratio of 0.69, a quick ratio of 0.69 and a debt-to-equity ratio of 9.04. Iron Mountain Incorporated has a 12 month low of $31.21 and a 12 month high of $53.14. The firm has a 50-day moving average price of $47.75 and a 200-day moving average price of $46.34.
Iron Mountain (NYSE:IRM) last posted its earnings results on Thursday, November 4th. The financial services provider reported $0.40 EPS for the quarter, missing analysts’ consensus estimates of $0.70 by ($0.30). The company had revenue of $1.13 billion during the quarter, compared to the consensus estimate of $1.13 billion. Iron Mountain had a return on equity of 53.63% and a net margin of 14.48%. The firm’s revenue was up 9.0% compared to the same quarter last year. During the same period last year, the company posted $0.61 EPS. As a group, equities analysts predict that Iron Mountain Incorporated will post 2.74 EPS for the current fiscal year.
The firm also recently disclosed a quarterly dividend, which was paid on Thursday, January 6th. Investors of record on Wednesday, December 15th were issued a $0.6185 dividend. This represents a $2.47 dividend on an annualized basis and a yield of 5.39%. The ex-dividend date of this dividend was Tuesday, December 14th. This is a positive change from Iron Mountain’s previous quarterly dividend of $0.62. Iron Mountain’s dividend payout ratio (DPR) is 112.27%.
In related news, COO John Tomovcsik sold 31,919 shares of the firm’s stock in a transaction that occurred on Monday, December 27th. The shares were sold at an average price of $52.06, for a total value of $1,661,703.14. The sale was disclosed in a document filed with the Securities & Exchange Commission, which is available at the SEC website. Also, EVP Deirdre Evens sold 32,087 shares of the firm’s stock in a transaction that occurred on Tuesday, December 28th. The stock was sold at an average price of $52.61, for a total transaction of $1,688,097.07. The disclosure for this sale can be found here. In the last quarter, insiders sold 89,222 shares of company stock valued at $4,623,836. 2.10% of the stock is owned by company insiders.Boston – Environment Massachusetts delivered a petition signed by 20,000 Massachusetts residents today asking state leaders to restrict the use of bee-killing pesticides known as neonicotinoids.
Across the country, millions of bees are dying off and bee colonies are in distress due to a phenomenon known as colony collapse disorder. While many factors are implicated in colony collapse disorder, one cause is the increased use of neonicotinoid insecticides, or neonics.
The petition asks state leaders to restrict the use of neonics. Representative Carolyn Dykema and Senator Jamie Eldridge have filed bills (H.763, S.463) to reduce the use of these pesticides.
Bees pollinate 71 of the 100 most common food crops in the world, including apples, pumpkins, cranberries, blueberries, and other crops grown in Massachusetts.
Officials in Maryland, Connecticut, and Vermont have passed laws to reduce neonicotinoid use.
Since April, staff members working with Environment Massachusetts have knocked on doors in communities across Massachusetts, holding tens of thousands of one-on-one conversations to educate the public about the threats facing bee populations and build grassroots support for action.The Hudson County Latino Foundation to Host A Facebook Live Event on the Recent Supreme Court Case on DACA
The foundation hopes to inform the local Latino community how this court case on DACA will impact them
The Hudson County Latino Foundation is hosting a Facebook Live event to discuss the latest Supreme Court case