Do the following exercise from the book.Follow the instructions for all assignments (one link up) and any specific additional instructions for each problem. Ch. 6, Programming Problems 5, pg. 219 Name the program postfix.cpp.Make sure the following requirements are met.Program must compile and run.Make sure to implement the algorithm (Evaluating Postfix Expressions 6.3.1) as a function. (not as part of main) Note while C does have the atoi function it may be easier to simply subtract the char '0' from the char digit. Remember to upload all files before submitting. postfix.cpp

Answers

Answer 1

Answer:

its postfix

Explanation:


Related Questions

Tech companies prepare for cyberattacks using common cybersecurity resources. Select one of the resources listed and explain how you could implement that particular policy to prevent an attack: 1. monitoring and assessment, 2. policies and controls, 3. hiring, 4. software, 5. firewalls, 6. authentication and access, 7. encryption.

Answers

Explanation:

Tech companies focus on making advancement in technology products and services. They are driven by innovations and the use of technology to make them standout from other companies.  They uses technology to render services.

Cyber attack is a deliberate attack on companies' computers or on an individual computer with the intention of stealing information, or other reasons without victim approval.

How policies on encryption could be implemented to prevent cyber attacks by:

Cyber security policies explain the guidelines on how organization staffs and end-users access online applications and internet resources without fear of security details being hacked.

1. Rules should be set on how to use email encryption: This rule should be easy to read. Emails should be encrypted to provide safety from cyber attacks. Contents should not be visible, should only be visible to those sending and receiving such emails.

2. Rules on encryption of sensitive messages and back up data.

3. rules on encryption of Log in details and passwords

You are working on a documentation file userNotes.txt with some members of your software development team. Just before the file needs to be submitted, you manager tells you that a company standard requires that one blank space be left between the end-of-sentence period (.) and the start of the next sentence. (This rule does not affect sentences at the very end of a line.) For example, this is OK: Turn the knob. Push the "on" button. This is not: Turn the knob. Push the "on" button. Asking around among your team members, you discover that some of them have already typed their sentences in the approved manner, but others have inserted two or even more blanks between sentences. You need to fix this fast, and the first thing you want to do is to find out how bad the problem is. What command would you give to list all lines of userNotes.txt that contain sentence endings with two or more blanks before the start of the next sentence?

Answers

Answer: Provided in the explanation section

Explanation:

The question says :

You are working on a documentation file userNotes.txt with some members of your software development team. Just before the file needs to be submitted, you manager tells you that a company standard requires that one blank space be left between the end-of-sentence period (.) and the start of the next sentence. (This rule does not affect sentences at the very end of a line.) For example, this is OK: Turn the knob. Push the "on" button. This is not: Turn the knob. Push the "on" button. Asking around among your team members, you discover that some of them have already typed their sentences in the approved manner, but others have inserted two or even more blanks between sentences. You need to fix this fast, and the first thing you want to do is to find out how bad the problem is. What command would you give to list all lines of userNotes.txt that contain sentence endings with two or more blanks before the start of the next sentence?

Solution:

Here, our fundamental aim is to look for the content which is having single space between different sentences. As it sentences finishing with . Going before with single and various spaces we have to channel and match just e the sentences which are finishing with ". "

For this we use order called "GREP" in Unix. "GREP " represents worldwide quest for standard articulation. This order is utilized inquiry and print the lines that are coordinating with determined string or an example. The example or indicated string that we have to look through we call it as customary articulation.

Syntax of GREP:

GREP [OPTIONS] PATTERN [FILE_NAME]

​​​​​​For our solution please follow the command

GREP "*\•\s$" userNotes.txt

Now it will display a all the lines having . Followed by single space.

"What router feature provides basic security by mapping internal private IP addresses to public external IP addresses, essentially hiding the internal infrastructure from unauthorized personnel

Answers

Answer:

i think phone

hope this helps u stay safe

Explanation:

NAT preserves and safeguards IP addresses that have been lawfully registered. Translation of network addresses with security. NAT enables users to browse the internet more discreetly and securely by hiding the device's IP address from the wireless site even when sending and receiving traffic.

What is NAT outer feature provides basic security?

NAT can also offer security and confidentiality. NAT shields the private device from outside access by transferring data packets from public to private addresses. Unwanted data has a harder time slipping through the cracks, since the router organizes the data to make sure everything gets to where it should.

Therefore, NAT outer feature provides basic security by mapping internal private IP addresses to public external IP addresses, essentially hiding the internal infrastructure from unauthorized personnel.

Learn more about router here:

https://brainly.com/question/29869351

#SPJ5

3. In a 32-bit CPU, the largest integer that we can store is 2147483647. Verify this with a
pseudocode and explain your logic.​

Answers

Answer:

No, it can't be verified with a pseudocode.

Explanation:

We can not verify this with a pseudocode because the largest integer that we can store in 32-bit integer goes by the formula 2^32 - 1 = 4, 294, 967,295 and this means that it has 32 ones. Or it may be 2^31 - 1 = 2, 147, 483,647 which is a two complement signed integer.

Despite the fact that it can not be verified by using pseudocode, we can do the Verification by writting programs Through some programming language or in plain English code.

In a 32-bit CPU, the largest integer that we can store is 2147483647 because we can store integer as 2^31 and - (2^31 + 1).

by applying styles formats are being applied ?
A. The same
B. Different
C. Various
D. Similar

Answers

Answer:

A

Explanation:

The same formats are being applied.

Answer:

A

Explanation:

Let's take the letters in a keyboard. If I were to type a document; there are several word format I can chose like Calibre, Times New Roman, Gothic etc. However for each word format I can make the words bold or italicized which are styles.

Write down the result of each expression in the output column and specify the datatype of the result.Datatype should follow the Java Standards. If the output is a String, surround it with " ";if the output is char surround it with ‘ ’. Floats should have an ‘f’ or ‘F’ at the end, longs should have an ‘L’ or ‘l’ at the end (generally avoid using lowercase ‘l’ because it can be confusing).

Answers

Answer:

Kindly check the explanation section.

Explanation:

Below are the expression given in the question and the corresponding output and Datatype.

(1). Expression = 7/2 + 9.2/2.

Output = 7.6, Datatype = double

(2). Expression = 3.4 + 2 5 f.

Output = 5.9, Datatype = double.

(3). Expression = "whale" . Substring (2,5).

Output = "ale" , Datatype = string.

