Write a statement to create a new Thing object snack that has the name "potato chip". Write the statement below.

Answers

Answer 1

Answer:

New Thing = ("Potato Chip")

Explanation:

Java is a programming language which is used by IT professional for building enterprise applications. The new thing object can be named as potato chip by entering the command statement. The statement must be enclosed in the inverted commas for the application to understand the input.


Related Questions

Complete the following sentences using the drop-down menus.

is considered by some to be the most important program because of its popularity and wide use.

applications are used to display slide show-style presentations.

programs have revolutionized the accounting industry.

Answers

Answer:

✔ E-mail

is considered by some to be the most important program because of its popularity and wide use.

✔ Presentation

applications are used to display slide show-style presentations.

✔ Spreadsheet

programs have revolutionized the accounting industry.

Explanation:

just did it on edg this is all correct trust

the answers are:

- e-mail

- presentation

- spreadsheet

which of the following uses technical and artistic skills to create visual products that communicate information to an audience? ○computer engineer ○typography ○computer animator ○graphic designer​

Answers

Answer:

grafic desiner

Explanation:

just a guess lol

Answer:

I don't know...

Explanation:

D

Which line will be run?
A. The first line
B. The second
line
// 10 - 8 + 3
18 + 7 + 365
C. Both
D. Neither

Answers

Answer:

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

Explanation:

The give code is:

// 10 - 8 + 3

18 + 7 + 365

the given lines of code, if you run it as it is given in the question then the answer is D. Because these lines will run by the compiler but give an error because these lines are not properly written.

However, if we consider, that these lines of codes are correct then the second line will run and the first line will not run because the first line is a comment. Before the beginning of the first line, there is a "//" that shows a comment line. it is a singal line comment and the compiler will not run the comment line.

Define a Python function named matches that has two parameters. Both parameters will be lists of ints. Both lists will have the same length. Your function should use the accumulator pattern to return a newly created list. For each index, check if the lists' entries at that index are equivalent. If the entries are equivalent, append the literal True to your accumulator. Otherwise, append the literal False to your accumulator.

Answers

Answer:

The function in Python is as follows:

def match(f1,f2):

    f3 = []

    for i in range(0,len(f1)):

         if f1[i] == f2[i]:

              f3.append("True")

         else:

         f3.append("False")

    print(f3)

Explanation:

This line defines the function

def match(f1,f2):

This line creates an empty list

    f3 = []

This line is a loop that iterates through the lists f1 and f2

    for i in range(0,len(f1)):

The following if statement checks if corresponding elements of both lists are the same

         if f1[i] == f2[i]:

              f3.append("True")

If otherwise, this is executed

         else:

         f3.append("False")

This prints the newly generated list

    print(f3)

Shortest Remaining Time First is the best preemptive scheduling algorithm that can be implemented in an Operating System.

a. True
b. False

Answers

Answer:

a

Explanation:

Yes, true.

Shortest Remaining Time First, also popularly referred to by the acronym SRTF, is a type of scheduling algorithm, used in operating systems. Other times it's not called by its name nor its acronym, it is called the preemptive version of SJF scheduling algorithm. The SJF scheduling algorithm is another type of scheduling algorithm.

The Shortest Remaining Time First has been touted by many to be faster than the SJF

The answer to the question which asks if the Shortest Remaining Time First is the best preemptive scheduling algorithm that can be implemented in an Operating System is:

True

What is Shortest Remaining Time First?

This refers to the type of scheduling algorithm which is used to schedule tasks that would be executed in the processing unit in an Operating System based on the shortest time taken to execute the task.

With this in mind, we can see that this is the best preemptive scheduling algorithm that can be implemented in an Operating System because it makes task execution faster.

Read more about scheduling algorithm here:
https://brainly.com/question/15191620

In this exercise you will debug the code which has been provided in the starter file. The code is intended to take two strings, s1 and s2 followed by a whole number, n, as inputs from the user, then print a string made up of the first n letters of s1 and the last n letters of s2. Your job is to fix the errors in the code so it performs as expected (see the sample run for an example).
Sample run
Enter first string
sausage
Enter second string
races
Enter number of letters from each word
3
sauces
Note: you are not expected to make your code work when n is bigger than the length of either string.
1 import java.util.Scanner;
2
3 public class 02_14_Activity_one {
4 public static void main(String[] args) {
5
6 Scanner scan = Scanner(System.in);
7
8 //Get first string
9 System.out.println("Enter first string");
10 String s1 = nextLine(); 1
11
12 //Get second string
13 System.out.println("Enter second string");
14 String s2 = Scanner.nextLine();
15
16 //Get number of letters to use from each string
17 System.out.println("Enter number of letters from each word");
18 String n = scan.nextLine();
19
20 //Print start of first string and end of second string
21 System.out.println(s1.substring(1,n-1) + s2.substring(s1.length()-n));
22
23
24 }

Answers

Answer:

Here is the corrected program:

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

public class 02_14_Activity_one { //class name

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

    Scanner scan = new Scanner(System.in); //creates Scanner class object

  System.out.println("Enter first string"); //prompts user to enter first string

          String s1 = scan.nextLine(); //reads input string from user

  System.out.println("Enter second string"); //prompts user to enter second string

          String s2 = scan.nextLine(); //reads second input string from user

    System.out.println("Enter number of letters from each word"); //enter n

          int n = scan.nextInt(); //reads value of integer n from user

          System.out.println(s1.substring(0,n) + s2.substring(s2.length() - n ));

         } } //uses substring method to print a string made up of the first n letters of s1 and the last n letters of s2.

Explanation:

The errors were:

1.

Scanner scan = Scanner(System.in);

Here new keyword is missing to create object scan of Scanner class.

Corrected statement:

 Scanner scan = new Scanner(System.in);

2.

String s1 = nextLine();  

Here object scan is missing to call nextLine() method of class Scanner

Corrected statement:

String s1 = scan.nextLine();

3.

String s2 = Scanner.nextLine();

Here class is used instead of its object scan to access the method nextLine

Corrected statement:

String s2 = scan.nextLine();

4.

String n = scan.nextLine();

Here n is of type String but n is a whole number so it should be of type int. Also the method nextInt will be used to scan and accept an integer value

Corrected statement:

int n = scan.nextInt();

5.

System.out.println(s1.substring(1,n-1) + s2.substring(s1.length()-n));

This statement is also not correct

Corrected statement:

System.out.println(s1.substring(0,n) + s2.substring(s2.length() - n ));

This works as follows:

s1.substring(0,n) uses substring method to return a new string that is a substring of this s1. The substring begins at the 0th index of s1 and extends to the character at index n.

s2.substring(s2.length() - n ) uses substring method to return a new string that is a substring of this s2. The substring then uses length() method to get the length of s2 and subtracts integer n from it and thus returns the last n characters of s2.

The screenshot of program along with its output is attached.

The state way of grading drivers is called what?

*

Answers

Oh yeah I forgot what you did you do that I mean yeah I forgot to tell you something about you lol lol I don’t want to see it anymore

Type the correct answer in the box
in which phishing technique are URLs of the spoofed organization misspelled?
anon
is a phishing technique in which URLs of the spoofed organization are misspelled

Answers

Answer: Link manipulation

Explanation:

Answer:

Typo Squatting

Explanation:

Write a program that computes and display the n! for any n in the range1...100​

Answers

Answer:

const BigNumber = require('bignumber.js');

var f = new BigNumber("1");

for (let i=1; i <= 100; i++) {

 f = f.times(i);

 console.log(`${i}! = ${f.toFixed()}`);

}

Explanation:

Above is a solution in javascript. You will need a bignumber library to display the numbers in full precision.

What is a piece of information sent to a function

Answers

Answer:

the information sent to a function is the 'input'.

or maybe not hehe

Question 8 (3 points) Which of the following is an external factor that affects the price of a product? Choose the answer.
sales salaries
marketing strategy
competition
production cost​

Answers

Answer: tax

Explanation: could effect the cost of items because the tax makes the price higher

oh sorry i did not see the whole question

this is the wrong awnser

Answer is competition

Alice just wrote a new app using Python. She tested her code and noticed some of her lines of code are out of order. Which principal of programing should Alice review?

Answers

Answer:

sequencing

Explanation:

from flvs

Answer:

Sequencing

Explanation:


ANSWER ASAP PLSSS
ALSO GIVE ME RIGHT ANSWER NOT A RANDOM ONE

———-——-————————

Question 1 (1 point)
What function would you use to find the total number of views of all the videos?
Average
ОMax
Count
Min
Sum

Answers

Answer:

ethier you can do sum and average

I believe the answer would be sum

Write a function that takes as input two parameters: The first parameter is a positive integer representing a base that is guaranteed to be greater than 1. The second parameter is an integer representing a limit. The function should return a list containing all of the non-negative powers of the base less than the limit (not including the limit). The powers should start at base^0=1 and increase from there until the limit. If the limit is less than 1 the functions should just return an empty list

Answers

Answer:

Written in Python:

def powerss(base, limit):

   outputlist = []

   i = 1

   output = base ** i

   while limit >= output:

       outputlist.append(output)

       i = i + 1

       output = base ** i

   return(outputlist)

Explanation:

This declares the function

def powerss(base, limit):

This creates an empty list for the output list

   outputlist = []

This initializes a counter variable i to 1

   i = 0

This calculates base^0

   output = base ** i

The following iteration checks if limit has not be reached

   while limit >= output:

This appends items to the list

       outputlist.append(output)

The counter i is increased here

       i = i + 1

This calculates elements of the list

       output = base ** i

This returns the output list

   return(outputlist)

Which of the following stakeholders makes policies for a green economy?

Answers

Answer:

government is the answer

To write a letter using Word Online, which document layout should you choose? ASAP PLZ!

Answers

Traditional... See image below

Answer: new blank document

Explanation: trust is key

Ms. Myers commented that _____ she slept in at the hotel was better than _____ she slept in at home.

Answers

The bed/ the bed is the answer

A hammer has an input distance of 9 cm and an output distance is 3 cm what is the ideal mechanical advantage

Answers

Answer:

1/3

Explanation:

Which online text source would include a review of a new TV show?
an academic journal
a blog
an e-book
an encyclopedia

Answers

Answer:

Blog

Explanation:

Online text sources include blogs, e-books, encyclopaedias, and e-zines. As a result, options A, B, C, and D are correct.

What is a text source?

A source is a book or other material that contains the data that has been used, whereas a citation is the actual statement of the starting point. They were researchers who also worked as professors, writers, and other professionals, and they published books and articles.

Online text sources are those that can be accessed from anywhere and are available on the internet. The online text shows that anyone can see or exceed including blogs, e-books, encyclopaedias, and e-zines.

These are available for further studies and research. Also to give information this can be a source. Therefore,  options A, B, C, and E is the correct option.

Learn more about text sources, here:

brainly.com/question/19131568

#SPJ6

Using the drop-down menus, correctly complete the sentences.
A(n)_____
is a set of step-by-step instructions that tell a computer exactly what to do.
The first step in creating a computer program is defining a(n)_____
the next step is creating a(n)______
problem that can be solved by a computer program.
A person writing a computer program is called a(n)
DONE

Answers

Wait I know u still need the answer or not anymore

Answer:

I'm pretty sure these are right:

1. algorithm

2. problem

3. math

4. computer programmer

Custom function definitions:________.
A. Must be written before they are called by another part of your program
B. Must declare a name for the function
C. Must include information regarding any arguments (if any) that will be passed to the function
D. all of the above

Answers

Answer:

D. all of the above

Explanation:

A option is correct and function definition must be written before they are called by another part of your program. But in languages such as C++ you can write the prototype of the function before it is called anywhere in the program and later write the complete function implementation. I will give an example in Python:

def addition(a,b): #this is the definition of function addition

    c = a + b

    return c    

print(addition(1,3)) #this is where the function is called

B option is correct and function definition must declare a name for the function. If you see the above given function, its name is declared as addition

C option is correct and function definition must include information regarding any arguments (if any) that will be passed to the function. In the above given example the arguments are a and b. If we define the above function in C++ it becomes: int addition( int a, int b)

This gives information that the two variables a and b that are parameters of the function addition are of type int so they can hold integer values only.

Hence option D is the correct answer. All of the above options are correct.

what is the use of buffer?​

Answers

Answer:

pH buffer or hydrogen ion buffer) is an aqueous solution consisting of a mixture of a weak acid and its conjugate base, or vice versa. ... Buffer solutions are used as a means of keeping pH at a nearly constant value in a wide variety of chemical applications.

Explanation:

there is your answer i got this one correct

hope it is helpful

Answer:

Limits the pH of a solution

Explanation:

A P  E X

1. Write a function named problem1 to simulate the purchases in a grocery store. Write statements to read the price of each item until you enter a terminal value to end the loop. Calculate the subtotal and add a sales tax of 8.75% to the subtotal. Return the subtotal, the amount of the sales tax, and the total. Call the function and display the return results. (25 pts)​

Answers

Answer:

ok

Explanation:

Write a program that finds the number of items above the average of all items. The problem is to read 100 numbers, get the average of these numbers, and find the number of the items greater than the average. To be flexible for handling any number of input, we will let the user enter the number of input, rather than fixing it to 100.

Answers

Answer:

Written in Python

num = int(input("Items: "))

myitems = []

total = 0

for i in range(0, num):

     item = int(input("Number: "))

     myitems.append(item)

     total = total + item

average = total/num

print("Average: "+str(average))

count = 0

for i in range(0,num):

     if myitems[i] > average:

           count = count+1

print("There are "+str(count)+" items greater than average")

Explanation:

This prompts user for number of items

num = int(input("Items: "))

This creates an empty list

myitems = []

This initializes total to 0

total = 0

The following iteration gets user input for each item and also calculates the total

for i in range(0, num):

     item = int(input("Number: "))

     myitems.append(item)

     total = total + item

This calculates the average

average = total/num

This prints the average

print("Average: "+str(average))

This initializes count to 0

count = 0

The following iteration counts items greater than average

for i in range(0,num):

     if myitems[i] > average:

           count = count+1

This prints the count of items greater than average

print("There are "+str(count)+" items greater than average")

What does the measurement tell you?

Schedule performance index

Answers

Answer:

how close the project is to being completed compared to the schedule/ how far ahead or behind schedule the project is, relative to the overall project

Explanation:

1.2
Is media a curse or a blessing? Explain.​

Answers

Answer:

i think its both because if there is misunderstanding between media and government then the media distroys the government and if there us no misunderstanding between media and government and if it goes smoothly then its like a blessing for government

Answer:

Media is a blessing...a curse as well when it's misguiding the world and hiding the real sinner and juxtaposing the culprit as the saviour

Use the drop-down menus to explain how to personalize a letter.
1. Place the cursor where the name and address should appear.
2. Select
v in the mail merge wizard.
3. Select the name and address format and
if needed to link the correct data to the field.
4. Place the cursor below the address block, and select
from the mail merge wizard.
5. Select the greeting line format and click

Answers

Explanation:

Address block

Match Fields

Greeting Line

Ok

Place the cursor where the name and address should appear: This step is important as it identifies the exact location where the personalized information should be placed in the letter.

What is personalization?

Personalization refers to the process of customizing a communication, such as a letter or email, to make it more individualized and relevant to the recipient.

To explain how to personalize a letter:

Place the cursor where you want the name and address to appear: This step is critical because it determines where the personalised information should be placed in the letter.

In the mail merge wizard, enter v: This step involves selecting the mail merge feature in the word processor software. The mail merge feature is typically represented by the "v" symbol.

Choose the name and address format, and then [link] to link the correct data to the field: This step entails selecting the appropriate name and address format, such as "First Name," "Last Name," and "Address Line 1." It also entails connecting the data source (for example, a spreadsheet or database) to the relevant fields in the letter.

Place the cursor below the address block and use the mail merge wizard to select [Insert Greeting Line]: This step involves deciding where to place the greeting line in the letter, which is usually below the address block. The mail merge wizard offers formatting options for the greeting line based on the data source.

Choose the greeting line format and press [OK]: This step entails deciding on a greeting line format, such as "Dear [First Name]" or "Hello [Full Name]." Once the format is chosen, the user can finish personalising the letter by clicking "OK."

Thus, this can be concluded regarding the given scenario.

For more details regarding personalization, visit:

https://brainly.com/question/14514150

#SPJ2

Tasha works as an information technologist for a company that has offices in New York, London, and Paris. She is based out of the New York office and uses the web to contact the London and Paris office. Her boss typically wants her to interact with customers and to run training seminars to teach employees new software and processes. Which career pathway would have this type of employee?

Answers

Answer:

D. Interactive Media

Explanation:

i just took the test right now

The career pathway which would have this type of employee is an interactive media.

What is media?

Media is a terminology that is used to describe an institution that is established and saddled with the responsibility of serving as a source for credible, factual and reliable news information to its audience within a geographical location, either through an online or print medium.

In this context, an interactive media is a form of media that avail all media personnels an ability to easily and effectively interact with their customers or audience.

Read more on media here: https://brainly.com/question/16606168

Write a function that takes a string and return the back half of the string. If the string has an odd number of characters, include the extra character. Your solution should also work if given and empty string. Examples: back_half('abba') should return 'ba' back_half('abcba') should return 'cba'

Answers

Answer:

Written in Python

def back_half(inputstring):

    outputstring = ""

    lent = len(inputstring)

    if lent == 0:

         outputstring ="Empty String"

    elif lent%2 == 0:

         begin = lent/2

         for i in range(int(begin),lent):

              outputstring = outputstring + inputstring[i]

    else:

         begin = (lent+1)/2

         for i in range(int(begin-1),lent):

              outputstring = outputstring + inputstring[i]

    return outputstring

Explanation:

This line defines the function

def back_half(inputstring):

This line initializes outputstring to an empty string

    outputstring = ""

This calculates the length of the input string

    lent = len(inputstring)

This checks if the length of inputstring is 0. If yes, the function returns empty string

    if lent == 0:

         outputstring ="Empty String"

This checks if the length of inputstring is even.

    elif lent%2 == 0:

         begin = lent/2 This line gets the beginning of the half string

         for i in range(int(begin),lent):

              outputstring = outputstring + inputstring[i] This generates the half string

    else: This checks for odd length

         begin = (lent+1)/2 This line gets the beginning of the half string

         for i in range(int(begin-1),lent):

              outputstring = outputstring + inputstring[i] This generates the half string

    return outputstring This returns the outputstring

The collaborative team responsible for creating a film is in the process of creating advertisements for it and of figuring out how to generate excitement about the film. Which of the five phases of filmmaking are they most likely in?

Answers

Answer:

Distribution.

Explanation:

Filmmaking can be defined as the art or process of directing and producing a movie for viewing in cinemas or television. The process of making a movie comprises of five (5) distinct phases and these are;

1. Development.

2. Pre-production.

3. Production.

4. Post-production.

5. Distribution.

Distribution refers to the last phase of filmmaking and it is the stage where the collaborative team considers a return on investment by creating advertisements in order to have a wider outreach or audience.

In this scenario, the collaborative team responsible for creating a film is in the process of creating advertisements for it and of figuring out how to generate excitement about the film.

Hence, they are likely to be in the distribution phase in relation to the five phases of filmmaking.

Answer:

C: distribution

Explanation:

edg2021

Other Questions
from the details in this passage, choose the inference that dickens most likely wants readers to make about the members of the board in charge of the workhouse What is the standard form of a liner equation? Meg is a veterinarian. I. Given week , 50% of the 16 dogs she saw were boxers . Steve is also a veterinarian. In the same week , 7 of the 35 dogs he saw this week were boxers. Each wants to know the record the part , the whole and the percent. Does meg need to find the part the whole or the percent I need help please, can you help me? What is a vanishing point?A. the viewers point of view.B. the farthest point in a landscape painting.C. the artists perception. Is saying the beautiful are the ones who help people gramatically correct? OMG plz help me out with this!!What are 3 differences between animal cells and plant cells?What do the cell wall and chloroplasts do for the plant cell?What are 2 things that animal cells and plant cells have in common?Thank you! Lee lo siguiente. _[Blank]_es tarde para aprender a bailar. Qu palabra completamejorla oracin? Algo Nunca Alguien Ninguna Can someone pease help me understand the problem? Really simple one here :) Just need to see all steps and what the variable equals (if it isn't infinite or no solutions) Please hurry though !! I need help please helppppp I would appreciate it ANSWER FAST!!!!! PLEASE!!!!!Do you think the style of mosques were different in China. Give reasons. Which heart rate would a swimmer who is finishing a race most likely have need help please help its imporant Troy and Lisa were shopping for school supplies. Each purchased different quantities of the same notebook and thumb drive. Troy bought five notebooks and five thumb drives for $110. Lisa bought three notebooks and five thumb drives for $102. Find the cost of each notebook and each thumb drive. Michael is using a number line to evaluate the expression 8 3.A number line going from negative 12 to positive 12. A point is at negative 8.After locating 8 on the number line, which step could Michael complete to evaluate the expression?Michael could rewrite the expression as Negative 8 + 3 and move 3 spaces to the right.Michael could rewrite the expression as Negative 8 + negative 3 and move 3 spaces to the right.Michael could rewrite the expression as Negative 8 + 3 and move 3 spaces to the left.Michael could rewrite the expression as Negative 8 + negative 3 and move 3 spaces to the left. Help i'll give 100 points! and brainlist luv! xo Which of the following is an example of the associative property?a. 2(5 - 3) = 10 - 6b. 1/3 3 = 1c. -7 + (19 + 5) = (-7 + 19) + 5d. 11 + (6 + 8) = 11 + (28 + 6) PLEASE HELP! 50 points!In the graph, the area below f(x) is shaded and labeled A, the area below g(x) is shaded and labeled B, and the area where f(x) and g(x) have shading in common is labeled AB.The graph represents which system of inequalities?A. y 2x + 3y x + 3B. y 2x + 3y x + 3C. y 3x + 2y x + 2D. y > 2x + 3y > x + 3 2. How might the establishment of a Judenrat have given Jews in the ghetto a false sense of security?