Answer:
pickaxe
Explanation:
that is the tool u use
A pickaxe or a pick.
Shown in minecraft and talked about in many story's that take place in the mines.
Depending on the pickaxe material, many things could be mines like stone and ore.
Coupon collector is a classic statistic problem with many practical applications. The problem is to pick objects from a set of objects repeatedly and determine how many picks are needed for all the objects to be picked at least once. A variation of the problem is to pick cards from a shuffled deck of 52 cards repeatedly and find out how many picks are needed before you see one of each suit. Assume a picked card is placed back in the deck before picking another. Write a program to simulate the number of picks needed to get total of four cards from each different suit and display the four cards picked (it is possible that a card may be picked twice). Here is a sample run of the program:
4 of Diamonds
8 of Spades
Queen of Clubs
8 of Hearts
Number of picks: 9
Answer:
Here is the JAVA program:
public class Main { //class name
public static void main(String[] args) { //start of main method
//sets all boolean type variables spades, hearts diamonds and clubs to false initially
boolean spades = false;
boolean hearts = false;
boolean diamonds = false;
boolean clubs = false;
String[] deck = new String[4]; //to store card sequence
int index = 0; //to store index position
int NoOfPicks = 0; //to store number of picks (picks count)
while (!spades || !hearts || !diamonds || !clubs) { //loop starts
String card = printCard(getRandomCard()); //calls printCard method by passing getRandomCard method as argument to it to get the card
NoOfPicks++; //adds 1 to pick count
if (card.contains("Spades") && !spades) { //if that random card is a card of Spades and spades is not false
deck[index++] = card; //add that card to the index position of deck
spades = true; //sets spades to true
} else if (card.contains("Hearts") && !hearts) { //if that random card is a card of Hearts and hearts is not false
deck[index++] = card;
hearts = true; //sets hearts to true
} else if (card.contains("Diamond") && !diamonds) { //if that random card is a card of Diamond and diamonds is not false
deck[index++] = card;
diamonds = true; //sets diamonds to true
} else if (card.contains("Clubs") && !clubs) { if that random card is a card of Clubs and clubs is not false
deck[index++] = card;
clubs = true; } } //sets clubs to true
for (int i = 0; i < deck.length; i++) { //iterates through the deck i.e. card sequence array
System.out.println(deck[i]); } //prints the card number in deck
System.out.println("Number of picks: " + NoOfPicks); } //prints number of picks
public static int getRandomCard() { //gets random card
return (int) (Math.random() * 52); } //generates random numbers of 52 range
public static String printCard(int cardNo) { //displays rank number and suit
String[] suits = { "Spades", "Hearts", "Diamonds", "Clubs", }; //array of suits
String[] rankCards = { "Ace", "2", "3", "4", "5", "6", "7", "8", "9", "10",
"Jack", "Queen", "King" }; //array of rank
int suitNo = cardNo / 13; //divides card number by 13 and stores to suitNo
int rankNo = cardNo % 13; //takes modulo of card number and 13 and store it to rankNo
return rankCards[rankNo] + " of " + suits[suitNo]; }} //returns rankCard at rankNo index and suits at suitNo index
Explanation:
The program is explained in the comments attached with each line of code. The screenshot of the program along with its output is attached.
What information is required for a complete citation of a website source?
A: the title, volume number, and page numbers
B: the responsible person or organization and the website URL
C: the responsible person or organization, date accessed, and URL
D: the responsible person or organization and the date accessed
Answer:
C: the responsible person or organization, date accessed, and URL
Explanation:
Which of the following works on the pay-per-click (PPC) and cost-per-click (CPC) concept?
A. Google Adwords B. Technorati search C. Bing Ads D. Radian6
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is Google Adwords and Bing Ads.
First we need to know what is CPC and PPC.
Cost per click (CPC) is a paid advertising term used by Google where an advertiser pays a cost to the publisher for every click when an internet user will click on the advertisement or ad.
Cost per click is also called PPC (Pay per click). CPC is used to determine the costs of showing advertisements on the search engine, for example Google Adwords and Bing Ads. Bing Ads is microsoft advertising strategy on internet using PPC advertising strategy.
While other options are not correct because:
technorati search does not allow you to apply these concepts because it searches the list of blogs on the internet.
Radian6 is a social media monitoring platform for marketers to study customer opinions on their products in real-time.
Answer:
A
Explanation:
This is for plato
Can someone tell me why this code in Java won't run?
if (s.toLowerCase().equals(s.toUpperCase()))
{
System.out.println("*");
}
Answer:
try typing the following:
String lc = s.toLowerCase();
String uc = s.toUpperCase();
if(lc == uc){
System.out.println("*")
}
Why is important to know the parts of a computer system?
Answer:
so that you'll know how it works.
Explanation:
When drivers have no control over their driving environment and are stuck in traffic, the lack of control over the traffic event is frustrating and frustration leads to ___________ .
aggression
courtesy
restriction
regulation
Which of the following is another word for a copyeditor?
microeditor
macroeditor
assignment editor
assistant editor
Answer: speaking of microeditor
Explanation: thats not the only thing i know of thats micro :0
Suzanne has inserted an image into her document and would like to adjust the color and contrast of the image.
Where can Suzanne find these options?
Design tab, Picture Tools group
Contextual tab Picture Tools > Format in the Picture Tools group
Contextual tab Picture Tools > Format in the Adjust group
Contextual tab Picture Tools > Format in the Align group
Answer:
Contextual tab Picture Tools > Format in the Adjust group
Explanation:
edge/canva test review
Suzanne finds the options in the contextual tab Picture Tools > Format in the Adjust group. The correct option is B.
What is a contextual tab?When a specific event occurs in the Office document, a contextual tab, which is a hidden tab control in the Office ribbon, is presented in the tab row. For instance, when a table is selected in Excel, the Table Design tab is displayed on the ribbon.
The contextual command tabs have the capabilities and commands you need to operate in a certain situation. The contextual tabs, for instance, provide actions that are only applicable while working with a table in the Design view when you open a table in that view.
Therefore, the correct option is B. Contextual tab Picture Tools > Format in the Adjust group.
To learn more about the contextual tab, refer to the link:
https://brainly.com/question/26680062
#SPJ2