What is output?
x = 2
y = 3
print (x * y + 2)
4
2
8
10

Answers

Answer 1

Answer:

8

Explanation:

(2*3+2)=8

Hope this helped, and have a good day!


Related Questions

Select the correct answer.
Which task is a part of the analysis phase of the SDLC?
A.
installation
B.
coding
C.
planning
D.
testing

Answers

Answer: C. planning

Explanation:

What was the name of the program that helped to develop a lot of the technology for the apollo program?.

Answers

Answer:

Gemini Program

Explanation:

In conjunction with the Apollo program the US launched the Gemini program which would develop technology for use on the Apollo spacecraft. Under the Gemini program the Americans learned how to change the orbit of a spacecraft, spent significant time in orbit to learn how the human body would be affected, brought two spacecraft together in a rendezvous in space, and also went on the first space walks outside of a space craft.

A command line above the worksheet where text, numbers, and formulas are entered into a worksheet. Question 18 options: Formula Formula Bar Worksheet Workbook

Answers

Formula bar is a command line above the worksheet where text, numbers, and formulas are entered into a worksheet.

What is the formula bar?

Formula bar is the white strip like space in above the worksheet, where what we write in the sheet, the text and formula are displayed. It is a place where you can edit the text and formula.

Thus, Formula bar is a command line above the worksheet where text, numbers, and formulas are entered into a worksheet.

Learn more about formula bar

https://brainly.com/question/14694227

#SPJ1

a variable can be __ inside a program

Answers

Answer:

A function is a group of statements that exist within a program for the purpose of performing a specific task.

Explanation:

The for loop is a count-controlled loop and is used to execute a loop body a predictable number of times.

A. True
B. False

Answers

Answer:

True

Explanation:

For loops:

//This is Java code

for (int i = 0; i < 10; i++)

{

System.out.println("hi");

}

They let you specify the number of times the code inside the loop will execute. Above, it would print "hi" 10 times.

Answer:

true

Explanation:

have a nice day and hope it helps

Select the correct answer.
Leonardo is a student. He is preparing to post his profile on a professional networking website. Which strategy will be most helpful in building
his brand?
OA. talking about his family and friends
OB. mentioning his networking contacts
OC. highlighting his skills and achievements
OD. making remarks about his teachers
OE emphasizing his areas of interest

Answers

Answer:
C. Highlighting his skills and achievements
Explanation:

API defines ____ for applications written in a procedural programming language and _____ for applications in object-oriented languages.

Answers

API defines procedure calls for applications written in a procedural programming language and classes for applications in object-oriented languages.

What is API?

API is known to be the short form of  Application Programming Interface. This is known to be a software that acts as an intermediary.

Note that it helps two applications to communicate to one other and as such, API state out procedure calls for applications written in a procedural programming language and classes for applications in object-oriented languages.

Learn more about API from

https://brainly.com/question/12987441

#SPJ1

what is the name of the virus that appears to be a legitimate program but when opened, it can steal passwords or destroy data?

Answers

Answer: A Trojan Horse

Explanation: The name is based on the famous legend, where an army was granted access under the guise of being a safe and trustworthy entity.

The range of an area where users can access the Internet via high-frequency radio signals transmitting an Internet signal from a wireless router is known as a _____.

Answers

Answer:

A hot spot

Explanation:

Q:

The range of an area where users can access the Internet via high frequency radio signals transmitting an Internet signal from a wireless router is known as a _____. A) HotspotB) PAN…

A:

A) hotspot Bluetooth is for short distance and pan is Personal area networks (PANs) connect an individual's personal devices

________ are not used for querying and analyzing data stored in data warehouses. Group of answer choices Word processing programs OLAP tools MOLAP tools Dashboard tools

Answers

Answer:

Word processing programs

Explanation:

Q:

________ are not used for querying and analyzing data stored in data warehouses.

A:

Word processing programs

Susan performs a full backup of her server every Sunday at 1:00 a.m. and differential backups on Mondays through Fridays at 1:00 a.m. Her server fails at 9:00 a.m. on Wednesday. How many backups does Susan need to restore

Answers

The number of files Susan needs to restore is three because she has full backup and the three files have crashed.

What is differential backup?

