Академический Документы
Профессиональный Документы
Культура Документы
Example : HashMap,Vector,ArrayList,HashSet
Design
1. How will you design Student details site? Student, Subject and Marks are
Home Page
Login fail
Login
Login
Success
Admin
Create/Modify
User Details
Staff
Create/Modify
Subject Details
Student
View/Update
Personal details
Use case
View / Update Details
Student
Enroll Subjects
View Marks
Staff
Enter/Update Subject
Details
Web Admin
Object Definition
Student Object
Name
Name
Address
Phone
Email
Roll Number
Type
String
String
String
String
Long
Subject Object
Name
Subject Id
Address
Phone
Email
Roll Number
Type
String
String
String
String
Long
Marks Object
Name
Name
Address
Phone
Email
Roll Number
Type
String
String
String
String
Long
User Object
Name
Username
Password
2.
Type
String
String
How will you design Online Quiz site? Add timer after each question?
Entities
Lets define the entities of online quiz. (Refer below diagram)
Administrator
Student
Faculty
Use case
View Reports
Administrator
Registration
View Reports
Faculty
Set Questions and Timer
Take Exams
Student
Object Definition
View Reports
Student
Name
Student Id
Student Name
Type
String
String
View
View
Reports
Reports
Faculty
Faculty
Administrator
Insert
Insert
Questions
Questions
Registration
User
Name
Username
Password
Type
String
String
Question
Name
Question Id
Question Name
Timer
Type
String
String
Long
Answer
Name
Answer Id
Question Id
Answer
Is_Correct_Answer
Type
String
String
String
Boolean
Student Response
Name
Student Id
Question Id
Answer Id
Type
String
String
String
Mark
Name
Student Id
Question Id
Mark
Grade
Type
String
String
String
String