Preview

Proceedings of the World Congress on Engineering and Computer Science

Powerful Essays
Open Document
Open Document
3255 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Proceedings of the World Congress on Engineering and Computer Science
Proceedings of the World Congress on Engineering and Computer Science 2012 Vol I WCECS 2012, October 24-26, 2012, San Francisco, USA

An Error Code Highlighting Function in Java Programming Learning Assistant System Using Test-Driven Development Method
Nobuo Funabiki, Yuuki Fukuyama, Yukiko Matsushima, Toru Nakanishi, and Kan Watanabe

Abstract—Recently, the objected-oriented programming language Java has been used in many practical systems including enterprise servers, smart phones, and embedded systems due to its high reliability and portability. To enhance effects of Java programming educations, we have developed a Web-based Java Programming Learning Assistant System (JPLAS). JPLAS adopts the Test-Driven Development (TDD) method for automatic testing of source codes written by students on the server to assist their self-learning. In JPLAS, a teacher needs to register each Java programming assignment with a statement, a reference source code, and a test code. Then, students should write source codes by referring this statement and the test code so that their source codes can be tested automatically at the server by a testing software tool called JUnit with the test code. Unfortunately, the current JPLAS is not friendly to students who have difficulty in reading the log message from JUnit that contains the information on the errors in the source code. In this paper, we implement the error code highlighting function to help such students to find erroneous lines in the code by highlighting them graphically. We evaluate the effectiveness of this function through an experiment for 42 students who are currently taking the Java programming class. Index Terms—JPLAS, Java programming education, Web system, test-driven development method, error code highlighting.

I. I NTRODUCTION

R

ECENTLY, with penetrations of the Information and Communication Technology (ICT) into our societies, adverse affects of system failures caused by software bugs have become

You May Also Find These Documents Helpful

  • Powerful Essays

    The purpose of this Lab. is to familiarize student how to solve practical problems programmatically; they will practice on elementary programming using primitive data types, variables, constants, operators, expressions, and input and output. Also, they will learn how to diagnose errors that may occur when a program is compiled or executed. There are some exercises, through which they will understand the concept learn in this chapter.…

    • 2338 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    The reason programmers move to using exception handling because with java it helped them with…

    • 442 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Devs010 Unit 3 Assignment

    • 261 Words
    • 2 Pages

    Lab practical will be used to carry out these tasks, students will be prompted to develop programs in JavaScript.…

    • 261 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 An Introduction to Hardware, Software, and the Internet An Introduction to Software Development Objects and Classes Algorithms Java Syntax and Style Data Types, Variables, and Arithmetic Boolean Expressions and if-else Statements Iterative Statements: while, for, do–while Implementing Classes and Using Objects Strings Class Hierarchies and Interfaces Arrays…

    • 3908 Words
    • 16 Pages
    Powerful Essays
  • Better Essays

    Grubb, P. & Takang, A.A. (2003). Software maintenance: concepts and practice (2nd ed.). Singapore: World Scientific.…

    • 1550 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    Customer hereby engages the services of the Developer for the purpose of designing, creating, testing and delivering a fully functional Web Site, to be delivered to the Customer in the form of Hypertext Markup Language (“HTML”), JAVA and/or FLASH languages, most current version, which meets the specifications set forth herein and which is fully ready and operational upon placement on a server and creation of necessary connections for availability on the World Wide Web.…

    • 4332 Words
    • 18 Pages
    Powerful Essays
  • Better Essays

    Schneider, G.M. & Gersting, J.L., (2013). Invitation to Computer Science. (6th ed.). Boston, Ma: press…

    • 2002 Words
    • 9 Pages
    Better Essays
  • Powerful Essays

    Sample Question Paper

    • 4697 Words
    • 19 Pages

    Dr Wenjing Jia Lecturer, School of Computing and Communications Faculty of Engineering and Information Technology, University of Technology, Sydney (UTS) Phone: (02) 9514 7873 Email:Wenjing.Jia@uts.edu.au…

    • 4697 Words
    • 19 Pages
    Powerful Essays
  • Better Essays

    Why Software Systems Fail

    • 4462 Words
    • 18 Pages

    <b>1.0 Introduction</b><br>In this report I will be concentrating on the failure of software systems. To understand why software systems fail we need to understand what are software systems. Software systems are a type of information system. This is because a software system is basically a means for hardware to process information. Flynn 's definition of an information system is:<br><br>"An information system provides procedures to record and make available information, concerning part of an organization, to assist organization-related activities."<br><br>Humans have been processing information manually for thousands of years, but with the vast increase of demand for knowledge this century has meant that a new method of information processing has been needed. Software systems have provided a new means that is much faster and efficient. As a result a huge number of organisations have become software dependent. Some of these systems are used to safeguard the lives of many people. This means that if these systems were to fail they could lead to devastating consequences. Here are some examples of where software systems are used heavily and could be very dangerous if they were to fail - aviation, hospitals, space exploration, nuclear power stations and communications. I will be looking at some examples of actual software failure in these fields to explain the reasons why systems fail.<br><br><b>2.0 Reasons for Systems Failure</b><br>If software systems failure can be so dangerous why can they not be completely eliminated? According to Parnas, "The main reason is that software can never be guaranteed to be 100% reliable. Software systems are discrete-state systems that do not have repetitive structures. The mathematical functions that describe the behaviour of software systems are not continuous, and traditional engineering mathematics do not help in their verification." In other words some software can be so large that thorough testing can be almost…

    • 4462 Words
    • 18 Pages
    Better Essays
  • Powerful Essays

    CO1109

    • 2777 Words
    • 12 Pages

    If you get stuck, get help! If you are studying this subject as a genuine distance learner, not enrolled at an institution, you MUST utilise the iscussion for this subject, and you should also make use of the other facilities on the web for Java beginners . There are literally hundreds of…

    • 2777 Words
    • 12 Pages
    Powerful Essays
  • Powerful Essays

    Java Programming- Chinmay

    • 6385 Words
    • 41 Pages

    Simple:Java is designed to be easy to learn. If you understand the basic concept of OOP…

    • 6385 Words
    • 41 Pages
    Powerful Essays
  • Powerful Essays

    Studies had been done on the available programming languages and two famous languages in web base application development have been chosen.…

    • 1639 Words
    • 7 Pages
    Powerful Essays
  • Better Essays

    Haroon Rashid, M.Eng Student, University of Toronto, Department of Electrical and Computer Engineering, ECE 1055 – 2013 – Assignment #1…

    • 1609 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    Coursework Guidelines NEW 2014

    • 23309 Words
    • 125 Pages

    Learners choose, in conjunction with their teacher, a well-defined user-driven problem which enables them to demonstrate their skills in analysis, design and software development, including programming, testing, installation, documentation and evaluation. Problems should be selected that allow learners to demonstrate and increase their programming skills.…

    • 23309 Words
    • 125 Pages
    Powerful Essays
  • Powerful Essays

    Genetic Algorithm

    • 3320 Words
    • 14 Pages

    School of Computer Science and Technology Harbin Institute of Technology 150080, Harbin, China shen.wang@ict.hit.edu.cn; bian.yang@ict.hit.edu.cn; xiamu.niu@hit.edu.cn…

    • 3320 Words
    • 14 Pages
    Powerful Essays