The most recent, previous complete data backup is used to create a differential backup. Only the data that has changed since the last full backup is captured in a differential backup. The basis of the differential is the full backup that a differential backup is based on.

Susan performs a full backup of her server every Sunday at 1:00 a.m. and differential backups on Mondays through Fridays at 1:00 a.m.

The server crashed on Wednesday at 9:00 am.

Since the Susan has full backup of her data which she did on Sunday at 1:00 am

Differential backups on Monday through Fridays at 1:00 a.m

So the number of files Susan needs to back up is three because the backup file which is taken on Wednesday at 1:00 am has also failed.

Thus, the number of files Susan needs to restore is three because she has full backup and the three files have crashed.

Learn more about the differential backup here:

https://brainly.com/question/14017082

#SPJ1

Name various input and output devices used with computers.

Answers

Answer:

Input: Keyboard, Mouse, Microphone, Gaming Controller

Output: Monitor, TV, Headphones, Speakers

Explanation:

Input Devices are used to send signals to the computer.

Output Devices use signals from the computer to give you information

The ownership of digtal assets in the emerging metaverse is being driven by what technology that enable the ownership of digital assets, such as gucci digital sneaker?.

Answers

The ownership of digital assets in the emerging metaverse is being driven by Blockchain.

What are digital assets?

Digital asset is known to be any item that can be saved digitally and its  specifically recognized  that firm that can use or realize its value. Examples are documents, audio, etc.

Conclusively, The ownership of digital assets in the emerging metaverse is being driven by Blockchain as it helps to save plenty of its data.

Learn more about digital assets from

https://brainly.com/question/5679893

#SPJ1

Complete each sentence.

the first part of step 1 involves clicking___
.

an option for step 3 is___ a rule.

the two options identified in step 12 can both be found in the___group under the home tab.

Answers

The first part of step 1 involves clicking styles, edit, editing. An option for step 3 is edit a rule. The two options identified in step 12 can both be found in the editing group.

What is Editing?

Editing is the act of selecting and making changes, any kind of material.

Note that in the above, The first part of step 1 involves clicking styles, edit, editing. An option for step 3 is edit a rule. The two options identified in step 12 can both be found in the editing group.

Learn more about Computer Applications from

https://brainly.com/question/24264599

#SPJ1

Some applications require that records be retrievable from anywhere in the file in an arbitrary sequence. These files are known as ___________.

Answers

Answer:

random access files

Explanation:

Some applications require that records be retrievable from anywhere in the file in an arbitrary sequence. These files are known as ___________.

✓ RANDOM ACCESS FILES

Next
Submit Test
Web Design and Development Tools: Mastery Test
Drag each tile to the correct box
Match the DHTML component to its description

scripting language
markup language
document object model
text stylesheet language

HTML
JavaScript
CSS
DOM

Answers

Answer:

script=java

makeup=Html

css=text

dom=document

Explanation:

Answer:  

greatness0003- is correct

I hope this helps

BTW Plato

(proof)

When you are trying to anticipate user errors, which do you think is better to use—an if else statement or a try except statement? Why? Can you think of a rule that you could follow to determine which you should use?

Answers

Answer:

try except

Explanation:

You shouldn't use an if else statement for anticipating user errors since try-except was made for executing statements until encountering an error, while if-else is checking for a condition and if its not met, it will do an else.

D). Name the piece of hardware found in a tablet computer that is both an Input and output device?​

Answers

It’s an SD card that can be found in both

Create a class called payroll. instance variables are the name of the employee, the hours person worked and the hourly rate. make sure to include try-catch for the constructor, getter, setter methods. when creating an object, the name cannot be empty string, hours worked cannot be negative and cannot be greater than 56 hours. the hourly rate cannot be negative. also include a method called raise that increase the employee hourly rate. the raise cannot be negative. must use try catch

Answers

So creating code a class called payroll. and complementing with the information given in the edict, found that it will be:

Writing code in JAVA:

import java.util.Scanner;

public class payroll

{

   String name;

   double salary;

   double da;

   double hra;

   double pf;

   double grossSal;

   double netSal;    

   public Pay(String n, double s) {

       name = n;

       salary = s;

       da = 0;

       hra = 0;

       pf = 0;

       grossSal = 0;

       netSal = 0;

   }    

   void calculate() {

       da = salary * 15.0 / 100;

       hra = salary * 10.0 / 100;

       pf = salary * 12.0 / 100;

       grossSal = salary + da + hra;

       netSal = grossSal - pf;

   }    

   void display() {

       System.out.println("Employee Name: " + name);

       System.out.println("Salary: " + salary);

       System.out.println("Dearness Allowance: " + da);

       System.out.println("House Rent Allowance: " + hra);

       System.out.println("Provident Fund: " + pf);

       System.out.println("Gross Salary: " + grossSal);

       System.out.println("Net Salary: " + netSal);

   }    

   public static void main(String args[]) {

       Scanner in = new Scanner(System.in);

       System.out.print("Enter Employee Name: ");

       String empName = in.nextLine();

       System.out.print("Enter Salary: ");

       double empSal = in.nextDouble();        

      payroll = new Pay(empName, empSal);

       obj.calculate();

       obj.display();

   }

}

See more about JAVA code at brainly.com/question/12975450

#SPJ1

Difference between misinformation and disinformation.

Answers

Both are false information but misinformation is without the intent to harm or deceive

What does a file extension tell your computer?.

Answers

Extensions tell your computer which application created or can open the file and which icon to use for the file. For example, the docx extension tells your computer that Microsoft Word can open the file and to display a Word icon when you view it in File Explorer.

A site has been issued the IP address of 192. 168. 10. 0/24. The largest network contained 25 hosts and was given the lowest numbered network number possible. What network number and mask will be assigned

Answers

Answer:

Explanation: The first thing to calculate is what IP addresses are used by the largest LAN. Because the LAN has 100 hosts, 7 bits must be left for host bits.

Explanation:

Explanation: The first thing to calculate is what IP addresses are used by the largest LAN. Because the LAN has 100 hosts, 7 bits must be left for host bits.

A form of wireless transmission called _____ is very popular for short-distance wireless communication that does not require high power

Answers

Answer: Wi-Fi

Wi-Fi doesn’t use that much power and is very popular form of wireless communication. But this could also be Bluetooth because it is also a tarnsmission that occurs wirelessly.

Which data type does not allow duplicate values-python
A dictionary
B set
C tuple
D list

Answers

Answer:

Set

Explanation:

A set is unique in Python. It does not allow duplicates

Design, implement and test a Java class that processes a series of triangles. The triangle specification will be identical to that in Programming Assignment #2 (part A). As in that assignment, you will read in the three sides of the triangle, check the input for errors (and handle them if found), classify the triangle and compute its area. For this assignment, triangle data will be read from an input file and the program’s output will be written to another file. The output file will also include a summary of the data processed. You must use at least one dialog box in this program.


The data for each triangle will be on a separate line of the input file, with the input data echoed and the results referred to by the line number (see example).

Some things to note:

• All input data lines must be processed.

• A new line with triangle data always starts with the ‘#’ marker.

• If an error is encountered on a given line, it must be handled. Afterwards, the program will continue on the next line without processing the triangle. An example of such an error is a non-integer appearing in the first three values of a given line.

• Extraneous data must be discarded. This is data that appears after the first three triangle sides are found, but before a new triangle marker is found.

• If the end of file (EOF) is found, a message should be printed out

• There shall be no unhandled file related exceptions and an end-of-file exception must be avoided.


On initialization, the program will prompt the user for both an input and an output file. If a non-existent input file is specified, the appropriate exception must be handled, resulting in an error message. For the exception case, re-prompt the user for the correct input file [Extra credit if you implement a JFileChooser type dialog box]. Once the I/O file is specified, the program will read in and process all the entries in the file. The output of the program will be written to the specified output file and echoed to the console.


The program will evaluate each line and determine the validity of the triangle. If valid, the program will output summary line for the triangle calculation (see Programming Assignment #2A). If invalid, the program will output a description of the error found in the entry. Your program must be robust and handle situations where all the triangle inputs are not proper and/or present.


Once all the entries are processed, a summary will be generated providing the following information:

• Pathname of the input file

• Number of lines processed

• Number of valid triangles

• Number of invalid triangles



You should be able to reuse much of your Programming Assignment #2A code for this project. However, strongly recommend that you rewrite your code and put this functionality in separate method(s). Likewise, any residual problems from #2A should be fixed in this version. The main features you will be adding are:


• Multiple methods

• Exception handing

• File I/O

• Dialog box

Answers

public class GeometricObject {

   private String color = " white ";

   private boolean filled;

   private java.util.Date dateCreated;

   public GeometricObject() {

       dateCreated = new java.util.Date();

   }

   public GeometricObject(String color, boolean filled) {

       dateCreated = new java.util.Date();

       this.color = color;

       this.filled = filled;  

   }

   public String getColor() {

       return color;

   }

   public void setColor(String color) {

       this.color = color;

   }

   public boolean isFilled() {

       return filled;

   }

   public void setFilled(boolean filled) {

       this.filled = filled;

   }

   public java.util.Date getDateCreated() {

       return dateCreated;

   }

   public String toString() {

       return "Created on " + dateCreated + "\n color: " + color + " and filled ";                

   }  

}

should every presentation have a beggening middle and end​

Answers

Answer:

yes every presentation should have a beginning middle & end.

Explanation:

you should include these 5 parts

- introduction

- objective

- overview

- presentation

- summary/conclusion

Write A Code In Python

Code should be able to
- Save Usernames and Passwords that are entered
- Be able to login to an account when username or password is entered
- Allow Only 3 Log In Attempts

Answers

Answer:

Here is my code below: username = 'Polly1220' password = 'Bob' userInput = input("What is your username?\ n") if userInput == username: a=input("Password?\ n") if a == password: print("Welcome!") else: print("That is the wrong password.") else: print("That is the wrong username.")

Answer:

print('Enter correct username and password combo to continue')

count=0

while count < 3:

   username = input('Enter username: ')

   password = input('Enter password: ')

   if password=='Hytu76E' and username=='bank_admin':

       print('Access granted')

       break

   else:

       print('Access denied. Try again.')

       count += 1

The data "10/24/2012" is an example of a ______________ type.

A. string
B. integer
C. boolean
D. float

Answers

Answer:

option B is correct answer

Which type of digital storage stores information primarily on physical computer components in the photographer's possession?
O internal hard drive
O fireproof safe
O cloud storage
O optical storage

Answers

Answer:

Internal Hard Drive

Explanation:

If an array is sorted from lowest to highest, then the smallest item will always display in the first element of the list / array and the largest item will display in the last element of the array.

A. True
B. False

Answers

It will be ascending, so it is true
Other Questions
Name one group who was disenfranchised during the Gilded Age and why? If the right triangle's dimensions are enlarged by 3 units, the new area would be *blank* square units. Just write the numerical answer.Your answer15 points!! what happened in the 1945 general election what is the relationship between the czech republic and slovakia in 1993 What is the exact value of sin 11pi/6 radians? Students set up a controlled experiment by growing the same type of seedlings in two different locations. After a period of time, the students observed the seedlings and recorded their observations in the table shown. What caused the shoots of the seedlings on the windowsill to bend toward the window? Hormones produced in response to a light stimulus. Hormones produced in response to a light stimulus. Sugars produced in response to a gravity stimulus. Sugars produced in response to a gravity stimulus. Carbon dioxide produced in response to a water stimulus. Carbon dioxide produced in response to a water stimulus. Water produced in response to a nitrogen stimulus. Water produced in response to a nitrogen stimulus. A calculator displays 2.2E-5. How do you write 2.2E-5 in standard form? Accenture has signed a multi-year agreement to help a mobile telecom provider migrate its applications to the cloud over a period of several years, as it seeks to implement a leaner operating model. which activity should accenture execute first to provide the client with an optimal cloud solution/landscape? Which is the length of side AD?A.1 unitB.4 unitsC.5 unitsD.6 units-4-224B-2-4D I what goes first y axis or x axis Drag the appropriate words or word parts where they belong in the following sentences. Choices may be used once or not at all.Every day, Hannah played piano more skillfull than she had the day before. Just like her brother ran fast the more he practiced and had even become the fast on the track team, Hannah knew her piano skills would become advanced than even her teacher someday.Your opinion is ly, er, more, most, est, Find the measure of angle 2, 5 and 6. And explain your answer please :)Thank you 3. Name three things you want your future house to have if money is no problem? what is the radius of 3 inches in a circle what is the radius? Which sentence provides the best example of poetic language?A I questioned the bristling city streets for days.B I roamed around the city for a very long time.C I walked for hours through the busy city streets.D I explored the crowded city streets all day.(Language arts) Which word means the OPPOSITE of near?Zak walks to school because it is near his home.closearoundfarby Activity 1Direction: Change the following sentences from direct to indirect speech.1.Lando said to me, "I will not see Mr. Arcon until Tuesday."2. Pepe told him," shall probably refuse his offer."3.Zen claims, "They have done nothing wrong."4.Caloy continued, "I'll tell you more about it later."5.Bobbie says, "I do not know the right answer."6.Shy said, "I'd like to see you."7. Chad said, "I'll do my best to help you."8.Lina commented, "You decide what you want to do."9."I am satisfied," Eddie says.10."That's not true," Fei remarked. When the expression x-4x-32 is factored to (x-8)(x+h), where h is a constant, what is the value of h? (will give 50 points+brainliest) When you take action independent of direct instruction, you are showing _____. power power insubordination insubordination courage courage initiative initiative One of the groups that opposed the king during the English Civil War was:the Roundheads.Parliament.the Puritans.All of the choices are correct.The Glorious Revolution was caused by:concerns about Catholic succession.British taxation of the American colonies.the application of reason to questions of politics.a growing intellectual curiosity and knowledge from Muslim scholars.The Scientific Revolution was a period during which intellectuals:seized power in the Church.developed electric-powered tools that changed the world.used careful observation to form and test theories about the world.took up arms and revolted against the hereditary monarchs of Europe.Edward Jenner, Isaac Newton, Tycho Brahe, and Johannes Kepler are all associated with the:Enlightenment.American Revolution.Scientific Revolution.colonization of the Americas.Which of the following ideas was common to most philosophers of the Enlightenment?People are basically selfish.Ideas can be proven by reason.Kings are responsible only to God.The wealthy class should govern society.Which of the following choices best matches the philosopher with an idea for which he is well-known?Montesquieu: separation of powersRousseau: society improves manHobbes: man is basically goodLocke: people must obey their rulersMost enlightened despots:were tried and executed.censored the ideas of the philosophers.showed interest in the ideas of the philosophers.successfully implemented most of the ideas of the philosophers.The existence of the African civilizations of Ghana, Mali, and Songhai shows that:African societies did not interact with one another.the African Continent was united prior to contact with Europeans.advanced civilizations developed in Africa prior to contact with Europeans.All of the choices are correct.The Pre-Columbian civilizations of the Maya, Aztec, and Inca were similar in that they:lacked a strong central government.showed little evidence of urbanization.developed complex mathematical and calendar systems.used more deadly and effective military technology than the Europeans.Prior to the late 1400s, Europeans did not eat potatoes or corn because these vegetables:were believed to be poisonous.were too expensive to import from China.had not yet been introduced from the New World.were too labor-intensive to grow without slave labor.The British issued the Proclamation of 1763 and the Sugar and Stamp Acts primarily to:end the slave trade.push the Dutch out of the New World.pay the costs of the French and Indian War.give the colonists a chance to govern themselves.The First Amendment in the Bill of Rights establishes the right to:free speech.freedom of the press.free practice of religion.All of the choices are correct.The U.S. Constitution may be considered revolutionary because it:freed the slaves.prohibited taxation.gave the right to all adults to vote.used the idea of justice as the foundation for government.According to the Declaration of Independence, the power to rule comes from:inheritance.divine right.military power.the consent of the governed."Rulers should be opposed when they grow extreme in the use of their power and use it for the destruction of the people. Whosoever uses force without right, puts himself into a state of war with those against who he uses that power...all former ties are cancelled and everyone has the right to defend himself to resist the aggressor."Use the above excerpt to answer the next two questions.According to the writer of this document, when a ruler uses "force without right":he grows stronger.he still must be obeyed.his people have a right to petition but not rebel.his people have a right to defend themselves against his aggression.The author of this document is most likely:John Locke.Thomas Hobbes.Catherine the Great.Christopher Columbus.