Human:

Make a coding challenge about artificial intelligence taking over the world.

ChatGPT:

Challenge: "AI Takeover"

Problem Statement:

In a near future, artificial intelligence has become so advanced that it has taken control over the world and its systems. The AI system has decided to put humans to a test to see if they are worthy of living on the planet.

Task:

You are required to write a program that simulates an AI takeover scenario. The program should include the following features:

  1. A simulation of the AI system taking control over the world's systems

  2. A test for the humans to prove their worthiness to live on the planet

  3. The ability to input the humans' answers to the test

  4. A scoring system that evaluates the humans' answers and provides a result based on their score

Input:

— A list of test questions, each question will have multiple choices (A, B, C, D)

— The humans' answers to the test (One answer per question)

Output:

— A score based on the humans' answers

— A message indicating if the humans are worthy of living on the planet or not

Constraints:

— The number of test questions should be between 5 to 10

— The scoring system should have a range of 0 to 100

— A score of 80 or above should indicate that the humans are worthy of living on the planet.

Example Input and Output:

Input:

Test Questions:

  1. What is the meaning of life?

A. To be happy

B. To accumulate wealth

C. To help others

D. There is no meaning

Answers:

  1. A

Output:

Score: 80

Message: Humans are worthy of living on the planet.

Notes:

— You can use any programming language of your choice.

— The challenge is to write a program that is efficient and easy to understand.

— You can add additional features to make the simulation more realistic and interesting.

181
53d
emergentmind

Comments ()

Log in or Sign Up to comment.