What will be printed if the below code is run?
1. a = "123"
2. b = “456"
3. a = b + "123"
4. b = a
5. print (b + a)

Answers

Answer 1

Answer:

What will be printed if the below code is run?

1. a = "123"

2. b = “456"

3. a = b + "123"

4. b = a

5. print (b + a)


Related Questions

Hello Everyone,
Please I have been have problems answering this question. I do not know if anyone could be of help to me.
Describe the difference between objects and values using the terms “equivalent” and “identical”. Illustrate the difference using your own examples with Python lists and the “is” operator.

Describe the relationship between objects, references, and aliasing. Again, create your own examples with Python lists.

Finally, create your own example of a function that modifies a list passed in as an argument. Describe what your function does in terms of arguments, parameters, objects, and references.

Create your own unique examples for this assignment. Do not copy them from the textbook or any other source

Answers

I can answer the first question a bit:
Objects are nothing but instance of a class. To know two objects are identical are not, use the is operator.
Is operator: The is operator is used to compare the two objects that are identical or not. The is operator returns true, if the variables on either side of the operator point to same object. If the variables on either side of the operator point to different object then it can also return true.
Value: Value is also an object that assign to a variable. Comparing to objects through === operator.
The term equivalent means.... is used to when the two operators are equal or not , if equal condition returns true.

Meat and poultry exposed to some forms of radiations to extend shelf life. *

Answers

Answer:

Food Irradation

Explanation:

:)

How do I calculate this square footage?

Answers

Answer:

To calculate it, you have to break it apart. Sorry for the bad writing but after you break it apart, you multiply the smaller squares. Then with all of the smaller areas, add them together for the final answer which in this case is 456.

HOW TO USE THIS IN A STORY CAN ANYONE HELP PICK % WORD FROM THE PAGE AN MAKE A STORY WHY DO I LIKE SUMMER ?????////
get 60 piont if you if you help meeeeeeeeeeee
ASAPPPPPPPPPPPPPPPPPPPPPP


The sunshine
Light mornings
Long light nights
BBQs in the garden
The smell of sun cream
Pretty wildflowers
Cloudless blue skies
Going to the beach
Feeling the warm sun on your face
Summer clothes
Sunglasses
Picnics in the park
Long walks
Sitting out on a warm evening
Eating fresh tasty salads
Drinking sangria
Orange glowy sunsets
Fresh air
Exploring new places
Ice cream (or Dairy Free alternative)
Summer playlists
Road trips
Eating fresh strawberries
Ice cold drinks on a hot day
The smell of freshly cut grass
Not having to wear a jacket when out
Autumn is just around the corner
Holidays at home or abroad
Salty sea breezes
Summer always seems to make people happier

Answers

Answer:

Picnic in the Park

Explanation:

Parks are my favorite spots to chill or go for a stroll. Parks make walking in a neighborhood more fun and offer space for common sports, promoting physical activity. They have hiking trails and other amenities to get people moving. Every place, in my opinion, needs some green space where people can get away from the crowds. I live near a park, so if the weather is good, I usually go there once or twice a week. Therefor, my favorite summer activity is going to the park.

round 74,361 to the nearest 10​

Answers

Answer:

74,400 i think

Explanation:

Many companies organize employees into work teams. The team meets to make plans, determine how work will be completed, and divide the work among the team members. The team is responsible for meeting objectives and may even have some say about their budget. Work teams still report to a manager and can ask for assistance when needed. True False

Answers

Answer:True


I think

Sorry if I was wrong

Jackie is planning a surprise birthday party for her best friend and is researching a location to have the party. Jackie found a great location, but they are requesting that she send her personal information over the internet. What should Jackie do?

A) Ignore the request and not enter any personal information.
B)Provide only her name and date of birth.
C) Provide only her name and address.
D) Provide the requested information.

PLS HELP ASAP

Answers

Answer:

A

Explanation:

She is going to get scam

Answer:

A) Ignore the request and not enter any personal information

Explanation:

I just took the exam and I got this question right

PlEASE HELP!

Identify in the space below three rules you feel are most important for deciding what personal information is
appropriate to post online.

Answers

Answer:

.

Names. Be careful how you use your name. Avoid using your full name. Even a nickname could spell trouble -- for instance, if it says something suggestive about your character, if it's a name you already use with others who know your real identity, or if it's made up from your real name (say, from your initials). First names are best, unless yours is extremely unusual. These days, many people do use their full names for online posting -- on social media sites and blogs for example. Just know that in doing so you're raising the risk of becoming an identity theft victim.

Photos. Bearing in mind Golden Rule #1, don't post photos you wouldn't want everyone to see. Full face, high resolution photos may be "snagged" (copied) and used for identity theft. Some people don't know how easy this is to do with any photo, with just a couple of clicks. Also, as a matter of etiquette, don't post photos of others without their permission, unless you're prepared for the consequences if the other person doesn't think it's funny. For preference, use photos in which identities are obscured. And, as a general rule, don't post photos of children online (especially not other people's children without permission). If you want to share photos of your kids, put them in a private online album, accessible by invitation or password. Or email them directly to your friends.

Explanation:

int x = 42
fill in the missing part of the following code to divide x by 3 using the shorthand division operator ​

Answers

42/3 will be equal to 14

Plzzzzz helppppp hurry plzzzzzzzz

Answers

The second one is A.

a___ is a placeholder where you can enter text to manipulate and give new graphical effects.​

Answers

Answer:

A "text box" is a placeholder where you can enter text to manipulate and give new graphical effects

Click the above image
Ask the user to enter two numbers. The first number is for the multiplication table. The second number is the number of rows to display.

Use a for loop to print the table.

Answers

Answer:

Follows are the cdo0de to this question:

import java.util.*;//package  

public class Table //defining class Table

{

   public static void main(String[] asx)//main method  

   {

       int x,y,i;//defining integer variables

       Scanner bg=new Scanner(System.in);//creating Scanner class object

       System.out.print("Enter first number: ");//print message  

       x=bg.nextInt();//input value

       System.out.print("Enter Second number: ");//print message

       y=bg.nextInt();//input value

       for(i = 1; i <= y; i++)//defining for loop for print Table

       {

           System.out.printf("%d * %d = %d \n", x, i, x * i);//calculate and print table

       }

   }

}

Output:

Enter first number: 5

Enter Second number: 3

5 * 1 = 5  

5 * 2 = 10  

5 * 3 = 15

Explanation:

In the above code, three integer variable "x,y, and i" is declared, in which "x,y" variable is used to input value from the user end, and after input, the value the for loop is used, in which the second variable "y" count the rows, and "i, x" variable is used for calculates the multiplication of the table.  

Select the best answer to the following question.
Remote data storage and the ability to access data from any device using the Internet is called

Answers

Answer:

I think its called "cloud computing"

Answer:

cloud computering

Explanation:

SELF-CHECK 1.2
LO1. Plan and prepare for work
A. Identification.
Directions. Identify what is referred to in each number and write your
answer on a separate sheet of paper.
______1. A drawing sheet that contains perspective, site development title,
page and sheet index.
______2. A drawing of the lot showing the setback and development of the
house in relation to the lot.
______3. The top view of the site or lot where the proposed house will be
built.
______4. Generally includes title block, table of contents, and
signs and sealed of the duly licensed and registered professionals
in the plans.
______5. He signs in the lot survey plans.
labels for​
I'll give you a brainliest please answer it

Answers

Answer:

1. Architectural sheet.

2. Site plan.

3. Floor plan.

4. Title page and index.

5. Geodetic Engineer.

Explanation:

1. Architectural sheet: A drawing sheet that contains perspective, site development title, page and sheet index. It is generally used by architects as a graphical representation of a development plan or project.

2. Site plan: A drawing of the lot showing the setback and development of the house in relation to the lot.

3. Floor plan: The top view of the site or lot where the proposed house will be built.

4. Title page and index: Generally includes title block, table of contents, and signs and sealed of the duly licensed and registered professionals in the plans.

5. Geodetic Engineer: He signs in the lot survey plans. A geodetic engineer studies geodynamic phenomenon such as tide, polar motion and the earth movement.

Charles was supposed to present his PowerPoint slides to his classmates in a classroom, but now he has to present in the auditorium in front of his entire grade. What change will Charles have to make when he presents his slides?

He will have to change his topic.
He will have to rearrange his slides.
He will have to speak more loudly and clearly.
He will have to tell his friends about the change.



HELP ASAP

Answers

Answer:

it is c

Explanation:

cus of the long and huge hall of u have in ur school

Answer: C

Explanation: Because he will need the whole grade to hear, or you know grab a mic :D HOPE YOU ENJOY YOUR DAY

Sorry this ain't bout HW but how do I get this off my screen it's pretty annoying

Answers

Have you tried the esc button? Or restart your cp

is a way og saving a file so it can be used by a different program​

Answers

Answer:

what are you even asking

PLS HELP! Prompt
What is exporting?

Answers

Answer:

spread or introduce (ideas and beliefs) to another country.

Explanation:

Exporting is sending goods or services to another country for money. For example, Japan exported $16 million worth of mussels, meaning they sold $16 million worth of mussels to another country. Hope this helps!

Heather just received a customer payment and selected Undeposited Funds as the Deposited to account. Where can she see if she got it right?

Answers

Answer: Sales Center > All Sales, then select Open Invoices on the money bar

Explanation:

The options include:

• Sales Center > Invoices tab, then select Not Deposited on the money bar

• Sales Center > All Sales, then select Unbilled Activity on the money bar

• Sales Center > All Sales, then select Open Invoices on the money bar

• Sales Center > Invoices tab, then select Deposited on the money bar.

First and foremost, we should note that Heather will need to view the sales page. The sales page will provide her with the transaction that occured and the invoices.

To know where she can view the transaction that she processed, she need to go to the sales center. Then click on all sales. Once this is done, the money bar will be seen which will provide her with the status of the sales transactions and the paid invoices.

Discussion Topic
How does social media affect the process of globalization? Give examples. In what
ways does social media help in creating global communities? Discuss other positive
influences of social media. What might be the adverse effects of excessive use of social
media?

Answers

Answer:

Social media positively affects and impacts the process of globalization. ... Global communities is a social infrastructure tool and as social media helps in strengthening social relationships and bringing people and communities together it leads to creating a string global community.

Can someone urgently help me with my java code (I WILL GIVE BRAINLIEST)?! Ive been working on it for hours and its not working! (please give an actual answer...)

*examples of required output at the bottom*

code: public class CircularList
{
private ListNode head;
private ListNode tail;
private int size;







public CircularList()

{

head = tail = null;

size = 0;

}





public int size()

{

return size;

}





public boolean isEmpty()

{

return (size == 0);

}





public int first()

{

if (head != null) {

return head.getValue();

}

return -1;

}




public Integer last()

{

if (tail != null) {

return tail.getValue();

}

return -1;

}



public void addFirst(Integer value)

{

head = new ListNode(value, head);

if (tail == null) {

tail = head;

}

size++;

}





public void addLast(Integer value)

{

ListNode newTail = new ListNode(value, null);

if (tail != null) {

tail.setNext(newTail);

tail = newTail;

} else {

head = tail = newTail;

}



size++;

}





public void addAtPos(int pos, Integer value)

{

if (pos == 0) {

addFirst(value);

return;

}

if (pos <= 0 || pos > size) {

return;

}

if (pos == size) {

addLast(value);

return;

}



ListNode ptr = head;

for(int i=0; i = size) {

return retVal;

}

if (pos == 0) {

return removeFirst();

}

ListNode ptr = head;

for(int i=0; i
ptr = ptr.getNext();

}

retVal = ptr.getNext().getValue();

if (pos == size-1) {

tail = ptr;

tail.setNext(null);

} else {

ptr.setNext(ptr.getNext().getNext());

}



size--;

return retVal;

}





public int findNode(Integer find)

{

ListNode ptr = head;

for(int pos=0; pos
if (ptr.getValue() == find) {

return pos;

}

ptr = ptr.getNext();

}

return -1;

}




public void rotate()

{

addLast(removeFirst());

}




public String toString()

{

String output = "";

ListNode iter = head;

while(iter != null) {

output += String.format("%d ", iter.getValue());

iter = iter.getNext();

}

return output;

}



}

size = 6 first = 50 last = 60
50 20 10 40 30 60

removeFirst = 50
size = 5 first = 20 last = 60
20 10 40 30 60

removed = 30
size = 4 first = 20 last = 60
20 10 40 60

size = 4 first = 20 last = 60
20 10 40 60

found at -1
removed = -1
size = 4 first = 20 last = 60
20 10 40 60

size = 4 first = 10 last = 20
10 40 60 20

Answers

Answer:

code 345code 4537

Explanation:

Which software documentation guideline did the IEEE establish?
A.
Avoid spelling errors.
B.
A glossary should be present to define technical terms and acronyms.
C.
The font has to be in black.
D.
Documents should not have page numbers.

Answers

Answer:

B

Explanation:

I am big brain

To add a hyperlink to your presentation, select the text, choose Hyperlink from the Insert menu, and then
type the word “hyperlink" in the Target field.
O click Apply.
change the font to blue.
O type the Internet address in the Target field.

Answers

Answer:

I guessed D, taking it right now, sorry if it's wrong

Explanation:

Answer:I guess D

Explanation:

If a coach sent a weekly update to her team every week, it would be to her benefit to create a _____ to expedite the process.

confidential group
contact group
custom contact
networked group

Answers

Answer:

contact group

Explanation:

Answer:

contact group

Explanation:

ANSWER ASAP!!!!!!!!

Which statement regarding dialogues in multiplayer games is true?
A.
Dialogues are based only on players’ actions.
B.
Dialogues are restricted to the game’s characters.
C.
Dialogues may be between the game’s characters as well as the players.
D.
Dialogues serve the sole purpose of advancing the storyline.
E.
Dialogues are based only on events that have occurred in the game.

Answers

Answer:

The answer to this question will mostly be E

what are the different types of document required for mail merge?

Answers

Answer:

