11
Fourth part
nd return
Third part
except TooWide:
print("Your luggage will not fit in the overhead bln.")
21
class TooWide (Exception):
pass
11
try:
11
if width> 30:
else:
answer input('How wide is it?')
width= float(answer)
raise TooWide
Save and Exit
print("Have a nice tript")
Next

Answers

Answer 1

'How wide is it?' input height = float (answer) try: if width exceeds 30, raise TooWide If not, print "Have a good vacation!" excluding TooWide print("Your luggage will not fit in the overhead bin") ("Your luggage will not fit in the overhead bin.")

What is Computer programme?A series of instructions written in a programming language for a computer to follow constitutes a computer programme. Software, which also contains documentation and other intangible components, includes computer programmes as one of its constituents. The source code of a computer programme is what can be read by humans. A programme is a set of instructions that a computer can carry out. Programs are logical, well-organized, and written in a language that computers can understand.Computer programmes include MS Word, MS Excel, Adobe Photoshop, Internet Explorer, Chrome, and others. In order to create graphics and special effects for movies, computer applications are used.

Except for Python, your application serves as an example to try.

A comparable except statement is what the Python interpreter anticipates when it encounters a try statement.

Thus, the full programme is:

class TooWide(Exception): pass

answer = input('How wide is it? ')

width = float(answer)

try:

    if width > 30:

          raise TooWide

    else:

          print("Have a nice trip!")

except TooWide:

    print("Your luggage will not fit in the overhead bin.")

To learn more about Computer programme, refer to:

https://brainly.com/question/27359435

#SPJ1

Answer 2

It appears that the text provided is a code snippet in Python programming language. Line 11 appears to be a loop of some sort, possibly a try-except block.

What these programming lines explains about?The loop is trying to check if the width of an object is greater than 30. If it is, it raises an exception called Too Wide.Line 21 defines the Too Wide exception as a class.Line 11 is again a try-except block, it tries to check the width of the object, if it's greater than 30 it raises the Too Wide exception, otherwise it prompts the user to input the width of the object and assigns it to the width variable.Line 11: The code saves and exits the program.Line 11: The code prints "Have a nice trip" as the final statement.

To learn more about python program refer:

brainly.com/question/26497128

#SPJ1


Related Questions

This information provides a narrative name of the services provided. This information should be presented in a clear concise manner. When possible, the narratives from the HCPCS/CPT book should be utilized.
A. general ledger key
B. charge code
C. item description
D. revenue code

Answers

A. General Ledger Key: An accounting mechanism for keeping records.

B. Charge Code: A code that is used to specify what goods and services.

C. Item Description: A thorough explanation of a good or service.

D. Revenue Code: A password used to specify how much money was made.

Just what is code?

Any collection of code written in a human-readable programming language, often as plain text, with or without comments, is referred to in computing as source code, or just code. Programmers describe the activities to be carried out by a computer in large part by writing source code, so the source code of a software is specifically created to make their work easier. An assembly or compiler frequently converts the source code into executable binary machine code.

To know more about code
https://brainly.com/question/17204194
#SPJ4

draw a diagram of fetch /decode/execute/interupt

Answers

Answer:

Explanation: Here you go

One way to avoid sending an unprofessional email to an instructor is to use ______.
A. emoticons
B. proper grammar
C. colorful fonts
D. slang

Answers

Answer:

B proper grammar

Explanation:

Using proper grammar makes an email more professional

TRUE OR FALSE sysinternals is a collection of commercial software utilities from several vendors that is bundled and sold as a suite to support specialists.

Answers

The given statement "sysinternals is a collection of commercial software utilities from several vendors that is bundled and sold as a suite in order to support specialists" is false because it incorrectly specifies that sysinternals is sold by multiple vendors.

Sysinternals is a free suite of cybersecurity tools for Windows users that help them manage, troubleshoot, and diagnose their Windows systems and applications. In other words, sysinternals is a suite consisting of more than 70 freeware that is used to monitor, manage and troubleshoot the Windows operating system, which is free and owned by Microsoft.

Therefore the given statement is false because it states sysinternals suit is not free and owned by multiple vendors.

You can learn more about Microsoft at

https://brainly.com/question/28167634

#SPJ4

Given :an int variable k,an int array currentMembers that has been declared and initialized ,an int variable nMembers that contains the number of elements in the array ,an int variable memberID that has been initialized , anda bool variable isAMember,Write code that assigns true to isAMember if the value of memberID can be found in currentMembers, and that assigns false to isAMember otherwise.Use only k, currentMembers, nMembers, and isAMember.isAMember=false;for (k=0; k

Answers

The code below assigns true to isAMember if the value of memberID can be found in currentMembers, and assigns false to isAMember otherwise.

The value of memberIDThe code uses a loop to iterate through the array of currentMembers and checks whether the value of memberID is equal to any of the elements in the array. If a match is found, isAMember is set to true, otherwise it is set to false.

for (k = 0; k < nMembers; k++) {

   if (currentMembers[k] == memberID) {

       isAMember = true;

       break;

   }

}

if (k == nMembers) {

   isAMember = false;

}

The given int variable k, int array currentMembers, int variable nMembers, int variable memberID, and bool variable isAMember can be used to assign true to isAMember if the value of memberID can be found in currentMembers. To do this, first the isAMember variable is assigned false.Then, a for loop is used to iterate over the array currentMembers. For each element in the array, if the element is equal to the value of memberID, the isAMember variable will be assigned true, and the loop will be terminated.If the loop completes without finding an element equal to memberID, isAMember will remain false. After the loop completes, the value of isAMember will indicate if the value of memberID was found in currentMembers.

To learn more about the value of memberID refer to:

https://brainly.com/question/15392924

#SPJ4

question 1 question a student has created a book class. the class contains variables to represent the following. an int variable called pages to represent the number of pages a boolean variable called ishardcover to indicate whether or not the book is hardcover the object story will be declared as type book. which of the following descriptions is accurate? responses an instance of the story class is book. an instance of the story class is book . an instance of the book object is story. an instance of the book object is story . an attribute of the story object is ishardcover. an attribute of the story object is ishardcover . an attribute of the pages object is book. an attribute of the pages object is book . an attribute of the book instance is story.

Answers

In computing, the term Boolean means a result that can only have one of two possible values.

What is a Boolean answer?

A book class that has the boolean variable isHardcover is given. All book objects will have access to this since it is regarded as an instance variable. The object narrative is of type Book by declaration, and as a result, it has the instance variable is Hardcover.

The instance variable in an object is also known as the object's attribute and is one of its data components. A boolean "test" enclosed in parentheses () and a "body" block of statements enclosed in curly braces () make up the simplest of if statements.

Any expression that evaluates to a boolean value, such as true or false, can be used as the test (boolean expressions are detailed below). When used in computers, the term "Boolean" refers to a result that can only be true or false.

To learn more about Boolean refer to  :

https://brainly.com/question/14788808

#SPJ4

which of the following is the correct html code to create a hyperlink that displays click me and links to ?

Answers

The HTML code provided below is the proper one to use when creating a hyperlink that says "click me" and leads to another page.

Click Me

</a>

A section of computer code is described using the tag. The text inside is presented in the monospace font that the browser uses by default.

The HTML element presents its contents with styling that is meant to indicate that the text is a brief section of computer code. The user agent's default monospace font is used to display the content text by default.

Wrapping an element inside another element can be used to represent multiple lines of code. The element alone can only represent a single line or phrase of code.

To override the browser's default font face, a CSS rule can be defined for the code selector. User-defined preferences may take precedence over the chosen CSS.

Learn more about HTML here:

https://brainly.com/question/13384476

#SPJ4

when one computer or piece of software makes a request for information to another computer or piece of software, and the second sends back to the first either the requested information or a message saying the information is not available, we have an illustration of in action.

Answers

This is an example of a client-server architecture. In this architecture, the first computer or software is known as the client, and the second computer or software is known as the server.

What is computer?
Computer is an electronic device that processes data according to a set of instructions and performs calculations, logical operations and other operations to produce useful output. It is used to store, retrieve, manipulate and communicate data. It is used in a wide range of applications, such as controlling industrial machinery, processing financial data and simulating scientific experiments. It has revolutionized the way we work and live by making information readily available and enabling faster decision making. Computer also offers many advantages such as faster communication, easier data processing and increased productivity. It has become an integral part of modern life and is used by businesses, government and individuals in almost every field.

To learn more about computer
https://brainly.com/question/23275071

#SPJ4

A computer or other digital equipment receives instructions from software, which is a set of programs or instructions. It is a group of lines of code assembled into an executable program or application using a particular programming language.

System software and application software are the two primary divisions of software. The system software includes the operating system, device drivers, and other tools required for the computer to operate properly. On the other hand, application software consists of programs created to carry out certain activities or functions, such as word processing, database management, or graphic design.

Software is continuously evolving and improving as technology improves, and it is necessary for computers and other digital devices to accomplish important functions. The software comes in a wide variety of forms, from open-source programs that are freely accessible to proprietary software owned and managed by a particular business or person.

to learn more about software from given link https://brainly.com/question/1022352

#SPJ4

which of the following is true? a turtle object can have any name that follows the naming rules. you can only have one active turtle at a time. if you create a second one, you will no longer be able to access or use the first. python uses a pair of braces to enclose the loop body. a for statement allows us to write program to make decisions.

Answers

A turtle object can have any name that follows the naming rules. You can only have one active turtle at a time. If you create a second one, you will no longer be able to access or use the first.

What is naming rules?

Naming rules are the guidelines for how to select and assign names to objects, systems, applications, and other items within a business. These rules are designed to ensure that all names used are consistent, easy to remember and recognize, and meaningful. Name rules also help to avoid duplication of names, so that different objects can be identified quickly and accurately. Some examples of naming rules include using no more than three words, using only lowercase letters, using specific prefixes and suffixes, and not using offensive language.

Python uses a pair of parentheses to enclose the loop body. A for statement allows us to write programs to execute repetitive tasks.

To learn more about naming rule
https://brainly.com/question/13260054
#SPJ4

Display the Notes pane and add the note Give specific release date for each product to Slide 2. When you are finished switch to Notes Page view.

Answers

On the Design tab, click. Select the Background Format button. Click Fill Pattern. In the fifth row, select the sixth option. Select the Blue, Accent 1 option by clicking the Foreground button arrow.

In PowerPoint, how do I display the notes pane?

Click Normal under the View menu. Choose the slide's thumbnail to begin adding remarks. Your slide will show up below the notes pane.

What does PowerPoint's slide pane do?

The slide thumbnail pane is located on the left edge of the PowerPoint window when in Normal (editing) view. You can quickly transition from one slide to another or between the slide.

To know more about Design visit:-

https://brainly.com/question/14035075

#SPJ4

he joint communications system includes rapid information sharing around the globe, which permits simultaneous, interactive planning. This contributes to (The Role of the Communication System, Page 4): [objective14] [Remediation Accessed :N]

Answers

Rapid information exchange around the world is included in the joint communications system. Planning can be done simultaneously and in real time with strategic agility.

What are C2's guiding principles?

Decentralized, adaptable, and dynamic describe C2. c. Mission directives and plans are succinct, and it is up to subordinate commanders' discretion and initiative to carry them out. The commander in charge of MAGTF activities decides which tasks require personal oversight while following instructions and what order they should be completed in.

What do joint communications systems of the JP 6.0 series serve?

It offers core guidelines and concepts for organizing, carrying out, and evaluating communications system support for joint operations.

To know more about information visit:-

https://brainly.com/question/13870219

#SPJ4

Why choose us?
We are providing opportunities to move your personal or commercial belonging to the new places in an easy
way. Some of our other highlights are:
Good customer support
Highly expert and trained staff
Best packaging solutions
A Licensed company (ISO 9001:2008 Certified)
More than 14 years of industry experience
M

Answers

Answer:

competitive pricing

Flexible scheduling options

Insured and bonded services

Modern equipment and technology

Efficient and timely delivery

Safe and secure transportation

Customized solutions for specific needs

Satisfaction guarantee

These are some of the reasons why you should choose us for your moving needs. Our customer support is top-notch and our staff is highly expert and trained, ensuring that your belongings are in good hands. We offer the best packaging solutions and are an ISO 9001:2008 certified company, which guarantees our commitment to quality. With more than 14 years of industry experience, we have the knowledge and expertise to handle any type of move. We offer competitive pricing, flexible scheduling options and are insured and bonded, giving you peace of mind that your belongings are protected. Our modern equipment and technology, efficient delivery and safe transportation ensures that your belongings will be moved safely and securely. We also offer customized solutions for specific needs and a satisfaction guarantee.

Which of the following is the last connection made when jump-starting a vehicle with jumper cables

Answers

The statement above about how jumpstarting is done by connecting a battery to another battery via jumper/booster cables.

Why is this statement true?

As we know that when a car is in need of a jump-start, it means that the battery of the car is weak or discharged.

The proper charge has been supplied by the battery has been needed to the ignite the engine so the proper battery will then need to be connected. This can be done by use of jumper or booster cables. Once the engine starts, it has been can then charge the weak/ discharged battery.

Thus,The statement above about how jumpstarting is done by connecting a battery to another battery via jumper/booster cables.

Learn more about engine on:

https://brainly.com/question/14094488

#SPJ1

hi is it possible to copy a section from one webpage to another on the same account? i have a working copy that i test out changes for before putting it on the live site and i would prefer not to recreate all the steps on the live site.

Answers

Yes, it is possible to copy a section from one webpage to another on the same account.

How to copy a section from one webpage to another?

One way to do this is to access the HTML code of the webpage you want to copy the section from and then paste it into the HTML code of the webpage you want to copy it to.

This can be done by using a web development tool such as the browser's developer tools. Another way to do this is to use a content management system that allows you to copy and paste sections or templates across pages.

To learn more about Webpage, visit: https://brainly.com/question/28431103

#SPJ4

Which of the following statements correctly describes the relation between an object and the instance variable it stores? (Select multiple)
A) Each new object has its own distinctive set of instance variables
B) Each object has a copy of the instance variables of its class
C) the instance variable of each object are seperate from the variables of other objects
D) The instance variables of each object are stored together with the variables of other objects

