Questions
Please make a Python program where the computer chooses a number and the player guesses the...

Please make a Python program where the computer chooses a number and the player guesses the number.

You need an input, a random number, if statement, and a while loop.

Please reference these when doing the code:

((random reference))

•>>> import random

•>>> random.randint(1, 100)

•67

((While & if referefence))

•>>> cnum = 3

•>>>while true

•>>> if cnum == 3:

•>>> print(‘correct’)

•>>> break

•>>> elif cnum == 2:

•>>> print(‘incorrect’)

Please prepare a Word document that has the Python code and the screen shot of your output.

Here is a sample output screen.

What is your guess? 97

Too high

What is your guess? 6

Too low

What is your guess? 82

Too high

What is your guess? 23

Too low

What is your guess? 64

Too high

What is your guess? 46

Too high

What is your guess? 35

Too low

What is your guess? 40

Too high

What is your guess? 37

Too low

What is your guess? 39

Too high

What is your guess? 38

Correct !

>>>

In: Computer Science

Assignment task Use your favorite search engine to find details about (1) virus/piece of malware. Upload...

Assignment task

Use your favorite search engine to find details about (1) virus/piece of malware. Upload an MS Word or .PDF document that summarizes each of the following

Item 1: Introduction - What is meant by malware/viruses? What is their history? Are malware and/or viruses recent developments in computer technology or have they been around for a while? What piece of malware/virus are choosing to write about and why?  

Item 2: Virus/Malware details:

  1. Name of malware/virus
  2. When and where was this virus/malware first discovered?
  3. How prevalent is this virus/malware? Is it regionalized by geography or business sector? Is it worldwide? How many computers/victims has it claimed?
  4. What has been the impact of this particular virus/malware? Has it damaged computers/data? Has it caused the loss of revenue or reputation? Has it physically damaged anything?
  5. Description of the virus/malware:

What specifically does the virus/malware do? How does it infect targets? What does it do once it infects a host? Does it change registry settings, does it leave behind malicious code, etc...? Is it destructive? If so how?

In: Computer Science

If you hold a spoon in front of your face so that you see your image...

If you hold a spoon in front of your face so that you see your image in the bowl of the spoon, your image is upright when you hold the spoon close to your face, but inverted when you hold the spoon far away.

Construct the correct explanation why this change occurs.

Place the terms on the left to the appropriate blanks on the right to complete the sentences.

The spoon acts like a ____________   mirror. Light from your face is focused by the mirror.

If you are very close to the spoon (within the focal length) then the light rays ___________.

If you are farther from the spoon (beyond the focal length) then the light rays ___________.

Word Bank:

Converging

Diverging

From an inverted image

Are converged somewhat
------------------------------------------------------------------------------------------------

You are using a converging lens to look at a splinter in your finger. The lens has a 9.0 cm focal length, and you place the splinter 6.7 cm from the lens.

How far from the lens is the image?

Express your answer to two significant figures and include the appropriate units. Enter positive value if the image is on the other side from the lens and negative value if the image is on the same side.

In: Physics

You are to name your package assign1 and your file Palindrome.java. Palindrome Class Palindrome - testString...

You are to name your package assign1 and your file Palindrome.java.

Palindrome Class

Palindrome

- testString : String

+ Palindrome (String)

+ isPalindrome (): boolean

The method isPalindrome is to determine if a string is a palindrome. A palindrome, for this assignment, is defined as a word or phrase consisting of alphanumeric characters that reads the same frontwards and backwards while ignoring cases, punctuation and white space. If there are no alphanumeric characters, the string is considered a palindrome. The method should return true if it is a palindrome and false otherwise.

Notice – there is no main, no input and no output for this assignment. You are limited to the following Java library classes.

- String
- Character

Here are the restrictions on this method. Up to 20% penalty if not followed.

1. You may NOT return from the inside of a loop.
2. You may NOT break from the inside of a loop.
3. You may use ONLY ONE loop (either while or do-while).

4. You may NOT copy the String to another String.
5. You may NOT process the String more than one time (only make one pass

through it).
6. You must STOP processing as early as possible (when you find that it is or is not

a palindrome). In other words, using a for loop is not a good solution.

In: Computer Science

Given the code snippet below, complete this program by: Displaying the data (temperatures) Displaying the minimum...

Given the code snippet below, complete this program by:

  1. Displaying the data (temperatures)
  2. Displaying the minimum temperature value
  3. Displaying the maximum temperature value
  4. Displaying the mean temperature

SUBMIT THE PYTHON FILE (.PY) NOT SCREENSHOT, WORD DOCUMENT ETC. IF YOUR SUBMISSION IS NOT A .PY FILE, AUTOMATIC ZERO.

#Code snippet below. Copy this into your favorite IDE and complete the tasks

import numpy as np

import pandas as pd

temps = np.random.randint(60, 101, 6)

temperatures = pd.Series(temps)

2.

Write a python program that asks the user to enter

a number of quarters, dimes, nickels and pennies and then outputs the monetary value of the coins in the format of

dollars and remaining cents. YOUR PROGRAM MUST HAVE AT LEAST ONE FUNCTION.

3.

USE THE python TextBlob library to create a language translation application. Your application should accept at least two input from the user. The first input should be the text to be translated (your program should accept any language). The second should be the language to translate to. At minimum, your program should be able to translate to 10 different languages.

Your program must have at least one python function.

In: Computer Science

Subject Name:Multinational Management 1)Suppose that Company A has few types of customers, and faces a stable...

Subject Name:Multinational Management

1)Suppose that Company A has few types of customers, and faces a stable environment. Generally, what is the most suitable organizational structure for Company A?
A.Basic Geographic Structure B.Basic Functional Structure

C.Basic Product Structure

D.Each of the 3 choices above is OK

2)Suppose that company B has five products, managers find that in recent years, the market performance of two products: printer and surveillance camera is very good, which brings more and more profits to company B, and has established a strong competitive advantage in the industry. Therefore, in this situation, which organizational structure is the most suitable for company B?
A.Basic Functional Structure
B.Basic Geographic Structure
C.Basic Product Structure
D.Each of the 3 choices above is OK

3)Companies choose a functional structure primarily for   .................... (a single word).

4)Thanks to the great progress in management science and organizational design in recent years, scholars have developed an organizational structure suitable for all multinational companies across the world.
A.True
B.False

5)Few companies adopt purely organizational structures.
A.True
B.False

In: Operations Management

Please find an emerging mobile app and analyze the app according to the following requirements. The...

Please find an emerging mobile app and analyze the app according to the following requirements. The app you group chooses to analyze must be published in the app market after January 1, 2020. If an app was published before January 1, 2020, but was updated after this date, you should not choose the app for analysis. For example, YouTube app was published in early 2010, and had a newer version after January 1, 2020. Then, you should not choose YouTube for analysis, because a version update is not considered emerging. The main purpose of this project is to discover an emerging app with potentials instead of analyzing an established app like YouTube, Facebook, etc.

In your analysis, please answer the following questions:

(a) The name, functions, and latest number of downloads of the app;

(b) The reason you choose this app. In other word, why you thinks this app is important;

(c) The strengths of this app, and why users like this app;

(d) The weaknesses of this app, and how you plan to improve it if you were the app manager;

(e) Excluding figures, data tables, and references, a minimum of 2 page analyses are required.

In: Operations Management

Task Scenario A new financial product developmentcross-functional team was launched by a global investment group....

Task Scenario A new financial product development cross-functional team was launched by a global investment group. Team members were selected from around the world. As team members began to feel more confident and their work together accelerated, the newly appointed chief financial officer (CFO), who had no previous involvement with the process, added new expectations, challenged the established set of priorities, and made negative comments publicly about the team’s interactions with senior functional managers. The team’s work suddenly slowed down, morale dropped and expectations of success disappeared. Team members’ inability to meet face-to-face at this critical time to work through the changes added to their frustration.

Tips:

a Identify the problems caused by the CFO’s approach to the financial product development team.

b Brainstorm and develop strategies you could use to reinvigorate the team.

c Prepare a list of guidelines about how the CFO could interact with any cross-functional team in the future.

Your Task Prepare a written report that discusses teamwork and work group communication, together with your findings and recommendations to be presented to the Board of Directors. The total word length should be 1500 words


In: Finance

Imagine you are working for Drexel Morgan Bank, and you are assigned with the task of...

Imagine you are working for Drexel Morgan Bank, and you are assigned with the task of evaluating Earl Grey, Inc. Consider the following financial information of this company.

Consider the following information about Earl Grey, Inc.

  • Total assets $250 million
  • Total debt $110 million
  • Preferred stock $ 35 million
  • Common stockholders' equity $105 million
  • Net profits after taxes $25.5 million
  • Number of preferred stock outstanding 1.5 million shares
  • Number of common stock outstanding 9 million shares
  • Preferred dividends paid $2.5 per share
  • Common dividends paid $0.70 per share
  • Market price of the preferred stock $32.55 per share
  • Market price of the common stock $26.00 per share

Use the information above to find the following.

  1. The company's book value
  2. Its book value per share
  3. The stock's earnings per share (EPS)
  4. The dividend payout ratio
  5. The dividend yield on the common stock
  6. The dividend yield on the preferred stock

Directions:

  1. You will report the ratios and your analysis in a Word document.
  2. Your analysis should include a discussion of the strengths or weaknesses revealed in each ratio.
  3. All six ratios should be discussed.

In: Accounting

The policies of the federal government influence the outcomes of the various activities in that economy....

The policies of the federal government influence the outcomes of the various activities in that economy. When government policies change or unplanned events occur, the resulting economic events or activity will usually change. Listed below are several policies or events that affect the performance of the economy:

  • The federal government employs a budget plan over several fiscal years that results in significant increases in the national debt, with no relief or plans to deal with the problem.
  • The federal government enacts new tariffs and quotas on all imports.
  • The general public loses confidence in their leadership, in terms of their ability to manage the economy, especially in the area of job creation.
  • The federal government, in an effort to stimulate the economy, decreases taxes on all individuals except those earning over $250,000 per year.
  • The level of investment decreases because of a lack of confidence in the economy.
  • Interest rates are kept artificially low by the Federal Reserve for several years.

For each of the items above, describe what would be the likely outcomes in the economy. Use the appropriate tools of analysis, such as aggregate demand and aggregate supply where appropriate, to justify and explain your answer.

Submission Details:

  • Prepare a 5-6 page Microsoft Word document that addresses the above-noted concerns and meets APA standards.

In: Economics