More Information. A mail merge is used to create form letters, mailing labels, envelopes, directories, and mass e-mail message and fax distributions. There are three documents that are involved in the mail merge process: the main document, the data source, and the merged document.

Explanation:

A computer game picks a random number between 1 and 100, and asks the player to guess what the number is. If the player makes a correct guess, the game congratulates them, and stops. If the player does not make a correct guess, the game tells the player that their guess is either too high, or too low. If the player guesses with an answer that is not a number between 1 and 100, an error message is displayed. The game continues to give the player chances to guess, until the player guesses correctly. You are going to plan an interactive program to implement this game. do this using scratch

Answers

Answer:

In Python:

import random

computerguess = random.randint(1,101)

userguess = int(input("Take a guess: "))

while not (userguess == computerguess):

   if userguess<1 or userguess>100:

       print("Error")

   elif not (userguess == computerguess):

       if userguess < computerguess:

           print("Too small")

       else:

           print("Too large")

   userguess = int(input("Take a guess: "))

print("Congratulations")

Explanation:

This imports the random module

import random

Here, a random number is generated

computerguess = random.randint(1,101)

This prompts the user for a guess

userguess = int(input("Take a guess: "))

The following loop is repeated until the user guess correctly

while not (userguess == computerguess):

If user guess is not between 1 and 100 (inclusive)

   if userguess<1 or userguess>100:

This prints error

       print("Error")

If the user guessed is not correct

   elif not (userguess == computerguess):

If the user guess is less

       if userguess < computerguess:

It prints too small

           print("Too small")

If otherwise

       else:

It prints too large

           print("Too large")

This prompts the user for a guess

   userguess = int(input("Take a guess: "))

The loop ends here

This prints congratulations when the user guess correctly

print("Congratulations")

Helppppp plzzzz it's computer science helpp plzzz

Answers

1. String

2. "is assigned to"

Document accurately describes the differences between servers and computers and between local and wide area networks. Document provides at least four suggestions including password managers and safe browsers.

Thinks someone could help me out with this? ​

Answers

Answer:

Cell towers and internet uses allow local and wide area networks, but they also allow you to steal IP and things like that.

Explanation:

This is quite difficult. I appologize if I get this wrong.

(Also if you upload a file for someone to answer, and they give you a link, don't click on it!! They track your IP address and things like that!)

Explain the process of a for loop and how it is used in code

Answers

Ex:

FOR Count= 1 TO 50

.......................

Body

......................

NEXT

Next keeps incrementing count by 1

Hope it helps

Other Questions
Divide this equation and show your work.(QUICKLY)X^3+4x^2-25x-28/x-4 The middle of the DNA ladder is made up of __?__. sqrt x^7 ........... How does water change the shape of Earth's surface?I (14)(10)(3) + (7)(4)(3) in his book, The Battle of Hastings 1066, published in 2003, historian M.K. Lawson argued that William was able to win the Battle of Hastings because of considerable luck.' How far do you agree with this view of William's victory in 10667[20] 40 = 4(3d 5)show your work A manager wants to cut costs by laying off all workers who are 50 and olderand replacing them with younger workers. What should the HR departmentadvise in this situation?A. The idea is smart because it should bring a significantimprovement in productivity.B. The idea is illegal because employers must provide reasonableaccommodations to older employees.C. The idea is illegal under the Age Discrimination in EmploymentAct.D. The idea is legal but will require extra money for training.SUBMIT can anyone be my tutor? like help me with my hw Simplify. Express your answer as a single fraction in simplest form.x x5 Factorise 3x-4y completely The Davis family is going to reseed the grass in the backyard. Their yard is irregularly shaped with a cement patio and rectangular garden as shown below. Given that the family will not need grass seed for the patio or the garden areas, what is the total area of the land will they be reseeding? 9. Give an example of rotation.1 pointYour answer Nellie ran a total of 8 miles over the course of 4 track practices. How many miles would Nellie have run after 10 track practices? Assume the relationship is directly proportional. what makes sherbet fizzy PLEASE HELP ASAP ILL GIVE BRIANLIEST AND ACTUALLY HELP PLEASE A parallelogram is translated 2 units to the right and 1 unit down and then rotated 90 degrees clockwise about the origin. Choose True or False for each statement about the image compared to the original. same orientation O True O False True The whole statement is true. False Some of the statement is false. As children learn to write, prekindergarten teachers should focus on? How do these U.S. customary units of liquid volume compare? Drag and drop the volume measures so they are in order from smallest to largest.cuppintquart Panchito discovered the summers most refreshing beverage by mixing a 80% cranberry juice with a 4% of orange juice. How much of each should he mix together to make 190 ml of a 60% cranberry-orange juice blend I NEED HELPPPPPPPP PLEASEEE!!!!!!!!