Answers

The following statements correctly describes the relation between an object and the instance variable it stores are Each new object has its own distinctive set of instance variables

Each object has a copy of the instance variables of its class the instance variable of each object are separate from the variables of other objects

Option A, B , C are correct.

How do variables work?

Variables do not always have a "quantitative" or numerical meaning. New York or Sydney are examples of text values in the variable city. If it is necessary, we can assign quantitative values in addition to or in addition to the text values; however, we need not assign numbers for something to be a variable. Understanding that variables are not limited to things that can be measured in the traditional sense is also essential.

For example, in a lot of social research and program evaluation, we think that the treatment or program is made up of one or more variables (the "cause" can be a variable). The amount of "time on task," "classroom settings," "student-teacher ratios," and other aspects of an educational program can vary. Therefore, the program itself may be regarded as a variable (which may include a number of sub variables).

Learn more about instance variables:

brainly.com/question/13014011

#SPJ4

4. A shop is having a five-day sale. on Monday, the price will drop by previous day's price. For example price of a product is $20, then the Monday would be $18 (that's 10% original price), and on Tuesday it (that's 10% less than Monday's p Develop a solution that will calcul item for each of the five days, giv price. Test the solution for an item points) Your solution should include: -PAC -Algorithm You will need a "for loop" that iterates each iteration, the item price will be u the sale amount.​

Answers

To iterate through a sequence, use a for loop. This functions more like an iterator method seen in other object-oriented programming languages than it does like the for keyword found in other programming languages.

What is the for loop in Python?

To iterate through a sequence, use a for loop.

This functions more like an iterator method seen in other object-oriented programming languages than it does like the for keyword found in other programming languages.

Every item in a list, tuple, set, etc. can have a different set of statements run once using the for loop.

Example

Print the following for every fruit in a list of fruits:

For x in fruits, print fruits = ["apple," "banana," and "cherry"]

A pre-set indexing variable is not necessary for the for loop.

Via a String, a Loop

Since strings contain a series of characters, they too are iterable objects:

Example

"Banana" is formed by a looping series of its letters:

"banana" for x: print.

To Learn more About for loop refer To:

https://brainly.com/question/19706610

#SPJ1

Suppose you have an LFSR with 6 state bits. The first 12 bits of output produced by this LFSR are 110001101100 80818283848586878889910811 The first bit produced is the leftmost bit and the bit most recently produced is the rightmost bit. a) What is the initial state of the LFSR? Please enter your answer as unspaced binary digits (e.g. 010101 to represent $5 = 0,84 = 1,83 = 0,82 = 1, 81 = 0, 80 = 1). 100011 b) What are the tap bits of the LFSR? Please enter your answer as unspaced binary digits (e.g. 010101 to represent ps = 0, P4 = 1, P3 = 0, P2 = 1, P1 = 0, Po = 1).

Answers

Python program that, given the output values of the xor circuit of the LFSR algorithm, determines the initial estate (seed) and the taps. An image of the answer is attached.

What is LFSR?

Linear feedback shift register it is an algorithm that consists of repositioning the elements of an array, list or string. In the case of a list of bits, each iteration of the LFSR moves each element to the left, replacing the first with a value that is placed at the end, and is calculated using an xor circuit. Here is an example

Python code

def xorCrto(x, y):

   return bool((x and not y) or (not x and y))

def lfsr(seed, tap_position):

   tp = str()

   tp = []

   x = 0

   xor = 0

   first_twelve_digits = str()

   taps = ""

   while True:

       print ("")

       print ("Tap position(",x+1,")= ", tap_position)

       print ("Leftmost bit(",x+1,")=", seed[0])

  #xor circuit call function

       xor1 = xorCrto(tap_position,int(seed[0]))

       if xor1 == True:

           xor = 0

       else:

           xor = 1

       print ("Xor output(",x+1,")=", xor, " (put to rightmost bit position)")

       first_twelve_digits = first_twelve_digits + str(xor)

       taps = taps + str(tap_position)

       seed=  seed[1:]+str(xor)

       print ("State(", x+1, ")=", seed)

       x = x + 1

   #changing the tap position to find the correct result

       if x == 7: tap_position = 0

       if x == 10: tap_position = 1

       if x == 11: tap_position = 0

      #The program stops when the xor circuit produces 12 digits

       if x == 12:

    #Output

           print ("")

           print ("First 12 outputs of xor circuit (all bits that were put to the rightmost position) = ",first_twelve_digits)

           for d in taps:

               if d not in tp:

                   tp.append(d)

           print ("Taps = ",tp)

           break

#Initial State (seed)

seed = '110001'

#taps position

tap_position = (1)

#LFSR with 6 state bits

print ("Initial state = ", seed)        

print ("Tap position = ", tap_position)

lfsr(seed, tap_position)

To learn more about LFSR in python see: https://brainly.com/question/19091159

#SPJ4

represent various contingencies of cyber at december 31, 20x1, and events subsequent to december 31, 20x1, but prior to the issuance of the 20x1 financial statements. for each item, select from the following list of the reporting requirement. reporting requirement a. accrual only b. both accrual and disclosure d. disclosure only n. neither accrual nor disclosure a government contract completed during 20x1 is subject to renegotiation. although cyber estimates that it is probable that a refund of approximately $300,000 $500,000 may be required by the government.

Answers

Disclosure only. The potential refund should be disclosed in the notes to the financial statements with a description of the terms of the contract, the estimated amount of the refund, and an explanation of why the refund is probable.

What is Disclosure?

Disclosure is the process of providing information that is complete, accurate, and up-to-date to interested parties. It’s a form of communication that allows organizations to be transparent, accountable, and honest in the information that they provide. Disclosure is most commonly used in the context of financial reporting, where companies must provide detailed reports of their financial activities and information that is material to investors. In addition, disclosure is also used to ensure fairness, protect consumers, and encourage transparency in other areas such as research and development, public health, and public safety. In general, disclosure is an important tool for promoting trust and accountability between organizations, their stakeholders, and the public.

To learn more about communication
https://brainly.com/question/17998215
#SPJ4

if you were to notice a containment hierarchy with the root jframe on the one hand, or japplet, on the other hand, which of the following would help you distinguish between the two?

Answers

The main difference between a JFrame and a JApplet is that a JFrame is a top-level window with a title and a border, while a JApplet is a special type of Java program that runs within a web browser.

What is web browser?

A web browser is a software application used to access the World Wide Web. It allows users to view webpages, images, video, and other digital media on the internet. Web browsers also allow users to interact with websites through the use of forms, scripts, and other web technologies.

A JFrame is typically used for applications, while a JApplet is used for applets that are accessed from a web page. Furthermore, JFrame has several components such as a menu bar, content pane, and layered pane, while a JApplet does not.

To learn more about web browser
https://brainly.com/question/22650550
#SPJ4

JavaDefine a class named Money whose objects represent amounts of U.S. money. The class should have two instance variables of type int for the dollars and cents in the amount of money. Include a constructor with two parameters of type int for the dollars and cents, one with one constructor of type int for an amount of dollars with zero cents and a no-argument constructor. Include the methods add and minus for addition and subtraction of amounts of money. These methods should be static methods, should each have two parameters of type Money, and return a value of type Money. Include a reasonable set of accessor and mutator methodsas well as the methods equals and toString. Write a test program for your class.Sample OutputEnter·dollar:101Enter·cents:01$101.01Enter·dollar:99Enter·cents:99$99.99addition:$201.00subtraction:$1.02Sample OutputEnter·dollar:5Enter·cents:50$5.50Enter·dollar:8Enter·cents:40$8.40addition:$13.90subtraction:$2.90Sample OutputEnter·dollar:3Enter·cents:10$3.10Enter·dollar:2Enter·cents:99$2.99addition:$6.09subtraction:$0.11

Answers

A class in object-oriented programming is a template that defines the method s and variables in a certain type of object.

What is a class and object?

A class is a blueprint that specifies certain characteristics and actions. An instance of a class with certain attributes and behaviours is known as an object. Memory is not allotted to a class when it is defined. Memory is allotted to an item when it is formed. While objects are tangible things, classes are logical things.

A set of attributes and operations that apply to all objects of a particular type are defined. A class might be an automobile, for instance, with a colour field, four tyre fields, and a drive method. A truck is another closely related class that has some fields in common with cars but is not a perfect match. a group of learners who get together frequently to study the same subject.

To learn more about Class refer to :

https://brainly.com/question/28379867

#SPJ4

question 8 a data analyst previously created a series of nested functions that carry out multiple operations on some data in r. the analyst wants to complete the same operations but make the code easier to understand for their stakeholders. which of the following can the analyst use to accomplish this: A
Argument
B
Pipe
C
Vector
D
Comment

Answers

If the analyst wishes to carry out the same processes but make the code simpler for their stakeholders, they may utilise Pipe to do this.

A transitory software link between two instructions or programmes is simply referred to as a pipe. For the purpose of temporarily storing data and transferring it from one process to another in a single direction, a portion of the main memory is handled as a virtual file. An OS like Unix uses pipes to transfer output from one process to another.

A pipe is a mechanism used in computer programming, particularly in Unix operating systems (OSes), to transfer information from one programme activity or command to another. A pipe exclusively refers to one-way communication, unlike other types of interprocess communication (IPC), which refers to communication between linked processes.

The OS often receives input from a mouse, keyboard, or other input device and outputs it to the display screen.

Learn more about Pipe here:

https://brainly.com/question/15737495

#SPJ4

using up and down arrows, show how the following changes affect the partial pressures of each gas at equalibrium

Answers

Increasing temperature changes affect the partial pressures of each gas at equalibrium.

What is equalibrium?
Equilibrium
is a state of balance between two opposing forces or influences. It is a state of stability in which the variables involved remain constant over a period of time. It is often used in the context of economics, referring to a situation where market supply and demand are balanced and in the absence of external influences, the prices and quantities of goods and services remain stable. In physics, it is a state of a system in which all active forces cancel each other out and the system is in a stable position. In chemistry, equilibrium refers to a state where the forward and reverse reactions occur at the same rate, resulting in no net change. In biology, it is the balance between different organisms in a habitat.

Up arrow for all gases. Increasing temperature increases the partial pressure of each gas in a reaction at equilibrium.

To learn more about equalibrium
https://brainly.com/question/7243533

#SPJ4

Kimberly is trying to understand which of her devices and apps can collect information about her location.
Which of the following statements is true?
a. The search engine could show an advertisement next to the search results for "Terra Mystica", a strategy board game.
b. None of the above
c. Disabling third-party d. cookies in browser

Answers

None of the statements claims concerning Kimberly attempt to identify which of her gadgets and applications are capable of tracking her position.

What geographical information can the app store?

While the user has their phone with them, the app can record every area they visit. Concerns concerning the security of smart home goods (such smart home assistants or smart thermostats) have grown in popularity in recent years.

What information about a user's surfing habits may the analytics website store?

They have the ability to keep track of all the websites a person has visited that include their cookie. The search engine may offer articles from the news sources a better rating if the search results include news articles.

To know more about statements visit:-

https://brainly.com/question/18591190

#SPJ4

a video-streaming service maintains a database of information about its customers and the videos they have watched. the program below analyzes the data in the database and compares the number of viewers of science fiction videos to the number of viewers of videos of other genres. it uses the procedure analysis, open parenthesis, category, close parenthesis , which returns the number of unique users who viewed videos of a given category in the past year. the analysis procedure takes approximately 1 hour to return a result, regardless of the number of videos of the given genre. all other operations happen nearly instantaneously. the program consists of 9 lines. begin program line 1: one word sci fi fans, left arrow, analysis, open parenthesis, open quotation, science fiction, close quotation, close parenthesis line 2: one word genre list, left arrow, open bracket, open quotation, comedy, close quotation, open quotation, drama, close quotation, open quotation, mystery, close quotation, open quotation, romance, close quotation, close bracket line 3: for each genre in, one word genre list line 4: open brace line 5: if, open parenthesis, analysis, open parenthesis, genre, close parenthesis, greater than ampersand, one word sci fi fans, close parenthesis line 6: open brace line 7: display, open parenthesis, genre, close parenthesis line 8: close brace line 9: close brace end program. which of the following best approximates the amount of time it takes the program to execute? a. 1 hour b. 2 hours

