Problem in developin an online testing system
Closed
                                    
                        vibhu                    
                                    -
                            Nov 12, 2008 at 01:41 PM
                        
GiantLeap Posts 85 Registration date Saturday November 29, 2008 Status Member Last seen December 8, 2008 - Dec 3, 2008 at 03:35 PM
        GiantLeap Posts 85 Registration date Saturday November 29, 2008 Status Member Last seen December 8, 2008 - Dec 3, 2008 at 03:35 PM
        Related:         
- Problem in developin an online testing system
 - Messenger audio downloader online - Guide
 - Gamevault online - Download - Online gaming and betting
 - How to know if someone is in another call in viber online - Guide
 - Kaspersky online scanner - Guide
 - Four elements trainer online - Download - Adult games
 
2 responses
                        
                    pseudo code:
Pass in to the funtion
a) intUSER_TEST_SCORE
b) intQUESTION_NUMBER_TO_CHECK
c) strGIVEN_ANSWER
strRIGHT = select correct_answer from questions where questions.question_number is equal to intQUESTION_NUMBER_TO_CHECK
if strGIVEN_ANSWER = strRIGHT
intUSER_TEST_SCORE = intUSER_TEST_SCORE + 1
end if
Hope it helps
            Pass in to the funtion
a) intUSER_TEST_SCORE
b) intQUESTION_NUMBER_TO_CHECK
c) strGIVEN_ANSWER
strRIGHT = select correct_answer from questions where questions.question_number is equal to intQUESTION_NUMBER_TO_CHECK
if strGIVEN_ANSWER = strRIGHT
intUSER_TEST_SCORE = intUSER_TEST_SCORE + 1
end if
Hope it helps
                
        
                    GiantLeap
    
        
                    Posts
            
                
            85
                
                            Registration date
            Saturday November 29, 2008
                            Status
            Member
                            Last seen
            December  8, 2008
            
            
                    45
    
    
                    
Dec 3, 2008 at 03:35 PM
    Dec 3, 2008 at 03:35 PM
                        
                    use Microsoft SQL query