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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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