subject
Computers and Technology, 12.12.2019 06:31 itzia00

:your friends’ daughter madison has recently learned to spell some simple words. to encourage this, her parents got her a colorful set of refrigerator magnets featuring the letters of the alphabet (some number of copies of the letter a, some number of copies of letter b, and so on). the last time you saw her, the two of you spent some time arranging the magnets to spell out words that she knows. somehow with you and madison, things always end up getting more elaborate than originally planned, and soon the two of you were trying to spell out words so as to use up all magnets in the full set – that is, picking words that she knows how to spell, so that once they were all spelled out, each magnet was participating in the spelling of exactly one of the words. (multiple copies of words are okay here.) this turned out to be pretty difficult, and it was only later that you realized a plausible reason for this. suppose we consider a general version of the problem "using up all the refrigerator magnets", where we replace the english alphabet by an arbitrary collection of symbols, and we model madison’s vocabulary as an arbitrary set of strings over this collection of symbols. prove that determining if the collection of symbols can be used up to form strings from the vocabulary set is an np-complete problem.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:30
Larry sent an email to andy. andy didn't open larry's email but still understood what the message was. how did andy determine the message without opening the email?
Answers: 1
question
Computers and Technology, 23.06.2019 09:30
Facial expressions and gestures are examples of messages.
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
File account.java (see previous exercise) contains a definition for a simple bank account class with methods to withdraw, deposit, get the balance and account number, and return a string representation. note that the constructor for this class creates a random account number. save this class to your directory and study it to see how it works. then write the following additional code: 1. suppose the bank wants to keep track of how many accounts exist. a. declare a private static integer variable numaccounts to hold this value. like all instance and static variables, it will be initialized (to 0, since it’s an int) automatically. b. add code to the constructor to increment this variable every time an account is created. c. add a static method getnumaccounts that returns the total number of accounts. think about why this method should be static - its information is not related to any particular account. d. file testaccounts1.java contains a simple program that creates the specified number of bank accounts then uses the getnumaccounts method to find how many accounts were created. save it to your directory, then use it to test your modified account class.
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Which is a possible benefit of having a good credit history? having a checking account low interest rate on a car loan high interest rate on a credit card offer bankruptcy
Answers: 1
You know the right answer?
:your friends’ daughter madison has recently learned to spell some simple words. to encourage this,...
Questions
question
Mathematics, 26.06.2019 15:40