Which statements are true? Select 4 options.

A class variable can be a different type of class.

A class variable can be a list of instances of a different class.

An instance of a class cannot be changed after it is created.

Functions defined in a class are called methods.

Variables defined in the constructor of a class can be accessed by the main program that uses instances of the class.

Answers

Answer 1

Answer: All of the answers are correct EXCEPT "An instance of a class cannot be changed after it is created.

Explanation: I've done the problem. Also, if you have an instance of a class, you can no longer change it. It is frozen in time as that one instance. If had a class defining pets and you made an instance dogA where the pet was a brown medium sized dog, dogA would always be a brown medium sized dog. I think, at least.

Answer 2

Answer: A class variable can be a different type of class.

A class variable can be a list of instances of a different class.

Functions defined in a class are called methods.

Variables defined in the constructor of a class can be accessed by the main program that uses instances of the class.

Explanation:

got it right on edgen


Related Questions

What device is required to connect to the Internet?
O Wi-Fi
O an ISP
a router
a modem​

Answers

Answer:

modem

Explanation:

The primary piece of hardware you need is a modem. The type of Internet access you choose will determine the type of modem you need. Dial-up access uses a telephone modem, DSL service uses a DSL modem, cable access uses a cable modem, and satellite service uses a satellite adapter.

Answer:

D

Explanation:

Edg 2021

How can internet affect business area? 


Answers

The communication between customers and businesses increases customer satisfaction and businesses are able to connect to the customers. it lets businesses go further to expand their service or product which can increases profit.

Using 20 sentences, as a student, why is it important to identify risk and hazard inside kitchen and home and business properties?

Answers

Answer:

The answer is below

Explanation:

Hazard is something or condition that can cause injury to individuals. If properties are not managed appropriately, the hazard can be inevitable. Every hazard comes with its own risk. And Risk of hazard is the degree to which hazard can affect individuals when exposed to hazards.

Identifying hazards in the surrounding are essential. Also, identifying the risk associated with hazards can't be overemphasized. Hence, the need to identifying both the hazards and the risks associated with it.

There are various reasons it is important to identify risks and hazards inside kitchen and home and business properties. They include the following reasons:

1. It is important to identify hazards in the kitchen, home, and business properties because they may cause injury.

2. Identifying hazards will make us know how to eliminate the hazards

3. When we identify hazards we can easily prevent its future occurrence

4. Identifying hazards in the kitchen such as a bad electric cooker can prevent potential electrical shock

5. When a hazard such as leaking gas is identified, we prevent potential fire outbreak

6. Identifying hazard early is a preventive measure and it is cheaper.

7. Failure to identify hazards in business properties will lead to a great loss of profits.

8. To identify the risk of hazards is the best way to eliminate the hazards.

9. Identifying the risk of hazards can make us anticipate and quickly remove the hazards effectively.

10. It is cheaper to eliminate the risk of hazards when identified than performing repairs after hazards have caused damages.

11. Understanding and identifying the risk of hazard can help save lives, whether kitchen, home, or in business properties.

12. Identifying the risk of hazards, can lead us to have a solution in place against the hazard.

help me i dont understand REAL ANSWERS PLS

Answers

Answer:

it's answer is B

hope it helps you

Write a java program to read elements in an array from user and count total number of duplicate elements in array.

Answers

Answer:

Explanation:

The following code is written in Java and is a function/method that takes in an int array as a parameter. The type of array can be changed. The function then creates a counter and loops through each element in the array comparing each one, whenever one element is found to be a duplicate it increases the counter by 1 and moves on to the next element in the array. Finally, it prints out the number of duplicates.

public static int countDuplicate (int[] arr) {

               int count = 0;

               for(int i = 0; i < arr.length; i++) {

                       for(int j = i + 1; j < arr.length; j++) {

                               if(arr[i] == arr[j])

                                       count++;

                       }

               }

               return count;

       }

Why does it matter if a network is set up as a LAN, or a WAN?

Answers

Answer:

A small office or business will typically only need a LAN. The local network will ensure that different files can be transferred through your office leading to a connected business environment. If you have a larger business or multiple branches, that's when you're going to need a WAN. -Google.

Answer:

A small office or business will typically only need a LAN. The local network will ensure that different files can be transferred through your office leading to a connected business environment. If you have a larger business or multiple branches, that's when you're going to need a WA

Explanation:

Which graph or chart shows changes in the value of data?

a
Bar graph

b
Column chart

c
Line graph

d
Pie chart

Answers

Answer:

Bar graph and Pie chart

Answer:

C And D

Explanation:

edge2020 users

Read the following scenario. How might Sarah correct successfully complete her task?
To permanently remove a file from her computer, Sarah doubled-clicked on the My Computer icon and searched for her
file under the “Uninstall or change a program" menu option. A

Answers

Answer:

Explanation:

A: To permanently remove a file from her computer, Sarah doubled-clicked on the My Computer icon and searched for her file under the “Uninstall or change a program” menu option.

or

b: empty the recycle bin : You can permanently delete a program file installed in the computer by following the procedure in option A. The option above will take you to the control panel and you'll be able to select the program you'd want to permanently remove. If you had initially deleted a file like a picture or a document or anything else that you necessarily do not need, it will go to recycle bin. You can head over there and select the Empty the Recycle Bin option to permanently delete the file.

Whenever you are designing a project for commercial use (making money) and need to use photographs with people in them you must obtain a__________release.

Answers

Answer:

Copyright

Explanation:

how are web design & web development different from each other?

Answers

Answer:

Developers are people who build a website's core structure using coding languages, while designers are more visually creative and user-focused. Developers use their programming knowledge to breathe life into the designer’s creative vision.

You could think of developers as construction workers, and web designers as architects – both necessary, but different, skill sets.

I hope this helped :D

Explanation:

Which view is most often used to reorder slides in a presentation that has already been created?

Outline view
Slide Sorter view
Reading view
Normal view

Answers

Answer:

Normal view

Explanation:

The normal view is best used because it is just to drag and drop

Normal view, is most often used to reorder slides in a presentation that has already been created. Thus, option (d) is correct.

What is presentation?

The term presentation refers to the present on the information in the front of the audience. The presentation was the present the information in the short way and the face to face communicated to the audience. It was the interaction to the audience. The presentation is the two way communication.

The normal view in Microsoft PowerPoint is the default view for developing and viewing presentation slides. You'll be creating your slides in normal view, which is the editing mode, the most of the time. Unless you altered the default view, when you create or open a presentation you see it in normal mode.

As a result, the significance of the normal view is most typically used to reorder slides in a presentation that has already been created are the aforementioned. Therefore, option (d) is correct.

Learn more about on presentation, here:

https://brainly.com/question/28712294

#SPJ3

What is output? Select all that apply.
C=0.
while (c < 5):
c = c + 1
print(c)

Answers

Answer:

Since we didn't print it at the beginning, we can assume that the program will start printing to the console at the number: 1. After that, it continues right before hitting 5. Proving the output of the program will be the following:

1

2

3

4

state the functions of all the parts of the computer​

Answers

Answer:

Parts of a computer with their functions

The computer case. This is the part that holds all of the internal components to make up the computer itself. ...

Motherboard. ...

CPU: Central Processing Unit. ...

RAM: Random Access Memory. ...

Graphics Card. ...

Sound Card. ...

Hard Drive. ...

SSD: Solid State Drive.

Explanation:

Four students measured the mass of a piece of metal whose accurate mass is 34.75g. Their results are 34.2g, 33.75g, 35.0g, and 34.69g. Explain whether the results are precise or accurate​

Answers

Answer:

The given data are more precise than they are accurate

Explanation:

From the given measurements, we have;

The accurate mass = 34.75 g

The deviations from the accurate measurement is as follows;

34.2 g - 34.75 g = -0.55 g

33.75 g - 34.75 g = -1 g

35.0 g - 34.75 g = 0.25 g

34.69 g - 34.75 g = -0.06 g

For precision measurement, we find the average deviations as follows;

The sum of the deviations = -0.55 g - 1 g + 0.25 g - 0.06 g = -1.36 g

The average deviation = -1.36 g/4 = -0.34 g

For accuracy measurement, we find the average of the absolute deviations as follows;

The sum of the absolute deviations = 0.55 g + 1 g + 0.25 g + 0.06 g = 1.86 grams

The average absolute deviation = 1.86 g/4 = 0.465 g

Therefore, the magnitude of the average deviation is less than the magnitude of the absolute deviations, therefore, the given data are more precise than they are accurate

Which scenarios are examples of students managing their time well? Check all that apply. A student studies while watching her favorite television shows. A student sets aside time to study every afternoon at his desk. O A student writes down some goals that she hopes to achieve in school. A student drafts a study schedule that includes breaks. A student uses her desk calendar to record the due dates for her homework assignments. O A student rushes through his homework while sending text messages to friends. 3). Intro​

Answers

Answer:

b,c,d, and e

Explanation:

Hope this helps

Answer:

BCDE

Explanation:

EDG 2021

what is multimedia computer system​

Answers

A Multimedia can be defined as any application that combines text with graphics, animation, audio, video, and/or virtual reality. Multimedia systems are used for security to keep intruders out of a system and for the protection of stored documents

What is a frame injection attack in a wireless network?

A. A hacker inserts a forged frame during data transmission.

B. A hacker creates a botnet to flood a particular website.

C. A hacker sniffs data packets from a data transmission.

D. A hacker deletes frames during a data transmission.

The answer is A.

Answers

Answer:

A.Un hacker introduce un cadru fals în timpul transmiterii datelor.

Explanation:

A - a hacker inserts a forged frame during data transmissions

write a program which calculates the difference between two integers which are entered by the user. The answer should be a positive integer regardless of the order in which the integers are entered. ​

Answers

In python 3.8:

print(abs(int(input("Enter a number: "))-int(input("Enter a number: "))))

Can you please help me with the AP Computer Science Fill in the blank. What goes on number 5 8 and 18. I don’t understand this I need help programming.

Answers

Answer:

you can probably just delete them. what programming language is this?

Most portable devices, and some computer monitors have a special steel bracket security slot built into the case, which can be used in conjunction with a:

Answers

Answer:

Instead of using a key or entering a code to open a door, a user can use an object, such as an ID badge, to identify themselves in order to gain access to a secure area. What term describes this type of object?

Explanation:

what is wrong with this picture?????

Answers

“you got a tight little-“

uhm y’know everything is wrong with it terrifying really is uhm but yeah.

oh god that leg tho

plzz help me with this question.........

Write a program to input a number find the sum of digits and the number of digits. Display the output

sample input - 7359
sample digits - 24
number of digits - 4​

Answers

Answer:

str = input("Enter a number: ")

sum = 0

for c in str:

   sum = sum + int(c)

print("Sample input - {}".format(str))

print("Sum of digits - {}".format(sum))

print("Number of digits - {}".format(len(str)))

Explanation:

That's python. Was that what you were looking for?

Answer Using Java :-

import java.util.*;

public class Digit

{

public static void main(String args[ ] )

{

Scanner in=new Scanner (System.in)

System.out.print("Enter a number: ");

int n = in.nextInt();

int sum = 0, count = 0;

while (n!=0)

{

int d = n % 10;

sum + = d;

count++;

n /= 10;

}

System.out.println("Sum of digits=" +sum);

System.out.println("Number of digits=" +count);

}

}

Select the best answer from the drop-down menu. Sometimes people feel threatened by new ideas and different ways of doing things. This results in . conflict is resentment that a person is experiencing but doesn't express. conflict is the behavioral or action stage of conflict. This is often characterized by negative actions. Conflict can arise in the workplace because of personality issues, cultural differences, and .

Answers

Answer

Conflict

Latent

Manifest

Religious beliefs

Explanation:

Debugging is finding and fixing problems in an algorithm or program. True
or False.
False
True

Answers

The correct answer is True

Debugging is finding and fixing problems in an algorithm or program is True statement.

Debugging is indeed the process of finding and fixing problems, errors, or bugs in an algorithm or computer program.

When a program does not produce the expected output or behaves unexpectedly, programmers use debugging techniques to identify and resolve the issues.

This involves analyzing the code, checking for syntax errors, logical errors, and unexpected behavior, and making the necessary corrections to ensure the program functions correctly.

Thus, the given statement is True.

Learn more about Debugging here:

https://brainly.com/question/9433559

#SPJ6

Which sentence best describes how block-based code works?

Answers

Answer:

Block-based code is a simpler way to code.  

Explanation:

Block-based coding is a form of programming language where the developer issues instructions by dragging and dropping blocks.

help plz i need help ASAP
bhgydhusjbhhuidjs

Answers

Answer:

id.k

Explanation:

good luck

choose the type of error described. can you help me bc i don’t know??

Answers

Answer:

logic error occurs when the result is wrong...

syntax error occurs when you use the wrong punctuation...

runtime error occurs when the program starts running...

Answer:

Logic error: When the computer outputs an undesirable value due to the wrong use of operations.

Syntax error: Occurs when syntax is not used correctly in code.

Zero division error: Occurs when a value is divided by zero.

Hope this helps :)

How will Artificial Intelligence change the way we do things? .......C-Claim:
Write a statement that responds to the question.
Your answer

Answers

Answer:

hey i hope someone will help you

it was field day for the upper grades at Rock Creek School,
Each grade had to choose a team name and a color for their tee-shirts,
Use the clues below to figure out what each grade chose for their team name and tee-shirt color, each grade can chose one color and one team name.

- The third and fifth grades didn't choose an animal for their team name.

-The forth grade ended up with red tee-shirts with sharks on the.

-The fifth graders and tornadoes are not wearing teal.

-The bears are wearing green.

​​

Answers

Answer:

its c

Explanation:

WILL GIVE BRAINLIEST!! If a flowchart has a diamond with the words “yes” and “no” to the sides of it, then it is representing a program that is a sequence.
true
false

Answers

Answer:

false

Explanation:

a flowchart with a diamond and with the words “yes” and “no” to the sides of it, then it is representing a program with branches.

it represents branch, like an if , else statement.

It is not in sequence.

Answer:

True

Explanation:

Other Questions
If you restate a quote in your own words but do not cite your source you can be rightfully accused of Read the incomplete summary from the passage.Mrs. Spring Fragrance and her husband areChinese immigrants living in Seattle. Shebefriends her neighbors' daughter, Laura,who is in love with a man Laura's familywould not approve. Mrs. Spring Fragrancerecites two lines of poetry to cheer up Laura.Mr. Spring Fragrance overhears theirconversation.Select two sentences needed to complete anobjective summary of the passage.A It is the Spring Fragrance's fifth weddinganniversary, and Mr. Spring Fragrance iseager to celebrate with his wife.B Mr. Spring Fragrance discusses themeaning of the verse he overhears with ayoung man who lives next door.C Unaware that her husband is listening,Mrs. Spring Fragrance continuesdescribing the enjoyable walk she tookearlier in the morning.D The contrast between his and Mrs. SpringFragrance's opinions of the verseillustrates their differences. Wisconsin V Yoder 1972 1. In Justice Burgers majority opinion, he makes several assumptions regarding the plaintiffs actions. 2. Describe Burgers assumptions regarding the States responsibility for the education of its citizens.3. What other factors does Burger claim must be considered when mandating education requirements? 4. Explain the basis of Yoders claim that Wisconsins compulsory education requirements violated their First Amendment rights.5. Explain the Courts reasoning as to why Wisconsin believed that it could compel school attendance in this situation.PART II: EXPLAINING THE DECISION6. What was the Supreme Courts ruling in Wisconsin v. Yoder, 1972?PART III: EXPLAINING DISSENTS AND CONCURRING OPINIONS7. What was the primary point of Justice Douglas; dissent (in part)?PART IV: MAKING CONNECTIONS8. Briefly explain other Supreme Court cases concerning issues presented in Yoder.PART V: CRAFTING AN ESSAY9. Using your responses to the questions above, develop an essay describing the context of the case, explain the reasoning for the majority decision, explain the reasoning of concurring [and dissenting] Supreme Court decisions, and explain similarities and differences among related Supreme Court decisions and opinions. Please help me asap!!!How is the Western expansion of the U.S. and Imperialism similar? Bridget has swimming lessons every fifth day and diving lessons every third day. If she had a swimming lesson and a diving lesson on January 5, when will be the next date on which she has both swimming and diving lessons? Keith and his 6 friends are taking a trip. The total cost of the trip is $1,145.55. The total cost of the tickets for the amusement park was $341.25. The total cost of three hotel rooms was $454.65. The total cost for the show they were going to see was $153.65. The rest of the money they paid was used to purchase gas for their trip. Use this information to answer the questions below. HELP ASAP!!!! WILL GIVE BRAINLIEST!What is the function of mitochondria? 10 points and brainliest for the CORRECT answer. I'm only giving brainliest after I take the test and know its right.Part AIn How a Cat Played Robinson Crusoe, what inference can be made about the cat? She learns to love the island more than her human family. She will continue to hunt even after she is reunited with her human family. She prefers living with her human family to living alone. Living alone on the island changes how she feels about her human family.Question 2Part BWhich evidence from the text best supports the inference in Part A? And she herself, in being forced back upon her instincts, had learned to be contented. she went racing across to the landing placeto be snatched up into the arms of four happy children at once the young grass alive with nesting birds, the prisoners life became almost pleasant in its easy abundance. From now on, her life in the winter wild, though strenuous, was no longer one of any terrible hardship. Slope from graph 2Find the Slope! 3x + y = 2x 2y = 10 Someone help me A $400 table is on sale for 33% off. There is a 6.8% sales tax. How would you find the final price of the table? y varies directly with x. If x = 6 and y = -12 what is y if x = -3Type your answer... 1) -1 = x 52) -5x + 2 = 17PLS ANSWER PLS PLS PLS What figurative language element are the examples below? I went to thestore, parked the car and bought a pizza.* The measures of the angels of a triangle are show. In the figure below solve for x Plz help me this is due in 20 minutes, Name several issues in your commutiny that are best addressed locally rather than by the Federal Government. A bus travels 20km in 30 min what is the average speed of the bus According to the article, which statement about the Harlem Renaissance is MOST accurate? SELECT AN ANSWER The Harlem Renaissance was about musical expression. Not all artists and creatives wanted to be a part of the movement. Northern cities like Chicago and Cleveland were major players in the era. The participants all joined together to create the Harlem Renaissance movement. what is the solution for x in the question? -4 +5x-7 =10+3x-2xx =4/13x =4/21x =21/4x =13/4 3Correct answer I will put as brainiest