Question # 6
Dropdown
Choose the line of code that completes this program.

Output:

dog named Tiger

class pet:
def __init__(self,strSpecies,strName):
self.species = strSpecies
self.petName = strName

def __str__(self):
return self.species + " named " + self.petName

def changeName(self, newName):
self.petName = newName

# main program
myPetA = pet('dog', 'Spot')


print(myPetA)

Answers

Answer 1

Answer:

myPetA.changeName('Tiger') should be it

Explanation:

Answer 2

Answer:

myPetA.changeName('Tiger')

Explanation:

Correct answer edge 2020


Related Questions

what type of file is created when you save your word processing document

Answers

Answer:

When documents are saved in a word processing program they are typically saved in the word processing program's default proprietary file format. For example, Open Office documents are saved in . odf format and WordPerfect documents are saved in the . wpd format.

I hope this helps! :}

Explanation:

. What is a one-dimensional basic component in art and geometry

Answers

Answer:

a straight line

Explanation:

Anything one dimensional can only be a line

_________________ component defines the correct granularity for access controls and oversees the relationships between identities, access control rights, and IT resource availability.

Answers

Answer:

Authorization component defines the correct granularity for access controls and oversees the relationships between identities, access control rights, and IT resource availability.

Explanation:

Access control is a security technique that verifies the permission that a person or device has to enter an area and to what extent. This function is within the identity and access management of a company. Authorization is the definition of what a specific user can do within an application, that is, to what information and operations they have access, in other words, it refers to the management of access to protected resources and the process of determining whether a user is authorized to access a particular resource. Authorization and access control are ways of enforcing access policies. Authorized persons may access certain resources for their job functions and identify and audit the accesses made.

Why should you study media critically? (4 reasons)

Answers

Answer:

Media provides a framework for understanding the media and helps enable us to interpret and evaluate media messages for ourselves. Media literacy skills are closely related to critical thinking skills, as they challenge us to think more deeply about not only what we see, but what we know. Like geography, because the media define for us our own place in the world. Like science and technology, the media help us to learn technology by adopting the leading edge of modern technological innovation.

Explanation:

why was the keyboard invented, write a paragraph and you can get a crown and 50 points

Answers

Answer:

The keyboard was invented for the alphabet and numbers so people can talk to others and work on essays, and have a way to communicate to human beings and for stuff like i'm doing right now, writing paragraphs for stuff like this and for school, really the keyboard was invented for anything, you can use it for anything in the whole world.

Explanation:

Hope this helps!!

The keyboard was invented so people can type on a computer

Press the
What are the two main parts to any VR experience?
A prototypes
B
screens
C code
D
hardware
E software

Answers

The two main parts to any VR experience are:

SoftwareHardware

What hardware is used for virtual reality?

There are different kinds of hardware. A common method to make or create any form of a realistic 3D depiction of a virtual world is to use a small computer monitor in front of all of the human eye.

Note that all the monitor shows is the perspective that is said to be matching or corresponding  eye would be able to see in an actual environment.

Note that that kind of system is said to be called a binocular head-mounted display (HMD).

Therefore, based on the above, one can say that the two main parts to any VR experience are:

SoftwareHardware

Learn more about VR experience from

https://brainly.com/question/28224061
#SPJ1

What is power point?​

Answers

Answer:

PowerPoint is an electronic presentation program that helps people present a speech using a collection of slides.

Explanation:

Answer:

Power point is a presentation program released in 1987

Explanation:

im trying to call the keys in a dictionary I have called "planet_dict". in order for them to be included in the for loop, the values of the keys have to be within a range of
273 <= x <= 373
I understand how to do this with certain values, but idk how to call them from a dictionary.

Answers

You can do something like this. My code iterates through the dictionary keys and then we use that key to get a value. We check if the value is between 273 and 373 and if it is, it's a water planet. My code is just a general idea of what to do. Instead of printing, you could add the key to a list and then print the contents of the list.

Discuss TWO changes in ICMP that took place with the development of IPV6 and indicate why those changes were made.

Answers

Answer:

Over and above basic medication signaling, but instead of signaling, ICMPv6 could be used for other objectives. It could be utilized for the below description.

Explanation:

That falls into the same category even though IPv4 does through ARP.  

Neighbor Discovery:

Used mostly for control of hosts but instead multichannel interface setup.  

Router Discovery:

Trying to manage Handheld IPv6 hand-offs.  

Throughout IPv6, within a week of negligible and sometimes more broadcast group, this same ICMPv6 response can begin. The whole last extension connector before another ICMPv6 connector contains a 58-value new Header field.

True or False
1. Phishing is the act of sending multiple emails to multiple users in hope of having
2. Spoofing is the act of obtaining unauthorized access to data from a computer
network.
3. Extortion is the act of using the internet to threaten or damage someone's
reputation to extort money or anything else of value.
4. In late 2014, LimeWire was raided for the second time due to years of pirating
movies, music, games, books and other software.
5. Electronic harassment is also referred to as cyberbullying.
6. Non-delivery of service is the act of devising a scheme wherein a culprit posts an
item or service for sale over the internet, and once the transactions have been done, does not
give the item or service.
7. Encryption is the process of converting raw to data code.
8. In piracy, trackers are used to identify IP addresses currently sharing a pirated
file.
9. Wager Gambling is the act of betting on any sports event over the internet.
10. Most email services today have spam or bulk folder that automatically puts
these suspicious emails to that folder.​

Answers

True or False
1. Phishing is the act of sending multiple emails to multiple users in hope of having
2. Spoofing is the act of obtaining unauthorized access to data from a computer
network.
3. Extortion is the act of using the internet to threaten or damage someone's
reputation to extort money or anything else of value.
4. In late 2014, LimeWire was raided for the second time due to years of pirating
movies, music, games, books and other software.
5. Electronic harassment is also referred to as cyberbullying.
6. Non-delivery of service is the act of devising a scheme wherein a culprit posts an
item or service for sale over the internet, and once the transactions have been done, does not
give the item or service.
7. Encryption is the process of converting raw to data code.
8. In piracy, trackers are used to identify IP addresses currently sharing a pirated
file.
9. Wager Gambling is the act of betting on any sports event over the internet.
10. Most email services today have spam or bulk folder that automatically puts
these suspicious emails to that folder.

1. This true. phishing is the act of sending multiple emails with the hope that the users of these emails would reveal sensitive information to you.

2. This is false. Hacking is having unauthorized access. Spoofing is obtaining access to a computer network through acts of impersonation.

3. This is the true. Cyber extortation happens when criminals hold sensitive data that belongs to you and they threaten to damage your reputation until you meet their demands.

4. This is true. This is a discontinued peer to peer platform where software used to be shared

5. This is true. Harrassing people through computer systems and social media platforms is cyberbullying.

6. This is true. Non delivery of service  is when a person refuses to deliver a merchandise or product that he put up for sale.

7. This is true. Encryption happens when there is a conversion of data into a code.

8. This is true. Trackers are capable of collecting data from you.

9. This is true. Sports betting is an example. It is betting on an event to win something over a desirable outcome.

10. This is true. Spam folders are used to send suspicions emails.

https://brainly.com/question/13979277?referrer=searchResults

Which of the following are most likely to be members of the technical crew for a production?
A)producers
B)bookkeepers
C)camera operators
D)actors

Answers

C) Camera operators

Answer:

C: camera operators

Explanation:

edg2021

Producers and actors are the only other two in the film industry, and they are separate from the technical crew

Zahid needs to ensure that the text flows around an image instead of the image being placed on a separate line as the text. Which tab on the Layout dialog box should Zahid use to perform this task? Position Text Wrapping Size He can’t do this on the Layout dialog box.

Answers

Answer:

I believe the answer is He can't do this on the layout dialog box

Explanation:

You use the format tab for text wrapping.

( Sorry if I'm wrong )

Answer:

B.) Text Wrapping

Explanation:

I think that's the right answer. It's how you can make the text flow around an image in doc so I assume it's right. I'm really sorry if it's wrong :(

Write a grammar for the language consisting of strings that have n copies of the letter a followed by the same number of copies of the letter b and the the same number of copies of the letter c, where n >0. For example, the strings abc, aaaabbbbcccc, and aaaaaaaabbbbbbbbcccccccc are in the language but a, abbc, bac, and aaabbbcc are not

Answers

Answer:

def language(mystring, n):

   if n > 0:

       string_list = [x for x in mystring]

       string_cont = ""

       for character in string_list:

           string_cont += character * n

       print(string_cont)

Explanation:

When n is equal to 0, that is, n=0, The python program multiplies the characters of the string "mystring" by the integer variable "n" to output a string with all characters with the same count.

g The method of mapping where each memory locationis mapped to exactly one location in the cache is

Answers

Answer:

Direct Mapped Cache

Explanation:

Given that a Direct Mapped Cache is a form of mapping whereby each main memory address is mapped into precisely one cache block.

It is considered cheaper compared to the associative method of cache mapping, and it is faster when searching through it. This is because it utilizes a tag field only.

Hence, The method of mapping where each memory location is mapped to exactly one location in the cache is "Direct Mapped Cache"

the following section of psudo code inputs a number n, multiplies together 1 x 2 x 3 x ..... x n, calculates input number/sum and output result of the calculations.
locate 3 errors and suggest a corrected piece of code.

INPUT n
FOR mult = 1 TO n
sum = 0
sum = sum * mult
result = n / sum
NEXT
PRINT result

Answers

Answer:

INPUT n

sum = 1

FOR mult = 1 TO n

sum = sum*mult

NEXT

result = n/sum

PRINT result

Explanation:

sum should not be defined inside the for loop because it will reset to the initial number after every loop iteration which is not what is desired. Sum should not be 0 if it is being multiplied then divided. This will cause an error. Result should be calculated after sum has settled on a final number, after the loop has finished.

why is operating system important software for computer?give 3 reasons

Answers

Answer: See explanation

Explanation:

The operating system of a computer is required to manage both the hardware components and the computer's software.

Also, it helps in managing the processes and the memory or the computer.

Lastly, it helps in communication as well as the detection of errors. It should be noted that the operating system of a computer is a very important tool.

If the old and new systems are operated side by side until the new system has proven itself, this type of system conversion plan is parallel implementation. True or false?

Answers

Answer:

True

Explanation:

Which of these are illegal activities? Check all that apply.

running a pyramid scheme
offering free gifts
threatening to harm property
downloading a virus
hacking a computer

Answers

Answer:

Offering free gifts

Explanation:

Answer:

ace

Explanation:

Computer science students typically get hands-on experience in all of the following EXCEPT:

writing code

testing programs

creating a blueprint for a house

fixing program errors

Answers

Answer:

C. Creating a blueprint for a house.

Creating a blueprint for a house is not a typical activity within the curriculum of computer science students.

Hence the correct answer is C.

Computer science students typically get hands-on experience in writing code, testing programs, and fixing program errors.

These activities are fundamental to learning programming and software development.

However, creating a blueprint for a house is not a typical activity within the curriculum of computer science students. This task is more closely related to fields such as architecture or civil engineering, where professionals design physical structures.

Creating a blueprint for a house involves architectural design and planning, which is not typically part of a computer science curriculum. While some computer science concepts can be applied to architectural design software, the two fields have distinct focuses and skill sets.

Hence the correct answer is C.

Learn more about computer science click;

https://brainly.com/question/35123324

#SPJ3

write an algorithm to sumn of even numbers from 1 to 10​

Answers

Answer:

1. Start

2. Evensum = 0

3. For I = 1 to 10

3.1 If I % 2 == 0

3.1.1 Evensum = Evensum + I

4. Print Evensum

5. Stop

Explanation:

The line by line explanation is as follows:

[The algorithm starts here]

1. Start

[This initializes Evensum to 0]

2. Evensum = 0

[This iterates from 1 to 10, inclusive]

3. For I = 1 to 10

[This checks if current number is even number]

3.1 If I % 2 == 0

[If yes, this adds the even number]

3.1.1 Evensum = Evensum + I

[This prints the sum after the sum]

4. Print Evensum

[This ends the algorithm]

5. Stop

To solve the difficulty of scaling memory organization, memories are physically organized into a ____-dimensional organization.
A) one
B) two
C) three
D) multi

Answers

The answer is D) multi

I have no idea what I’m doing and this is due in 45 minutes

Answers

Answer:

Not enough info...

Explanation:

What is a common practice that enterprise organizations will implement to ensure the users of a network and a Mobile Device Management solution will comply with?

Answers

Answer:

Acceptable use policy.

Explanation:

An acceptable use policy also known as fair use policy can be defined as a set of rules and guidelines defined by the original owner or administrator in charge of a service, website, web resources or network in order to regulate privileges, control the way the resources are used and to prevent any unauthorized access or usage by others.

Hence, an acceptable use policy is a common practice that enterprise organizations will implement to ensure the users of a network and a Mobile Device Management solution will comply with.

Generally, acceptable use policy are used in various organizations, schools, public spaces to ensure every users comply with it.

Your supervisor has asked you if it is possible to monitor servers for potential port scans via SNMP. What two OIDs can you provide to your supervisor that may show when a port scan is in progress

Answers

Explanation:

The two OIDs can you provide to your supervisor that may show when a port scan is in progress are:

UdpNoPorts

TcpOutRsts

UdpNoPorts and TcpOutRsts may show when a port scan is in progress.

Your company just installed a new web server within your DMZ. You have been asked to open up the port for secure web browsing on the firewall. Which port should you set as open to allow users to access this new server?

Answers

Answer:

The port that should be set open to allow users to access this new server is:

TCP port.

Explanation:

Ports are openings or entrance doors through which data packages have access to a PC or server.  TCP and UDP are transport protocols with port numbers.  TCP means Transmission Control Protocol.  They are used to connect two devices over the internet and other networks.  UDP means User Datagram Protocol.  They are used to connect applications and to speed the transfer of data.  Comparatively, UDP is faster, simpler, and more efficient than TCP.  TCP enables retransmission of lost data packets, which UDP cannot do.

File details such as the document title and author name are called ____.


Backstage details


User Descriptions


User-defined fields


Document properties

Answers

Answer:

Document properties

Explanation:

From the list of given options, document properties answers the question.

Every computer file has its details which include (but not limited to) the file name, file type, file permission, date etc.

The above details and many more are makes it easy to identify files.

To get a document property, right click on the file/document, select properties, then select the details tab.

On the details tab, you will see a comprehensive list of the properties attributed to that particular documents

True or False(T or F): Point-and-shoot cameras have only 1 lens. *

Answers

Answer:

True

Explanation:

Technically speaking they only have one.

.NET
It is considered the College database.
1. Create a console application to display the information
from the Teacher table.
2. Create a Windows Forms application for
entering the information in the Teacher table


3. For the Teacher table:
a) create its XML representation;
b) display the representation in a Windows application
Forms in alphabetical order by teacher name (
without idprof);
c) Display each name and surname of each teacher
together with the department to which he belongs.

Please help, need at least the first 2 exercises.

Answers

Answer:

This is called contradiction cloud responsibility (CCR)

Explanation:

Write a program to determine what change a cashier should return to a customer. The program will ask how much an item being purchased costs, and then how much the customer paid. The program will return what change should be given.

Enter the item cost: 7.12
Enter what customer paid: 20.00

The total number of cents to be returned is: 1288

Change given should be
Number of 10 dollar bills: 1
Number of 5 dollar bills: 0
Number of 1 dollar bills: 2
Number of quarters: 3
Number of dimes: 1
Number of nickels: 0
Number of pennies: 3

it needs to be in c++ not java

Answers

Using the knowledge in computational language in C++ it is possible to write a code that  determine what change a cashier should return to a customer.

Writting the code:

#include <iostream>

using namespace std;

int main() {

// your code goes here

cout << "Enter the item cost : ";

double cost;

cin >> cost;

cout << "\nEnter what customer paid : ";

double paid;

cin >> paid;

double ret;

ret = paid - cost;

cout << "\nThe total number of cents to be returned is : " << ret;

cout << "\nChange given should be";

int ten,five,one;

ten = ret/10;

ret = ret - (10*ten);

five = ret/5;

ret = ret - (5*five);

one = ret/1;

cout << "\nNumber of 10 dollar bills : " << ten;

cout << "\nNumber of 5 dollar bills : " << five;

cout << "\nNumber of 1 dollar bills : " << one;

return 0;

}

See more about C++ at brainly.com/question/12975450

#SPJ1

PYTHON HW PLEASE HELP. I NEED THE ACTUAL CODE!!! 100 POINTS AND BRAINLIEST. REPORTING IF YOU DON'T ANSWER
Question 1:

Design a BankAccount Class with the following requirements:

1. Class variables
- Overdraft Fee = 20 (Overdraft fee is subtracted from the account when account balance is negative after a withdraw)
2. Object variables
- Balance (Balance is the amount of money an account has left)
3. Methods
- deposit(amount): Accepts an argument amount of type number, adds this amount to account's balance
- withdraw(amount): Accepts an argument amount of type number, subtract this amount to account's balance, if the resulting balance is negative, apply an Overdraft Fee on the account balance

Test your class to see if it works:
- Scenario 1:
- Create a new account called "college_checking", assign 1000 dollars to the initial balance.
- Withdraw 200 dollars
- Withdraw 500 dollars
- Deposit 100 dollars
- Withdraw 600 dollars
- Check your remaining balance, it should be -220 dollars of balance, because $1000 - $200 - $500 + $100 - $600 - $20(overdraft) = $-220

- Scenario 2:
- Create a new account called "europe_trip_fund", assign 0 dollars to the initial balance.
- Deposit 250 dollars
- Deposit 220 dollars
- Deposit 530 dollars
- Withdraw 721 dollars
- Check your remaining balance, it should be $279 dollars of balance, because $0 + $250 + $220 + $530 - $721 = $279


Question 2:

Design a OverdraftProtectionAccount that inherits from BankAccount Class with the additional requirements:

1. Methods
- withdrawal(amount): Accepts an argument amount of type number, subtract this amount to account's balance, if the resulting balance is negative, log an error message:
"There's insufficient funds in your account to complete this transaction"
to the terminal and stop the transaction so that your balance isn't overdrafted.


Test your OverdraftProtectionAccount class to see if it works:
- Scenario 3:
- Create a new account called "personal_checking", assign 100 dollars to the initial balance.
- Withdraw 20 dollars
- Withdraw 50 dollars
- Deposit 12 dollars
- Withdraw 60 dollars
- Check your remaining balance, it should be 42 dollars of balance, because $100 - $20 - $50 + $12 = $42, the last withdrawal didn't go through because that would leave your account balance negative.

Answers

Answer:

Here maybe this will help you

Explanation:

Other Questions
five places in South Africa where tourists can exchange foreign currency State whether the slopes would represent parallel lines, perpendicular lines, or neither.-4 and 1/4 8 and -87 and 172 and 2 consider the value of t such that the area to the left of |t||t| plus the area to the right of |t||t| equals 0.10.1. answer please !!!!!!! read the excerpt from the song, "brother, can you spare a dime?"they used to tell me i was building a dreamwith peace and glory aheadthese lines emphasize the pre-great depression belief that Mallory discovered that Fluorine (F) is found in Group 17, Period 2 on the periodic table. Where should Mallory look to find another element that has similarproperties to those of Fluorine?O on the opposite side of the periodic tableO at elements whose symbols begin with the letter FO in Period 2O in Group 17 Question 10: Andrew is going to fill an empty swimming pool.Andrew fills the swimming pool with water at a constantrate of 2.1 litres per second.Given 1m= 1000 litres, estimate how long it takes to fill the pool.7.15m21m1.9m I think the green dress is prettier than the blue dress.positivecomparativesuperlative Round 1.496 to the place value of the underlined digit. Amelia has 120 ten-dollar bills and 75 twenty-dollar bills. What is the ratio of ten-dollar bills to twenty-dollar billsSimplify your answer.Enter your answer as a fraction. please help charlene levington operates an oil change and tune-up service. she charges $33.95 per oil change. tune-up is $72.50 for a four-cylinder engine, $82.50 for a six-cylinder engine, and $92.50 for an eight-cylinder engine. cardiovascular, cerebrovascular, and renal co-morbidities in covid-19 patients: a systematic-review and meta-analysis In the diagram below AB||CD what measure of ECF At the constitutional convention of 1787, disagreements arose between states with large populations and those with small populations. How was this conflict resolved?. what happens when a reflexive verb follows a conjugated verb in a Spanish sentence? which government agency is responsible for creating guidelines that mandate the use of disinfecting agents, sharps containers, red bags, hepa masks, and personal protective equipment? If a hydrolysis reaction forms a carboxylic acid from an ester and water, what type of molecule will the other product be?. there are four even integers in the top five rows of pascal's triangle. how many even integers are in the top 10 rows of the triangle? why is a small bar placed on top of a number of numbers in some decimals question 17(multiple choice worth 5 points) (04.05 mc) what was the main reason the mississippi river was so important to the growing nation? it offered a way to transport goods from the center of the continent. it kept the dangerous migrating herds away from populated settlements. it gave settlers a reason to explore farther to the west of their original settlements. it helped maintain a rigid boundary between the colonies and native american populations.