GAMEMODE(gamemode_id, gamemode_name,
gamemode_type)
GAME(game_id, game_time, game_results, game_date,
gamemode_id)
ACTIVEPLAYER(player_online_status, game_id,
hero_level)
PLAYERHERO(hero_level, hero_id, player_id)
HERO(hero_id, hero_role, hero_price, hero_name,
hero_speciality)
SKIN(skin_id, skin_price, skin_name, hero_id)
PLAYER(player_email, player_username,
player_id)
PLAYER
ACCOUNT(player_id,player_username,player_onlinestatus,player_battle_point,player_global_level,player_diamonds)
Normalise this to 3NF
In: Computer Science
ABC drug company has hired you as a consultant to hire the following positions:
ABC wants you to independently develop the job specification (KSAOs) of the jobs, and submit a proposal as how you would like to recruit, screen and then conduct employment testing prior to the final employment interview.
Instruction: for any four job of your choice from the above list and prepare the following:
(if you are not sure about the job description and specification of your picked job, you can do some research in the internet using NOC, O*Net or other available resources. These specifications may vary from student to student. Its ok)
Based on your developed job specification (KSAOs) and course learning (lecture, text, class activities) answer the following:
In: Operations Management
In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of non-negative numbers from 1 to n.
Design a program that asks the user to enter a nonnegative integer and then displays the factorial of that number.
Module main. Asks the user to enter a non-negative integer. A loop is used to require user input until a nonnegative number is entered. Once a nonnegative number is entered, the integer is passed to Module factorial.
Module factorial. Accepts a non-negative integer from Module main and uses a loop to calculate the factorial of that number. The number resulting from each step of the calculation will be written to an output file products.dat. The following numbers would be written to the output file for 7!
42
210
840
2520
5040
Module readFactorial. Changes the status of products.dat to an input file. Reads and displays all numbers in the file. The final number should be labeled as the solution to the problem.
Expected Input/Output
Your results should be similar to the following:
Please enter a non-negative integer: -5
The number must be non-negative.
Please enter a non-negative integer: 0
The number must be non-negative.
Please enter a non-negative integer. 7
Following are intermediary calculations for 7 factorial:
42
210
840
2520
5040
7 factorial is 5040.
Please use java to generate the program. And must have these modules and use these guidelines!!!
In: Computer Science
Please answer ASAP
Database
Consider the following relation scheme:
Players = {name, position, year, team, manager}
We use the following abbreviations:
Players = {n, p, y, t, m}
with the following FDs
n --> p
n, y --> t
t, y --> m
(3.a) Is Players in BCNF? Explain why.
(3.b) Find all candidate keys of Players. Show your work.
(3.c) Obtain a decomposition of players using the 3NF decomposition
algorithm. Assume the
given FDs are a minimal (canonical) cover. Show your work.
(3.d) Assume the following FD also holds in players (in addition to
the FDs listed above).
t, m ! y
Find all candidate keys of Players for this case. Show your
work.
In: Computer Science
Using C language, and describe the algorithm design
n (n is odd) people sitting around a round table playing a game. In this situation, everyone has a left neighbour and a right neighbour. At the beginning, each of them is holding a whiteboard with an integer number. Now, they are playing a game consisting of several rounds. In each round, everyone will first look at the numbers of his/her left neighbour and right neighbour, then calculate the average of the two numbers, replace the number on his/her whiteboard with the average finally. The game terminates when any one has to write a non-integer number on his/her whiteboard.
Given the number of people, the number of passed rounds and the integer numbers on their whiteboards at this moment, you are asked the integer numbers on their whiteboards at the very beginning. The number of rounds increases by 1 when changing the number on the whiteboard and new numbers are all integers.
Input the number of people n and the number of rounds t on the first line. On the next line are numbers on their whiteboards after t rounds.
Output the integer numbers on their whiteboards at the very beginning.
3 2
3 1 2
6 -2 2
In: Computer Science
Earth Company manufactures a single product, Thingy. The standard cost specification sheet shows the following standards for one unit of Thingy.
3 kg of material Y @ $10 per kg |
$30 |
2 hours of direct labour @ $18 per hour |
$36 |
Fixed Overhead - $7 per direct labour hour |
$14 |
Variable Overhead - $4 per direct labour hour |
$ 8 |
The fixed overhead allocation rate is based on normal monthly capacity of 20 000 direct labour hours. Fixed overhead and production are expected to be spread evenly throughout the year.
A total of 6000 Thingy were produced during June. Actual costs incurred during June were:
20,000 kg of material Y were purchased @ $13.50 per kg 22,000 kg of material Y were used.
18,000 direct labour hours were worked at an average wage rate of $15 per hour Actual overhead incurred:
Fixed $85 000
Variable $35 000
Required:
In: Accounting
Categorize a firm you have worked with recently as a defender, prospector, or analyzer.
Discuss whether or not the staffing systems supported the strategy the firm utilized.
Given the emphasis on teams, cross functional responsibilities and non-traditional forms of jobs, what types of selection systems would you recommend to ensure newcomers have the requisite skills for such firms?
In: Operations Management
Give an example of an Unfair Labour Practice.
In: Operations Management
What are some of the important steps that an organization can follow to ensure a workplace free from sexual harassment
In: Operations Management
Write a program to ask three options to the user and continue until user selects option 3.
The first two options prompt a user to enter a string of numbers separated by spaces which is a 2by2 matrix. Do addition and subtraction on the input matrices when user selects 1 and 2.
You must write functions for matrix addition, subtraction and print. You may use the following function str_to_mlist to convert string to a list.
code example is given:
def str_to_mlist(m_str):
"""Converts a string separated by spaces to a list
Parameters
----------
m_str : str, required
Input string separated by spaces
Returns
-------
list
Numbers
"""
return m_str.split()
A sample run of the code looks like this:
Enter an option
1.Add two matrices
2.Subtract two matrices
3.Quit
1
Enter four numbers separated by spaces and press enter:3 4 -10
3
3 4
-10 3
Enter four numbers separated by spaces and press enter:8 9 0
-2
8 9
0 -2
Your result is:
11 13
-10 1
Enter an option
1.Add two matrices
2.Subtract two matrices
3.Quit
2
Enter four numbers separated by spaces and press enter:1 0 0
1
1 0
0 1
Enter four numbers separated by spaces and press enter:0 -1 -1
0
0 -1
-1 0
Your result is:
1 1
1 1
Enter an option
1.Add two matrices
2.Subtract two matrices
3.Quit
3
In: Computer Science
Determine the running time of each of the algorithms below. For questions 2a. and 2b., you may determine the running time line-by-line (see Lecture 2, slide No. 8). For questions 2c – 2f, you may determine the running time by focusing on the basic operation of the algorithm.
a,sum = 0; for (i=1; i<=n; i++) sum += n;
b. Algorithm maxVal (numbers, n) currentVal ← numbers [0] for i ← 1 to n − 1 do if numbers [i] > currentVal then currentVal ←A[i] { increment counter i } return currentVal
c. Algorithm prefix1(X, n) //Input array X of n integers //Output array A of prefix averages of X A ← new array of n integers for i ← 0 to n − 1 do s ←X[0] for j ← 1 to i do s ←s + X[j] A[i] ←s / (i + 1) return A
d. Algorithm prefix2(X, n) //Input array X of n integers //Output array A of prefix averages of X A ← new array of n integers s ← 0 for i ← 0 to n − 1 do s ←s + X[i] A[i] ←s / (i + 1) return A
e. Algorithm SumTripleArray(X, n) //Input triple array X[][][] of n by n by n integers //Output sum of elements of X s ← 0 for i ← 0 to n − 1 do for j ← 0 to n − 1 do for k ← 0 to n − 1 do s ←s + X[i][j][k] return s
f. sum = 0; for( i = 0; i < n; i++) for( j = 0; j < n * n; j++) sum++;
In: Computer Science
Product(Facebook Inc.)
Remember the brand is wrapped around the product and products can
be tangible or intangible.
a) Describe fully the services provided by Facebook Inc. to
consumers (B2C) and businesses (B2B).
Explain why Facebook Inc. product is either tangible or
intangible?
For example, for Frito Lays Inc. some of the product types they
sell are
potato chips, corn chips, and tortilla chips. For social media
companies, there are different types of services.
b) Discuss where you think Facebook Inc. products are in the
product life cycle and explain why.
c) Identify the corporate (parent) brand for Facebook Inc. and
master brands and include pictures of the logos.
The parent brand includes the words Company, Corporation, Inc., LLC
etc. Sometimes one of the master brands might also include the
parent brand name, but without the Inc., Company, Corporation etc.
For example, Facebook Inc. and Facebook.
d) Discuss if Facebook Inc. strategy is multi-product branding,
multi branding, or private branding and fully explain why based on
what you observed and the concepts discussed in the textbook.
Include pictures.
e) Discuss and give examples of Facebook Inc. line extensions or
brand extensions. Include pictures.
f) Identify the number of monthly active users and the percent of
internet users reached for Facebook Inc.
In: Operations Management
Revisit Shneiderman’s 8 Golden Rules and answer the following questions.
PreviousNext
In: Computer Science
Keep a record of your use of the mass media-television, internet, facebook, gaming, movies, etc.-including your reason for using these sources. Then take the role of a sociologist and write about how you might have been socialized by the media you used. What norms and values were you exposed to? How did they affect you? Which other agents of socialization (besides media) influenced your use of mass media (did peers or other groups/entities entice you?
In: Psychology
In a detailed paragraph please write about the history of covid 19 .
Please be as detailed as possible from how this virus has started and evolved to where it is today.
Thank you
IMPORTANT: If you are going to write please make sure your writing is neat, legible, and easy to read. Please write in print (not cursive). Thank you
In: Nursing