Answers

2 hours is approximate amount of time, it will takes the program to execute. Thus, option B is correct.

What is Execute?

Execute is an action that instructs a computer to perform a specific task. It is the last step in the process of running a program, where the program is loaded into the computer’s memory and then executed to perform the desired task. The execution process involves the following steps: loading the program into memory, preparing the program for execution, executing the program, and finally cleaning up after the program has finished. In other words, execute is the process of interpreting a program’s instructions and converting them into actions that the computer can understand and carry out.

To know more about Execute

https://brainly.com/question/30141972

#SPJ4

How to fix the profiles of members who are outside your network have limited visibility. to access more member profiles, continue to grow your network?

Answers

It usually says to connect to people closer to this person so that you can connect with them when you try to click on their profile.

This indicates that they are farther away than third connections. Toggle your profile picture. Select Settings, Visibility, then Edit Your Public Profile from the menu. Toggle Your profile's public visibility to Off to make it invisible to the public. To make certain options invisible, toggle them to Off so they aren't displayed in your public profile. A condensed version of your LinkedIn profile is visible on your public profile. You can establish restrictions on how much of your profile information can be displayed by modifying the public profile settings.

Learn more about connections here-

https://brainly.com/question/14327370

#SPJ4

which of the following functions will enable you to sort your spreadsheet by city (column k) in ascending order?

Answers

You can sort your spreadsheet by city (column k) in ascending order by selecting the option to sort the sheet by column K from A to Z.

Which of the following operations will allow you to order cities in your spreadsheet ascendingly?

Correct. There are two ways to arrange your spreadsheet by city in ascending order. You can use the notation =SORT(A2:R210, 11, TRUE)* to sort data.

How should the sort feature in sheets be used?

Select the desired column, then select a cell within it. Click Data and choose either Sort Sheet by Column, Z-A or Sort Sheet by Column, A-Z (ascending) (descending). We'll choose Sort Sheet by Column, A-Z, for our example. Your option will determine how the document is sorted.

To know more about spreadsheet visit:-

https://brainly.com/question/8284022

#SPJ4

write a void method named mymethod which prints im a void method! (without the quotes). your method should be declared public and static. you can call your method in the programs main method so you can test whether it works, but you must remove or comment out the main method before checking your code for a score.

Answers

public static void mymethod() {

   System.out.println("I'm a void method!");

}

Here is an example of how you could call the method in the main method to test it:

Copy code

public static void main(String[] args) {

   mymethod();

}

Please make sure to remove or comment out the main method before checking your code for a score.

You are given an array arr] of size n. You have to convert the array into a non-decreasing array. You can only remove numbers from the ends of the array. Which of the sets of operations will result in arr being sorted?arr[7]−{4,3,3,8,4,5,2}O Remove 4,3,3,8 from the beginning of the array. O Remove 8,4,5,2 from the end of the array. O Remove 4 from the beginning of the array and 4,5,2 from the end of the array. O None of the above

Answers

To convert the array into a non-decreasing array, Remove 4 from the beginning of the array and 4,5,2 from the end of the array.

What is an array?

An array is a collection of connected data elements that are kept close to one another in memory. It is the most fundamental data structure because the only way to access each data element directly is by using its index number.

For example, it's not necessary to define unique variables for every subject. if we want to keep track of a student's grades in five different subjects. Instead, we can create an array to keep the data elements close to one another in memory.

A student's grades in five different subjects are indicated by an array mark, with the grades for each subject being listed at a particular location in the array.

Learn more about data elements

https://brainly.com/question/18761322

#SPJ4

Which of the following statement(s) would successfully delete all of the employees with the title IT Staff from the employee table?
A. DELETE FROM employee;
B. DELETE FROM employee
WHERE title = IT Staff;
C. DELETE FROM employee
WHERE title = 'IT Staff';
D. DELETE FROM employee
WHERE employee_id = 'IT Staff';

Answers

DELETE FROM employee WHERE title = 'IT Staff';  statement(s) would successfully delete all of the employees with the title IT Staff from the employee table.

Option C is correct.

What is a worker's table?

Every employee is identified by an employee number and basic personnel data are listed in the employee table.

What exactly are DB employee details?

A digital record of both current and former employees is known as an employee database. Contact information, job titles, payroll data, and other employment-related data are examples. The database can be used to manage other human resources functions, identify potential training requirements, and track employee performance.

What's the significance of employee data?

Managers gain a lot from accurate employee data because it gives them an objective view of an employee's work history. Managers are able to carry out their administrative responsibilities more effectively when the information regarding an employee's time spent at the company is regularly updated and evaluated.

Learn more about employee table:

brainly.com/question/29508002

#SPJ4

utilities allow parents to set a variety of limits on their
children's internet usage.
Defragmentation
Firewall
Encryption
Parental control

Answers

Utilities allows parents to set a variety of limit on their children's internet usage.

These utilities are known as parental controls. These are the features that help in monitoring of persons activity on he net. Also then restricting the persons activity.

These programs or software block and filter the harmful sites. Put a time limit on the usage of internet. Recording and reviewing of the child internet history.

It is done to protect the child from the harmful impact of the internet. Like adult content, dark web, harmful person etc. Thus parental control is used.

To know more about the topic please click here.

https://brainly.com/question/27524451

Other Questions
The dealers cost of a car is 85% of the listed price. The dealer would accept any offer that is at least $500 over the dealers cost. Design an algorithm that prompts the user to input the list price of the car and print the least amount that the dealer would accept for the car. C++ When they assess the success of plans and decisions and take corrective action when it's needed, managers are _______.a. designing controlsb. directing a functionc. distributing servicesd. managing a business cycle What are some essential skills needed to help you interact positively with employees or a team of people?. What changed America's policy of isolationism?. after the initial windows server installation processes and logging in as an administrator, which of the following is displayed? t How much is 1 newton?. lowering domestic interest rates can cause the dollar's foreign exchange rate to ____ , resulting in a(n) ____in u.s. exports. the _____________ was not effective as a negotiating forum and was essentially powerless. during the process of photosynthesis energy from the sun is converted in to true/false. one test the text suggests to determine whether a support analyst understands an existing technology well enough is if the analyst can operate the technology correctly without assistance from end users. according to the hiv testing algorithm from the cdc, all of the following statements are true, except: "political systems, the systems of government in nations, differ from country to country. it is important to understand the nature of different political systems and develop an awareness of and appreciation for the significance of national differences. political systems are assessed according to two dimensions. the first is the degree to which they emphasize collectivism as opposed to individualism. the second is the degree to which they are democratic or totalitarian. these dimensions are interrelated and may share certain characteristics."Match the political systems with the countries listed below.a. Chinab. United Statesc. Zimbabwed. Italy in the 1930se. Saudi Arabiaf. France People originally settled along the banks of the Nile to farm and grow food.1. True2. False What is the simplest change that can be made to the budget to produce more saving next month?. A Notary Signing Agent is asked to describe several of the loan terms at a signing appointment. The Notary Signing Agent may: Can the side lengths 5 12 and 13 form a right triangle?. An ad claims that a supplement helps a person lose weight, helps curb appetite to snack less, raises levels of serotonin to make a person feel less hungry, blocks new fat from forming, and increases metabolism to have more energy and burn existing fat. The manufacturer of the supplement published the data from the study of the product.The study of the supplement used 100 subjects between the ages of 20 and 65. Of the 100 participants, 50 were male and 50 were female. Once the participants were selected for the study, each had the visceral fat measured. After all 100 participants were measured, it was determined that each had a measurement of more than 90 centimeters.The testing subjects were divided into two groups. One group of 50 received the supplement and one group of 50 received a placebo. The study lasted for 16 weeks, but after 12 weeks, both groups were given the placebo.After 16 weeks, men in both groups had a slight decrease in body weight. At the end of the study, the group receiving the supplement had reduced visceral fat when compared to the placebo.After reading this data summary, what do you think? Answer the following questions in a post. Each question is worth 2 points. Based on the testing data of the supplement, were any of the product's claims, proven correct? If so, identify the claims.What data led you to that conclusion?Which of the product's claims, if any, were not proven to be correct?What type of testing data would you need to see in support of those claims to believe they were true?When you see a product advertised on social media, how can you determine whether it is making reliable claims? In general, all three key components (history, physical examination, and medical decision making) for the E/M codes in CPT should be met or exceeded whenA new patient is seen in the office. the student explains how conduction is the charging by contact so the uncharged object takes select one type of charge; while induction is the charging without contact so the uncharged object takes select one type of charge. 1. What separates a protest/demonstration from a riot or mob? Is there a defined line? Is it objective? Explain.2. What separates ideas of protection/enforcement and oppression? When does one become another?Feel free to use historical example.