Questions
Hi, I'm trying to make a basic GUI quiz in python using tkinter. I would like...

Hi,

I'm trying to make a basic GUI quiz in python using tkinter.

I would like the user to have to press a start button to begin the quiz and then be asked 5 different questions with the total score showing at the end. Ideally it would be a multiple choice quiz with the user having 4 different answers to choose from.

A very basic example of this would be appreciated so I can understand where exactly I'm going wrong.

Thanks in advance

In: Computer Science

Consider the following information about Stocks A and B: Rate of Return if State Occurs State...

Consider the following information about Stocks A and B: Rate of Return if State Occurs State of Probability of Economy State of Economy Stock A Stock B Recession 0.26 0.03 − 0.34 Normal 0.56 0.20 0.14 Irrational exuberance 0.18 0.09 0.54 The market risk premium is 5 percent, and the risk-free rate is 3 percent. (Round your answers to 2 decimal places. (e.g., 32.16)) The standard deviation on Stock A's return is percent, and the Stock A beta is . The standard deviation on Stock B's return is percent, and the Stock B beta is . Therefore, based on the stock's systematic risk/beta, which Stock is "riskier".

In: Finance

Discuss how, why, and where a critical incident technique is used.

Discuss how, why, and where a critical incident technique is used.

In: Operations Management

Explan 1, 2, and 3, using a computer ? Conduct a crisis postmortem. 1- Evaluate what...

Explan 1, 2, and 3, using a computer ?

Conduct a crisis postmortem.
1- Evaluate what was wrong.
2- Identify any systematic problems.
3- Document any lessons learned.

Just explain the points ?

In: Computer Science

You are considering making a movie. The movie is expected to cost $ 10.2 million up...

You are considering making a movie. The movie is expected to cost $ 10.2 million up front and take a year to produce. After​ that, it is expected to make $ 4.9 million in the year it is released and $ 2.1 million for the following four years. What is the payback period of this​ investment? If you require a payback period of two​ years, will you make the​ movie? Does the movie have positive NPV if the cost of capital is 10.6 %​?
What is the payback period of this​ investment?

In: Finance

What effects would each of the following have on aggregate demand or     aggregate supply? Justify your...

What effects would each of the following have on aggregate demand or     aggregate supply? Justify your answer. In each case use a diagram to show the expected effects on the equilibrium price level and real output level in the economy. Assume that all other things remain constant and prices are inflexible downward.

(a) A reduction in interest rates at each price level.

(b) A sizable increase in labor productivity.

(c) The nation’s currency appreciates against its major trading partners .

In: Economics

/* The following function receives the class marks for all student in a course and compute...

/*
The following function receives the class marks for all student in a course and compute standard deviation. Standard deviation is the average of the sum of square of difference of a mark and the average of the marks. For example for marks={25, 16, 22}, then average=(25+16+22)/3=21. Then standard deviation = ((25-21)^2 + (16-21)^2+(22-21)^2)/3.
Implement the function bellow as described above. Then write a test console app to use the function for computing the standard deviation of a list of marks that user inputs as floats in the range of 0.f to 100.f. User signals end of the list by entering -1 as final mark. Make sure to verify user input marks are valid and in the range, before processing them.

*/

float ComputeMarksStandardDeviation(std::array<float> marks)
{
}

In: Computer Science

Consider the following information: Rate of Return if State Occurs State of Probability of Economy State...

Consider the following information: Rate of Return if State Occurs State of Probability of Economy State of Economy Stock A Stock B Stock C Boom 0.60 0.09 0.18 0.36 Bust 0.40 0.15 0.07 − 0.05 a. What is the expected return on an equally weighted portfolio of these three stocks? (Do not round intermediate calculations and round your final answer to 2 decimal places. (e.g., 32.16)) Expected return % b. What is the variance of a portfolio invested 15 percent each in A and B and 70 percent in C? (Do not round intermediate calculations and round your answer to 6 decimal places. (e.g., 32.161616)) Variance =?

In: Finance

WRITE IN C++ Create a class named Coord in C++ Class has 3 private data items...

WRITE IN C++

Create a class named Coord in C++

Class has 3 private data items

              int xCoord;

              int yCoord;

              int zCoord;

write the setters and getters. They should be inline functions

              void setXCoord(int)             void setYCoord(int)            void setZCoord(int)

              int getXCoord()                     int getYCoord()                   int getZCoord()

write a member function named void display() that displays the data items in the following format

     blank line

     xCoord is                          ????????

     yCoord is                          ????????

     zCoord is                          ????????

    Blank line

Example

     blank line

     xCoord is                          101

     yCoord is                          -234

     zCoord is                          10

    Blank line

In: Computer Science

could a business use it information technology to increase switching costs and lock in its customers...

could a business use it information technology to increase switching costs and lock in its customers and suppliers? Use business examples to support your answer

In: Computer Science

Section A 1. Explain what happens to the pH paper in each of the following cases,...

Section A

1. Explain what happens to the pH paper in each of the following cases, and whether the substance is acid or base.

(a) Dry pH paper, household ammonia

(b) Moist pH paper, household ammonia

(c) Bleach

(d) Ammonium carbonate

2. Why are most cleaning agents and detergents basic?

Section B

3. What happens when you mix baking soda with vinegar? Describe your observations and write a balanced chemical equation to explain them.

4. What do you think would happen if you mixed the baking soda with concentrated sulfuric acid instead? What differences would you expect and why? Write and explain a balanced chemical equation for this reaction.

Section C

5. Do you see a trend in the periodic table that is related to the trend in the conductivity measurements? Explain why this trend occurs.

Section D

8. Explain your observations for Na vs. Ca in water. Write properly balanced chemical equations for the reactions, and explain the differences in your observations between the two elements based on their locations on the periodic table.

Section E

9. Explain how your observations relate to the positions of each element in the periodic table.

Section F

10. Explain how the reactivity with acid relate to the location of each substance on the periodic table.

Thank you so much!!!! :)

In: Chemistry

11) You are testing the claim that the proportion of men who own cats is significantly...

11) You are testing the claim that the proportion of men who own cats is significantly different than the proportion of women who own cats.
You sample 180 men, and 30% own cats.
You sample 100 women, and 70% own cats.
Find the test statistic, rounded to two decimal places.

12) You are testing the claim that the mean GPA of night students is different than the mean GPA of day students.
You sample 60 night students, and the sample mean GPA is 2.01 with a standard deviation of 0.53
You sample 30 day students, and the sample mean GPA is 1.75 with a standard deviation of 0.74
Calculate the test statistic, rounded to 2 decimal places

20) Give a 98% confidence interval, for μ1-μ2 given the following information.

n1=35, ¯x1=2.69, s1=0.47
n2=25, ¯x¯2=2.42, s2=0.99

___ < μ1-μ2 < ___ Use Technology Rounded to 2 decimal places.

In: Math

(1 point) Consider the initial value problem my′′+cy′+ky=F(t), y(0)=0, y′(0)=0 modeling the motion of a spring-mass-dashpot...

(1 point) Consider the initial value problem my′′+cy′+ky=F(t), y(0)=0, y′(0)=0 modeling the motion of a spring-mass-dashpot system initially at rest and subjected to an applied force F(t), where the unit of force is the Newton (N). Assume that m=2 kilograms, c=8 kilograms per second, k=80 Newtons per meter, and F(t)=80cos(8t) Newtons. Solve the initial value problem. y(t)= Determine the long-term behavior of the system. Is limt→∞y(t)=0? If it is, enter zero. If not, enter a function that approximates y(t) for very large positive values of t. For very large positive values of t, y(t)≈

In: Advanced Math

create a c++ proram to accept a positive number in the main program. Create and call...

create a c++ proram to accept a positive number in the main program. Create and call the following functions 1.

1. OddorEven -to determine if the number is an odd or even number ( do not use $ or modul opeartor) and will return " even number " or " odd number ".

2. Factorial - to compute the factorial of N.

3. Power - to compute the power of N without using pow function.

display the result in the main function.

use only #include <iostream>

In: Computer Science

Task 4 . . . . . . . . . . . . . ....

Task 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Consider a disk drive with 2,000 tracks, numbered 0 to 1,999. The request queue has

the following composition: 1045 750 932 878 1365 1787 1245 664 1678 1897

The current position is 1167 and the previous request was served at 1250. For each

of the following disk scheduling algorithms, compute the total distance (in tracks)

that the disk arm would move. Explain how you arrive at your answers.

4.1       First-In-First-Out (FIFO)                                                                                (2)

4.2      Shortest-Service-Time-First (SSTF)                                                             (2)

4.3      SCAN (Without LOOK variation)                                                                     (2)

4.4      C-SCAN (Without C-LOOK variation) (2)

In: Computer Science