1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
son4ous [18]
3 years ago
10

The __________ clash of clans and candy crush saga are video games that exploit the real world–digital world convergence by buil

ding huge personal-rewards psychology for players.
Computers and Technology
1 answer:
solmaris [256]3 years ago
5 0
The  game play of the clash of clans and candy crush saga are video games that exploit the real world–digital world convergence by building huge personal-rewards psychology for players.<span>The Candy Crush game app exploits some well known weaknesses in the human brain to keep us playing</span>
You might be interested in
1. Write a telephone lookup program. Read a data set of 1, 000 names and telephone numbers from a file that contains the numbers
Fed [463]

Answer:

Kindly note that, you're to replace "at" with shift 2 as the brainly text editor can't take the symbol

Explanation:

PhoneLookup.java

import java.io.FileReader;

import java.io.IOException;

import java.util.Scanner;

public class PhoneLookup

{

  public static void main(String[] args) throws IOException

  {

     Scanner in = new Scanner(System.in);

     System.out.println("Enter the name of the phonebook file: ");

     String fileName = in.nextLine();

     LookupTable table = new LookupTable();

     FileReader reader = new FileReader(fileName);

     table.read(new Scanner(reader));

   

     boolean more = true;

     while (more)

     {

        System.out.println("Lookup N)ame, P)hone number, Q)uit?");

        String cmd = in.nextLine();

       

        if (cmd.equalsIgnoreCase("Q"))

           more = false;

        else if (cmd.equalsIgnoreCase("N"))

        {

           System.out.println("Enter name:");

           String n = in.nextLine();

           System.out.println("Phone number: " + table.lookup(n));

        }

        else if (cmd.equalsIgnoreCase("P"))

        {

           System.out.println("Enter phone number:");

           String n = in.nextLine();

           System.out.println("Name: " + table.reverseLookup(n));

        }

     }

  }

}

LookupTable.java

import java.util.ArrayList;

import java.util.Collections;

import java.util.Scanner;

/**

  A table for lookups and reverse lookups

*/

public class LookupTable

{

  private ArrayList<Item> people;

  /**

     Constructs a LookupTable object.

  */

  public LookupTable()

  {

      people = new ArrayList<Item>();

  }

  /**

     Reads key/value pairs.

     "at"param in the scanner for reading the input

  */

  public void read(Scanner in)

  {

     while(in.hasNext()){

         String name = in.nextLine();

         String number = in.nextLine();

         people.add(new Item(name, number));

     }

  }

  /**

     Looks up an item in the table.

     "at"param k the key to find

     "at"return the value with the given key, or null if no

     such item was found.

  */

  public String lookup(String k)

  {

     String output = null;

     for(Item item: people){

         if(k.equals(item.getName())){

             output = item.getNumber();

         }

     }

     return output;

  }

  /**

     Looks up an item in the table.

     "at"param v the value to find

     "at"return the key with the given value, or null if no

     such item was found.

  */

  public String reverseLookup(String v)

  {

      String output = null;

         for(Item item: people){

             if(v.equals(item.getNumber())){

                 output = item.getName();

             }

         }

         return output;

  }

}

Item.java

public class Item {

  private String name, number;

 

  public Item(String aName, String aNumber){

      name = aName;

      number = aNumber;

  }

 

  public String getName(){

      return name;

  }

 

  public String getNumber(){

      return number;

  }

}

input.txt

Abbott, Amy

408-924-1669

Abeyta, Ric

408-924-2185

Abrams, Arthur

408-924-6120

Abriam-Yago, Kathy

408-924-3159

Accardo, Dan

408-924-2236

Acevedo, Elvira

408-924-5200

Acevedo, Gloria

408-924-6556

Achtenhagen, Stephen

408-924-3522

Kindly check the attached output image below.

3 0
3 years ago
TRUE or FALSE: CSS is used to style web pages.
nirvana33 [79]

Answer:

true

Explanation:

HTML is the structure and CSS is the design

3 0
3 years ago
The term "input file" is used to describe a file that data is written to.
worty [1.4K]
The answer to this question is true

4 0
3 years ago
SELECT vendor_name, COUNT(*) AS number_of_invoices, MAX(invoice_total - payment_total - credit_total) AS balance_due FROM vendor
grigory [225]

Answer:

Option a is the correct answer for the above question.

Explanation:

  • The above question asked about the order of the result which is derived from the above query. The above query holds an order by clause in desc order which is used to produce the result in descending order.
  • The descending order result is produced on the behalf of balance_due attributes and the option a also states the same. Hence option a is correct while the other is not because:-
  • Other is not states that the result is produced on the behalf of descending order.
4 0
4 years ago
Read 2 more answers
Explain one thing you will start doing as a passenger.
Diano4ka-milaya [45]

By definition we have to:

The passenger is every human being transported in a means of transport. (Except for the driver.)

Passengers can carry suitcases, bags or backpacks to carry their belongings from one place to another on their trip.

For safety, the first thing passengers must use in any means of transport is the safety belt.

This protects you from accidents that may occur during the trip.

Answer:

As a passenger, the first thing you would do is wear a seatbelt.

5 0
3 years ago
Read 2 more answers
Other questions:
  • A major ozone depletion happened in the 1900s. What was it caused by
    10·2 answers
  • Identify a data type applied in an input element to create slider controls.
    13·1 answer
  • Of the listed principles, which one states that multiple changes made to computer systems shouldn’t be made simultaneously?
    9·1 answer
  • Please help ASAP, will mark brainliest!
    14·1 answer
  • What piece of hardware directs traffic between the connected devices when two LAN's are communicating across the Internet?
    8·1 answer
  • What the five types of initiatives that are necessary when putting together and implementing an IT strategy
    9·1 answer
  • Fortnite anyone? real fast ​
    11·2 answers
  • All conduit must be strapped within __ feet of a pull box.
    14·1 answer
  • Decomposition is
    5·1 answer
  • Complete each of the following sentences by
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!