Answer:
returned value is 40.
Explanation:
value = 35, and the function returns value + 5
35 + 5 = 40
Assignment 4 divisible by three
I need a little help. I do not understand what I am doing wrong. I keep getting this message in the picture included.
n = int(input("How many numbers do you need to check? "))
divisible = 0
notdivisible = 0
for x in range(n):
num = int(input("Enter number: "))
if num % 3== 0:
divisible += 1
print(str(num)+" is divisible by 3.")
else:
num % 3== 0
notdivisible += 1
print(str(num)+" is not divisible by 3.")
print("You entered "+str(divisible )+" number(s) that are divisible by 3.")
print("You entered "+str(notdivisible )+" number(s) that are not divisible by 3.")
n = int(input("How many numbers do you need to check? "))
divisible = 0
notdivisible = 0
for x in range(n):
num = int(input("Enter number: "))
if num % 3== 0:
divisible += 1
print(str(num)+" is divisible by 3.")
else:
num % 3== 0
notdivisible += 1
print(str(num)+" is not divisible by 3.")
print("You entered "+str(divisible )+" number(s) that are divisible by 3.")
print("You entered "+str(notdivisible )+" number(s) that are not divisible by 3.")
Answer:
I'm not sure if this is the problem, but you do else: num % 3 == 0. I don't think this should be here. In the else case, it is not divisible by 3, so you only need to add 1 to the notdivisible variable.
Explanation:
The issue is with the line num % 3 == 0 in the else statement. This is a comparison expression that evaluates to either True or False and does not change the value of notdivisible.
What is programming?Computer programming is the process of carrying out a specific computation, typically by designing and constructing an executable computer programme.
Here's the corrected code:
n = int(input("How many numbers do you need to check? "))
divisible = 0
notdivisible = 0
for x in range(n):
num = int(input("Enter number: "))
if num % 3 == 0:
divisible += 1
print(str(num) + " is divisible by 3.")
else:
notdivisible += 1
print(str(num) + " is not divisible by 3.")
print("You entered " + str(divisible) + " number(s) that are divisible by 3.")
print("You entered " + str(notdivisible) + " number(s) that are not divisible by 3.")
Thus, this code should correctly count the numbers that are divisible and not divisible by 3.
For more details regarding programming, visit:
https://brainly.com/question/11023419
#SPJ2
which online note-taking tool allows students to post notes to their desktop for visual cues? web clipping tools electronic flash cards electronic sticky notes online data storage sites
Electronic Sticky Notes is the online note-taking tool allows students to post notes to their desktop for visual cues.
What is Sticky Notes?Sticky Notes are an electronic counterpart of a 3M Post-itTM, a little, colorful piece of paper (usually yellow) that clings to nearly anything. Sticky Notes was originally launched in Microsoft Windows with Windows 7 which allows users to have electronic reminders put on their screen.In Windows 10, go to the Start menu and enter “Sticky Notes.” Sticky Notes will reopen from where you last left them is an additional feature in this windows.. To open a note, tap or double-click it in the list of notes. To start a new note, use Ctrl+N shortcut on the keyboard.To learn more about electric Sticky Notes visit https://brainly.com/question/2701755
#SPJ4
Nadia has found some interesting information on the internet that supports the main idea of a paper that she is writing. She wants to make sure the information she has found is valid and comes from a credible source. What steps can Nadia take to effectively determine if the information she has found online is accurate and valid?
Nadia can effectively determine if the information she has found online is accurate and valid by knowing that the importation gotten from the below factors are valid and credible:
Encyclopedias.Textbooks.Websites that stat with . edu or . org domains.News sources that has first-hand reporting.Research-oriented magazines such as ScienceMag, Nature Weekly etc.Why is a source reliable and trustworthy?The ability to recognize reliable sources is crucial. Understanding depth, objectivity, currency, authority, and purpose are prerequisites for this skill. It is a good idea to assess your source using these five criteria regardless of whether or not it has undergone peer review.
Therefoe, one can say that complete, well-supported hypothesis, argument, discussion, etc. based on solid evidence is a sign of a credible source. scholarly, peer-reviewed books or articles that have been authored by academics for academics. original study with a large bibliography.
Learn more about credible source from
https://brainly.com/question/24266723
#SPJ1
if you type =8 / 2 * 4 + 1 into a cell in a spreadsheet and then press enter, what will appear in the cell?
Answer: 17. In spreadsheet such as Excel and other, we can type directly into the cell the operation “8 / 2 * 4 + 1” and any condition function, formula, or mathematical equation, but we must first place the sign “= “.
Type function into a cell in a spreadsheetWe can insert function into a cell using the menu, proceed as follows:
Choose a cell where the result will be displayedConfigure the selected cell using the “insert” menu tool, then we choose “function” and then select between the “categories” that are shown.Finally, we configure the values, conditionals, mathematical operators, among others depending on the type of function.Below is an image of the spreadsheet that shows the formula and the result.
To learn more about spreadsheet see: https://brainly.com/question/4965119
#SPJ4
as you configure your client for public key authentication, you decide to generate the dsa key pair. you would like to configure the client to automatically provide the private key passphrase when needed so that you do not need to type the passphrase for every new ssh connection to a server. which command should you use in conjunction with the ssh-agent bash command? (enter the command and options as if you are at the command prompt.)
The command that you should use in conjunction with the ssh-agent bash command is: ssh-add ~/.ssh/id_dsa
What does SSH-add ~/ ssh Id_rsa do?SSH's key manager is called ssh-agent. Your keys and certificates are kept there in memory, unencrypted and available for use by ssh. You don't have to type a passphrase each time you connect to a server because of it.
Therefore, the private key password is requested from the user and added to the list kept by ssh-agent using the ssh-add command. When using SSH or scp to access to hosts with your public key, you won't be prompted for your password once you've added it to ssh-agent.
Learn more about ssh-agent from
https://brainly.com/question/29658823
#SPJ1
How do online pharmacies challenge the traditional business model of pharmacies and drug firms
Online pharmacies challenge the traditional business model of pharmacies and drug firms to a larger extent in this modern world of science and technology.
What is the drawback of using an online pharmacy?The drawback of using an online pharmacy is that there is no one you can contact face to face. When patients want to ask questions about the drugs they are taking, it is very difficult for them to reach a licensed pharmacist. For this reason, it may not be possible for patients to access their medication on the same day.
In this era of technology, people want to take their prescriptions along with the delivery of medicines online. This is because they are busier in their lives and do not have time to arrange an appointment with doctors very frequently.
Apart from this, the preparation of drugs also has certain kinds of technology that easy and efficient it's production.
To learn more about Online pharmacies, refer to the link:
https://brainly.com/question/28569528?source=archive
#SPJ1
jolie wants to see a list of, and manage, apps on her android phone. where can she go on her phone to do this?
Jolie wants to see a list of, and manage, apps on her android phone. She can go on her phone to do this in Settings. The correct option is c.
What are applications in phones?
An application, or simply "app," is software that gathers particular functionality into one easily accessible package.
Both the Android and iOS app stores have millions of apps available that provide services (or verticals). from any location. Swipe your screen upward from the bottom to the top. Tap All Apps if it appears. Click on the app you want to launch.
Therefore, the correct option is c, Settings.
To learn more about applications, refer to the link:
https://brainly.com/question/16875474
#SPJ1
The question is incomplete. Your most probably complete question is given below:
App drawer. The dock. Settings. File manager
Create a Python program that ak the uer to enter 3 poitive number. The program hould validate that the character that the uer entered formulate a valid poitive integer and diplay an appropriate error meage if they do not. The program hould ue a equence of conditional (if) tatement to diplay the 3 poitive number in acending order
Answer:
while True:
try:
num1 = int(input("Enter a positive integer: "))
if num1 < 0:
raise ValueError
break
except ValueError:
print("Invalid input. Please enter a positive integer.")
while True:
try:
num2 = int(input("Enter a positive integer: "))
if num2 < 0:
raise ValueError
break
except ValueError:
print("Invalid input. Please enter a positive integer.")
while True:
try:
num3 = int(input("Enter a positive integer: "))
if num3 < 0:
raise ValueError
break
except ValueError:
print("Invalid input. Please enter a positive integer.")
if num1 < num2 and num1 < num3:
if num2 < num3:
print(num1, num2, num3)
else:
print(num1, num3, num2)
elif num2 < num1 and num2 < num3:
if num1 < num3:
print(num2, num1, num3)
else:
print(num2, num3, num1)
else:
if num1 < num2:
print(num3, num1, num2)
else:
print(num3, num2, num1)
which term is not a method for practicing green computing? choices: virtualization, cloud computing, cookies, server workloads moved to off-peak hours, tidal powered servers
To "virtualize" anything is to create a virtual or artificial version rather than the real thing. virtualization term is not a method for practicing green computing.
What is green computing?The design, manufacture, use, and disposal of computers, chips, other technology components, and peripherals in a way that limits the negative impact on the environment, including reducing carbon emissions and the energy consumed by manufacturers, data centres, and end-users, is known as green computing (also known as green IT or sustainable IT). In addition to choosing raw materials with sustainable sourcing, minimising electronic waste, and promoting sustainability through the use of renewable resources are all included in green computing.There is a lot of potential for green computing to be environmentally beneficial. Between 1.8% and 3.9% of the world's greenhouse gas emissions are attributable to the information and communication technology (ICT) industry. Furthermore, data centres now consume 3% of all energy consumed annually, a 100% increase over the previous ten years.To learn more about green computing refer to:
https://brainly.com/question/22879179
#SPJ4
Which type of programming language translates the entire code before running any of the instructions/steps?.
A compiled programming language is a type of programming language that translates the entire code into machine code before running any of the instructions or steps. This machine code can then be executed by the computer directly, without the need for a separate compiler to be run each time the code is executed.
In contrast, an interpreted programming language translates the code into machine code at runtime, meaning that the instructions are executed by the computer as they are encountered in the code. This can make interpreted languages slower than compiled languages, but it also allows for more flexibility and can make it easier to debug and modify the code.
Examples of compiled programming languages include C, C++, and Rust, while examples of interpreted programming languages include Python, JavaScript, and PHP.
a user receives an e-mail warning of a dangerous computer virus and instructing the user to delete files it claims were put there by the virus. however, the files are actually critical system files. which term best describes this scenario?
You gave an example of a hoax when you said that a user would get an email warning them of a deadly computer virus and be told to destroy important system files.
Which of the following describes the best way to stop a shoulder surfing assault from obtaining information? Users must be conscious of their surroundings and prevent others from occupying a space from where they may see what the user is about to enter.Using this software, known as Master boot record ransomware, an attacker could threaten to publish the victim's data online if they refuse to pay a ransom.You gave an example of a hoax when you said that a user would get an email warning them of a deadly computer virus and be told to destroy important system files. A hoax is a message that is intentionally untrue or misleading in order to fool or deceive the recipient.To learn more about Computer virus refer to:
https://brainly.com/question/26128220
#SPJ4
What is the default sprite provided by Scratch?
A.
dog
B.
cat
C.
frog
D.
bird
true or false: the ticketing area is more secure than the area beyond the security check point. (antiterrorism scenario training, page 3) true
False. In an antiterrorism scenario training, the area beyond the security checkpoint is typically considered to be more secure than the ticketing area.
Why is ticketing area not as secure as security checkpoint?This is because the security checkpoint is designed to prevent unauthorized individuals from entering the secure area, and to detect and prevent any potential threats from entering.
In contrast, the ticketing area is generally open to the public and is not as heavily guarded or monitored as the area beyond the security checkpoint. As a result, the ticketing area is considered to be less secure than the area beyond the security checkpoint.
To Know More About Airport Safety, Check Out
https://brainly.com/question/28295545
#SPJ1
Challenge 13 - Create a program to ak the uer their age and if it i between 4 and 16 it hould output
"You are in chool", otherwie output "You are not of chool age"
Answer:
age = int(input("Enter your age: "))
if age >= 4 and age <= 16:
print("You are in school")
else:
print("You are not in school age")
Explanation:
since you didnt mention the program you’re using, im going to answer it using python. if there's anything to amend let me know!
a client creates a packet to send to a server. the client is requesting pop3 service. what number will be used as the destination port number in the sending packet?
Since the client creates a packet to send to a server. the client is requesting pop3 service. The number that will be used as the destination port number in the sending packet is 110.
What is the meaning of port destination?A destination port is the TCP or UDP number used by a program on one side of a communication to receive data from another program on the other end. Port of Destination refers to the location of the port at where the items are to be delivered for collection by the Customer.
Therefore, the location port number can be seen by:
Type "Cmd" into the search bar.Activate "Command Prompt."To view your port numbers, type netstat -a into your terminal.Learn more about data analyst from
https://brainly.com/question/28812440
#SPJ1
For which of the four game elements will you give a detailed description about the challenges that the player will face, such as explaining whether the challenges are people or objects, or both, and describing special obstacles that randomly appear at various levels of the game?
A.
operation
B.
obstacles
C.
outcome
D.
objective
The four game elements that will give you a detailed description about the challenges that the player will face is option D: objective.
What goals does game development have?To bring about creativity and originality in task completion and issue solving. to prepare pupils for group collaboration.
Note that giving the player a clear objective gives them something to aim for. Make sure the player can relate to this motivation.
Therefore, The most crucial component of a game can be its objectives, which determine how the game is won or lost, what the player is instructed to perform in-game, and what the player must do to gain optional Achievements.
Learn more about objective from
https://brainly.com/question/18516671
#SPJ1
You have 20 users who will be bringing their own mobile devices, tablets or laptops to connect to their work data. This will improve productivity, but they are concerned with what control they have over the users' access to corporate data. How will Windows 10 help the company manage users who bring their own devices?
More safe – When it comes to being infected by viruses and malware, Windows 10 is twice as secure as Windows 7 because it was created with security in mind. A deeper integration between Office 365 and OneDrive guarantees the security and portability of your data across numerous devices.
What Windows 10 help the company manage users?They may quickly transition devices into a corporate-managed state from the cloud when you offer them Azure AD Join with automated Intune MDM enrolment.
Therefore, Your staff members can set up their own machines using Windows 10: They can set up corporate access with Azure AD join for corporate devices.
Learn more about Windows 10 here:
https://brainly.com/question/28847407
#SPJ1
ou are preparing to graduate with a degree in photography, and being the extremely organized person that you are, you want to outline the various job options that you could pursue post-graduation. What might this list look like and include? Identify at least five popular types of photography, what they entail, and why they might appeal to you.
As with most professions, photography comes with its own unique set of terms and jargon. Identify at least four different words related to photography, define, and use them in a sentence that expresses their meaning in relation to the field.
Next week, you are managing your first big photography shoot, a Back-to-School shoot for a large company’s website. While excited, you are feeling a bit overwhelmed. In order to calm your nerves and help yourself prepare, you have decided to outline your workflow for the shoot, identifying what your main goals are for each stage of production and which speed and efficiency concepts you will utilize. Share what your outline would include.
Consider the various ways that you communicate on a daily basis with those around you. How do these compare to the types of communication that you anticipate needing to use while working as a photographer? Compare and contrast the types of communication you use in your current life with the types of communication you will use as a photographer, including how verbal and nonverbal communication, as well as memos and other paperwork, might play a role.
You work as a personal assistant for a very high-profile fashion photographer. She has given you her credit card and asked you to equip one of her new studios with every piece of equipment, tool, and accessory that she might need to properly perform her job as a fashion photographer. What should you buy? Discuss why would you choose these items and what they do.
The five popular types of photography are:
Landscape Photography - It captures natural environment and is usually shot in a shot in a horizontal orientation.Wildlife Photography - it captures wildlife in their natural environment.Aerial photography - This is taken from the air.Sports / Action Photography - This involves capturing objects or individuals in motion.Portrait Photography - This involves capturing people and their personalities.What is photography?The word "photography," which comes from the Greek words "photo," which means light, and "graph," which means to draw, literally means "drawing with light." Photography is the process of capturing an image, or a photograph, on a digital electronic or magnetic memory, or on a piece of light-sensitive film.
Everybody's life is greatly influenced by photographs because they help us remember our past and remind us of specific people, places, emotions, and events. They can aid in defining who we are. Many people can be moved by photography, which may result in positive change.
Learn more about photography on:
https://brainly.com/question/27345579
#SPJ1
the act of attempting to acquire information such as user names, passwords, and credit card details by acting as a trustworthy entity in an electronic communication is called
The act of attempting to acquire information such as user names, passwords, and credit card details by acting as a trustworthy entity in an electronic communication is called phishing.
What are the types of social engineering attacks?Generally speaking, cyber attacks often require long periods of planning and intelligence gathering to lay the groundwork. Also, some examples of social engineering attacks include the following:
VishingBaitingTailgatingWater-holingSpear phishingPretextingPhishingQuid pro quoWhat is phishing?In Computer technology, phishing can be defined as a type of cyber attack (social engineering) which involves making an attempt to obtain sensitive user information such as a password, especially by disguising as a trustworthy entity in an electronic communication (email), and usually over the Internet.
In conclusion, a training on phishing attacks is a topic that would benefit many employees and end users.
Read more on phishing here: brainly.com/question/23850673
#SPJ1
(576)8. In to ( )16 ( )8
Answer:
around ()72381 approx
Explanation:
approximately not accurate
major, large city newspaper endorsements often carry important weight, especially in down ballot races for local offices.
True- major, large city newspaper endorsements often carry important weight, especially in down ballot races for local offices.
What is endorsement?Endorsements are a type of advertising that makes use of well-known figures or celebrities that enjoy a high level of public awareness, respect, and/or recognition. These persons serve as brand ambassadors by using their names or likenesses to advertise a good or service. An endorsement, in a broader sense, is an expression of agreement with or support for something or someone; the endorser may or may not get payment. A blank endorsement is one on which the endorser merely signs his name and the bearer is the recipient. Special Endorsement: This is where the endorser signs and specifies who will get the cash. Endorsement with Restrictions: This prevents further discussion.
To know more about endorsement visit:
https://brainly.com/question/29734234
#SPJ1
Using while loop, write a C++ program that will compute and display the square roots of the first 25 odd positive integers starting from 1.
#include <iostream>
#include <cmath>
int main() {
int i = 1; // initialize counter to 1
while (i <= 25) { // loop until counter reaches 25
std::cout << "The square root of " << i << " is " << sqrt(i) << std::endl;
i += 2; // increment counter by 2 to get the next odd number
}
return 0;
}
the trim function removes all spaces in a text string except for the single spaces between words. t or f
Answer: The answer is true
Explanation: Hope this was helpful
Answer:
the answer is true
Explanation:
hope this was helpful
which of the following is true of the java programming language in relation to protection? a. when a class is loaded, the jvm assigns the class to a protection domain that gives the permissions of that class. b. it does not support the dynamic loading of untrusted classes over a network. c. it does not support the execution of mutually distrusting classes within the same jvm. d. methods in the calling sequence are not responsible for requests to access a protected resource.
Correct answer:- (a) When a class is loaded, the JVM assigns the class to a protection domain that gives to a protection domain that gives the permissions of that class.
Why is Java an Internet programming language that is secure?A sizable selection of APIs, tools, and implementations of widely used security algorithms, processes, and protocols are included in the Java security framework. Authentication, access control, secure communication, public key infrastructure, cryptography, and other topics are all covered by the Java security APIs.
What JVM alternatives are there?When it comes to JVM options, there are three categories you can choose from: standard, non-standard, and advanced options. You always use the option with -XX if you want to try an advanced option. Similarly, you use -X when applying a non-standard option.
What does Java mean by a protective domain?The Protection Domain class encapsulates the properties of a domain that contains a number of classes whose instances, when performed on behalf of a particular group of Principals, are assigned a particular set of permissions.
To know more about java programming visit:
https://brainly.com/question/18554491
#SPJ4
1. Explain how the trend to digital affects jobs in the audio and video production industry.
Answer& Explanation:
The trend toward digital technology has had a significant impact on jobs in the audio and video production industry. Digital technology has made it easier and more affordable for individuals and companies to create their own audio and video content, which has led to an increase in competition in the industry. This has made it more difficult for professionals in the field to find work, and it has also put pressure on companies to reduce their costs by hiring lower-paid workers or outsourcing work to other countries.
Additionally, the rise of digital technology has led to changes in the way that audio and video content is produced, distributed, and consumed. Many traditional production roles, such as film editors and sound engineers, have been replaced or supplemented by digital tools and techniques. This has led to a need for professionals with different skills and expertise, such as knowledge of digital audio and video software and experience with online platforms and distribution channels.
Overall, the trend toward digital technology has had a major impact on the audio and video production industry, and it has changed the types of jobs and skills that are in demand in the field.
When I want to view the Internet, I use this tool that converts html code into a visual format for users to view and interact with
URL
search engine
directory
browser
Answer:
browser
hope this helps
Within minutes, flashing lights illuminated the shattered windows. Paramedics examined both of them. When they were told they needed to go to the emergency room, Eli protested. He refused to get into the ambulance as Dave had already done.
The paramedics tried to reason with him. Eventually, he relented and mounted the stretcher.
His panic about the coming medical costs distracted him from the pain in his neck. All he could think about was the hardship this would bring upon his parents. Soon, though, his thoughts were drowned out completely by the siren’s shrill blaring.
Several months later, the insurance claims had all been processed. Because Dave was not at fault in the crash, the other driver’s insurance had to pay for everyone’s medical bills. Eli and his father breathed a sigh of relief.
Which conclusions can be drawn about Eli’s situation? Check all that apply.
He may still be covered in some cases.
He can avoid problems by being cautious.
He faces more risk than insured people do.
He may have to take precautions, but many factors are beyond his control.
Not being able to afford insurance was a factor in him not being covered.
Not being able to afford insurance was a factor in him not being covered. Hence option D is correct.
What is insurance?Insurance is defined as a legal arrangement whereby an insurer defends another against losses resulting from particular calamities or dangers. It helps shield the insured person or their family from monetary loss.
It should be mentioned that Eli initially resisted being placed on the stretcher even after the accident. Textual proof demonstrates that he became anxious about the impending expenses as a result of his lack of insurance.
Thus, not being able to afford insurance was a factor in him not being covered. Hence option D is correct.
To learn more about insurance, refer to the link below:
https://brainly.com/question/27822778
#SPJ1
Answer:
AAAA BBBB DDDDD EEEEE
Explanation:
HELP ASAP 50 POINTS!!!!
Are all digital footprints bad? Why?
Answer:
No
Explanation:
Because jobs and pretty much everyone that works on higher level ends can see those footprints. Once you leave a bad reputation, some jobs may not want you. other jobs may just not even contact you. it’s important for your future to keep a positive attitude and footprint on the internet
Which characteristics differentiate a solid state drive (ssd) from a hard disk drive (hdd)? select all that apply.
The characteristics that differentiate a solid state drive (ssd) from a hard disk drive (hdd) is option B and C:
Smaller form factorNon-moving partsWhat is SSD about?SSDs employ more recent technology that saves data on memory chips that are readily accessible. SSDs are more dependable, faster, quieter, smaller, and use less energy. HDDs are more affordable, offer greater storage space, and make data recovery from damage simpler.
Therefore, in terms of smaller form factor; SSDs use non-volatile memory in addition to having no moving parts and a tiny form factor and in terms of non-moving components; SSDs are smaller, use non-volatile memory, and contain no moving parts.
Learn more about solid state drive from
https://brainly.com/question/28346495
#SPJ1
See full question below
What characteristics distinguish a Solid State Drive from a Hard Disk Drive? Check all that apply.
High RPMs
Smaller form factor
Non-moving parts
Uses Disk Platters
true or false: on-site seo deals with the formatting of content on the website to maximize its chances of ranking for all desired searches.
On-site SEO deals with the formatting of content on the website to maximize its chances of ranking for all desired searches: True.
What is Search engine optimization (SEO)?Search engine optimization (SEO) can be defined as a strategic process which is typically used to improve and maximize the quantity and quality of the number of visitors (website traffics) that visits a particular website, by making it appear topmost among the list of results displayed by a search engine such as the following;
BingGoo-gleYah-ooThis ultimately implies that, search engine optimization (SEO) can help individuals and business organizations to maximize the amount of traffic that is generated by their website, through the strategic formatting of content on the website and placement at the top of the results returned by a search engine.
Read more on search engine here: brainly.com/question/27965856
#SPJ1