SlideShare a Scribd company logo
Ho Chi Minh City University of Technology, Vietnam
Faculty of Computer Science and Engineering
Lab for Systems Analysis and VErification (SAVE)

Assisting Students in Finding Their Own Bugs in
Programming Exercises using Verification and
Group Testing Techniques
Long H. Pham, Nam P. Mai, Mai H. Dinh, Tho T. Quan, Hung Q. Ngo
November 5, 2013
Outline
1. Student Program Correctness Problem
2. Our approach
3. Framework
4. How it works
5. Case study
6. Experiment
7. Issues & Future works
Verification and Group Testing Techniques

1. Student Program Correctness Problem
• Traditional method: read all programs to verify
⇒ 999 999 999 LOC ?
• Automated assessment system: execute, pass all test cases
⇒ test suite cover all possible errors ?
⇒ real execution is potentially dangerous for the system ?

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

3/24
Verification and Group Testing Techniques

2. Our approach
• Static methods & Automation

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

4/24
Verification and Group Testing Techniques

3. Framework

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

5/24
Verification and Group Testing Techniques

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

6/24
Verification and Group Testing Techniques

• Exercise list

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

7/24
Verification and Group Testing Techniques

• Bubble sort problem

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

8/24
Verification and Group Testing Techniques

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

9/24
Verification and Group Testing Techniques

4. How it works
• Component point of view
• System point of view

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

10/24
Verification and Group Testing Techniques

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

11/24
Verification and Group Testing Techniques

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

12/24
Verification and Group Testing Techniques

5. Case study

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

13/24
Verification and Group Testing Techniques
• Bubble sort algorithm with the 10th line is logically wrong
• The 10th line belongs to block S5 ⇒ S5 is expected as the error block.

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

14/24
Verification and Group Testing Techniques
• The testing matrix for above program has 1343 rows and 51 columns
• Loop structure ⇒ compact testing matrix to 11 rows and 9 columns
• The test outcome after running test cases is {0 1 0 1 1 1 1 1 1 1 0}

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

15/24
Verification and Group Testing Techniques

• The error block is highlighted with red color
⇒ programmer can easily know where the problem is and fix it without
too much effort.

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

16/24
Verification and Group Testing Techniques

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

17/24
Verification and Group Testing Techniques

6. Experiment
• 6 well-known algorithms, with some different implementations
• Each implementation has exactly one bug
⇒ test whether the system can localize these bugs or not

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

18/24
Verification and Group Testing Techniques

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

19/24
Verification and Group Testing Techniques

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

20/24
Verification and Group Testing Techniques

• The result of our experiment is shown in the table and figure below
• The figure shows the chart comparing right localizations with wrong
localizations in each algorithm.
• The detailed numbers of right/wrong localizations are in the table.

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

21/24
Verification and Group Testing Techniques
• Successfully 19 times in total 22 implementations
• 3 remained implementations are not localized successfully because the
generated test suite is not good enough

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

22/24
Verification and Group Testing Techniques

7. Issues & Future works
• Path explosion
• Missing code

Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam

23/24
Thanks for your listenning.
Question?

More Related Content

What's hot

The Moodle quiz at the Open University
The Moodle quiz at the Open UniversityThe Moodle quiz at the Open University
The Moodle quiz at the Open University
Tim Hunt
 
Report_Card May 2016
Report_Card May 2016Report_Card May 2016
Report_Card May 2016
Carrie E. Williams
 
Data visulization v1.0
Data visulization v1.0Data visulization v1.0
Data visulization v1.0
Tuan Luong
 
Moodle’s building blocks for eAssessment tools
Moodle’s building blocks for eAssessment toolsMoodle’s building blocks for eAssessment tools
Moodle’s building blocks for eAssessment tools
Tim Hunt
 
Optimizing your Response to Intervention (RTI) Model with Wowzers Online Math
Optimizing your Response to Intervention (RTI) Model with Wowzers Online MathOptimizing your Response to Intervention (RTI) Model with Wowzers Online Math
Optimizing your Response to Intervention (RTI) Model with Wowzers Online Math
WowzersMath
 
UNC-CH Poll Everywhere Pilot
UNC-CH Poll Everywhere PilotUNC-CH Poll Everywhere Pilot
UNC-CH Poll Everywhere Pilot
scadwell
 
1000 report
1000 report1000 report
1000 report
Carrie E. Williams
 
It Smf Thailand Seminar Evaluation Survey Results March 2010 (1)
It Smf Thailand  Seminar Evaluation Survey Results March 2010 (1)It Smf Thailand  Seminar Evaluation Survey Results March 2010 (1)
It Smf Thailand Seminar Evaluation Survey Results March 2010 (1)
Gonzague PATINIER
 

What's hot (8)

The Moodle quiz at the Open University
The Moodle quiz at the Open UniversityThe Moodle quiz at the Open University
The Moodle quiz at the Open University
 
Report_Card May 2016
Report_Card May 2016Report_Card May 2016
Report_Card May 2016
 
Data visulization v1.0
Data visulization v1.0Data visulization v1.0
Data visulization v1.0
 
Moodle’s building blocks for eAssessment tools
Moodle’s building blocks for eAssessment toolsMoodle’s building blocks for eAssessment tools
Moodle’s building blocks for eAssessment tools
 
Optimizing your Response to Intervention (RTI) Model with Wowzers Online Math
Optimizing your Response to Intervention (RTI) Model with Wowzers Online MathOptimizing your Response to Intervention (RTI) Model with Wowzers Online Math
Optimizing your Response to Intervention (RTI) Model with Wowzers Online Math
 
UNC-CH Poll Everywhere Pilot
UNC-CH Poll Everywhere PilotUNC-CH Poll Everywhere Pilot
UNC-CH Poll Everywhere Pilot
 
1000 report
1000 report1000 report
1000 report
 
It Smf Thailand Seminar Evaluation Survey Results March 2010 (1)
It Smf Thailand  Seminar Evaluation Survey Results March 2010 (1)It Smf Thailand  Seminar Evaluation Survey Results March 2010 (1)
It Smf Thailand Seminar Evaluation Survey Results March 2010 (1)
 

Viewers also liked

Copyright management in open access projects
Copyright management in open access projectsCopyright management in open access projects
Copyright management in open access projects
Iryna Kuchma
 
How to do research in today’s digital environment
How to do research in today’s digital environmentHow to do research in today’s digital environment
How to do research in today’s digital environment
Iryna Kuchma
 
Open Access policies and best practices
Open Access policies and best practicesOpen Access policies and best practices
Open Access policies and best practices
Iryna Kuchma
 
Introduction to open access and how it helps in your research and increases t...
Introduction to open access and how it helps in your research and increases t...Introduction to open access and how it helps in your research and increases t...
Introduction to open access and how it helps in your research and increases t...
Iryna Kuchma
 
How to start: Setting up an open access repository in 22 steps
How to start: Setting up an open access repository in 22 stepsHow to start: Setting up an open access repository in 22 steps
How to start: Setting up an open access repository in 22 steps
Iryna Kuchma
 
Copyright and author’s rights: what you need to know when you publish your re...
Copyright and author’s rights: what you need to know when you publish your re...Copyright and author’s rights: what you need to know when you publish your re...
Copyright and author’s rights: what you need to know when you publish your re...
Iryna Kuchma
 
Open access policy workshop
Open access policy workshopOpen access policy workshop
Open access policy workshop
Iryna Kuchma
 

Viewers also liked (7)

Copyright management in open access projects
Copyright management in open access projectsCopyright management in open access projects
Copyright management in open access projects
 
How to do research in today’s digital environment
How to do research in today’s digital environmentHow to do research in today’s digital environment
How to do research in today’s digital environment
 
Open Access policies and best practices
Open Access policies and best practicesOpen Access policies and best practices
Open Access policies and best practices
 
Introduction to open access and how it helps in your research and increases t...
Introduction to open access and how it helps in your research and increases t...Introduction to open access and how it helps in your research and increases t...
Introduction to open access and how it helps in your research and increases t...
 
How to start: Setting up an open access repository in 22 steps
How to start: Setting up an open access repository in 22 stepsHow to start: Setting up an open access repository in 22 steps
How to start: Setting up an open access repository in 22 steps
 
Copyright and author’s rights: what you need to know when you publish your re...
Copyright and author’s rights: what you need to know when you publish your re...Copyright and author’s rights: what you need to know when you publish your re...
Copyright and author’s rights: what you need to know when you publish your re...
 
Open access policy workshop
Open access policy workshopOpen access policy workshop
Open access policy workshop
 

Similar to Assisting Students in Finding Their Own Bugs in Programming Exercises using Verification and Group Testing Techniques

Increasing business success with TPI NEXT and PointZERO
Increasing business success with TPI NEXT and PointZEROIncreasing business success with TPI NEXT and PointZERO
Increasing business success with TPI NEXT and PointZERO
Rik Marselis
 
Suggest Framework to apply agile methodlogy in egypt
Suggest Framework to apply agile methodlogy in egyptSuggest Framework to apply agile methodlogy in egypt
Suggest Framework to apply agile methodlogy in egypt
Tasneem Abd El Hameed
 
Mini_Project_Modified_WBBM_Proposal_Presentation.pptx
Mini_Project_Modified_WBBM_Proposal_Presentation.pptxMini_Project_Modified_WBBM_Proposal_Presentation.pptx
Mini_Project_Modified_WBBM_Proposal_Presentation.pptx
MELVINTAURO201112
 
Src Voc
Src VocSrc Voc
Src Voc
guest7066cc
 
MBA - ICFAI university
MBA - ICFAI universityMBA - ICFAI university
MBA - ICFAI university
Atul Jain
 
Usability Primer - for Alberta Municipal Webmasters Working Group
Usability Primer - for Alberta Municipal Webmasters Working GroupUsability Primer - for Alberta Municipal Webmasters Working Group
Usability Primer - for Alberta Municipal Webmasters Working Group
NormanMendoza
 
Utilizing New Technologies for the Improvement of Problem Based Learning in M...
Utilizing New Technologies for the Improvement of Problem Based Learning in M...Utilizing New Technologies for the Improvement of Problem Based Learning in M...
Utilizing New Technologies for the Improvement of Problem Based Learning in M...
Georg Kitz
 
Utilizing
Utilizing Utilizing
Utilizing
Georg Kitz
 
'Growing to a Next Level Test Organisation' by Tim Koomen
'Growing to a Next Level Test Organisation' by Tim Koomen'Growing to a Next Level Test Organisation' by Tim Koomen
'Growing to a Next Level Test Organisation' by Tim Koomen
TEST Huddle
 
Using Multiple Accounts for Harvesting Solutions in MOOCs
Using Multiple Accounts for Harvesting Solutions in MOOCs Using Multiple Accounts for Harvesting Solutions in MOOCs
Using Multiple Accounts for Harvesting Solutions in MOOCs
MIT
 
Learning Management Systems Evaluation based on Neutrosophic sets
Learning Management Systems Evaluation based on Neutrosophic setsLearning Management Systems Evaluation based on Neutrosophic sets
Learning Management Systems Evaluation based on Neutrosophic sets
nourallah
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
Karthikeyan Rajendran
 
Антон Мужайло, «Using the test process improvement models. Case study based o...
Антон Мужайло, «Using the test process improvement models. Case study based o...Антон Мужайло, «Using the test process improvement models. Case study based o...
Антон Мужайло, «Using the test process improvement models. Case study based o...
Sigma Software
 
Analysis Of College Enrollment System Using Six-Sigma (DMAIC) Methodology
Analysis Of College Enrollment System Using Six-Sigma (DMAIC) MethodologyAnalysis Of College Enrollment System Using Six-Sigma (DMAIC) Methodology
Analysis Of College Enrollment System Using Six-Sigma (DMAIC) Methodology
Sandra Valenzuela
 
1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx
gianggiang114
 
Test case development
Test case developmentTest case development
Test case development
Hrushikesh Wakhle
 
