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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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