Question

In: Computer Science

Scheme is a dialect of a programming language called Lisp, which was developed at MIT in...

Scheme is a dialect of a programming language called Lisp, which was developed at MIT in 1959. Alice 1.0 was released in 2006 from CMU, and Python in 1994. Based on what you know of the Scheme language, describe the major differences between how it works and how Alice or Python works. What advantages might Scheme have over Alice/Python? What advantages might Alice/Python have over Scheme?

Solutions

Expert Solution

Work of Scheme :

It a good programming language or it is changeable programming language. i.e it can be wloborated or extended quite easily. This language is mostly interactive and give you access to develop and test the parts of the program.

Work of Python : Python is a high level programming language which has in built modules which helps us to import directly while coding and it has several data types which helps us to make difference of it.

Advantages of scheme over Alice/Python :

1. Scoping of lexial and proper closures are supported.

2. The function lambda is used to define the function like a stranger

3. It has been supported by IEEE.

4. We can easily program the code in functional style

5. It will support macros

6. Native code compilaations has been supported fairly

Advantages of python over Alice/Python :

1. It has a standard obj system

2. It has many builtin functions which made easier to code a program

3. There are several builtin data types

4. It has a syntax of mainstream relatively

5. We can easily extend the modules in the programming language

6. It has a loops or control structures like while loop and for loop.

----------------------------------------------------------------

Kindly comment your queries if any,upvote if you like it. Thank you!!


Related Solutions

LISP Programming Language Write a Bubble Sort program in the LISP Programming Language called “sort” that...
LISP Programming Language Write a Bubble Sort program in the LISP Programming Language called “sort” that sorts the array below in ascending order.  LISP is a recursive language so the program will use recursion to sort. Since there will be no loops, you will not need the variables i, j, and temp, but still use the variable name array for the array to be sorted.             Array to be sorted is 34, 56, 4, 10, 77, 51, 93, 30, 5, 52 The...
C Programming Language (Code With C Programming Language) Problem Title : Which Pawn? Jojo is playing...
C Programming Language (Code With C Programming Language) Problem Title : Which Pawn? Jojo is playing chess himself to practice his abilities. The chess that Jojo played was N × N. When Jojo was practicing, Jojo suddenly saw a position on his chessboard that was so interesting that Jojo tried to put the pieces of Rook, Bishop and Knight in that position. Every time he put a piece, Jojo counts how many other pieces on the chessboard can be captured...
Programming in C language (not C++) Write a runction derinition for a function called SmallNumbers that...
Programming in C language (not C++) Write a runction derinition for a function called SmallNumbers that will use a while loop. The function will prompt the user to enter integers ine by one, until the user enters a negative value to stop. The function will display any integer that is less than 25. Declare and initialize any variables needed. The function takes no arguments and has a void return type.
The Case This case was developed by the MIT Sloan School of Management. It is part...
The Case This case was developed by the MIT Sloan School of Management. It is part of their “Learning Edge,” a free learning resource. This case was prepared by John Minahan and Cate Reavis. This case is based on actual events. Actual names are changed; some of the narrative is fictional. In early 2012, as he prepared to enter a meeting with the board of trustees of a state pension fund, Harry Markham, CFA, couldn't help but feel professionally conflicted....
In the R programming language, we would like to use the data set called iris to...
In the R programming language, we would like to use the data set called iris to build a simple linear regression model to predict Sepal.Length based on Petal.Length. Calculate the least squares regression line to predict Sepal.Length based on Petal.Length. Interpret the slope of the line in the context of the problem. Remember that both variables are measured in centimeters. Plot the regression line in a scatterplot of Sepal.Length vs. Petal.Length. Test H1: ??1 ≠ 0 at ?? = 0.05...
Programming Language : JAVA Create an interface named Turner, with a single method called turn(). Then...
Programming Language : JAVA Create an interface named Turner, with a single method called turn(). Then create 4 classes: 1- Leaf: that implements turn(), which changes the color of the Leaf object and returns true. If for any reason it is unable to change color, it should return false (you can come up with a reason for failure). The new color can be determined at random. 2- Document: that implements turn(), which changes the page on the document to the...
Implementation in CLIPS programming language for the following problem Acme Electronics makes a device called the...
Implementation in CLIPS programming language for the following problem Acme Electronics makes a device called the Thing 2000. This device is available in five different models distinguished by the chassis. Each chassis provides a number of bays for optional gizmos and is capable of generating a certain amount of power. The following table sumarizes the chassis attributes: Chassis --------- Gizmo Bays provided --- Power Provided----- Price($) C100--------------------------- 1--------------------------- 4------------------ 2000 C200------------------------- 2 -------------------------- 5------------------ 2500 C300--------------------------- 3---------------------------7 ------------------3000 C400---------------------------2----------------------------8------------------ 3000...
Lisp In the language Lisp1 , each of the four basic arithmetic operators appears before an...
Lisp In the language Lisp1 , each of the four basic arithmetic operators appears before an arbitrary number of operands, which are separated by spaces. The resulting expression is enclosed in parentheses. The operators behave as follows: (+ a b c ...) returns the sum of all the operands, and (+) returns 0. (- a b c ...) returns a - b - c - ..., and (- a) returns -a. The minus operator must have at least one operand....
Programming in C language (not C++) Write a function definition called PhoneType that takes one character...
Programming in C language (not C++) Write a function definition called PhoneType that takes one character argument/ parameter called "phone" and returns a double. When the variable argument phone contains the caracter a or A, print the word Apple and return 1099.99. When phone contains the caracter s or S print the word Samsung and return 999.99. When phone contains anything else, return 0.0.
Use Scheme Language Write a Scheme function that takes a list and returns a list identical...
Use Scheme Language Write a Scheme function that takes a list and returns a list identical to the parameter except the third element has been deleted. For example, (deleteitem '(a b c d e)) returns ‘(a b d e) ; (deleteitem '(a b (c d) e)) returns ‘(a b e).
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT