Search in-a-class-with-students-play-in-a-soccer-team-how-many-percent-plays-soccer

In a class with students play in a soccer team how many percent plays soccer

 
 

Top Questions

1.CSE 1300 Problem Solving Practice Conditional Statements Question 1: Student Fees All KSU students pay fees in addition to their tuition. Using the code ...

nts pay fees in addition to their tuition. Using the code provided below as a starting point, write a conditional statement that determines how much a student will pay in fees. • Students registered for 1 – 4 hours pay $843 in student fees. • Students enrolled in 5 or more hours pay $993 in student fees. The program should also display a message to students who have not enrolled in any classes: “You are not enrolled in any classes right now.” NOTE: You must use the variables included in the code snippet get credit for this question. import java.util.Scanner; class Main { public static void main(String[] args) { int creditHours; int fees = 0; Scanner myScanner = new Scanner(System.in); System.out.print("Please enter the number of credit hours you are taking this term: "); creditHours = myScanner.nextInt(); myScanner.close(); //YOUR CODE GOES HERE } } Break the Problem Down Answer the following questions, then use the information to write your code. What are the inputs in the pseudocode above? (INPUT) What are we storing in the pseudocode above? (MEMORY) What calculations are needed? (PROCESSES) What needs to be displayed to the user? (OUTPUT) How many conditions are there in your problem statement? What are they? Does something need to happen if the condition(s) are not met? What type of conditional statement do you need? Solution in Java Problem 2: Block Tuition The cost of KSU’s tuition is determined by the number of credit hours a student enrolls in. Using the chart below, write a conditional statement (ONLY) that sets the value of a tuition variable to what that student will owe. NOTE: For this problem you can assume that all students are enrolled in a minimum of 12 hours. Number of Credit Hours 12 13 14 15 or more Cost (in USD) $2224 $2410 $2595 $2718 Break the Problem Down Answer the following questions, then use the information to write your code. What do we need to store? (MEMORY) What are the inputs in the problem statement above? (INPUT) What calculations are needed? (PROCESSES) What needs to be displayed to the user? (OUTPUT) How many conditions are there in your problem statement? What are they? Does something need to happen if the condition(s) are not met? What type of conditional statement do you need? Solution in Java Problem 3: Class Standing Undergraduate students will be classified based on the number of earned institutional hours. • Freshman: • Sophomore: • Junior: • Senior: 0 - 29 hours 30 - 59 hours 60 - 89 hours 90 hours or more Write a complete program that prompts the user for the number of credit hours they have completed. Write a conditional statement that prints out their class standing based on the information they provided. Sample Output Break the Problem Down Answer the following questions, then use the information to write your code. What do we need to store? (MEMORY) Please enter the number of credit hours you have earned: 29 You are a freshman. What are the inputs in the problem statement above? (INPUT) What calculations are needed? (PROCESSES) What needs to be displayed to the user? (OUTPUT) How many conditions are there in your problem statement? What are they? Does something need to happen if the condition(s) are not met? What type of conditional statement do you need? Solution in Java Problem 4: Maximum Course Load KSU’s policy on maximum course loads during the academic year is as follows: A student in good standing may register for up to 18 hours. The Registrar may approve up to 21 hours for students with an institutional GPA of 3.5 or higher. Students Write a complete program that prompts the user for the number of credit hours they have signed up for. Write the necessary conditional statement(s) to address the stipulations in KSU’s policy. Once the maximum number of hours is determined, display a message to the user that states “You may enroll in X credit hours this semester.” where X is the number of credit hours determined by your program. Sample Output Break the Problem Down Answer the following questions, then use the information to write your code. What do we need to store? (MEMORY) Please enter your GPA: 3.75 You may enroll in up to 21 credit hours this semester. What are the inputs in the problem statement above? (INPUT) What calculations are needed? (PROCESSES) What needs to be displayed to the user? (OUTPUT) How many conditions are there in your problem statement? What are they? Does something need to happen if the condition(s) are not met? What type of conditional statement do you need? Solution in Java Problem 5: First-Year Seminar All first-year full-time students entering Kennesaw State University with fewer than 15 semester hours are required to complete a First-Year Seminar. Students with 30 or more credit hours are not eligible to enroll in a First-Year Seminar. Write a complete program that prompts the user for the number of credit hours they have completed. Write the necessary conditional statement(s) to address the stipulations in KSU’s policy. When you run your program, it should display one of the following messages to the screen: • You must enroll in First-Year Seminar. • You do not have to take First-Year Seminar. • You are not eligible for First-Year Seminar. Sample Output Break the Problem Down Answer the following questions, then use the information to write your code. What do we need to store? (MEMORY) Enter the number of credit hours have you completed: 30 You are not eligible for First-Year Seminar. What are the inputs in the problem statement above? (INPUT) What calculations are needed? (PROCESSES) What needs to be displayed to the user? (OUTPUT) How many conditions are there in your problem statement? What are they? Does something need to happen if the condition(s) are not met? What type of conditional statement do you need? Solution in Java
View More

2. The following is an excerpt from a letter sent by Henry Wallace to President Truman, July 23, 1946. From the ...

. From the Harry S Truman Papers, Harry S Truman Library, Independence, Missouri. Henry Wallace, a former Vice President of the United States, was a critical observer of US policies during the start of the Cold War. He believed US actions were as much to blame as Soviet actions in the starting of the Cold War. “How do American actions since V-J Day appear to other nations? I mean by actions the concrete things like $13 billion for the War and Navy Departments, the Bikini tests of the atomic bomb and continued production of bombs, the plan to arm Latin America with our weapons, production of B-29s and planned production of B-36s, and the effort to secure air bases spread over half the globe from which the other half of the globe can be bombed. I cannot but feel that these actions must make it look to the rest of the world as if we were only paying lip service to peace at the conference table. These facts rather make it appear either (1) that we are preparing ourselves to win the war which we regard as inevitable or (2) that we are trying to build up a predominance of force to intimidate the rest of mankind. How would it look to us if Russia had the atomic bomb and we did not, if Russia had 10,000-mile bombers and air bases within a thousand miles of our coastlines, and we did not? Our basic distrust of the Russians, … stems from differences in political and economic organization…I am convinced that we can meet that challenge as we have in the past by demonstrating that economic abundance can be achieved without sacrificing personal, political and religious liberties. Our actions to expand our military security system-such steps as extending the Monroe Doctrine to include the arming of the Western Hemisphere nations, our present monopoly of the atomic bomb, our interest in outlying bases and our general support of the British Empire-appear to them as going far beyond the requirements of defense.” Henry A. Wallace, Letter Sent to President Truman, July 23, 1946 Primary Source Document Questions: 1) What is the main idea contained within this document? (4 marks) 2) What is going on in the country/world when this document was written? (3 marks) 3) Is this document a reliable source? Why or why not? (Is there bias?) (3 marks) 4) What are 2 facts that you have learned in class or on your own that you can connect to this document? (2 marks) 5) How does this primary source contribute to our understanding of the time frame and/or history? (3 marks)
View More