(4). Expression= (int) 9.2 + 6.0 f.

Output = 15.0 f, Datatype = float.

(5). Expression = (2 <= 1) && (5! = 2) || (8 + 5!= 13).

Output = false, Datatype = boolean

(6) Expression =1.5 f == 1.5?.

Output: “false” , Datatype : “true ”

Output = “false”,

Datatype= String.

(7). Expression = “joey”.charAtt(4).

Output = error, Datatype = error“.

(8). Expression = madmax”.

indexOf(“a”) + 7.

Output: 8 , Datatype = int.

(9). Expression = 2 + 3 + “catdog” + 1 + 2.

Output = “5catdog12”, Datatype = String.

(10). Expression = String.format(“%3.3f”,7.89672).

output = “7.897”, datatype = String.

(11). Expression = “captain”.indexOf(“a”, 2).

Output = 4, datatype = int.

(12). true ? ++3: 3++.

Output = error, dataty = error.

(13). Expression = new String[]{“tony”,“josh”}[0].

Output = “tony”, Datatype = String.

(14). Expression = “patrick”.substring(2) +“lucky”.substring(4).

Output = “tricky”, Datatype = String.

(15). Expression = “popFizz”.indexOf(“o”) + 2.4+ 6L.

Output9.4, Datatype = double.

(16). Expression = “pizza”.indexOf(“z”).

Output = 2, Datatype = int.

Click/press _______ to remove the most recently typed text.

Answers

Answer:

ctrl Z

Explanation:

ctrl Z is the shortcut for undo it will reverse the last thing you did ctrl Y is redo if i accidently did ctrl Z i can do ctrl Y. Hope this helps!

productivity is the combination of

Answers

Answer:

Productivity is the combination of efficiency and effectiveness.

Explanation:

The Sleeping-Barber Problem:

A barbershop consists of a waiting room with n > 0 chairs and the barber room containing the barber chair.

If there are no customers to be served, then the barber sleeps.

If a customer enters the barbershop and all chairs are occupied, then the customer leaves the shop.

If the barber is busy but chairs are available, then the customer sits in one of the free chairs.

If the barber is asleep, then the customer wakes up the barber and the shaving process begins.

After they finish, the customer leaves and the barber start shaving another customer, if there are any in the waiting room. Otherwise he goes to sleep.

Answers

Answer:

Explanation:

Following are the Semaphores:

Customers: Counts waiting customers;

Barbers: Number of idle barbers (0 or 1)

mutex: Used for mutual exclusion.

Cutting: Ensures that the barber won’t cut another customer’s hair before the previous customer leaves

Shared data variable:

count_cust: Counts waiting customers. ------------copy of customers. As value of semaphores can’t access directly.

// shared data

semaphore customers = 0; semaphore barbers = 0; semaphore cutting = 0; semaphore mutex = 1;

int count_cust= 0;

void barber() {

while(true) { //shop is always open

wait(customers); //sleep when there are no waiting customers

wait(mutex); //mutex for accessing customers1

count_cust= count_cust-1; //customer left

signal(barbers);

signal(mutex);

cut_hair();

}

}

void customer() {

wait(mutex); //mutex for accessing count_cust

if (count_cust< n) {

count_cust= count_cust+1; //new customer

signal(customers); signal(mutex);

wait(barbers); //wait for available barbers get_haircut();

}

else { //do nothing (leave) when all chairs are used. signal(mutex);

}

}

cut_hair(){ waiting(cutting);

}

get_haircut(){

get hair cut for some time; signal(cutting);

}

