Question

1. Match each language to the typing model that best describes it. __ Ruby __ Prolog...

1. Match each language to the typing model that best describes it.

__ Ruby

__ Prolog

__ Scala

__ lo

A.

static type checking with strong type safety

B.

dynamic type checking with strong (duck) type safety

C.

a prototype-based object model, uses dynamic typing.

D.

types are not specified, but when it compiles it will give errors if variables are not compatible

2. Match each language with it's corresponding strength

__ Ruby

__ Prolog

__ Scala

__ lo

A.

Provides a unique tool for solving problems using an existing knowledge base of facts and rules.

B.

Simple design allows for excellent flexibility and robust concurrency.

C.

Very productive with little code because of the large amount of syntactic sugar and flexible object model.

D.

Provides a bridge to bring functional programming to the Java platform.

3. Choose the language that best fits the described task.

__ Ruby

__ lo

__ Prolog

__ Scala

A.

I need to create a script that

  1. Reads XML input
  2. Determines which program needs to be called
  3. Calls the corresponding program
  4. Converts the output into XML
  5. Returns the result to the caller
B.

I need to create a program that:

  1. Receives requests for information from multiple concurrent sources
  2. Obtains results of request by reading a simple file
  3. Returns results to caller
  4. Is able to run on multiple devices, appliances, or other devices with limited hardware resources
C.

I need a program that will:

  1. Compile language and grammar data that is collected into a readable data set
  2. Allow language rules to be defined
  3. Recognize the parts of speech in given sentences to understand how to interpret it.
D.

I need a program that will:

  1. Handle concurrent requests from multiple clients
  2. Parse XML messages
  3. Process requests using existing Java classes.
  4. Return XML results to caller

4. Which of the following best describes Scala's Interaction Model?

A. Interpreted

B. Compiled

C. Functional

D. Logic-Based

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer:---------

1).
Ruby
--> B. dynamic type checking with strong (duck) type safety

Prolog --> D. types are not specified, but when it compiles it will give errors if variables are not compatible

Scala --> A. static type checking with strong type safety

lo --> C. a prototype-based object model, uses dynamic typing.


2).
Ruby
--> B. Simple design allows for excellent flexibility and robust concurrency.

Prolog --> A. Provides a unique tool for solving problems using an existing knowledge base of facts and rules.

Scala --> D. Provides a bridge to bring functional programming to the Java platform.

lo --> C. Very productive with little code because of the large amount of syntactic sugar and flexible object model.

3).

Ruby -->
B.I need to create a program that:

  • Receives requests for information from multiple concurrent sources
  • Obtains results of request by reading a simple file
  • Returns results to caller
  • Is able to run on multiple devices, appliances, or other devices with limited hardware resources

lo -->

A. I need to create a script that

  • Reads XML input
  • Determines which program needs to be called
  • Calls the corresponding program
  • Converts the output into XML
  • Returns the result to the caller

Prolog -->
C.
I need a program that will:

  • Compile language and grammar data that is collected into a readable data set
  • Allow language rules to be defined
  • Recognize the parts of speech in given sentences to understand how to interpret it.

Scala -->
I need a program that will:

  • Handle concurrent requests from multiple clients
  • Parse XML messages
  • Process requests using existing Java classes.
  • Return XML results to caller

4). B. Compiled

Add a comment
Know the answer?
Add Answer to:
1. Match each language to the typing model that best describes it. __ Ruby __ Prolog...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • item 1 In the case below, the original source material is given along with a sample...

    item 1 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version In a complex task such as creating a website for learning, instructors may want to support the generation of multiple solutions in learners' peer feedback. Anonymity may create a social context where learners feel freer to express varied ideas, and make the task of giving...

  • 1-Suppose you write an application in which one class contains code that keeps track of the...

    1-Suppose you write an application in which one class contains code that keeps track of the state of a board game, a separate class sets up a GUI to display the board, and a CSS is used to control the stylistic details of the GUI (for example, the color of the board.) This is an example of a.Duck Typing b.Separation of Concerns c.Functional Programming d.Polymorphism e.Enumerated Values 2-JUnit assertions should be designed so that they a.Fail (ie, are false) if...

  • Hello, I just need a change to the words for each one of the paragraphs, to...

    Hello, I just need a change to the words for each one of the paragraphs, to say the same thing but with other words and at the end of each write two sentences saying how that journal or book will help me with a research paper about candida glabrata Please and thank you Charlet, R., Bortolus, C., Barbet, M., Sendid, B., & Jawhara, S. (2018). A decrease in anaerobic bacteria promotes Candida glabrata overgrowth while β-glucan treatment restores the gut...

  • please read instructions on the first picture and follow it Discussion Board: Chapter 1 Due: Jun...

    please read instructions on the first picture and follow it Discussion Board: Chapter 1 Due: Jun 28, 2019 at 11:59 PM Please read the article titled Evolution of Operations Planning and Control: from production to supply chains In at least three paragraphs, describe how and why the focus of operations planning and control has changed over time. While one might argue that answers consisting of sentences quoted from articles do not represent plagiarism, I do not consider them acceptable, and...

  • please read instructions on the first picture and follow it Discussion Board: Chapter 1 Due: Jun...

    please read instructions on the first picture and follow it Discussion Board: Chapter 1 Due: Jun 28, 2019 at 11:59 PM Please read the article titled Evolution of Operations Planning and Control: from production to supply chains In at least three paragraphs, describe how and why the focus of operations planning and control has changed over time. While one might argue that answers consisting of sentences quoted from articles do not represent plagiarism, I do not consider them acceptable, and...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT