Stars can be classified into color groups

Assignment Help Basic Computer Science
Reference no: EM133114122

Part 1

Stars can be classified into color groups called spectral classes. Stars can also be classified by their magnitude, which measures their brightness. The lower the magnitude, the brighter the star. Magnitudes can range from -7 to 15. The table below lists some common brightest stars and their distance from Earth in light-years. Write a CLIPS program that asks the user for the spectral class and the magnitude of a star. The program should then list all stars matching both the spectral class and the magnitude with their distance from Earth in light-years.

Part 2

Once you have Part 1 working, add a new feature. If no star is found that matches both spectral class and magnitude, list all stars having the specified spectral class, followed by all stars having the specified magnitude. Label each section of output accordingly.

Hint for development:

Because an expert system is not modular or object-oriented, testing cannot be done in the manner you have learned in other classes. If you write the entire program and try to run it, errors will be difficult to locate. Since Part 2 has 2 distinct phases, get each phase working before proceeding to the next phase. It is advisable to context limiting for each of the components in Part 2.

Part 3

If you have everything working in Parts 1 and 2 but find yourself still wanting more, you can take the challenge. Spectral classes correspond to temperature ranges for the stars as in the table below:

Allow the user to enter the star's temperature rather than spectral class. Use the temperature to determine the spectral class and proceed with listing the stars as in the previous sections.

Attachment:- Star chart.rar

Reference no: EM133114122

Questions Cloud

Business support system and medical practice support system : You conducted a preliminary investigation into Millennium request for a business support system and a medical practice support system.
Create narrated visual presentation : Create a narrated visual presentation (PowerPoint) that shows the similarities and differences between the six aspects of data accessibility and availability
Create narrated visual presentation : Create a narrated visual presentation (PowerPoint) that shows the similarities and differences between the six aspects of data accessibility and availability
Appointment booking website development : Can you develop a doctor appointment booking website that provides patients or any user to log in and creates an account same for the doctor?
Stars can be classified into color groups : Stars can be classified into color groups called spectral classes. Stars can also be classified by their magnitude, which measures their brightness.
Explain routing concept and switching concept : Name the advantages of optical fiber over twisted-pair and coaxial cable. Explain routing concept? Explain switching concept?
Security model for properly develop databases : Discuss at least one security model to properly develop databases for organizational security.
Potential advantages of distributed databases : What are the main reasons for an potential advantages of distributed databases?
Developing single codebase to deploy to multiple platforms : Why is the Appcelerator framework great for developing a single codebase to deploy to multiple platforms?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Favorite spot for developers to build subdivisions

The Town of Lookout Mountain, Georgia, had a lot of undeveloped lands and became a favorite spot for developers to build subdivisions.

  Explain why tournaments are attractive to organizers

Explain why tournaments are attractive to organizers who want players to exert maximum effort?

  Differentiation between visualizations within presentation

How do you choose effective colours that provide good differentiation between the visualizations within a presentation?

  Calculate the un-normalized values

In this exercise, you will complete the normalization calculation for the meningitis example. First, make up a suitable value for P(S(lM).

  Describe the main elements of data breach notification

From the e-Activity, describe the main elements of data breach notification laws. Discuss the importance of breach notification for credit card information, as it relates to PCI-DSS.

  Discuss some options for mobile wireless

Please discuss some options for mobile wireless internet connection, and describe the types of hardware that would be involved in making such a connection

  Advantages of control structures with arrays

Describe some of the advantages of using repetition control structures with arrays. Provide an example to support your stated advantage.

  Design an fsm of a new protocol to allow these features

Assume that our network may corrupt packets, but it never loses or duplicates a packet. We are also concerned about flow control. We do not want the sender to overwhelm the receiver with packets. Design an FSM of a new protocol to allow these feat..

  What type of encryption would be the most appropriate

To secure files on your computer so they are unreadable to a hacker who might gain access to your computer, what type of encryption

  Good solution for image and movie piracy

Is steganography is a good solution for image and movie piracy. Discuss how steganography can relate to digital rights management (DRM) solutions.

  How are you connected to your isp

Tell me about your home network. How are you connected to your ISP? How many computers do you have connected to your router? Do you have your devices connected wirelessly? Do you have any devices connected with wire? Do you have any network e..

  Risk assessment plan-qualitative risk assessment plan

Create an outline for a basic qualitative risk assessment plan. Define the scope and boundaries for the risk assessment.

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