Write an example method that overrides the operator to create a new book whose title is a concatenation of the titles of two books. For example, if the first book's title is "The Adventures of Tom Sawyer" and the second book's title is "The Adventures of Huckleberry Finn", the concatenated title will be "The Adventures of Tom Sawyer and The Adventures of Huckleberry Finn". Assume the book class is defined as: class Book { public Book(string title) { Title

Answers

next time m8 mmmmmdsaasd

a. Create a console-based application named Desks that computes the price of a desk and whose Main() method calls the following methods:
• A method to accept the number of drawers in the desk as input from the keyboard. This method returns the number of drawers to the Main() method.
• A method to accept as input and return the type of wood—‘m’ for mahogany, ‘o’ for oak, or ‘p’ for pine.
• A method that accepts the number of drawers and wood type, and calculates the cost of the desk based on the following:
• Pine desks are $100.
• Oak desks are $140.
• All other woods are $180.
• A $30 surcharge is added for each drawer.
• This method returns the cost to the Main() method.
• A method to display all the details and the final price.
b. Create a GUI application named DesksGUI that accepts desk order data from TextBox

Answers

Answer:

Explanation:

Code:-

using System;

using System.Linq;

using System.Collections;

using System.Collections.Generic;

public class Test{

public static int no_drawer(){

Console.WriteLine("Enter the number of drawers : ");

return Int32.Parse(Console.ReadLine());

}

public static char wood_type(){

Console.WriteLine("Enter the type of woods('m' for mahogany, 'o' for oak, or 'p' for pine) : ");

return Console.ReadLine()[0];

}

public static double final_cost(int d,char ch){

double cost = 0.0;

if (ch == 'p') cost += d*100;

else if (ch == 'o') cost += d*140;

else cost += d*180;

cost += d*30;

return cost;

}

public static void display(int d,char ch,double p){

Console.WriteLine("Number of drawers : "+d);

if (ch == 'p')

Console.WriteLine("Type of Wood Chosen : pine");

else if (ch == '0')

Console.WriteLine("Type of Wood Chosen : oak");

else if (ch == 'm')

Console.WriteLine("Type of Wood Chosen : mahogany");

else

Console.WriteLine("Type of Wood Chosen : other");

Console.WriteLine("Total Cost is : "+p);

}

public static void Main(){

int drawers = no_drawer();

char ch_wood = wood_type();

double res = final_cost(drawers,ch_wood);

display(drawers, ch_wood,res);

}

}

cheers i hope this helped !!!

What does this button mean in the computer ????????

Answers

Answer:

Context menu

Explanation:

If you want to open a context menu this is the one

Alternative is Shift+F10 in most applications to open a context menu. It's basically the same thing as the menu key

Answer:

Context Menu

Explanation:

this button mean in the computer

Perform algorithm time measurement for all three quadratic sorting algorithms for Best Case (already sorted), Average Case (randomly generated), and Worst Case (inverse sorted) inputs and compare them with O(N*logN) sorting algorithm using Arrays.sort() method. Use arrays sizes of 50K, 100K, and 200K to produce timing results.

Answers

Answer:

Experiment size : 50,000

==================================

Selection sort :

---------------------------------------------------------

Worst case : 0.162

Average case : 0.116

Best case : 0.080

Insertion sort :

---------------------------------------------------------

Worst case : 0.162

Average case : 0.116

Best case : 0.080

Bubble sort:

--------------------------------------------------------

Worst case : 0.211

Average case : 0.154

Best case : 0.117

Experiment size : 100,000

==================================

Selection sort :

---------------------------------------------------------

Worst case : 0.316

Average case : 0.317

Best case : 0.316

Insertion sort :

---------------------------------------------------------

Worst case : 0.316

Average case : 0.317

Best case : 0.316

Bubble sort:

--------------------------------------------------------

Worst case : 0.482

Average case: 0.487

Best case : 0.480.

Experiment size : 200,000

==================================

Selection sort :

---------------------------------------------------------

Worst case : 1.254

Average case : 1.246

Best case : 1.259

Insertion sort :

---------------------------------------------------------

Worst case : 1.254

Average case : 1.246

Best case : 1.259

Bubble sort:

--------------------------------------------------------

Worst case : 1.990

Average case : 2.009.

Best case : 1.950

Explanation:

[NB: since it is very long there is the need for me to put it it a document form. Kindly check the doc. Files. The file A is the sort Analysis.Java file and the file B is the sort.Java file].

The concept of algorithm time measurement strictly depends on the following;

=> The measurement of time, space or energy on different sizes.

=> Plotting of the measurements and characterizing them.

=> Running or implementation of the algorithm.

Programming language such as Java can be used in accessing the operating system clock and Java had two static methods.

KINDLY CHECK BELOW FOR THE ATTACHMENT.

a one-two paragraph summary on the Running Queries and Reports tutorials. Apply critical thinking and an academic writing style that demonstrates your understanding of the difference between a Microsoft Access database and an Excel spreadsheet by comparing the features of each and when they would be used as personal computer applications if applicable.

Answers

Explanation:

Both perform almost the same function of storing data, performing numerical calculations, formating cells, and to generate reports.

However, when dealing with data that is short term (requiring less updating) Microsoft Excel is recommended as it provides easy spreadsheet functions. Access on the other hand is a more complex application for data analysis involving constantly changing data values that are long term based. Access allows for efficient data analysis using complex tools such as import module, automated queries etc.

3. (20 points) Write a C++ recursive function that finds the maximum value in an array (or vector) of integers without using any loops. (a) Test your function using different input arrays. Include the code. i. ii. (b) Write a recurrence relation that represents your algorithm. i. T(n) = T(n-1) + O(1) (c) Solve the recurrence relation and obtain the running time of the algorithm in Big-O notation.

Answers

Answer:

Following are the code to this question:

In option (i):

#include <iostream>//defining header file

using namespace std;

int findMax(int B[], int x)//defining recursive method findMax

{

if (x == 1)//defining condition when value of n==1

return B[0];//return array first element

return max(B[x-1], findMax(B, x-1)); // calling recursive method inside max method and return value

}

int main() //defining main method  

{

int B[] = {12, 24, 55, 60, 50, 30, 29};//defining array B

int x= 7;//defining integer variable and assign a value

cout << "Maximum element value of the array is: "<<findMax(B, x)<<endl;//calling method findMax and print value

return 0;

}

Output:

Maximum element value of the array is: 60

In option (ii):

[tex]\Rightarrow \ T(n) = 1 + T(n-1)\\\Rightarrow 1 + 1 + T(n-2)\\ \Rightarrow 1 + 1 + 1 + ... n \ times \\\Rightarrow O(n) \\[/tex]

Explanation:

In the above-given program a recursive method "findMax" is defined, which accepts an array "B" and an integer variable "n" in its parameter, inside the method a conditional statement is used that, checks value of x equal to 1.

If the above condition is true it will return the first element of the array and find the max number. Inside the main method, an array B is declared that assigns some values and an integer variable is declared, that also assigns some values, in the last step print method is used that pass value in method and prints its return value. In the option (ii) we calculate the Big-O notation algorithm value.

Create two classes. The first, named Sale, holds data for a sales transaction. Its private data members include the day of the month, amount of the sale, and the salesperson's ID number. The second class, named Salesperson, holds data for a salesperson, and its private data members include each salesperson's ID number and last name. Each class includes a constructor to which you can pass the field values. Create a friend function named display()that is a friend of both classes and displays the date of sale, the amount, and the salesperson ID and name. Write a short main()demonstration program to test your classes and friend function.Sample Run
Sale #103 on 12/25/2016 for $559.95 sold by #103 Woods
Sale #106 on 11/15/2016 for $359.95 sold by #106 Hansen

Answers

Answer:

A C++ program was used in creating two classes. the code is stated below.

Explanation:

Solution

The C++ program is executed below:

#include<iostream>

using namespace std;

//declare class (will be define later)

class Salesperson;

//class Sale

class Sale

{

  //private members of class

  private:

      string day;

      double amtOfSale;

      int salesPersonId;

 //public methods

  public:

      //constructor that takes day,amount of sale and salesPersonId as parameters

      Sale(string date,double sale,int id)

      {

          //set the private members to the initial values passed

          day=date;

          amtOfSale=sale;

          salesPersonId=id;

      }    

      //declare a friend function that takes objects of the two classes as parameters

      friend void display(Sale,Salesperson);

};  

//define class Salesperson

class Salesperson

{

  //private members of the class

  private:

      int salesPersonId;

      string lastName;    

  //public methods

  public:

      //constructor that takes name and id as parameters

      Salesperson(int id,string name)

      {

          //set the members of the class with the parameters passed

          salesPersonId=id;

          lastName=name;

      }  

      //declare a friend function that takes objects of the two classes as parameters

      friend void display(Sale,Salesperson);

};

//define the friend funtion

void display(Sale saleObj,Salesperson personObj)

{

  //display the sales info using the objects of the two classes

  cout<<"\nSale #"<<saleObj.salesPersonId<<" on "<<saleObj.day<<" for $"<<saleObj.amtOfSale<<" sold by #"<<personObj.salesPersonId<<" "<<personObj.lastName;

}  

int main()

{

  //create object for Sale class and pass default values

  Sale sObj1("12/25/2016",559.95,103);

  //create object for Salesperson class and pass default values

  Salesperson pObj1(103,"Woods");

 

  //create another object for Sale class and pass default values

  Sale sObj2("11/15/2016",359.95,106);

  //create another object for Salesperson class and pass default values

  Salesperson pObj2(106,"Hansen");

  //using the friend function dislay the sales info

  display(sObj1,pObj1);

  display(sObj2,pObj2);

  return 0;

}

A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You are to write an application to assign seats on each flight of the airline’s only plane (capacity: 10 seats).
Your application should display the following alternatives: Please type 1 for First Class and Please type 2 for Economy.
If the user types 1, your application should assign a seat in the firstclass section (seats 1–5).
If the user types 2, your application should assign a seat in the economy section (seats 6–10).
Your application should then display a boarding pass indicating the person’s seat number and whether it is in the first-class or economy section of the plane.
Use a one-dimensional array of primitive type boolean to represent the seating chart of the plane. Initialize all the elements of the array to false to indicate that all the seats are empty. As each seat is assigned, set the corresponding elements of the array to true to indicate that the seat is no longer available.
Your application should never assign a seat that has already been assigned. When the economy section is full, your application should ask the person if it is acceptable to be placed in the first-class section (and vice versa). If yes, make the appropriate seat assignment. If no, display the message "Next flight leaves in 3 hours."

Answers

Answer:

Here is the simple JAVA program.

import java.util.Scanner;   // to take input from user

public class AirlineReservationSystem {  //airline reservation class

 public static void main(String[] args) {  //start of main() function body

Scanner input=new Scanner(System.in);   //Scanner class instance

int first_class=0;  //stores the first class seat numbers

int eco_class=5; //holds the economy class seat numbers

int quit;  //used to quit the reservation system  

System.out.println("Welcome to the AIRLINE RESERVATION SYSTEM!");  // displays welcome message

do{   //start of do while loop  

//displays following messages for user to make choice between 2 sections

System.out.println("Please type 1 for First Class ");

System.out.println("Please type 2 for Economy ");

int choice=input.nextInt();  //takes the choice from user

switch(choice){ // takes choice of user from first class or economy section

 case 1:  //when user enters first class as choice

   first_class++;  

//increments count of first class by 1 every time user reserves a seat in first //class

if (first_class<=5){  // the seats in first class section should be between 1-5

//displays message of seat reserved in first class

  System.out.println("Your seat is assigned in First Class.");    

System.out.println("Your seat number is "+first_class);  

//assigns seat number in first class    }      

   else{

// displays following message when number of seats in first class exceed 5

System.out.println("No seat is available in First Class");

//asks user if he wants to placed in economy class when there is no seat //available in first class

System.out.println("Do you want to be placed at the Economy section?(1.yes\t2.no)");

  int full=input.nextInt();  //reads yes or no (1 or 2) from user

    if (full==1){  //if user entered 1

  System.out.println("Enter 1 to return to main menu to reserve a seat in Economy class.");

    }  // asks user to press 1 to go to main menu

    else{  //displays following message if user enters 2

  System.out.println("Next flight leaves in 3 hours.");}   }

   break;

case 2:  //when the user choose to reserve seat in economy class

                        eco_class++;  

//increments count of first class by 1 every time user reserves a seat in //economy class

//the seats of economy class ranges from 6 to 10  

if ((eco_class>5)&&(eco_class<=10)){  

//display message about economy class seat reservation

System.out.println("Your seat is assigned in Economy Class.");

//assigns seat number in economy class    

  System.out.println("Your seat number is "+eco_class);  }  

   else{

// displays following message when number of seats in economy class //exceed 10

System.out.println("No seat is available in Economy Class");

//asks user if he wants to placed in first class when there is no seat //available in economy class

System.out.println("Do you want to be placed at the First class section?(1.yes\t2.no)");  

  int full=input.nextInt(); //reads yes or no (1 or 2) from user

    if (full==1){ //if user entered 1

  System.out.println("Enter 1 to return to main menu to reserve a seat in business class.");  

// asks user to press 1 to go to main menu }

    else{  //displays following message if user enters 2

  System.out.println("Next flight leaves in 3 hours."); }} }

System.out.println("1.main menu\t2.quit");  

quit=input.nextInt();

//if user presses 2 it reads that value from user and store it in quit variable

 }while (quit==1);  //the loop stops when user chooses quit

 System.out.println("Bye! Have a nice day!"); }  }  

//displays message when user quits the reservation system

Explanation:

The program is well explained in the comments mentioned with each line of the program. The program uses switch statement for the user to make choice between first and economy class. If the user selects first class, then his seat is reserved in first class and a seat number is generated to user. The range of first class seats is from 1 to 5. When this range is exceeded the  person is asked if he wants to be placed in economy class. If the user presses one then the person is asked to go back to main menu and reserve seat in economy class. If user enters 2 then the system exits. Same flow goes with the economy class seat reservation. The do while loop keeps executing until the user quits the system. If the user presses 2 to quit, the system exits after displaying bye message.

The management wants to you to calculate a 95% confidence interval for the average relative skill of all teams in 2013-2015. To construct a confidence interval, you will need the mean and standard error of the relative skill level in these years. The code block below calculates the mean and the standard deviation. Your edits will calculate the standard error and the confidence interval. Make the following edits to the code block below:Replace ??SD_VARIABLE?? with the variable name representing the standard deviation of relative skill of all teams from your years. (Hint: the standard deviation variable is in the code block below)Replace ??CL?? with the confidence level of the confidence interval.Replace ??MEAN_VARIABLE?? with the variable name representing the mean relative skill of all teams from your years. (Hint: the mean variable is in the code block below)Replace ??SE_VARIABLE?? with the variable name representing the standard error. (Hint: the standard error variable is in the code block below)The management also wants you to calculate the probability that a team in the league has a relative skill level less than that of the team that you picked. Assuming that the relative skill of teams is Normally distributed, Python methods for a Normal distribution can be used to answer this question. The code block below uses two of these Python methods. Your task is to identify the correct Python method and report the probability.print("Confidence Interval for Average Relative Skill in the years 2013 to 2015")print("------------------------------------------------------------------------------------------------------------")# Mean relative skill of all teams from the years 2013-2015mean = your_years_leagues_df['elo_n'].mean()# Standard deviation of the relative skill of all teams from the years 2013-2015stdev = your_years_leagues_df['elo_n'].std()n = len(your_years_leagues_df)#Confidence interval# ---- TODO: make your edits here ----stderr = ??SD_Variable?? (n ** 0.5)conf_int_95 = st.norm.interval(??CL??,??MEAN_VARIABLE??,??SE_VARIABLE??)print("95% confidence interval (unrounded) for Average Relative Skill (ELO) in the years 2013 to 2015 =", conf_int_95)print("95% confidence interval (rounded) for Average Relative Skill (ELO) in the years 2013 to 2015 = (", round(conf_int_95[0], 2),",", round(conf_int_95[1], 2),")")print("\n")print("Probability a team has Average Relative Skill LESS than the Average Relative Skill (ELO) of your team in the years 2013 to 2015")print("----------------------------------------------------------------------------------------------------------------------------------------------------------")mean_elo_your_team = your_team_df['elo_n'].mean()choice1 = st.norm.sf(mean_elo_your_team, mean, stdev)choice2 = st.norm.cdf(mean_elo_your_team, mean, stdev)# Pick the correct answer.print("Which of the two choices is correct?")print("Choice 1 =", round(choice1,4))print("Choice 2 =", round(choice2,4))

Answers

Answer:

Explanation:

print("Confidence Interval for Average Relative Skill in the years 2013 to 2015")

print("------------------------------------------------------------------------------------------------------------")

# Mean relative skill of all teams from the years 2013-2015

mean = your_years_leagues_df['elo_n'].mean()

# Standard deviation of the relative skill of all teams from the years 2013-2015

stdev = your_years_leagues_df['elo_n'].std()

n = len(your_years_leagues_df)

#Confidence interval

stderr = stdev/(n ** 0.5) # variable stdev is the calculated the standard deviation of the relative skill of all teams from the years 2013-2015

# Calculate the confidence interval

# Confidence level is 95% => 0.95

# variable mean is the calculated the mean relative skill of all teams from the years 2013-20154

# variable stderr is the calculated the standard error

conf_int_95 = st.norm.interval(0.95, mean, stderr)

print("95% confidence interval (unrounded) for Average Relative Skill (ELO) in the years 2013 to 2015 =", conf_int_95)

print("95% confidence interval (rounded) for Average Relative Skill (ELO) in the years 2013 to 2015 = (", round(conf_int_95[0], 2),",", round(conf_int_95[1], 2),")")

print("\n")

print("Probability a team has Average Relative Skill LESS than the Average Relative Skill (ELO) of your team in the years 2013 to 2015")

print("----------------------------------------------------------------------------------------------------------------------------------------------------------")

mean_elo_your_team = your_team_df['elo_n'].mean()

# Calculates the probability a Team has Average Relative Skill GREATER than or equal to the Average Relative Skill (ELO) of your team in the years 2013 to 2015

choice1 = st.norm.sf(mean_elo_your_team, mean, stdev)

# Calculates the probability a Team has Average Relative Skill LESS than or equal to the Average Relative Skill (ELO) of your team in the years 2013 to 2015

choice2 = st.norm.cdf(mean_elo_your_team, mean, stdev)

# Pick the correct answer.

print("Which of the two choices is correct?")

print("Choice 1 =", round(choice1,4))

print("Choice 2 =", round(choice2,4)) # This is correct

Which statement most aptly defines the term networking?

Answers

Answer: We need more info.

Explanation:

how do you unblock websites on a school chromebook?​

Answers

Answer:

use proxies, if you cant, then you cant unblock anything thats already blocked

Explanation:

You can't unblock anything on a school chromebook. So it's best to find website alternatives, things your school might use, like Giggl. It's a website with a built in web browser you can do almost anything, watch videos you can't on your school chromebook, netflix, hulu, vumoo, and even nasty sites... just don't go on those though. You can't play a lot of games and some sites are blocked as well. If you want people to send you videos that you can watch in a separate browser, i suggest using pad let. It is a app to post things like pictures or status' but people like me and my friends use it to talk to each other,  you can send gifs, voice recordings, and take pictures. I hope this helps you.

Case 4-1 Santo is creating a company newsletter for his architectural firm. He has solicited contributions from his colleagues on their current projects, and several people have provided photos of homes and businesses they are currently remodeling. Santo is about to begin compiling all the information using desktop publishing in Microsoft Word. Santo wants to use most of the graphics his colleagues asked to display with their articles, but his file size has become unmanageable with so many sketches and photos. Santo might be able to reduce his document file size without leaving out content by _______.

Answers

Answer:

Saving all graphics as JPEG files

Explanation:

A JPEG file can be defined as the way in which images ,graphics or photos are been stored after the compression of the images has occured because compression of images help to reduce the quality of the image thereby creating more available space.

Since Santo file size has become unmanageable with so many sketches and photos the best alternative for him is to Save all the graphics as JPEG files which will enable him to have extra space because JPEG files will enable the compression of those images by reducing the quality of the image without leaving out any content.

A computer needs both hardware and to be useful

Answers

Answer:

software

Explanation:

software is the other major component to hardware

Implement the method remove_all in the ArrayList class which takes the parameter x and removes all occurences of x from the list.

E.g., calling remove_all('a') on an ArrayList with contents ['a', 'b', 'r', 'a', 'c', 'a', 'd', 'a', 'b', 'r', 'a'] should result in the updated ArrayList ['b','r','c','d','b','r']

Answers

Answer:

a = ['a', 'b', 'r', 'a', 'c', 'a', 'd', 'a', 'b', 'r', 'a']  

a = [x for x in a if x != 'a']

print(a)

Explanation:

The code is written in python

a = ['a', 'b', 'r', 'a', 'c', 'a', 'd', 'a', 'b', 'r', 'a']  

a = [x for x in a if x != 'a']

print(a)

a = ['a', 'b', 'r', 'a', 'c', 'a', 'd', 'a', 'b', 'r', 'a']  

I declared a variable a and stored the list of value.

a = [x for x in a if x != 'a']

I used list comprehension to loop through the array and find any value that is not 'a' .

print(a)

I printed every value that is not 'a' in the array.

Jayden wants to take a current theme but just change a little bit of it. Complete the steps to help Jayden.

Go to the tab on the ribbon and the group.

Click Themes and select one.

Go into the workbook, make the changes, and return to the Themes gallery.

Select to save the changes.

Answers

Answer:

C, A, and B.

or

3, 1, and 2

Explanation:

In that order

The first will be to adjust the workbook. then there should be a theme that needs to be selected. And then next is to Select the tab and the box of ribbon on which the theme needs to be presented.

Thus, options C, A, and B are correct.

What is a theme?

A theme is made up of window colors, music, and desktop backdrop images. A theme is a collection of window accent colors, noises, and desktop backdrop images. If you don't want to customize your computer cover image, window highlight colors, home screen widget, etc., you can use a theme.

Make the adjustments that are required in the workbook, then go back to the motif gallery.

Choose a theme by clicking Themes.

Go to the tab and box on the ribbon.

A theme often consists of a selection of forms and colors for the window design, the visual control components, and the window. Therefore, options C, A, and B are the correct options.

Learn more about the theme, here:

https://brainly.com/question/12461938

#SPJ3

Write a program that first calls a function to calculate the square roots of all numbers from 1 to 1,000,000 and write them to a file named: roots.txt (See output on page 3) 2.) Write a program then calls a function to calculate the squares of all numbers from 1 to 1,000,000 and write them to a file named: squares.txt 3.) Here are the function prototypes: void writeRoots(); void writeSquares();

Answers

Answer:

The csharp program to compute square roots of numbers and write to a file is as follows.

class Program  

{  

static long max = 1000000;  

static void writeRoots()  

{  

StreamWriter writer1 = new StreamWriter("roots.txt");  

double root;  

for (int n=1; n<=max; n++)  

{  

root = Math.Sqrt(n);  

writer1.WriteLine(root);  

}  

}  

static void Main(string[] args)  

{  

writeRoots();  

}  

}

The program to compute squares of numbers and write to a file is as follows.

class Program  

{  

static long max = 1000000;  

static void writeSquares()  

{  

StreamWriter writer2 = new StreamWriter("squares.txt");  

long root;  

for (int n = 1; n <= max; n++)  

{  

root = n*n;  

writer2.WriteLine(root);  

}  

}  

static void Main(string[] args)  

{  

writeSquares();  

}  

}  

Explanation:

1. An integer variable, max, is declared to hold the maximum value to compute square root and square.

2. Inside writeRoots() method, an object of StreamWriter() class is created which takes the name of the file as parameter.

StreamWriter writer1 = new StreamWriter("roots.txt");

3. Inside a for loop, the square roots of numbers from 1 to the value of variable, max, is computed and written to the file, roots.txt.

4. Similarly, inside the method, writeSquares(), an object of StreamWriter() class is created which takes the name of the file as parameter.

StreamWriter writer2 = new StreamWriter("squares.txt");

5. Inside a for loop, the square of numbers from 1 to the value of the variables, max, is computed and written to the file, squares.txt.

6. Both the methods are declared static.

7. Inside main(), the method writeRoots() and writeSquares() are called in their respective programs.

8. Both the programs are written using csharp in visual studio. The program can be tested for any operation on the numbers.

9. If the file by the given name does not exists, StreamWriter creates a new file having the given name and then writes to the file using WriteLine() method.

10. The csharp language is purely object-oriented language and hence all the code is written inside a class.

Write a program that calculates and displays a person’s body mass index (BMI). The BMI is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for his or her height. A person’s BMI is calculated with the following formula:

BMI = weight x 703 / height2

where weight is measured in pounds and heightis measured in inches. The program should ask the user to enterhis/her weight and height. The program should display a message indicating whether the person has optimal weight, is underweight, or is overweight. A sedentary person’s weight is considered optimal if his or her BMI is between18.5 and 25. If the BMI is less than 18.5, the person is considered underweight. If the BMI valueis greater than 25, the person is considered overweight

Answers

Answer:

This program is written using C++

Comments are used to explain difficult lines

Program starts here

#include<iostream>

using namespace std;

int main()

{

//Declare variables

float BMI, Height,Weight;

// Prompt user for inputs

cout<<"Ener Height (in inches): ";

cin>>Height;

cout<<"Enter Weight (in pounds): ";

cin>>Weight;

//Calculate BMI

BMI = (Weight * 703)/(Height * Height);

cout<<"Your Body Mass Index (BMI) is "<<BMI<<endl;

//Test and print whether user is underweight, overweight or optimal

if(BMI>=18.5&&BMI<=25)

{

 cout<<"You have an optimal weight";

}

else if(BMI<18.5)

{

 cout<<"You are underweight";

}

else if(BMI>25)

{

 cout<<"You are overweight";

}  

return 0;

 

}

See attachment for .cpp source file

Cyclic Redundancy Check (CRC) is an effective error detection mechanism. Suppose you have data bits of 10010011011 and divisor is 10011. As per the given information, what is encoding bits at the sender side? Similarly, at the receiver end ensure syndrome value is zero. Follow all necessary steps to complete calculation at both ends.

Answers

Answer:

I've asked the same question bro..if you get answer share with me too

Explanation:

Implement a Java program using simple console input & output and logical control structures such that the program prompts the user to enter a 5 digit integer as input and does the following tasksThe program checks whether the input number is a palindrome or not and prints the result of this palindrome check. A number is a palindrome if it reads the same backward as forward. For example, each of the following five-digit integers is a palindrome: 12321, 55555, 45554 and 11611; whereas 12312, 55565, 45545 and 11621 are not a palindrome. Your program should print "The number is palindrome" or "The number is not palindrome" after checking the input number.The program checks whether the input number has 5 digits or not and prints the error message "Invalid number" if the input number is not a 5 digit one.I posted my code below, I think I have a good start with reversing the number but I'm not sure how to implement the portion of how to actually check if it is a palindrome.import java.util.Scanner;public class Problem2 {public static void main(String[] args){int number;
Scanner scanner = new Scanner(System.in);System.out.println("Enter a positive integer between 1 and 5 digits long that you would like to test for a palindrome: ");num = in.nextInt();for( ;num != 0; ){reversenum = reversenum * 10;reversenum = reversenum + num%10;num = num/10;

Answers

Answer:

import java.util.Scanner;

import java.util.regex.*;

public class Problem2 {

   public static void main(String[] args)

   {

       int number;

       Scanner scanner = new Scanner(System.in);

       System.out.println("Enter a positive integer with exactly 5 digits long that you would like to test for a palindrome: ");

       String str = scanner.nextLine();

       int len = str.length();

       

       if (!Pattern.matches("^[1-9]\\d{4}$", str)) {

           System.out.println("Invalid number");

       } else {

           boolean isPalindrome = true;

           for(int i=0; i<len/2; i++) {

               if (str.charAt(i) != str.charAt(len-i-1)) {

                   isPalindrome = false;

                   break;

               }

           }

           if (isPalindrome) {

              System.out.println("The number is palindrome");  

           } else {

              System.out.println("The number is not palindrome");  

           }

       }        

   }

}

Explanation:

Even though the problem talks about numbers, a palindrome check is more about strings, so that's how I'd handle it. I check the validity of the input using a regular expression (note how I don't allow the number to start with a zero, you can change that if you want), and then I check for palindrome to iterating to only halfway the string, and checking the i-th position ffrom the start against the i-th position from the end. If there is no match, the loop is aborted.

See that also for even-length palindromes this will work.

In this warm up project, you are asked to write a C++ program proj1.cpp that lets the user or the computer play a guessing game. The computer randomly picks a number in between 1 and 100, and then for each guess the user or computer makes, the computer informs the user whether the guess was too high or too low. The program should start a new guessing game when the correct number is selected to end this run (see the sample run below).

Check this example and see how to use functions srand(), time() and rand() to generate the random number by computer.

Example of generating and using random numbers:

#include
#include // srand and rand functions
#include // time function
using namespace std;

int main()
{
const int C = 10;

int x;
srand(unsigned(time(NULL))); // set different seeds to make sure each run of this program will generate different random numbers
x = ( rand() % C);
cout << x << endl;
x = ( rand() % C ); // generate a random integer between 0 and C-1
cout << x << endl;
return 0;
}
*********************************************

Here is a sample run of the program:

Would you like to (p)lay or watch the (c)omputer play?

p

Enter your guess in between 1 and 100.

45

Sorry, your guess is too low, try again.

Enter your guess in between 1 and 100.

58

Sorry, your guess is too low, try again.

Enter your guess in between 1 and 100.

78

Sorry, your guess is too high, try again.

Enter your guess in between 1 and 100.

67

Sorry, your guess is too low, try again.

Enter your guess in between 1 and 100.

70

Sorry, your guess is too high, try again.

Enter your guess in between 1 and 100.

68

Sorry, your guess is too low, try again.

Enter your guess in between 1 and 100.

69

Congrats, you guessed the correct number, 69.

Would you like to (p)lay or watch the (c)omputer play or (q)uit?

c

The computer's guess is 50.

Sorry, your guess is too high, try again.

The computer's guess is 25.

Sorry, your guess is too high, try again.

The computer's guess is 13.

Sorry, your guess is too low, try again.

The computer's guess is 19.

Sorry, your guess is too high, try again.

The computer's guess is 16.

Sorry, your guess is too low, try again.

The computer's guess is 17.

Congrats, you guessed the correct number, 17.

Would you like to (p)lay or watch the (c)omputer play or (q)uit?

q

Press any key to continue

*****************************************************

So far I was able to create the user input ortion of the program, I need help coding the computer generated guessing game,

if the users input choice of computer at the end or choice of play.. if you could help me build on what I have below greatly appreciate it!!! thank you

code I have got so far:

#include
#include
#include

int main(void) {
srand(time(NULL)); // To not have the same numbers over and over again.

while(true) { // Main loop.
// Initialize and allocate.
int number = rand() % 99 + 2; // System number is stored in here.
int guess; // User guess is stored in here.
int tries = 0; // Number of tries is stored here.
char answer; // User answer to question is stored here.

//std::cout << number << "\n"; // Was used for debug...

while(true) { // Get user number loop.
// Get number.
std::cout << "Enter a number between 1 and 100 (" << 20 - tries << " tries left): ";
std::cin >> guess;
std::cin.ignore();

// Check is tries are taken up.
if(tries >= 20) {
break;
}

// Check number.
if(guess > number) {
std::cout << "Too high! Try again.\n";
} else if(guess < number) {
std::cout << "Too low! Try again.\n";
} else {
break;
}

// If not number, increment tries.
tries++;
}

// Check for tries.
if(tries >= 20) {
std::cout << "You ran out of tries!\n\n";
} else {
// Or, user won.
std::cout<<"Congratulations!! " << std::endl;
std::cout<<"You got the right number in " << tries << " tries!\n";
}

while(true) { // Loop to ask user is he/she would like to play again.
// Get user response.
std::cout << "Would you like to play again (Y/N)? ";
std::cin >> answer;
std::cin.ignore();

// Check if proper response.
if(answer == 'n' || answer == 'N' || answer == 'y' || answer == 'Y') {
break;
} else {
std::cout << "Please enter \'Y\' or \'N\'...\n";
}
}

// Check user's input and run again or exit;
if(answer == 'n' || answer == 'N') {
std::cout << "Thank you for playing!";
break;
} else {
std::cout << "\n\n\n";
}
}

// Safely exit.
std::cout << "\n\nEnter anything to exit. . . ";
std::cin.ignore();
return 0;
}

Answers

Answer:

A C++ program was used for a user or the computer play a guessing game.

Explanation:

The C++ code to this question:

#include <iostream>

#include <cstdlib> // srand and rand functions

#include <ctime> // time function

using namespace std;

int main()

{

const int C = 100;// constant integer with defined value 100

char type;// type of option chosen

cout<<"Would you like to (p)lay or watch the (c)omputer play?"<<endl;

cin>>type;// input of type

do{// for first iteration you can't choose q

int x;

srand(unsigned(time(NULL))); // set different seeds to make sure each run of this program will generate different random numbers

x = ( rand() % C);

x++;// random value between 1 and 100

int check=-1;// make initial check=-1

int ends=C;// for type selected as c, make the initial guess to be chosen from 1 to 100

int start=1;

while(1)

{

if(type=='p')// if selected type is p

{

cout<<"Enter your guess in between 1 and 100."<<endl;

cin>>check;

}

else if(type=='c')// if selected type is c

{

check=start+(rand()%(ends-(start-1)));//get a random number between updated start and ends for computer guessing

cout<<"The computer's guess is "<<(check)<<"."<<endl;

}

else// if type is not equal to c or p or q

{

cout<<"Invalid option chosen"<<endl;

break;

}  

if(check>x)// if the guess is greater

{

cout<<"Sorry, your guess is too high, try again."<<endl;

ends=check-1;// update ends in case type is c

}

else if(check<x)

{

cout<<"Sorry, your guess is too low, try again."<<endl;

start=check+1;// update start

}

else// if right number is selected

{

cout<<"Congrats, you guessed the correct number, "<<x<<"."<<endl;

break;

}

}

cout<<"Would you like to (p)lay or watch the (c)omputer play or (q)uit?"<<endl;

cin>>type;

}while(type!='q');

return 0;

}

Note: Kindly find an attached copy of the screenshot of execution of code below

what are business rules​

Answers

Answer:

defines or constrains some aspect of business and always resolves to either true or false. It specifically involves terms, facts and rules

Explanation:

Other Questions
Sheffield Corp. began operations on April 1 by issuing 52,500 shares of $4 par value common stock for cash at $15 per share. In addition, Sheffield issued 2,600 shares of $1 par value preferred stock for $3 per share. Journalize the issuance of the common and preferred shares. find the value of p in the equation 2p-1 over 5= p-1 over 3 Which of these sentences uses correct punctuation?OA.Francis had a lot on his mind that afternoon, he was concerned about his mother's illness and about losing his job.OB.OC.The packing instructions asked each camper to bring the following items; a flashlight, a sleeping bag, sunscreen, and a book forindependent reading.In time, of course, all issues get resolved, but not necessarily in the way you would like.The king ordered that all his subjects should show their allegiance through common forms of attire:yet many people continueto wear the traditional hats of their various regions.D. Calculate the slope between the two points: (7, 4), (7, 8) Perspective influences how a person looks at a piece of art and its qualities,a always trueCalways falseb. sometimes trued Perspective is not relevant in the interpretation ofartPlease select the best answer from the choices providedD Chemical mechanisms that can turn off or reduce an enzyme are _____. a.) inhibitorsb.) activatorsc.) centriolesd.) vacuoles Someone help me out please I cant figure out this question Which of these statements describe life after the Agricultural Revolution? Check all that apply. Which three of the following reforms occurred during Japans Meiji era? Which of the following best describes the executive branch of government under the articles of Confederation? Calculate the standard score of the given X value, X=28.3, where =26.3 and =28.1 and indicate on the curve where z will be located. Round the standard score to two decimal places. Voil ma famille sur la photo. L, droite c'est moi Nicolas, j'ai dix-huit ans. Je suis l'cole Frmont avec mes amis et ma cousine Alice. J'aime aller au caf aprs les classes avec mes amis. Nous parlons et des fois nous tudions ensemble. Je choisis toujours une orangeade et un sandwich au jambon. Quand je ne vais pas au caf, je vais en ville regarder les magasins. L gauche sur la photo c'est le frre de mon pre, il s'appelle Jean-Pierre. Il a soixante-deux ans. Il est gentil et intelligent. Il aime jouer au basket et tudier. Il habite Paris avec sa femme Jeanne. Il est prof l'universit de la Sorbonne. Sa femme a cinquante- sept ans. Elle est svre et elle n'est pas drle. Elle travaille dans une banque tous les jours sauf le samedi et le dimanche. A gauche c'est leur fille Anne. Elle a quinze ans. J'aime Anne, elle est drle et sympa. Elle aime jouer au foot. Anne et moi sommes dans une quipe de foot. Notre quipe s'entraine le mercredi et nous jouons tous les samedis matin dix heures. Toute la famille va au match, ils applaudissent toujours quand Anne ou moi marque un but. Aprs le match nous allons au restaurant manger en famille. Et j'ai aussi un frre. Il s'appelle Stphane, il a quatorze ans. Il ne joue pas au foot, il regarde toujours la tl. Il adore les missions de sport, mais il ne fait pas de sport parce qu'il est paresseux. Voil ma famille. who is 57? How is absolute music different from program music?A. Program music tells a story, while absolute music has nodescriptive purpose.B. Program music is written for TV, while absolute music is written for concerts.C. Program music is written in a major key, while absolute music is written in a minor key.D. Program music is written with the twelve-tone system, while absolute music is written without a system. A galvanic (voltaic) cell consists of an electrode composed of magnesium in a 1.0 M magnesium ion solution and another electrode composed of silver in a 1.0 M silver ion solution, connected by a salt bridge. Calculate the standard potential for this cell at 25 C. The mean of three numbers is 4. Two of the numbers are shown below. What is the missing number? 1, 9, ? Lab: Effects of Human Activity on Freshwater Resources (essay) At the beginning of 2021, Artichoke Academy reported a balance in common stock of $164,000 and a balance in retained earnings of $64,000. During the year, the company issued additional shares of stock for $54,000, earned net income of $44,000, and paid dividends of $11,400. In addition, the company reported balances for the following assets and liabilities on December 31. Assets Liabilities Cash $54,000 Accounts payable $13,600 Supplies 12,300 Utilities payable 5,200 Prepaid rent 31,000 Salaries payable 4,900 Land 270,000 Notes payable 29,000.Required: 1. Prepare a statement of stockholders equity. 2. Prepare a balance sheet. During April, the first production department of a process manufacturing system completed its work on 355,000 units of a product and transferred them to the next department. Of these transferred units, 71,000 were in process in the production department at the beginning of April and 284,000 were started and completed in April. April's beginning inventory units were 65% complete with respect to materials and 35% complete with respect to conversion. At the end of April, 93,000 additional units were in process in the production department and were 90% complete with respect to materials and 40% complete with respect to conversion. The production department had $1,106,991 of direct materials and $800,823 of conversion costs charged to it during April. Also, its beginning inventory of $207,646 consists of $165,239 of direct materials cost and $42,407 of conversion costs. 1. Compute the direct materials cost per equivalent unit for April. (Round "Cost per EUP" to 2 decimal places.) 2. Compute the conversion cost per equivalent unit for April. (Round "Cost per EUP" to 2 decimal places.) 3. Using the FIFO method, assign April's costs to the department's output-specifically, its units transferred to the next department and its ending work in process inventory. (Round "Cost per EUP" to 2 decimal places.) Error Analysis A math test asks the students to solve the inequality X-2 Which is the best way to write the underlined part of sentence 26? (26) Good ice makes a sound like "thunk" bad ice makes asound like "clink."A. sound like "thunk," bad ice makesB. Leave as is.C. sound like "thunk"; however, bad ice makesD. sound like "thunk" but bad ice makes