Write hello to the screen

Assignment Help Computer Engineering
Reference no: EM133369838

Question: In the language of an alien race, all words take the form of Blurbs. A Blurb is a Whoozit followed by between zero or more Whatzits. A Whoozit is the character 'x' followed by between one or more 'y's. A Whatzit is a 'q' followed by either a 'z' or a 'd', followed by a
Whoozit.

-The program should ask the user to "Enter an alien word:", read the input as a string, and check whether or not it is a valid word (Blurb). If it is valid, it prints "The word is fine.", otherwise it prints "The word is a mess!".

-The program should loop and ask the user for new input until they enter a valid blurb.

For Scheme, it is suggested that you review the "input_and_output.rkt" sample program from the first module on functional programming. This program shows how to perform a "loop" that reads in data and processes it. You may find the following forms useful:
a. (read) to read a string
b. (string->list) to convert the string into a list of characters,
c. (display "Hello") to write Hello to the screen.
d. (begin) to help with displaying an output while not breaking out of the running procedure.

Reference no: EM133369838

Questions Cloud

Describe your design and the functions of your program : Describe your design and the functions of your program so that your code can be tested accordingly
What do you, a trained forensic accountant : What do you, a trained forensic accountant, look for when investigating this type of potential fraud activity?
Describe importance of researching while drafting message : Describe the importance of researching while drafting a message, the differences between formal and informal research, sentence structures,
What is the cayla toy : What is the Cayla toy? Describe Cayla and identify the privacy issues that existed with this toy and ultimately led to it being banned in most countries.
Write hello to the screen : Write Hello to the screen - with displaying an output while not breaking out of the running procedure
What are some types of technology might you encounter : What are some types of technology might you encounter in your cybersecurity field that will use these networking protocols and standards? As a business
What makes it unique, is that gifts and grants may be given : What makes it unique, is that gifts and grants may be given to other organizations, but they are not something that one would encounter in a public for-profit
Global trade deficit in food safety : Some people believe that free trade agreements force consumers to trade the health and safety of their families for free trade.
Write instructions for using the getgeoip : IT 361 Excelsior University find the IP address of a website, such as www.msn.com or www.issa.org. You can find the IP address by typing a "ping" command

Reviews

Write a Review

Computer Engineering Questions & Answers

  Give the running time of your program

Write a Java program called reverseQueue which takes as argument a queue and modifies it to have the content reversed.

  Explain how cybersecurity differs from enterprise security

Create a 10- to 12-slide, multimedia-rich presentation in which you provide: A definition of cybersecurity and further explain how cybersecurity differs.

  Write a test program that prompts the user to enter

Write a test program that prompts the user to enter the investment amount and interest rate and prints a table that displays future value.

  How do the sales volume in each store relate to revenues

How do the sales volume in each store relate to revenues? How does this relationship depend on the configuration?

  How do you print a sorted list of all environment variables

Write a program that reads a file specified as argument. How do you print a sorted list of all environment variables in the form variable=value?

  What is the difference between data and information

What is the difference between data and information? Describe the ethical standards a computer technician should have while working on a system or while.

  Create a user account and add and activate the tag

In order to use the newly purchased tag a user must create a user account and add and activate the tag by ID. A user is either personal or commercial.

  What are the advantages of cloud computing

In 175 words or more discuss the benefits of cloud computing in information systems strategic planning. What are the advantages and disadvantages.

  How can data governance help protect a business from hackers

How can data governance help protect a business from hackers? (130 Words). Research the 1982 deaths related to Tylenol. Prepare a one to two page Class Brief.

  How might the file be compromised in the given case

UNIX treats file directories in the same fashion as files; that is, both are defined by the same type of data structure, called an inode.

  Write two algorithms for the selmer scheme

Write two algorithms for the RSA scheme. Write two algorithms for the Selmer scheme: one for the signing process and one for the verifying process.

  What is the retailer throughput in orders per hour

What is the retailer's throughput (in orders per hour)? What is the capacity of the order fulfillment operation (in orders per hour)? How long on average

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd