Answers

Answer 1

Answer:

the first constructor invocation will work.

pet temp("mouse", 5.99);

Explanation:

This will create a pet object on the stack, using the constructor.

If you want to create an object on the heap, you would use the new operator:

pet* pTemp = new pet("mouse", 5.99);


Related Questions

Help to draw in turtle. Python

Answers

Answer:

a basic piece of code:

from turtle import *

color('red', 'yellow')

begin_fill()

while True:

   forward(200)

   left(170)

   if abs(pos()) < 1:

       break

end_fill()

done()

Explanation:

What its doing is The TurtleScreen class defines graphics windows as a playground for the drawing turtles. Its constructor needs a tkinter.Canvas or a ScrolledCanvas as argument. It should be used when turtle is used as part of some application.

The function Screen() returns a singleton object of a TurtleScreen subclass. This function should be used when turtle is used as a standalone tool for doing graphics. As a singleton object, inheriting from its class is not possible.

All methods of TurtleScreen/Screen also exist as functions, i.e. as part of the procedure-oriented interface.

RawTurtle (alias: RawPen) defines Turtle objects which draw on a TurtleScreen. Its constructor needs a Canvas, ScrolledCanvas or TurtleScreen as argument, so the RawTurtle objects know where to draw.

Derived from RawTurtle is the subclass Turtle (alias: Pen), which draws on “the” Screen instance which is automatically created, if not already present.

All methods of RawTurtle/Turtle also exist as functions, i.e. part of the procedure-oriented interface.

Arrange the code so that the numbers are swapped.

Answers

Rand.int(your_num , your_num

You've just received an email message that indicates a new serious malicious code threat is spreading across the internet. The message contains detailed information about the threat, its source code, and the damage it can inflict. The message states that you can easily detect whether or not you have already been a victim of this threat by the presence of three files in the \Windows\System32 folder. As a countermeasure, the message suggests that you delete these three files from your system to prevent the code from spreading further.

Required:
Based on the email message, what are the next BEST actions to complete?

Answers

Answer:

The next BEST actions to complete could either be to call 911 or just drive somewhere further from your computer and where you live because the threat might come to your place, or it might already be in your place.

Explanation:

This program is an example of:

def factorial(x):

if x == 1:

return x

else:

return x * factorial(x-1)

Group of answer choices

a do while loop.

recursion.

a for loop.

a while loop.

Answers

The program is an example of recursion

In computer programming, recursion is a process in which a function calls itself.

In a recursive program, there is a

base case and a recursive case.

When the condition of recursion is met, the base case is returned, else, the recursive case is continued.

In the function given above,

the base case is 'return x' under the condition 'if x == 1'. The recursive case is 'return x * factorial(x - 1)'.

So, the function runs until the base case it met and then it stops.

So, the program is an example of recursion.

Learn more about recursion here:

https://brainly.com/question/25797503

which part lets you point to objects on your screen, click on them, and even move them?

Answers

Mouse lets you point to objects on your screen, click on them, and even move them.

A computer is a machine that can be programmed to carry out sequences of arithmetic or logical operations automatically. Modern computers can perform generic sets of operations known as programs.

A computer mouse is a handheld hardware input device that controls a cursor in a GUI (graphical user interface) for pointing, moving and selecting text, icons, files, and folders on your computer.

Find out more on mouse at: https://brainly.com/question/22247989

- What is the use of border? Differentiate between changing color of cells and color of data class 6​

Answers

Conditional formatting makes it easy to highlight interesting cells or ranges of cells, emphasize unusual values, and visualize data by using data bars, color scales, and icon sets that correspond to specific variations in the data.

A conditional format changes the appearance of cells on the basis of conditions that you specify. If the conditions are true, the cell range is formatted; if the conditions are false, the cell range is not formatted. There are many built-in conditions, and you can also create your own (including by using a formula that evaluates.

What type of information is appropriate for headers and footers? Check all that apply.

Answers

Answer:

C,  E,F,G  are correct

Explanation:

Answer:

C,E,F,G  are correct.

Explanation:

goal of any user-friendly game should be to create a good what for the player?
A. user experience (UX)
B. user-interface (UI)
C. user intuition (UIT)
D. user skill (US)

Answers

Answer:

A

Explanation:

The goal of user friendly game is to provide UX.

For example a user friendly game will have much different interface than professional CAD program.

Answer:

user friendly.

Explanation:

Software that is used to detect and eliminate computer viruses. Question 3 options: Wi-Fi Cable Internet Antivirus Application Browser

Answers

Answer:

Anti Virus

Explanation:

Antiviruses (Windows Defender, McAfee, Avast) scan your computer/device for viruses.

Sampson runs his own online business, and much of his success depends on the reliability and accuracy of various online data. How does integrity help to ensure that Sampson can trust the online data he is using?

A.
Integrity takes steps to ensure Sampson's information cannot be altered or deleted by unauthorized people.

B.
Integrity refers to a process that makes it impossible for anyone but Sampson to see the data that he is using.

C.
Integrity blocks all hackers from interfering with Sampson's data and what he does with it.

D.
Integrity allows Sampson to access and move data on an unsecured network.

Answers

Answer: because integrity takes steps to ensure Sampson's information cannot be altered or deleted by unauthorized people and that it stays intact, no matter where it goes

Explanation:

Match each type of Save option on the left with a function on the right.

Answers

Answer:

the above is correct

Explanation:

what is a saved link to a particular web page?​

Answers

Answer:

A bookmark

Explanation:

A bookmark is a saved link to a particular Web page. Microsoft Internet Explorer denotes bookmarks as “favourites.” Boolean operators Most search engines (e.g. Go.ogle) allow you to limit your search or make it more specific by using words such as “and”, “or” and “not”.

You arrive at school on Friday for a field trip ! What a lucky day!You need to figure out what room you are in before leaving. You notice there are rosters on each door . What do you do to find your correct room?
If the roster were sorted alphabetically by last name , would that change how you found your correct room ?

Answers

Answer:

Look for the first letter of your last name

Explanation:

what is the hack of the cookie clicker

Answers

Answer:

Open Sesame

New Pokemon Games - The Loop. Open Sesame is the control panel for Cookie Clicker. It can be opened with a console command, or by changing the name of your bakery.

Explanation:

Hope this helps you !!

Hacking is a process to exploit a computer network system or a private network within a computer. Simply put, unauthorised access to or control of a computer network security system for unauthorised purposes.

To better explain hacking, we must first understand hackers. It’s easy to a Hacking assume that they are intelligent and highly skilled with computers.

In fact, breaking security systems requires more intelligence and expertise than actually creating them. There are no hard and fast rules that can classify hackers into neat categories. However, in common computer terminology, these are called white hats, black hats, and gray hats. White hat experts audit their own security systems to make them more resistant to hacking.

Learn more about network system here:

brainly.com/question/23294592

#SPJ6

Which of the following is Tynker an example of?
Group of answer choices

database

flowchart

Integrated Development Environment

binary code

Answers

Answer:\

Integrated Development Environment

hope it help

Answer:

C

Explanation:

i did the test

Michaela has been tracking the temperatures of the dirt, pond water, and air near her home for a science investigation. She is ready to analyze the data to prepare for her science report. Based on each application’s strengths and weaknesses, which one would be the best to choose for this task?

Answers

Answer:

The science of investigation

Explanation:

hope it help

How to recover permanently deleted photos from gallery?

Answers

Answer:

it's technically impossible to recover permanently deleted photos

but if you have a copy of the photo or maybe have backup that would help.

I'm sorry if my answer isn't much help

many phone fraud scammers are expessily cunning because they approach the target to try to sell

Answers

Answer:

improved computer security programs

Explanation:

Answer:

Improved computer security programs.

Explanation:

Just took the quiz

Complete a flowchart and a Python program to calculate grade of a student based on marks using the following criteria:

Ask a student for their marks and if their marks are:

More than 90 – print “A*”

Between 80 and 90 – print “A”

Between 70 and 80 – print “B”

Between 60 and 70 – print “C”

Between 50 and 60 – print “D”

Between 40 and 50 – print “E”

Under 40 – print “Fail”

Answers

Answer:

grade = int(input("Enter grade: ")

if grade > 90:

   print("A*")

elif grade > 80 and grade < 90:

   print("A")

elif grade > 70 and grade < 80:

   print("B")

elif grade > 60 and grade < 70:

   print("C")

elif grade > 40 and grade < 50:

   print("E")

else:

   print("Fail")

Explanation:

What does an arrow after a command indicate

Answers

Answer:

the command still has to be carried out.

The arrows are an interactive continuation prompt. If you enter an unfinished command, the SQL shell (invoked by the mysql command) is waiting for the rest of it.

Computers were originally developed to accomplish various tasks in relative isolation, very different from the collaboration and communication we see today.

A.
True

B.
False

Answers

The answer is A, they were built for work.

One of the Windows workstations you manage has four user accounts defined on it. Two of the users are limited users while the third (your account) is an administrative user. The fourth account is the Guest user account, which has been enabled to allow management employees convenient workstation access. Each limited and administrative user has been assigned a strong password. File and folder permissions have been assigned to prevent users from accessing each other's files. Autorun has been disabled on the system.

Required:
What actions is MOST likely to increase the security of this system?

Answers

Answer:

All users on a Windows workstation are limited users except for one user who is responsible for maintaining the system.Explanation:

in reference to operating systems, what is spooling? what does it stand for? chegg

Answers

Answer:

Spooling is a process in which data is temporarily held to be used and executed by a device, program or the system. Data is sent to and stored in memory or other volatile storage until the program or computer requests it for execution. "Spool" is technically an acronym for simultaneous peripheral operations online.

relevez le rôle principal de la peau dans l,organime humain. je suis bloquée aidez moi metci​

Answers

Answer:

language?

Explanation:

Write any two uses of ruler in word program

Answers

Answer:

1.It is used for draw the table, making results and assignments etc.

2.It is used for lining

Explanation:

Hope it helps

#CARRYONLEARNING

Which of these would be the best way to inform an employee that they are losing their job?
Group of answer choices

group email

face-to-face conversation

instant message

personal email

Answers

Answer:

Terminations are a sensitive subject.

Even if you have strong reasons for letting an employee go, sitting them down to explain they are out of a job can be an awkward conversation.  

Some employers might be tempted to fire an employee using an impersonal method ⁠— like a phone call, email, or text ⁠— just to avoid that discomfort. But that is a very bad idea. We strongly recommend that employers should only fire staff during a face-to-face termination meeting.

A bulb has a resistance of 15Ω and is rated at 3A. What is the maximum voltage that can be applied across the bulb?

Answers

Answer:Wheres the option choice??????????????????????

Explanation:

In the program below, which two variables have the same scope?

def usernameMaker (strFirst, strLast):
return strFirst + strLast[0]

def passwordMaker (strA, numC):
answer = dogName[0:3]
return answer + str(numC)

# the main part of your program that calls the function
username = usernameMaker ('Chris', 'Smith')
dogName = 'Sammy'
favoriteNumber = 7
password = passwordMaker (dogName,favoriteNumber)

strA and

Answers

Answer: numC

Explanation:

strLast and strFirst have their scope up to the function usernameMaker only. They don't have any relation with the variable strA in terms of scope.

numC has the scope same as the variable strA. They both have scope in the function passwordMaker

Therefore, correct answer is numC

Answer: num C

Explanation: got it right on edgen

where deep convolutional neural network is used in real life

Answers

Answer:

Business applications of Convolutional Neural Networks. Image Classification - Search Engines, Recommender Systems, Social Media. Face Recognition Applications of RNN is Social Media, Identification procedures, Surveillance. Legal, Banking, Insurance, Document digitization - Optical Character Recognition.

why is color important for all objects drawn ?​

Answers

Technically, drawing in colored pencil is simply layering semitransparent colors on paper to create vivid paintings. Every color has three qualities
Other Questions
Which statement best summarizes the writers claim?Californians should not have to drink recycled wastewater, even in a drought.Governor Jerry Brown was right to impose water restrictions on Californians.California may have a hard time convincing residents to drink recycled wastewater.There are various technologies that can supply Californians with water during a drought. 20 Points!!!!!What was significant about Jefferson's 1801 inaugural address?A. It was used to explain why the Federalists were bad leaders.B. It was used to call for a more fair election process. C. It was used to unify the nation. D. It was used to suggest that political parties were bad for the nation. The function f(x) goes through the point (1, 8). What point will this translate to in the function f(x) = (x - 4) + 5? (5, 13) (-3, 3) (5, 3) (-3, 13)BRAINLIEST An ammeter has azero offset error This fault will affect this music group had electric guitars but didnt have epic guitar solos like the rock bands of the 1970s and 80s. with lead singer eddie vedders strong yet raspy voice, the band __________ produced hits like even flow, black, and alive. composition on photosynthesis what is most likely to occur when the sun, moon, and earth are aligned in a relatively straight line? The question is in the picture pls help!!!!! Based on this excerpt of dialogue, what is Aunt Polly'sfear? Ann got a 30 year Fully Amortizing FRM for $1,000,000 at an annual interest rate of 7% compounded monthly, with monthly payments. After 5 years of payments, Ann can refinance the balance into a 25 year Fully Amortizing FRM at an annual interest rate of 6% compounded monthly, with monthly payments. Refinancing will cost Ann 1 point and $1, 500 in closing costs.If Ann refinances into this loan and makes payments for 25 years, what will be her annualized IRR from refinancing? Solve each system by elimination10x-8y=4-5x+3y=-9 The sum of three consecutive odd numbers is 99.What is the smallest of the three numbers ? in what year was the first aicpa conference on current sec developments held? GRAMMATIK Exercise 1:Enter the verbs mgen, schmecken or gefallen in the correct form. 1. _______ du das neue Modegeschft in der Berliner Strae? 2. Wie _______ dir der Apfelstrudel? 3. Diese Schuhe _______ mir nicht, sie sind zu elegant. 4. Mein Freund _______ Krimis. 5. Der Kaffe _______ meiner Schwester nicht; er ist zu s. 6. A Wie _______ Ihnen die Hose? Ihnen die Hose? B Die Hose _______ mir nichtExercise 2:Chose the correct pronome. 1. Kann ich Sie/thnen helfen? 2. Das Kleid steht mich/mir gut. 3. Die Schuhe gefallen ihr/sie nicht. 4. Wie gefllt dir/dich der Pullover? 5. Das T-Shirt passt ihm/ihn nicht. 6. Knnen Sie mir/mich bitte helfen? Exercise 3: Write thephrases to the imperative conjugated to the person indicated among parentest 1. das T-Shirt kaufen (du) 2. einkaufen gehen (wir) 3. die Hose anprobieren (Sie) 4. das Deutschheft 5. ins Zentrum fahren (wir) 6. zur Schule gehen (ihr) 7. kein Geld ausgeben (Sie) 8. den Text lesen (ihr) The head of the neighborhood in which you live decided to demolish the public garden in the neighborhood and build residential buildings. Write an administrative letter to the head of the neighborhood objecting to this decision. 120 to 140 words The diagram shows a square pizza box with side lengths of 12 inches. In the box is a circular pizza with a radius of 5 inches. What is the difference between the area of box and the pizza?Use = 3.14 and round your answer to the nearest hundredth. What happens that threatens the annex residents' safety?Peter is caught downstairs by one of the warehouse workers.Burglars again break in, and they may have seen Mr. Van Daan, Peter, and Mr. Frank.The police arrive and discover the hidden staircase to the annex.Dr. Dussel insists on visiting his ailing mother. What is XX and XY? And which are their differences? DNA and RNA are ______ that serve as templates that form proteins can someone help me with this document based question 7th grade