To play the PowerBall lottery, you buy a ticket that has five unique numbers in the range of 1–69, and a “PowerBall” number in the range of 1–26. (You can pick the numbers yourself, or you can let the ticket machine randomly pick them for you.) Then, on a specified date, a winning set of numbers is randomly selected by a machine. If your first five numbers match the first five winning numbers in any order, and your PowerBall number matches the winning Pow-erBall number, then you win the jackpot, which is a very large amount of money. If your numbers match only some of the winning numbers, you win a lesser amount, depending on how many of the winning numbers you have matched.
In the student sample programs for this book, you will find a file named pbnumbers.txt, containing the winning PowerBall numbers that were selected between February 3, 2010 and May 11, 2016 (the file contains 654 sets of winning numbers). Figure 8-6 shows an example of the first few lines of the file’s contents. Each line in the file contains the set of six numbers that were selected on a given date. The numbers are separated by a space, and the last number in each line is the PowerBall number for that day. For example, the first line in the file shows the numbers for February 3, 2010, which were 17, 22, 36, 37, 52, and the PowerBall number 24.
Write a program that works with this file to display the 10 most common numbers, ordered by frequency.
Your submission will consist of:
In: Computer Science
If you understand the meanings of many words, you can be said to have a "good vocabulary." Words are the basis of thought. We think with words, we understand words, and we communicate with words.
A large vocabulary is a significant asset. It allows us to use precise words that say exactly what we intend. In addition, we understand more effectively what we hear and read. A large vocabulary also enables us to score well on employment and intelligence tests. Lewis M. Terman, who developed the Stanford-Binet IQ tests, believed that vocabulary is the best single indicator of intelligence.
In the business world, where precise communication is extremely important, surveys show a definite correlation between vocabulary size and job performance. Skilled workers, in the majority of cases, have larger vocabularies than unskilled workers. Supervisors usually know the meanings of more words than the workers they direct, and executives generally have larger vocabularies than employees working for them.
Having a good vocabulary at our command doesn't necessarily ensure our success in life, but it certainly gives us an advantage. Improving your vocabulary will help you expand your options in an increasingly complex world.
Vocabulary can be acquired in three ways: accidentally, incidentally, and intentionally. Setting out intentionally to expand your word power is, of course, the most efficient vocabulary-building method. In addition, with all of the technology and tools at our disposal, such as the Internet, Siri, Wikipedia, Dictionary.com, it is easy to look up and expand our vocabulary daily.
Why might it be of value to intentionally expand your vocabulary? Explain.
In: Operations Management
If you understand the meanings of many words, you can be said to have a "good vocabulary." Words are the basis of thought. We think with words, we understand words, and we communicate with words.
A large vocabulary is a significant asset. It allows us to use precise words that say exactly what we intend. In addition, we understand more effectively what we hear and read. A large vocabulary also enables us to score well on employment and intelligence tests. Lewis M. Terman, who developed the Stanford-Binet IQ tests, believed that vocabulary is the best single indicator of intelligence.
In the business world, where precise communication is extremely important, surveys show a definite correlation between vocabulary size and job performance. Skilled workers, in the majority of cases, have larger vocabularies than unskilled workers. Supervisors usually know the meanings of more words than the workers they direct, and executives generally have larger vocabularies than employees working for them.
Having a good vocabulary at our command doesn't necessarily ensure our success in life, but it certainly gives us an advantage. Improving your vocabulary will help you expand your options in an increasingly complex world.
Vocabulary can be acquired in three ways: accidentally, incidentally, and intentionally. Setting out intentionally to expand your word power is, of course, the most efficient vocabulary-building method. In addition, with all of the technology and tools at our disposal, such as the Internet, Siri, Wikipedia, Dictionary.com, it is easy to look up and expand our vocabulary daily.
Consider your childhood--who/what was the most influential component of you developing your vocabulary? Explain.
How strong is your vocabulary?
In: Operations Management
As I hope is obvious to everyone reading this, the universe contains more matter than antimatter, presumably because of some slight asymmetry in the amounts of the two generated during the Big Bang. This raises the question of whether there are any processes short of the Big Bang that produce more matter than antimatter. That is, is there any known process where a particle collider (or whatever) would convert some energy into matter not through the production of particle-antiparticle pairs but through some process that produced more matter than antimatter? This doesn't need to be restricted to current accelerators-- if there's some mechanism for this that requires impractically high energies, but is based on solid theories (i.e., the Standard Model or straightforward extensions thereof), that would be interesting, too.
I'm fairly certain that the answer is "no," because I know that the matter-antimatter asymmetry is related to CP violation, and I also know that existing measurements of CP violation are not enough to explain the asymmetry. If there were a known way to slam protons together and make more quarks than antiquarks, I wouldn't expect this to still be a mystery. My particle physics knowledge is far from comprehensive, though, so it can't hurt to ask.
(I was briefly confused into thinking that there was such an experiment a while back, but it turned out to just be sloppiness about marking the antiquarks on the part of the people writing about it...)
(This is another question prompted by the book-in-progress, on relativity, this time a single word: I wrote that matter created from energy in particle physics experiments is "generally" in the form of particle-antiparticle pairs. Then I started wondering whether that qualifier was really needed, and thus this question.)
In: Physics
If you understand the meanings of many words, you can be said to have a "good vocabulary." Words are the basis of thought. We think with words, we understand words, and we communicate with words.
A large vocabulary is a significant asset. It allows us to use precise words that say exactly what we intend. In addition, we understand more effectively what we hear and read. A large vocabulary also enables us to score well on employment and intelligence tests. Lewis M. Terman, who developed the Stanford-Binet IQ tests, believed that vocabulary is the best single indicator of intelligence.
In the business world, where precise communication is extremely important, surveys show a definite correlation between vocabulary size and job performance. Skilled workers, in the majority of cases, have larger vocabularies than unskilled workers. Supervisors usually know the meanings of more words than the workers they direct, and executives generally have larger vocabularies than employees working for them.
Having a good vocabulary at our command doesn't necessarily ensure our success in life, but it certainly gives us an advantage. Improving your vocabulary will help you expand your options in an increasingly complex world.
Vocabulary can be acquired in three ways: accidentally, incidentally, and intentionally. Setting out intentionally to expand your word power is, of course, the most efficient vocabulary-building method. In addition, with all of the technology and tools at our disposal, such as the Internet, Siri, Wikipedia, Dictionary.com, it is easy to look up and expand our vocabulary daily.
What are some strategies and methods you might use to expand your vocabulary (intentionally)?
In: Operations Management
Given:
struct Person
{
int id;
int stats[3]
};
Which is the correct way to initialise an array of Persons?
| 1. |
struct Person persons[2] = {7, "8,9,3", 8, "2,5,9"}; |
|
| 2. |
struct Person persons[2] = "7, {8,9,3}, 8, {2,5,9}"; |
|
| 3. |
struct Person persons[2] = "7, "8,9,3", 8, "2,5,9"; |
|
| 4. |
struct Person persons[2] = {7, {8,9,3}, 8, {2,5,9}}; |
Which of the following is not a primitive type in the C language?
| 1. |
string |
|
| 2. |
int |
|
| 3. |
long |
|
| 4. |
char |
Given:
struct Person
{
int id;
int stats[3]
};
Which is the correct way to access the 2nd member of stats in an instance named John?
| 1. |
John.stats[2] |
|
| 2. |
John->stats[2] |
|
| 3. |
John->stats[1] |
|
| 4. |
John.stats[1] |
Given:
struct Person
{
int id;
int stats[3]
};
Which is the correct way to initialise an instance of Person?
| 1. |
struct Person John = "5,{4,5,6}"; |
|
| 2. |
struct Person John = {"5", "4,5,6"}; |
|
| 3. |
struct Person John = {5, {4,5,6}}; |
|
| 4. |
Person John = {5, {4,5,6}}; |
Instead of using parallel arrays with a key and value array, we can create a derived type with members that represent the key – value pair.
True
False
A derived type is a collection of other types.
True
False
Given:
struct Person
{
int id;
int stats[3]
};
*John.stats[0]; will retrieve the fist element of stats in a Person instance named John.
True
False
What is the key word used to create a user defined (derived) type in the C language?
| 1. |
class |
|
| 2. |
object |
|
| 3. |
collection |
|
| 4. |
struct |
In: Computer Science
Create a Java class named Trivia that contains three instance variables, question of type String that stores the question of the trivia, answer of type String that stores the answer to the question, and points of type integer that stores the points’ value between 1 and 3 based on the difficulty of the question.
Also create the following methods:
Create Java application that contains a main method that plays a simple Trivia game. The game should have 5 questions. Each question has a corresponding answer and point value between 1 and 3. Implement the game using an array of 5 Trivia objects.
Next, open a binary file and store those 5 Trivia objects into a binary file then close the file. Open the file again to read each question one at a time and store them into an array of objects.
Randomly, display a question and allow the player to enter an answer.
If the player’s answer matches the actual answer, the player wins the number of points for that question. If the player’s answer is incorrect, the player wins no points for the question. Make sure the answer is not case sensitive and it is only one word or two words at most. The program should show the correct answer if the player is incorrect. After the player has answered all five questions, the game is over and your program should display the player’s total score.
In: Computer Science
Write in the following topic from
For your ads and products (above):
Note: answers should be in word format and in details and in your own words
In: Operations Management
"You work for a digital marketing company that has been approached by a leading company (identify company and sector -Hospitality) in South Africa. The company wants to improve its social media and digital marketing strategy they are using, how the position and strategies limit their current capabilities, the options available to them. Identify key factors that would help that company to develop their strategy and write a report for their Board of Executives. Identify their current position and strategies and the main recommendations for an enhanced social and digital marketing strategy.”
Report: Guide framework to your report
A report differs from an essay in that the Executive Summary is the introduction and conclusion in one.
|-------- Why something was done and why it is important
|-------- Purpose of the report (problem solving, feasibility, etc.).
|-------- Main findings and important recommendations.
The introduction and conclusion mentioned in the discussion section below are equivalent to the first and last stages of the main body of the essay.
Discussion Identify problem, position, possibilities, proposal Introduction
|-------- Background to the problem in detail. Review of pertinent issues from the literature. Proof and
|-------- Analysis of target situation and development other related factors. How many of claims sections are needed to interpret the situation? Conclusion &
|-------- What does this mean in light of recommendations review, corporate &/or industry concerns, public reaction, etc. What needs to be done?
Appendices Information (charts, statistics, and diagrams) that are too long for including in the discussion. Useful to present, but not directly relevant to the argument. Avoid using more than 2 or 3 pages of appendices if possible (NOTE: they are no part of the word count).
In an essay, theory & research interprets and informs practice, whereas in a report, practice primarily reflects and informs theory
In: Operations Management
Project 1: Cloud computing has become a viable and competitive option to the client/server networking model due to its lower cost, scalability, and agility. A local business in your town has asked you to develop a full plan, an analysis to determine the requirement and a design to specify the input, output, and processing prerequisites. Since you are a knowledgeable systems analyst, you have decided to take the job. You understand all the benefits that come along with cloud computing. To assure a functional development life cycle, you have also decided to point out any negative issues with cloud computing such as security, untested new technologies, and training requirement. You are aware that it should take no more than seven weeks to complete the first three phases of SDLC.
Regardless of your topic, you must complete the first three phases of the system development life cycle (SDLC) process: 1. Analysis of the business case 2. Systems analysis a. Requirements modeling b. Data and procedures modeling c. Object modeling 3. Systems design a. Input design b. Output design c. User interface
Software required to complete the project include MS Word, MS Excel, PowerPoint, Visio (or similar package), MS Project, and a statistical package. You may use trial versions of MS Project and Vizio. When using Visio, MS Project, or similar software, ensure that you publish any work as either an image file (.jpeg, .png, etc.) or a pdf before incorporating it into your course project. This is to ensure that your instructor can view/grade your project.
In: Computer Science