4.According to Gallup, about 35% of Americans polled said they frequently feel stressed in their daily lives. Suppose you are ...

lives. Suppose you are in class of 52 students. A) what is the probability that over 13 students experience stress B) if 23 students in the class said they felt stress in their daily lives would you be surprised Suppose the average ACT score for students taking the test in Illinois is in 2003 was 21.8 with a standard deviation of 3.85. What is the probability that 32 randomly selected students from that state average under 23 on the ACT that year?
View More

5.An item is any object sold in a store. Items have a description, item ID number, and price, and can ...

be represented with the following class. public class Item { private String description; private String itemID; private double price; public String getDescription() { return description; } public String getID() { return itemID; } public String getPrice() { return price; } /** Raises price by specified amount. */ public void raisePrice(double amount) { price += amount; } // Constructors and some methods are not shown. } A store manipulates a collection of items. The information for a store is contained in the Store class shown below. public class Store { /** The list of items */ private ArrayList allItems; /** Raises the price of all items by the specified amount. */ public void raiseAllPrices(double amt) { /* to be implemented in part (a) */ } /** Removes all items with the specified description. */ public void removeAll(String descr) { /* to be implemented in part (b) */ } // Constructors, methods, and variables not shown. } Part (a) Write the Store method raiseAllPrices. This method should change the price of each Item to be its current price plus the amount specified in the parameter. Complete method raiseAllPrices below. /** Raises the price of all items by the specified amount. */ public void raiseAllPrices(double amt) Part (b) Write the Store method removeAll. Method removeAll removes from the allItems list all items with the description specified in the parameter. For example, a call to removeAll("screwdriver") would remove all the screwdriver items from the list. Note that there could be many screwdriver items in the list, with the same description but different prices and item IDs. Complete method removeAll below. /** Removes all items with the specified description. */ public void removeAll(String descr)
View More

6.Base class Account should include: i) one private instance variable of type string to represent the account number (accNumber). ii) one private ...

account number (accNumber). ii) one private instance variable of type decimal to represent the account balance. 2) The Account class should provide a constructor with two parameters: i) first parameter to receive account number and uses it to initialize the private instance variable using public property AccNumber. ii) second parameter that receives an initial balance and uses it to initialize the private instance variable using a public property Balance. The property Balance should validate the initial balance to ensure that it is greater than or equal to 0.0; if not, ignore the initial balance and display the message "Account initial balance amount should be a positive value." The Account class should also provide a get accessor in property Balance that returns the current balance. 3) The class Account should provide two public methods. i) Method Credit should add an amount to the current balance.
View More

8.Hi there! I am currently enrolled in an organic chemistry class and need some help completing our final project. I honestly ...

final project. I honestly do not understand a lot of the material that has been gone over in class and need help finding the answers and understanding the answers to the final project. The project has to do with explaining the molecule Retinol (vitamin A) in a lab write-up format. I will attach the rubric for more information on what is required. For my project I mainly need help in the section asking to describe the structure of the molecule. I believe i was able to identify the functional groups, the IUPAC name, and hybridization of the carbons. I need help identifying dipoles, intermolecular forces, stereochemistry, and acidity of the molecule. All of this is for the molecule Retinol
View More

1.AU MAT 120 Systems of Linear Equations and Inequalities Discussion

mathematicsalgebra Physics