Week 12Informatics in Healthcare[Type your name here].docx
Week 12Informatics in Healthcare[Type your name here].docxWeek 12Informatics in Healthcare[Type your name here].docx
Week 12Informatics in Healthcare[Type your name here].docx
jessiehampson
 
Tip model
Tip modelTip model
Tip model
Chad Vance
 
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptxTop Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Inflectra
 
02 benchmarking for_virtual_schools_mods
02 benchmarking for_virtual_schools_mods02 benchmarking for_virtual_schools_mods
02 benchmarking for_virtual_schools_mods
VISCED
 

Similar to Assisting Students in Finding Their Own Bugs in Programming Exercises using Verification and Group Testing Techniques (20)

Increasing business success with TPI NEXT and PointZERO
Increasing business success with TPI NEXT and PointZEROIncreasing business success with TPI NEXT and PointZERO
Increasing business success with TPI NEXT and PointZERO
 
Suggest Framework to apply agile methodlogy in egypt
Suggest Framework to apply agile methodlogy in egyptSuggest Framework to apply agile methodlogy in egypt
Suggest Framework to apply agile methodlogy in egypt
 
Mini_Project_Modified_WBBM_Proposal_Presentation.pptx
Mini_Project_Modified_WBBM_Proposal_Presentation.pptxMini_Project_Modified_WBBM_Proposal_Presentation.pptx
Mini_Project_Modified_WBBM_Proposal_Presentation.pptx
 
Src Voc
Src VocSrc Voc
Src Voc
 
MBA - ICFAI university
MBA - ICFAI universityMBA - ICFAI university
MBA - ICFAI university
 
Usability Primer - for Alberta Municipal Webmasters Working Group
Usability Primer - for Alberta Municipal Webmasters Working GroupUsability Primer - for Alberta Municipal Webmasters Working Group
Usability Primer - for Alberta Municipal Webmasters Working Group
 
Utilizing New Technologies for the Improvement of Problem Based Learning in M...
Utilizing New Technologies for the Improvement of Problem Based Learning in M...Utilizing New Technologies for the Improvement of Problem Based Learning in M...
Utilizing New Technologies for the Improvement of Problem Based Learning in M...
 
Utilizing
Utilizing Utilizing
Utilizing
 
'Growing to a Next Level Test Organisation' by Tim Koomen
'Growing to a Next Level Test Organisation' by Tim Koomen'Growing to a Next Level Test Organisation' by Tim Koomen
'Growing to a Next Level Test Organisation' by Tim Koomen
 
Using Multiple Accounts for Harvesting Solutions in MOOCs
Using Multiple Accounts for Harvesting Solutions in MOOCs Using Multiple Accounts for Harvesting Solutions in MOOCs
Using Multiple Accounts for Harvesting Solutions in MOOCs
 
Learning Management Systems Evaluation based on Neutrosophic sets
Learning Management Systems Evaluation based on Neutrosophic setsLearning Management Systems Evaluation based on Neutrosophic sets
Learning Management Systems Evaluation based on Neutrosophic sets
 
Orthogonal array approach a case study
Orthogonal array approach   a case studyOrthogonal array approach   a case study
Orthogonal array approach a case study
 
Антон Мужайло, «Using the test process improvement models. Case study based o...
Антон Мужайло, «Using the test process improvement models. Case study based o...Антон Мужайло, «Using the test process improvement models. Case study based o...
Антон Мужайло, «Using the test process improvement models. Case study based o...
 
Analysis Of College Enrollment System Using Six-Sigma (DMAIC) Methodology
Analysis Of College Enrollment System Using Six-Sigma (DMAIC) MethodologyAnalysis Of College Enrollment System Using Six-Sigma (DMAIC) Methodology
Analysis Of College Enrollment System Using Six-Sigma (DMAIC) Methodology
 
1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx1)Testing-Fundamentals_L_D.pptx
1)Testing-Fundamentals_L_D.pptx
 
Test case development
Test case developmentTest case development
Test case development
 
Week 12Informatics in Healthcare[Type your name here].docx
Week 12Informatics in Healthcare[Type your name here].docxWeek 12Informatics in Healthcare[Type your name here].docx
Week 12Informatics in Healthcare[Type your name here].docx
 
Tip model
Tip modelTip model
Tip model
 
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptxTop Ten Tips for Tackling Test Automation Webinar Presentation.pptx
Top Ten Tips for Tackling Test Automation Webinar Presentation.pptx
 
02 benchmarking for_virtual_schools_mods
02 benchmarking for_virtual_schools_mods02 benchmarking for_virtual_schools_mods
02 benchmarking for_virtual_schools_mods
 

Recently uploaded

How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 

Recently uploaded (20)

How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 

Assisting Students in Finding Their Own Bugs in Programming Exercises using Verification and Group Testing Techniques

  • 1. Ho Chi Minh City University of Technology, Vietnam Faculty of Computer Science and Engineering Lab for Systems Analysis and VErification (SAVE) Assisting Students in Finding Their Own Bugs in Programming Exercises using Verification and Group Testing Techniques Long H. Pham, Nam P. Mai, Mai H. Dinh, Tho T. Quan, Hung Q. Ngo November 5, 2013
  • 2. Outline 1. Student Program Correctness Problem 2. Our approach 3. Framework 4. How it works 5. Case study 6. Experiment 7. Issues & Future works
  • 3. Verification and Group Testing Techniques 1. Student Program Correctness Problem • Traditional method: read all programs to verify ⇒ 999 999 999 LOC ? • Automated assessment system: execute, pass all test cases ⇒ test suite cover all possible errors ? ⇒ real execution is potentially dangerous for the system ? Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 3/24
  • 4. Verification and Group Testing Techniques 2. Our approach • Static methods & Automation Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 4/24
  • 5. Verification and Group Testing Techniques 3. Framework Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 5/24
  • 6. Verification and Group Testing Techniques Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 6/24
  • 7. Verification and Group Testing Techniques • Exercise list Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 7/24
  • 8. Verification and Group Testing Techniques • Bubble sort problem Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 8/24
  • 9. Verification and Group Testing Techniques Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 9/24
  • 10. Verification and Group Testing Techniques 4. How it works • Component point of view • System point of view Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 10/24
  • 11. Verification and Group Testing Techniques Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 11/24
  • 12. Verification and Group Testing Techniques Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 12/24
  • 13. Verification and Group Testing Techniques 5. Case study Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 13/24
  • 14. Verification and Group Testing Techniques • Bubble sort algorithm with the 10th line is logically wrong • The 10th line belongs to block S5 ⇒ S5 is expected as the error block. Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 14/24
  • 15. Verification and Group Testing Techniques • The testing matrix for above program has 1343 rows and 51 columns • Loop structure ⇒ compact testing matrix to 11 rows and 9 columns • The test outcome after running test cases is {0 1 0 1 1 1 1 1 1 1 0} Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 15/24
  • 16. Verification and Group Testing Techniques • The error block is highlighted with red color ⇒ programmer can easily know where the problem is and fix it without too much effort. Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 16/24
  • 17. Verification and Group Testing Techniques Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 17/24
  • 18. Verification and Group Testing Techniques 6. Experiment • 6 well-known algorithms, with some different implementations • Each implementation has exactly one bug ⇒ test whether the system can localize these bugs or not Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 18/24
  • 19. Verification and Group Testing Techniques Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 19/24
  • 20. Verification and Group Testing Techniques Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 20/24
  • 21. Verification and Group Testing Techniques • The result of our experiment is shown in the table and figure below • The figure shows the chart comparing right localizations with wrong localizations in each algorithm. • The detailed numbers of right/wrong localizations are in the table. Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 21/24
  • 22. Verification and Group Testing Techniques • Successfully 19 times in total 22 implementations • 3 remained implementations are not localized successfully because the generated test suite is not good enough Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 22/24
  • 23. Verification and Group Testing Techniques 7. Issues & Future works • Path explosion • Missing code Mai H. Dinh | SAVE | Ho Chi Minh City University of Technology, Vietnam 23/24
  • 24. Thanks for your listenning. Question?