Question

In: Computer Science

Documentation and discussion of the comparative ease of implementation (design / implement / debug) in lisp,...

Documentation and discussion of the comparative ease of implementation (design / implement / debug) in lisp, python and java programming language, including how robustness issues were addressed.

Solutions

Expert Solution

Lisp: Lisp is the high level programming language. It is worthy to use for developing Artificial Intelligence programs because of its ability to process the symbolic information gradually. For using the Lisp programming language on your computer, you need to install the two softwares : Text Editor and Lisp Executer. Text Editors that can be used are Notepad, Epsilon, vi etc. CLISP is the compiler that is designed for LISP for Windows. Lisp programs also termed as symbolic expressions and consists of atoms, objects and lists. Each expression is considered to be a Lisp program. Lisp programs are implemented on either Interpreter or Compiler. For example, if we would like to find out the sum of three numbers using Lisp then the s-expression will be (+ 3 5 7) then the output will be 15. In order to implement the compiled code of this expression we need to save the program as sum.lisp and write the code as (write (+ 3 5 7)). When you select Execute option then the output will be 15. We use prefix notation in Lisp programs that is operators are to be mentioned before the operands as you see in above example. The Lisp programs can be evaluated in two parts: Translating the source code into objects and Execution of semantics for objects. While handling errors, we consider exceptions as conditions. The conditions are used to generate warning while the code on the upper part work normally. Conditions in Lisp can be handled in three steps: Creating a Signal for Condition, Handling a condition signal and then reinitializing the complete process. In recent days, we use Common Lisp and Scheme in Lisp programming. Lisp programs have stylish programming techniques that include simple and easy semantics and perform the functioning intelligently.  

Python: Python is object-oriented, high level programming language. It is a language developed for beginners who are new to programming and want to learn web programming. It is a scripting language and also include functional and structural methods for implementation. It is used to integrate with other languages also like C, Java, C++. It includes dynamic data types and also provide assistance for dynamic type checking. A small code or statement in Python is: print("I know Python");. This line will prints the output as I know Python on screen. This language is easy to learn, read and maintain. It is portable and assist GUI based applications. Python is used on different platforms including Linux and MAC OS. Python is available on your system by downloading the binary code as applicable and then do the installation of Python language. In case the binary code doesn't exists, then a C Compiler is required for compilation. The Python can be implemented in three modes: Interactive Interpreter, Command Line Script, IDE(Integrated Development Environment). We use Python Identifiers for the selection of variables, functions, classes or objects. There are two ways to remove error from your Python Program and add the debugging features: Exception Handling and Assertions. As it incorporates less code in programs so it is easy to maintain than any other programming language. Also it has the capability to provide easy solutions of complex problems.  

Java: Java is the most popular and object oriented programming language. We can't consider it as a pure form of object oriented language as it involves the use of primitive data types in classes. Java codes are converted into byte codes on compilation. This byte code is then implemented on JVM(Java Virtual Machine). The byte code is machine independent. Java does not support pointers because these are low level functionalities. Java is used to create and develop many kinds of web Applications that can be used on Desktop or Mobile, Banks and other Organizations. There are three requirements for setting up the environment for Java Program: JDK(Java Development Kit), JRE(Java Run Time Environment) and JVM(Java Virtual Machine). The Programming process takes place in three steps:

i. Create a program using text editor with name as Animal.java.

ii Compile a program through a command as javac Animal.java in command prompt.

iii Run the program by writing java Animal in command prompt.

Here Animal is the class name for the program so we write the program name as Animal.java. We use classes, methods, interfaces, variables and packages for writing the java programs. For error handling, java creates an object for each exception and stops the program and then JRE sorts out the exception by involving a correct exception handler to the exception. A Java debug wire protocol is used to debug the program errors involved in applications through inter communication. Java is a robust language as it makes use of memory management effeciently. The automatic garbage collection is used to remove the objects from java program that are of no use further. It is portable and widely used on different platforms that makes it robust and supportive language.


Related Solutions

Assume you are working with an implementation team in installing a new nursing documentation system for...
Assume you are working with an implementation team in installing a new nursing documentation system for a home health agency. Historically, all of the agency’s nursing documentation was recorded in paper form. The agency has little computerization beyond basic registration information and has no IT staff. Members of the implementation have made recommendations for installing a new nursing documentation system. Included in the list of recommendations are: The system needs to take into account the State Nursing Practice Act. The...
implement this crypto algorithm: Compare observed performance differences and differences in the implementation techniques. just implement...
implement this crypto algorithm: Compare observed performance differences and differences in the implementation techniques. just implement a crypto algorithm
Peptides hold great potential for the cancer therapy because of their ease of rational design. During...
Peptides hold great potential for the cancer therapy because of their ease of rational design. During your first undergraduate research project, you conducted a screen to find peptides that inhibit proliferation of cancer cells. From a large library of 9-residue-long peptides, you got a hit! Unfortunately, someone mislabeled the vial containing the active peptide, so now you can’t be sure of its entire sequence. The 3rd amino acid could be any one of the 20 amino acids!!            M I  ...
What are the ramifications of attempting to implement a poorly designed implementation plan? Explain
What are the ramifications of attempting to implement a poorly designed implementation plan? Explain
There are eight different important factors in e-commerce website design, which are: Functionality Informational Ease of...
There are eight different important factors in e-commerce website design, which are: Functionality Informational Ease of Use Redundant Navigation Ease of Purchase Multi-Browser functionality Simple graphics Legible text. Topic: Go to an e-commerce website of your choosing and evaluate its effectiveness according to the basic criteria mentioned above.
There are eight different important factors in e-commerce website design, which are: Functionality Informational Ease of...
There are eight different important factors in e-commerce website design, which are: Functionality Informational Ease of Use Redundant Navigation Ease of Purshase Multi-Browser functionality Simple graphics Legible text. Go to an e-commerce website of your choosing and evaluate it's effectiveness according to the basic criteria mentioned above.
For this discussion, address some of the challenges you face in providing technical documentation for non-technical...
For this discussion, address some of the challenges you face in providing technical documentation for non-technical users in your Module 5 User Documentation Project. Respond to the following questions: What file format will you use? Why? How will users access your guide? Should your guide be available online? Offline? Both? What plan do you have to keep your guide updated? Should you include screenshots? Screencasts? Would you supplement this guide with in-person training? What other general concerns do you need...
• Implement the codes must use the LinkedList implementation • Add an additional empty node (“dummy...
• Implement the codes must use the LinkedList implementation • Add an additional empty node (“dummy node”) that connects the end of the list with the beginning, transforming the list to a circular list Code in c++ The Josephus problem is named after the historian Flavius Josephus, who lived between the years 37 and 100 CE. Josephus was a reluctant leader of the Jewish revolt against the Roman Empire. When it appeared that Josephus and his band were to be...
Next, write a 100-word discussion post which describes how the documentation for the patient encounter is...
Next, write a 100-word discussion post which describes how the documentation for the patient encounter is captured for vital signs, SOAP notes, and payments using the EHR
HEALTH INFORMATION TECHNOLOGY: Chapter 4 emphasized the importance of good clinical documentation. For this week’s discussion...
HEALTH INFORMATION TECHNOLOGY: Chapter 4 emphasized the importance of good clinical documentation. For this week’s discussion post use the web to research the clinical documentation improvement (CDI) role in health information management (HIM). Post a brief summary, 200- 250 words, about your article and ask a thought provoking question related to the article. Cite 1-2 internet sources used.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT