Press "Enter" to skip to content

Code of answer paper online exam system

Benefits and limitations of an online examination system.

The big benefit of online examination is the reduction of costs and time, both from the student as from the teacher. The biggest limitation is that you have to be online to use an online examination system. Hence the name “online”.

I think it will be very useful to learner. Any student can easily use this code and make his/her project completely.

To get help you can see the video.

Source code for answer paper.

try {
String sql = "select mark from marks where email=? ";
pst = con.prepareStatement(sql);
pst.setString(1, jTextField1.getText());
rs = pst.executeQuery();
if (rs.next()) {
String mark = rs.getString("mark");
jTextField2.setText(mark);
}else{
JOptionPane.showMessageDialog(null, "Wrong Email...","Error",JOptionPane.ERROR_MESSAGE);
}
} catch (Exception e) {
JOptionPane.showMessageDialog(null, e);
}

Interface of after run the answer paper.

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *