1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Elodia [21]
3 years ago
13

In most cases, it is possible to prevent an exception from terminating a program by using the try and except statements. Select

one: True False
Computers and Technology
1 answer:
Murrr4er [49]3 years ago
3 0

Answer:

True

Explanation:

Try and except statements (pseudo code) or try and catch (java, c++, etc)

is for error handing. The try and except "handles errors" If encountered an error, the try and except will try to "handle" the error and let the program continue running.

You might be interested in
Please write an Introduction on intrusion detection system and prevention system<br> PLEASE
77julia77 [94]

Answer:

An Intrusion Detection System (IDS) is a system that monitors network traffic for suspicious activity and issues alerts when such activity is discovered. It is a software application that scans a network or a system for harmful activity or policy breaching. Any malicious venture or violation is normally reported either to an administrator or collected centrally using a security information and event management (SIEM) system. A SIEM system integrates outputs from multiple sources and uses alarm filtering techniques to differentiate malicious activity from false alarms.

6 0
2 years ago
How to open microsoft word
miss Akunina [59]

Answer:

In Windows 10 press the start button.

Then type <em><u>'Microsoft Word'.</u></em>

Next you will see an <u><em>Open</em></u> option, press that.

Now your <em><u>'Microsoft Word'</u></em> is ready.

Explanation:

4 0
3 years ago
Read 2 more answers
My current lesson is The Excel Screen and Worksheets and the question is:
Usimov [2.4K]
I can't tell you the answer without a picture, but to find the answer yourself: Go straight up from the cell containing 'Activity Questions' this will tell you a letter such as B. Go directly across to the left of the cell containing 'Activity Questions' this will tell you a number such as 3. The name of the cell I used as an example would be called B3.
3 0
4 years ago
Before making a dish, we want to check whether we already have the necessary ingredients in our pantry or whether we need to go
Leona [35]

Answer:

class Pantry(AD):

              def __init__(self, ingredients):

""" We initialize the Pantry class by passing the ingredients that were passed in to the initializer for the superclass AD"""

              super().__init__(ingredients)

              def needed_ingredients(self, recipes):

""" Given a list of recipes, computes which ingredients to buy, and in which quantity to be able to make all recipes. Can be implemented in 10 lines of code."""

              # define the object new_pantry to contain the ingredients needed

               new_pantry = Pantry({})

                ingredients_present = self

                # loop over the recipes in the list

                for recipe in recipes:

                        # convert ingredients of recipe from AD to Pantry

                        ingredients = Pantry(recipe.ingredients)

                        # subtract the recipe's ingredients from ingredients_present

                          ingredients_present = ingredients_present - ingredients

                        # loop over the ingredients_present for key in ingredients_present:

                       # if any ingredients's quantity < 0, add it to new_pantry

                                                           if ingredients_present[key] < 0:

# check if ingredient is present in new_pantry, add the quantity to existing quantity

                                                               if key in new_pantry:

                                            new_pantry[key] += -1*(ingredients_present[key])

else: # if ingredient is not present in new_pantry, make a new entry for the ingredient

                                               new_pantry[key] = -1*(ingredients_present[key])

ingredients_present[key] = 0      # set the quantity of the ingredient in ingredients_present to 0

Explanation:

I believe everything else is provided in the question.

Copy all the details you were provided in the question as it is and add the needed_ingredients in the Pantry class.

If you are getting any assertion error, Update the code to set the negative quantities in ingredients_present to 0

6 0
3 years ago
Because information listed on a website can change from day to day, _______ must be included in the end citation on the Works Ci
hichkok12 [17]
The URL has to be at the end
8 0
3 years ago
Other questions:
  • After creating an organizational strategy based on porter's models, a company can?
    14·2 answers
  • Pls help brainliest
    12·1 answer
  • Web 2.0 has led to a shift just from consuming content towards what
    6·1 answer
  • As you begin to develop a software application, what is one of the most helpful tools to ensure a quality product?
    12·1 answer
  • Which of the following statements about software licensing are true? Select 3 options.
    5·1 answer
  • When investigating the serial position curve, delaying the memory test for 30 seconds
    10·1 answer
  • What extra dimension do 3D objects have that 2D objects do not have?<br><br> help
    7·1 answer
  • Guys please tell me which cable is this?
    12·2 answers
  • Write a function assoc_list(l) that, given a list l, returns a list of tuples where the first integer represents the element of
    9·1 answer
  • the handles the overall activity of the computer and provides services such as memory management, input/output activities, and s
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!