Create a class named Tile that represents Scrabble tiles. The instance variables should include a String named letter and an integer named value. Write a constructor that takes parameters named letter and value and initializes the instance variables. Write a method named printTile that takes a Tile object as a parameter and displays the instance variables (letter and value) in a reader-friendly format. Using a Driver class create a Tile object with the letter Z and the value 10, and then uses printTile to display the state of the object. Create getters and setters for each of the attributes.

Answers

Answer 1

Answer:

Here is the Tile class:

class Tile {   //class name  

// declare private data members of Tile class

  private int value;  //int type variable to hold the integer

  private String letter;     //String type variable to hold the letter

  public void setValue(int value){  //mutator method to set the integer value

       this.value = value;    }

   public void setLetter(String letter){   //mutator method to set the letter

       this.letter = letter;    }

   public int getValue()   //accessor method to access or get the value

     {return value;}  //returns the current integer value

   

   public String getLetter()   //accessor method to access or get the letter

      {return letter;}     //returns the current string value

   

   public Tile(String letter, int value){   //constructor that takes parameters named letter and value

     setValue(value);  //uses setValue method to set the value of value field

     setLetter(letter);   }  }  //uses setValue method to set the value of letter field

/* you can also use the following two statements inside constructor to initializes the variables:

this.letter = letter;

this.value = value; */

Explanation:

Here is the driver class named Main:

public class Main{  //class name

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

           Tile tile = new Tile("Z", 10); //creates object of Tile class named tile and calls Tile constructor to initialize the instance variables  

       printTile(tile); } //calls printTile method by passing Tile object as a parameter

public static void printTile(Tile tile) { //method to displays the instance variables (letter and value) in a reader-friendly format

 System.out.println("The tile " + tile.getLetter() + " has the score of " + tile.getValue()); }  } //displays the string letter and integer value using getLetter() method to get the letter and getValue method to get the value

The screenshot of the output is attached.

Create A Class Named Tile That Represents Scrabble Tiles. The Instance Variables Should Include A String

Related Questions

In cell E13, create a formula using the AVERAGE function
to calculate the average of the values in the range E4:E11.


Answers

USE SOCRACTIC IT WOULD REALLY HELP WITH QUESTIONS LIKE THIS

The average function in Microsoft Excel calculates the mean of the cells.

The required formula is: =AVERAGE(E4:E11)

The syntax of the average function is: =AVERAGE(cells-range)

From the question, the cell range is: cell E4 to cell E11

This means that, the average formula would be:

=AVERAGE(E4:E11)

Hence, the formula to enter in cell E13 is:

=AVERAGE(E4:E11)

Read more about Excel formulas at:

https://brainly.com/question/1285762

This program will calculate the rise in ocean levels over 5, 10, and 50 years, Part of the program has been written for you. The part that has been written will read in a rise in ocean levels (per year) in millimeters. This value is read into a variable of type double named risingLevel. You will be completing the program as follows Output the value in risingLevel. This should be the first line of output. The output should be as follows (assume risingLevel has a value of 2.1) Level: 2.1 The number of millimeters higher than the current level that the ocean's level will be in 5 years (assuming the ocean is rising at the rate of risingLevel per year). This is your second line of output. The output will be as follows Years: 5, Rise: 10.5 The number of millimeters higher than the current level that the ocean's level will be in 10 years (assuming the ocean is rising at the rate of risingLevel per year). This is your third line of output. The output will be as follows (for a risingLevel" of 2.1 Years: 10, Rise: 21 The number of millimeters higher than the current level that the ocean's level will be in 50 years (assuming the ocean is rising at the rate of risingLevel per year). This is your final line of output.The output will be as follows (for a risingLevel" of 2.1) Years: 50, Rise: 105 For each of the above you need to output the number of years and the total rise in ocean levels for those years. This is all based on the value in risingLevel For example: ArisingLevel of 2.1 for 5 years would have the following output: Level: 2.1 Years: 5, Rise: 10.5 Years: Years: 50, Rise: 105 10, Rise: 21 Your output must have the same syntax and spacing as above

Answers

Answer:

Here is the C++ program:

#include <iostream>  //to use input output functions

using namespace std;  //to identify objects cin cout

int main(){  //start of main method

     

   double risingLevel;  //declares a double type variable to hold rising level

   cin>>risingLevel;  //reads the value of risingLevel from user

   

   cout<<"Level: "<<risingLevel<<endl;  //displays the rising level

   cout << "Years: 5, Rise: " << risingLevel * 5<<endl;  //displays the rise in ocean level over 5 years

   cout << "Years: 10, Rise: " << risingLevel * 10<<endl;  //displays the rise in ocean level over 10 years

   cout << "Years: 50, Rise: " << risingLevel * 50<<endl;  //displays the rise in ocean level over 50 years

}

Explanation:

The program works as follows:

Lets say the user enters rising level 2.1 then,

risingLevel = 2.1

Now the first print (cout) statement :

cout<<"Level: "<<risingLevel<<endl;  prints the value of risingLevel on output screen. So this statement displays:

Level: 2.1          

Next, the program control moves to the statement:

   cout << "Years: 5, Rise: " << risingLevel * 5<<endl;

which computes the rise in ocean levels over 5 years by formula:

risingLevel * 5 = 2.1 * 5 = 10.5

It then displays the computed value on output screen. So this statement displays:

Years: 5, Rise: 10.5                                                                                                                          Next, the program control moves to the statement:

   cout << "Years: 10, Rise: " << risingLevel * 10<<endl;

which computes the rise in ocean levels over 10 years by formula:

risingLevel * 10 = 2.1 * 10 = 21

It then displays the computed value on output screen. So this statement displays:

Years: 10, Rise: 21                                                                                      

Next, the program control moves to the statement:

   cout << "Years: 50, Rise: " << risingLevel * 50<<endl;

which computes the rise in ocean levels over 50 years by formula:

risingLevel * 50 = 2.1 * 50 = 105

It then displays the computed value on output screen. So this statement displays:

Years: 50, Rise: 105                                                                                                                          Hence the output of the entire program is:

Level: 2.1                                                                                                                     Years: 5, Rise: 10.5                                                                                                           Years: 10, Rise: 21                                                                                                            Years: 50, Rise: 105

The screenshot of the program and its output is attached.

The email application used by Jim’s office is sending emails with viruses attached to them to user’s computers. What step should Jim try first to resolve the issue?
A. Downgrade the email software to an older, previous version
B. Buy a newer email program and migrate the office computers to that program
C. Switch from open source software to proprietary software
D. Check for and install patches or software updates

Answers

Answer:

A

Explanation:


Which function will add a name to a list of baseball players in Python?

append()
main()
print()
sort()

Answers

Answer: B I took the test

Explanation:

The function that will add a name to a list of baseball players in Python is main(). The correct option is b.

What is python?

Python is a popular computer programming language used to create software and websites, automate processes, and analyze data. Python is a general-purpose language, which means it may be used to make many various types of applications and isn't tailored for any particular issues.

A function is a section of code that only executes when called. You can supply parameters—data—to a function. The main() function in Python serves as the point at which any software application is executed.

Since the program only runs when it is executed directly, and not if it is imported as a module, the execution of the program can only begin when the main() function is declared in Python.

Therefore, the correct option is b, main().

To learn more about python, refer to the link:

https://brainly.com/question/28966371

#SPJ2

Kim frequently saves her PowerPoint files in a different format. So, she decides to add a command for this action to the Quick Access Toolbar. Complete the steps to follow for this task.

1. Select a drop-down menu at the top of the screen.

2. Choose
from the Customize Quick Access Toolbar list.

3. A Quick Access Toolbar dialog box opens.

4. In the
section, select
.

5. Choose Save As Other Format.

6. Click the
button, and click OK.

Answers

Answer:

More Commands, Choose Commands from, All commands, Add

Explanation:

Correct on Edg

More Commands, Choose Commands from, All commands.

What is Commands?

One form of statement that tells someone what to do is a command. Additional sentence types include inquiries, exclamations, and declarations.

Usually, but not always, command phrases begin with an imperative (bossy) verb because they demand that the subject take an action.

Children should first learn about and be able to recognize the word classes noun, verb, adjective, and adverb before being taught commands. They can start working on instructions and the usage of imperative verbs after they are familiar with these.

Therefore, More Commands, Choose Commands from, All commands.

To learn more about Commands, refer to the link:

https://brainly.com/question/30319932

#SPJ3

P5.30 Having a secure password is a very important practice, when much of our information is stored online. Write a program that validates a new password, following these rules: •The password must be at least 8 characters long. •The password must have at least one uppercase and one lowercase letter. •The password must have at least one digit. Write a program that asks for a password, then asks again to confirm it. If the passwords don’t match or the rules are not fulfilled, prompt again. Your program should include a function that checks whether a password is valid.

Answers

Answer:

def check_password(password):

   is_short = False

   has_uppercase = False

   has_lowercase = False

   has_digit = False

   

   if len(password) < 8:

       is_short = True

   

   for p in password:

       if p.isupper():

           has_uppercase = True

       if p.islower():

           has_lowercase = True

       if p.isdigit():

           has_digit = True

   

   if is_short == False and has_uppercase and has_uppercase and has_digit:

       return True

   else:

       return False

while True:

   password = input("Enter your password: ")

   password2 = input("Enter your password again: ")

   

   if password == password2 and check_password(password):

       break

Explanation:

Create a function named check_password that takes one parameter, password

Inside the function:

Initialize the is_short, has_uppercase, has_lowercase, and has_digit as False. These variables will be used to check each situation

Check the length of the password using len() method. If it is smaller than 8, set is_short as True

Create a for loop that iterates through password. Check each character. If a character is uppercase, set the has_uppercase as True (use isupper() function). If a character is lowercase, set the has_lowercase as True (use islower() function). If a character is a digit, set the has_digit as True (use isdigit() function).

When the loop is done, check the value of is_short, has_uppercase, has_lowercase, and has_digit. If is_short is False and other values are True, return True. Otherwise, return False

Create an indefinite while loop, that asks the user to enter password twice. Check the entered passwords. If they are equal and the check_password function returns True, stop the loop. This implies that both passwords are same and password is valid.

Which of the following ports offers a fast connection that could be used to download and watch your favorite TV shows?

Ethernet

modem

FireWire

USB

Answers

Answer

The Answer Would Be FireWire and the next one would be USB

Explanation:

FireWire offers a fast connection that could be used to download and watch your favorite TV shows.

What is FireWire and how it is related to connection?

FireWire is a computer interface employed for high-speed communication (i.e., connection) and transference of data.

Apple described this interface using the name of FireWire.

This interface (FireWire) can be used to connect different classes of electronic tools (e.g., printer, scanner, video, etc)

In conclusion, FireWire offers a fast connection that could be used to download and watch your favorite TV shows.

Learn more about FireWire here:

https://brainly.com/question/1590202

reading is important blank areas of life A in very few B in many C only in academic D only in career​

Answers

Answer:

The answer is B. I'm pretty sure It is

Explanation:

I just took the quiz and it was right  

Which step is first in changing the proofing language of an entire document?

Answers

Select the whole document by pressing Ctrl+a.

Answer:

A) Click the Language button on the Status bar

Explanation:

After you do this proceed to find the language you want to change the proofing to.

Choose all of the items that represent functions of an operating system.
1)manages peripheral hardware devices
2) runs software applications
3) manages user accounts and passwords
4) manages network connections
5) generates system error messages

Answers

Answer:

Its all 5 of them

Explanation:

Just did it on EDG

Answer:

all 5

Explanation:

all 5

Kiera decided to enroll in college because her friends told her it was a good idea and they wanted her to follow their lead. Kiera’s not sure about becoming a college student. Which statement has the most impact on Kiera’s family’s future?

Answers

(I could be wrong but)

Many more financial beneficial careers opportunities open with a college degree

what is the full from of cpu​

Answers

Explanation:

[tex]\blue{ central ~proccecing ~unit }[/tex] ⠀

Write a Console Java program that asks the user to enter one sentence on the keyboard. Output on the console:
1) The number of words in the sentence
2) A count of each alphabet in the sentence in alphabetical order (ignore zero counts, ignore Upper/Lowercase difference. That is, count 'A' and 'a' as the same) . Assume that the user will enter a sentence with alphabets. No need to validate user entry. Example: Sentence: This is a great Fall Semester Number of words: 6 a-3, e-4. f-1, g-1, h-1, i-2, l-2, m-1, r-2 , s-4, t-3

Answers

Answer:

Here is the JAVA program:

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

public class Main{  //class name

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

String sentence;  //to store the input sentence

int i, length;  //declare variables

int count[] = new int[256];  //creates a counter array

  Scanner input = new Scanner(System.in);  //creates Scanner class object to accept input from user

       System.out.println("Enter a sentence: ");  //prompts user to enter a sentence

       sentence = input.nextLine();  //scans and reads the entire sentence string from user

   String[] words = sentence.split("\\s+");  //splits the sentence into an array with separator as one or more white spaces and stores this array in words

   System.out.println("Number of words: " + words.length);  //display the number of words in sentence by using length which returns the length of the words array

     sentence = sentence.toLowerCase();  // converts the sentence into lower case to ignore case sensitivity

     sentence = sentence.replaceAll("\\s+","");  //removes the empty spaces from sentence

     length = sentence.length();  //stores the length of the sentence string into length variable

       for (i = 0; i < length; i++) {  //iterates through the length of the sentence

           count[(int) sentence.charAt(i)]++;        }  //counts occurrence of each alphabet in the sentence and stores it in count array

       for (i = 0; i < 256; i++) {  displays occurrence of alphabet in sentence

           if (count[i] != 0) {  //if count array is not empty

               System.out.println((char) i + "-" + count[i]);  }}}}

//prints each alphabet and its count

           

Explanation:

The program prompts the user to enter a sentence. Suppose the user enters "We won" so

sentence = "We won"

Now this sentence splits into an array with white space as separator and stored in words array. So words array has two words of sentence now i.e. "We" and "won"

Next words.length is used to return the length of words array. So length of words array is 2 hence

number of words = 2

Next the sentence is converted to lower case and spaces are removes so sentence becomes:

wewon

sentence.length() returns the length of sentence which is 5.

Next the for loop is used. At each iteration of this loop occurrence each character of sentence is added to the count[] array. charAt() is used to return a character at each index position of string. So the frequency of every character is counted and stored in count array.

Next is a for loop that is used to display each alphabet in the sentence along with its frequency in alphabetic order.

Hence the entire program gives the output:

Number of words: 2                                                                                                             e-1                                                                                                                            n-1                                                                                                                            o-1                                                                                                                            w-2

The screenshot of the output of example given in the question is attached.

Next, Kim decides to include a diagram of a frog’s life cycle in her presentation. She wants to use an image that is part of a previous presentation stored on her laptop. Which actions can help her work with two presentations at once to copy and paste the image? Check all that apply.

Click Move Split.
Use the Alt+Tab keys.
Use the Windows+Tab keys.
Choose Arrange All in the View tab.
Select Fit to Window in the View tab.
Choose Switch Windows in the View tab.

Answers

Answer:

B, C, D, and F are correct answers

Explanation:

On edg

Answer: use alt+tab keys

Use the windows+tab key

Choose arrange all in the view tab

Choose switch windows in the view tab

Explanation:

reasons why a computer system is said to be more intelligent than human brain ​

Answers

Answer:

smarter than humans. but feel less than humans

It’s not smarter than human brain but it’s faster than human brain and can store more memory than human and can do multiple works at same time

You are allowed to use up to 5 images from one artist or photographer without
violating Copyright laws

Answers

If it’s a true or false question, then I think it’s false because I’m pretty sure you have to give credit.

1. What is MEK? What is it used for?

Answers

Answer:

MEK is a liquid solvent used in surface coatings, adhesives, printing inks, chemical intermediates, magnetic tapes and lube oil dewaxing agents. MEK also is used as an extraction medium for fats, oils, waxes and resins. It is a highly efficient and versatile solvent for surface coatings.

Write a program that prompts the user to enter: The cost of renting one room The number of rooms booked The number of days the rooms are booked The sales tax (as a percent). The program outputs: The cost of renting one room The discount on each room as a percent The number of rooms booked The number of days the rooms are booked The total cost of the rooms The sales tax The total billing amount. Your program must use appropriate named constants to store special values such as various discounts.

Answers

Answer:

Written in Python

cost = float(input("Cost of one room: "))

numrooms = int(input("Number of rooms: "))

days = int(input("Number of days: "))

salestax = float(input("Sales tax (%): "))

print("Cost of one room: "+str(cost))

print("Discount: 0%")

print("Number of rooms: "+str(numrooms))

print("Number of days: "+str(days))

totalcost = numrooms * cost

print("Total cost: "+str(totalcost))

salestax = salestax * totalcost/100

print("Sales tax: "+str(salestax))

print("Total Billing: "+str(salestax + totalcost))

Explanation:

The next four lines prompts user for inputs as stated in the question

cost = float(input("Cost of one room: "))

numrooms = int(input("Number of rooms: "))

days = int(input("Number of days: "))

salestax = float(input("Sales tax (%): "))

The following line prints cost of a room

print("Cost of one room: "+str(cost))

The following line prints the discount on each room (No information about discount; So, we assume it is 0%)

print("Discount: 0%")

The following line prints number of rooms

print("Number of rooms: "+str(numrooms))

The following line prints number of days

print("Number of days: "+str(days))

The following line calculates total cost of rooms

totalcost = numrooms * cost

The following line prints total cost

print("Total cost: "+str(totalcost))

The following line calculates sales tax

salestax = salestax * totalcost/100

The following line prints sales tax

print("Sales tax: "+str(salestax))

The following line calculates and prints total billings

print("Total Billing: "+str(salestax + totalcost))

What is the top digital certification earned by K-12 students?

A: Adobe Certified Associate Illustrator

B: Quickbooks Certified User

C: Microsoft Office Specialist

D: Adobe Certified Associate Photoshop

Answers

Answer: B

Explanation: Quickbooks Certified User is the most common of all listed. Adobe Certified Associate Illustrator is not so common, nor is Adobe Certified Associate Photoshop. Microsoft Office Specialist is for adults, not kids, the answer is B.

The top digital certification that is earned by K-12 students is Microsoft Office Specialist.

A Microsoft Office Specialist refers to an individual that prepares communication, presentations, reports, etc by operating Microsoft Excel, Word, PowerPoint.

It should be noted that K-12 students can become Microsoft Office Specialists when they pass a specific office program. The exam measures their competency in the use of Microsoft spreadsheet and word.

Read related link on:

https://brainly.com/question/24395331

Fix the 2 error codes.
1 // DebugSix2.java
2 // Display every character between Unicode 65 and 122
3 // Start new line after 20 characters
4 public class DebugSix2
5 {
6 public static void main(String args[])
7 {
8 char letter;
9 int a;
10 final int MIN = 65;
11 final int MAX = 122;
12 final int STOPLINE1 = 85;
13 final int STOPLINE2 = 122;
14 for(a = MIN; a <= MAX; a++)
15 letter = (char)a;
16 System.out.print(" " + letter);
17 if((a == STOPLINE1) & (a == STOPLINE2))
18 System.out.println();
19 System.out.println("\nEnd of application")
20 }
21 }
1 // DebugSix4.java
2 // Displays 5 random numbers between
3 // (and including) user-specified values
4 import java.util.Scanner;
5 public class DebugSix4
6 {
7 public static void main(String[] args)
8 {
9 int high, low, count;
10 final int NUM = 5;
11 Scanner input = new Scanner(System.in);
12 // Prompt user to enter high and low values
13 System.out.print("This application displays " + NUM +
14 " random numbers" +
15 "\nbetween the low and high values you enter" +
16 "\nEnter low value now... ");
17 low = input.nextInt();
18 System.out.print("Enter high value... ");
19 high = input.nextInt();
20 while(low == high)
21 {
22 System.out.println("The number you entered for a high number, " +
23 high + ", is not more than " + low);
24 System.out.print("Enter a number higher than " + low + "... ");
25 high = input.nextInt();
26 }
27
28 while(count < low)
29 {
30 double result = Math.random();
31 // random() returns value between 0 and 1
32 int answer = (int) (result * 10 + low);
33 // multiply by 10 and add low -- random is at least the value of low
34 // only use answer if it is low enough
35 if(answer <= low)
36 {
37 System.out.print(answer + " ");
38 ++count;
39 }
40 }
41 System.out.println();
42 }
43 }

Answers

Answer:

See Explanation

Explanation:

Considering the first program: DebugSix2.java

The following statement needs to be terminated

System.out.println("\nEnd of application")

as

System.out.println("\nEnd of application");

Then, the loop needs to be enclosed as this:

for(a = MIN; a <= MAX; a++){

letter = (char)a;

System.out.print(" " + letter);

if((a == STOPLINE1) & (a == STOPLINE2))

System.out.println();}

Considering the first program: DebugSix4.java

You only need to initialize variable count to 0 as this:

count = 0

I've added the correct source code as an attachment

Brian needs to assign a macro to a button on the ribbon. Where should he go to achieve this goal?
Record Macro dialog box
Macros dialog box
Insert tab, Insert Macro icon
Customize the Ribbon area of the Word Options dialog box

Answers

Answer: A. Record Macro dialog box.

Explanation:

Answer: a

Explanation:

In a new module named removeMinimum.py Write a function calledremoveMin()that removes the minimum value from a list. Youcannotuse the existingminfunction nor the existing remove method. Of a list has more than one copy of theminimum value, remove only the rst occurrence. [HINT: Create your own minfunction that nds the minimum element in a list and use it in a separate functionremoveMin(). Use help(list.remove) in your console for more information abouttheremove()method for lists]Here is a sample console run of how your function should work:

Answers

Answer:

The removeMin() function is as follows:

def removeMin(mylist):

     mylist.remove(min(mylist))

     print(mylist)

Explanation:

This line declares the function removeMin()

def removeMin(mylist):

This line removes the minimum item in the list

     mylist.remove(min(mylist))

This line prints the remaining items in the list

     print(mylist)

Which of the following statements is true of wireless cellular networks? Check all of the boxes that apply.

They operate on a grid pattern.

They must conform to IEEE 802.11 standards.

They search for signals to confirm that service is available.

They provide voice communications and Internet connectivity.

Answers

Answer:

1,3,4

Explanation:

They operate on a grid pattern

They search for signals to confirm that service is available.

They provide voice communications and Internet connectivity.

Answer:1, 3, 4

Explanation:edge 2023

Research the disadvantages of the computer and explain them.​

Answers

Answer:

Too much sitting-affects the back and makes our muscles tight

Carpal tunnel and eye strain-moving your hand from your keyboard to a mouse and typing are all repetitive and can cause injuries

Short attention span and too much multitasking-As you use a computer and the Internet and get immediate answers to your questions and requests, you become accustomed to getting that quick dopamine fix. You can become easily frustrated when something doesn't work or is not answered in a timely matter.

Solve the recurrence relation.
S(1)=1
S(n)= S(n-1)+(2n-1) for n>=2

Answers

Answer:

hope that will help you

This assignment involves writing a Python program to compute the average quiz grade for a group of five students. Your program should include a list of five names. Using a for loop, it should successively prompt the user for the quiz grade for each of the five students. Each prompt should include the name of the student whose quiz grade is to be input. It should compute and display the average of those five grades and the highest grade. You should decide on the names of the five students. Your program should include the pseudocode used for your design in the comments.

Answers

Answer:

Here is the Python program along with the comments of program design

#this program is designed to compute the average quiz grades for a group of five students  

students = ["Alex", "John", "David", "Joseph", "Mathew"] #create a list of 5 students  

grades = []  # create an empty list to store the grades in  

for student in students: #loop through the students list  

   grade = input("Enter the quiz grade for "+student+": ") #prompt the user for the quiz grade of each student

   #store the input grades of each student to grade

   grades.append(int(grade))  # convert the grade to an integer number and append it to the list  

print("Grades are:", grades) #display the grades of five students  

average = sum(grades) / len(grades) #compute the average of five grades  

print("The average of grades is:", average) #display the average of five grades  

highest = max(grades) #compute the highest grade

print("The highest grade is:", highest) #print highest grade  

Explanation:

The program first creates a list of 5 students who are:

Alex

John

David

Joseph

Mathew

It stores these into a list named students.

Next the program creates another list named grades to store the grades of each of the above students.

Next the program prompts the user for the quiz grade for each of the five students and accepts input grades using input() method. The statement contains student variable so each prompt includes the name of the student whose quiz grade is to be input. Each of the grades are stored in grade variable.

Next the append() method is used to add each of the input grades stored in grade to the list grades. The int() method is used to first convert these grades into integer.

Next print() method is used to display the list grades on output screen which contains grades of 5 students.

Next the average is computed by taking the sum of all input grades and dividing the sum by the total number of grades. The sum() method is used to compute the sum and len() method is used to return the number of grades i.e. 5. The result is stored in average. Then the print() method is used to display the resultant value of average.

At last the highest of the grades is computed by using max() method which returns the maximum value from the grades list and print() method is used to display the highest value.

The screenshot of the program and its output is attached.

Which of the following ports offers a fast connection that could be used to download and watch your favorite TV shows?

Ethernet

modem

FireWire

USB

Answers

Answer:

Ethernet

Explanation:

Ethernet cables provide a fast, wired connection to the internet

Answer: The answer should be FireWire. FireWire ports are used for audio/video output.

20. The time for the disk arm to move the heads to the cylinder containing count
the desired sector is called

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

The answer is the seek time.

The seek time is the time for the disk arm to move the heads to the cylinder containing the desired sector.

Q10: You cannot rename a compressed folder.

Answers

Answer:Oh yes you can.

Click slowly twice the folder.

Right click and choose rename.

Write a program that utilizes the concept of conditional execution, takes a string as input, and: prints the sentence "Yes - Spathiphyllum is the best plant ever!" to the screen if the inputted string is "Spathiphyllum" (upper-case) prints "No, I want a big Spathiphyllum!" if the inputted string is "spathiphyllum" (lower-case) prints "Spathiphyllum! Not [input]!" otherwise. Note: [input] is the string taken as input.

Answers

Answer:

Written in Python

inputt = input()

if inputt == "SPATHIPHYLLUM":

     print("Yes - Spathiphyllum is the best plant ever!")

elif inputt == "spathiphyllum":

     print("No, I want a big Spathiphyllum!")

else:

     print("Spathiphyllum! Not"+ inputt+"!")

Explanation:

This line gets user input

inputt = input()

This line checks if input is uppercase SPATHIPHYLLUM and executes the corresponding print statement, if true

if inputt == "SPATHIPHYLLUM":

     print("Yes - Spathiphyllum is the best plant ever!")

This line checks if input is uppercase spathiphyllum and executes the corresponding print statement, if true

elif inputt == "spathiphyllum":

     print("No, I want a big Spathiphyllum!")

If user input is not upper or lower case of Spathiphyllum, the following if condition is considered

else:

     print("Spathiphyllum! Not"+ inputt+"!")

Other Questions
An isosceles triangle has two sides of equal length, a, and a base, b. The perimeter of the triangle is 15.7 inches, so the equation to solve is 2a + b = 15.7.If we recall that the sum of the lengths of any two sides of a triangle must be greater than the length of the third side, which lengths make sense for possible values of b? An airplane flying due north at 90km/h is being blown due west at 50 km/h. What is the magnitude of the resultant velocity of the plane? This table represents the proportional relationship between the number of boxes and the number of magnetic cubes held by the boxes.What is the unknown value representing the unit rate?A. 8B. 125C. 140D. 156 Which of the following contributed to the outbreak of the Revolutionary War? which of these is an example of sarcasm what number is greater 3 or 5 Identify the binomial 3.Question 3Rewrite the following telegram in a complete sentence (including punctuation, capitalization and accents), without changing the underlined words. See the module 1 reading Typing Spanish Accents and Punctuation for assistance. This resource is also available in the Supplementary Materials section of the course.Jorge y Rosa/recibir/medicina/de/su/mdico. Solve -10x = 30 *1 pointpre algebra What areas of Sudan and South Sudan have the lowest population density, and why? An automobile's radiator has a capacity of fifteen quarts, and it currently contains twelve quarts of a thirty percent antifreeze solution. How many quarts of antifreeze are currently in the radiator? What is the difference in the steps you take to evaluate (-7)2 and -72 ? What is thedifference in the values? creepy fats about fort prince george where do you put a decimal on 64 Which point is inside of the triangle?hurry and answer. Find the value of the expression 30 3 2 3 + 8(2). Which of the following is true of intellectual property? What are some things to help u gain weight fast? please help its due today :)Think of a fictional product or an improved product you would like to sell and write two different short advertisements for two different audiences. Describe the advertisement, the medium (TV, radio, magazine, billboard, etc.), and the audience you are attempting to reach. The advertisement may be in script or descriptive paragraph form. PLZ HELP!!!! WILL MARK BRAINLIEST!!!!!!!!