Write program to check difference between real and fake news


Assignment Task: Applied Project

Task: Real or Fake News Test

Your task is to design and write a program for two games to check if users can tell the difference between real and fake news. Each game uses some fake and real news items.

You should come up with your own news items for the program.

List your news items using the below template in the MS Word file.

News Item

Fake/Real

 

 

 

 

 

 

Table: Data template

News items and Fake/Real status should be stored in the program using parallel (two separate) arrays.

When a user adds an instance of an actor sub class to the Greenfoot scenario and clicks on the act button, the program should ask the user to choose one of the two games: Fake Count Game or News Quiz Game.

The default number of news items to use in either game is 3. However, the program should allow the user to select a different number of news items to be quizzed in the game. The maximum number is 10. The program should present random questions from the news item list. Each news item presented in a game must be unique. That is, once a news item is selected, it should not be used again.

Fake Count Game [Challenge difficulty: Easy to Medium]

The user has to guess the number of fake news items in the list of news items presented to the user. It is up to you to use a dialog box or the command window to present the list of news items. If the user correctly guesses the number of fake news items, the program should display a congratulation message. If not, the program should display each individual news items presented in the game along with its true/fake status to the command window.

News Quiz Game [Challenge Difficulty: Medium to Hard]

User has to guess true/false for each news item presented to the user in a dialog box. Once the quiz ends, program should print the percentage of correct answers followed by a quiz report card with the following headings:

News Item     Fake/real     User Choice

The Fake/Real and User Choice columns can contain TRUE/FALSE values. The Fake /real column should contain values according to the data stored in the parallel arrays. The User Choice values should be according to the user input during the game.

Our Programming Fundamentals Assignment Help service work with the aim to assist all the students, who are in academic needs. We have an enthusiastic panel of professional tutors, who are highly qualified and are offering their online service for many years.

Tags: Programming Fundamentals Assignment Help, Programming Fundamentals Homework Help, Programming Fundamentals Coursework, Programming Fundamentals Solved Assignments

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write program to check difference between real and fake news
Reference No:- TGS03035755

Expected delivery within 24 Hours