Answer:
Explanation:
This can easily be done by using the min function, although since it's asking you to write a program to do this I would implement it like this:
def minimum(a, b):
if a < b:
return a
else:
return b
if a is less than b, then of course the minimum value if a. But if it isn't that means one of two things, a=b or b<a, either way b will still be the minimum value, since it never mentioned anything about returning something else if a=b.
In Python write a while loop that repeats while user_num ≥ 1. In each loop iteration, divide user_num by 2, then print user_num.
Sample output with input: 20
10.0
5.0
2.5
1.25
0.625
user_num = int(input())
Answer:
user_num = int(input("Enter a number: "))
while user_num >=1;
user_num = user_num/2
print(user_num)
If this helped consider marking brainliest. Have a nice day.
Python code that implements the while loop as described:
```python
user_num = int(input())
while user_num >= 1:
user_num /= 2
print(user_num)
```
When you run this code and provide the input 20, you will get the desired output:
```
10.0
5.0
2.5
1.25
0.625
```
The loop continues as long as the `user_num` is greater than or equal to 1, and in each iteration, it divides the value by 2 and prints the result.
Know more about Python:
https://brainly.com/question/30391554
#SPJ7
ANSWER THESE QUESTIONS PLEASE! HURRY ASAP
What three files do you need to perform a mail merge
What type of document you use mail merge to create?
Answer:
question 1
Excel spreadsheet. An Excel spreadsheet works well as a data source for mail merge.
Outlook Contact List. You can retrieve contact information directly from your Outlook Contact List on to Word.
Apple Contacts List.
question 2
Mail merge lets you create a batch of documents that are personalized for each recipient.
What is edge computing?
Answer:
Edge computing is a distributed information technology (IT) architecture in which client data is processed at the periphery of the network, as close to the originating source as possible.
Explanation:
you are working at a computer that has standardized on windows 10 workstation for all. the phone rings and it is your superior. he tells you that his workstation is running incredibly slow, almost to the point where it is unusable. he reports that be has exited out of everything of the operating system. you suspect there are background process tying up the cpu memory. which utility can you have him use to look for such culprit?
Answer:
Task Manager
Explanation:
Task manager allows the user to look at all processes and applications running. Using Task Manager, the user find which component is being utilized the most and finding the processes that are effecting the component.
Create a Horse table with the following columns, data types, and constraints:
ID - integer with range 0 to 65 thousand, auto increment, primary key
RegisteredName - variable-length string with max 15 chars, not NULL
Breed - variable-length string with max 20 chars, must be one of the following: Egyptian Arab, Holsteiner, Quarter Horse, Paint, Saddlebred
Height - number with 3 significant digits and 1 decimal place, must be ≥ 10.0 and ≤ 20.0
BirthDate - date, must be ≥ Jan 1, 2015
Note: Not all constraints can be tested due to current limitations of MySQL.
Answer:
see pictures. Brainly doesn't allow SQL code here.
Explanation:
I did not investigate the constraints other than the NOT NULL constraint. This will actually cause the INSERT to fail because the last value has NULL for a RegisteredName.
how can array save memory and at the same time waste space
An array saves memory because here the memory is padded, so there is no space between them and if it is no contagious space then it wastes space.
What is an array?An array in terms of computer science is a linear data structure, which stores the same type of data in a compact or contagious way and in adjacent memory locations.
As it compacts the data, so it saves space, but when it is not contagious it wastes space at the same time.
Thus, because the memory is padded in an array, there is no gap between them, which would waste space even if it were contagious.
Learn more about array, here:
https://brainly.com/question/13107940
#SPJ1
What is one way a pivottable could combine the following data?
Gadget
Doodad Green
Gizmo
Widget
Color
Doodad Orange 400
Widget
Widget
Blue
Yellow
Unit Sales
Brown
h
White
200
350
125
100
175
answer
gadget color blue yellow
What is the difference between password protection and encryption? please answer quick, i cant pass this test for the life of me
Answer:Password protection is like locking something in a safe-deposit. It means no one can get to the locked content without knowing the right combination. This method is used on separate documents, folders, and other data the computer's user may want to protect from other people who might have access to the device. The problem is, if someone interested in such content obtains the password or finds a way to open it without it, the content might be revealed despite the owner's efforts to keep it hidden. Unfortunately, there are a lot of ways hackers could obtain the password or hack in without it. For example, it could be obtained with the help of malware, or it might be guessed if the user chooses a weak password. Not to mention, when it comes to PDF documents, the passwords placed on them can be removed using the CMD window or specific.
Password encryption is a step up from password protection. The term can be a tad confusing because, in fact, you cannot encrypt the password itself. Instead, by setting up "password encryption" you are creating a password AND encrypting the contents of the file. In our example (see instructions below), the contents of the user's PDF document are not only password protected, but also encrypted. It is a process during which the content one wishes to keep secret is altered to make it unrecognizable. For example, if it is a text document, letters of each word might be shuffled with additional characters so the words would no longer make any sense. The reverse process is only available if the person who wants to decrypt this data can provide a specific decryption key or a password. In other words, even if the password is removed no one could read the hidden content as it still would need to be decrypted. Of course, it is important to realize you might be unable to retrieve it too if you lose the decryption key, aka, the password.
PLS MARK ME AS BRAINLIEST.
Password protection restricts access to a resource, while encryption secures the actual content of that resource by transforming it into an unreadable form.
Ask about the difference between password protection and encryption.
Now, Password protection and encryption serve different purposes when it comes to securing data.
Password protection is a method of restricting access to a device, system, or specific files by requiring users to enter a password. It acts as a barrier to prevent unauthorized individuals from accessing the protected resource.
The password is typically a combination of characters that only authorized users should know.
Encryption, on the other hand, is a technique used to convert plain text or data into an unreadable format, called ciphertext, using an encryption algorithm.
The ciphertext can only be decrypted back to its original form by someone possessing the decryption key.
Encryption ensures that even if someone gains unauthorized access to the data, they will not be able to read or understand it without the decryption key
Hence, Both measures are commonly used together to enhance data security.
To learn more about password protection visit:
https://brainly.com/question/32167725
#SPJ3
Java application that inputs a series of 10 integers and determines and prints the largest integer.
Answer:
import java.util.Scanner;
class Main {
static final int TOTAL = 10;
public static void main (String args[])
{
Scanner input = new Scanner(System.in);
int largest = 0;
for(int count=1; count<=TOTAL; count++) {
System.out.printf("Enter number %d of %d : ", count, TOTAL);
int number = input.nextInt();
if (count == 1) {
largest = number;
} else {
largest = Math.max(largest, number);
}
}
System.out.printf("The largest number is %d\n", largest);
input.close();
}
}
Explanation:
You have to pay special attention to the initialization of largest, because the initialized value should not be part of the competition of which number is the largest. That's why if (count==1) is a special case.
The Horse table has the following columns:
ID - integer, auto increment, primary key
RegisteredName - variable-length string
Breed - variable-length string, must be one of the following: Egyptian Arab, Holsteiner, Quarter Horse, Paint, Saddlebred
Height - decimal number, must be between 10.0 and 20.0
BirthDate - date, must be on or after Jan 1, 2015
Insert the following data into the Horse table:
RegisteredName Breed Height BirthDate
Babe Quarter Horse 15.3 2015-02-10
Independence Holsteiner 16.0 2017-03-13
Ellie Saddlebred 15.0 2016-12-22
NULL Egyptian Arab 14.9 2019-10-12
See below for the statement to insert the data values
How to insert the records?To do this, we make use of the insert statement.
This is done using the following syntax:
INSERT INTO table_name (column_name, ...) VALUES (value, ...)
Using the above syntax and the data values, we have the following insert statement.
INSERT INTO Horse (RegisteredName, Breed, Height, BirthDate)
VALUES ('Babe Quarter', 'Horse', '15.3', '2015-02-10'), ('Independence', 'Holsteiner', '16.0', '2017-03-13'), ('Ellie', 'Saddlebred', '15.0', '2016-12-22')
INSERT INTO Horse (Breed, Height, BirthDate) VALUES ('Egyptian Arab', '14.9','2019-10-12')
Read more about SQL at:
https://brainly.com/question/10097523
#SPJ1
Answer:
INSERT INTO Horse (RegisteredName, Breed, Height, BirthDate) VALUES
('Babe', 'Quarter Horse', '15.3', '2015-02-10');
INSERT INTO Horse (RegisteredName, Breed, Height, BirthDate) VALUES
('Independence', 'Holsteiner', '16.0', '2017-03-13');
INSERT INTO Horse (RegisteredName, Breed, Height, BirthDate) VALUES
('Ellie', 'Saddlebred', '15.0', '2016-12-22');
INSERT INTO Horse (RegisteredName, Breed, Height, BirthDate) VALUES
(NULL, 'Egyptian Arab', '14.9', '2019-10-12');
Explanation:
In Python write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the values of the list.
Ex: If the input is:
10
5
3
21
2
-6
the output is:
[10, 5, 3, 21, 2]
Answer:
l = []
while True:
no = int(input())
if no>0:
l.append(no)
else:
break
print(1)
If this helped consider marking this answer as brainliest. Have a good day.
An Inspect and Adapt (I&A) event is occurring and a program is trying to address a long-existing problem (WIP)?"unreliable Program Increment (PI) commitments. One of the participants suggests that they are working on too many things at one time. What aspect Of the program causes uncontrollable amounts of work in process
Teams do not do a good job of task.switching
Stories are too small
Items in the program Backlog are large chunks Of work at different layers Of the System instead Of true Features
All program teams are cross-functional so every team creates work in multiple areas at the same time
The aspect Of the program that causes uncontrollable amounts of work in process is that Teams do not do a good job of task switching.
What is task switching?Task switching or task interleaving is known to often take place if a task is voluntarily or involuntarily stopped so as to listen to another task.
In the case above, The aspect Of the program that causes uncontrollable amounts of work in process is that Teams do not do a good job of task switching.
Learn more about task switching from
https://brainly.com/question/12977989
#SPJ1
GUYS I NEED HELP!!!! Every time pc resets it clears all of my data files and content how do you fix this. Pls help
Answer: Most of the time its caused by a virus and the virus takes the chance when your computer resets so look for a virus if that's not it maybe its power failure check if its in a window folder or just use a antivirus.
Explanation:
How to solve everything in Kotlin??
A) create a method that takes a string as a parameter and inverts it.
C) Create a car class that contains Brand, model, year of release and current speed. Use the primary constructor
B) create the main function, and create 4 objects of class car and store them in a vector and print them.
Answer:
crreate a method that takes a string as a perimeter and inverts it
What would the theoretical variance (square of the standard deviation) of the following random values be? rand(Normal(80, 10), 200)
The theoretical variance of the random values is 100
How to determine the theoretical variance?The distribution is given as:
rand(Normal(80, 10), 200)
The syntax of the distribution is:
rand(Normal(Mean, Standard deviation), Sample size)
This means that:
Standard deviation = 10
Square both sides
Variance = 100
Hence, the theoretical variance of the random values is 100
Read more about variance at:
https://brainly.com/question/13708253
#SPJ1
Describe personal computer skills using three adjectives?
Answer:
proficient with Microsoft word Excel and PowerPoint
Explanation:
compost and send over 150 images microsoftop creating and the formatting simple office budget speed sheets on Microsoft Excel Bros and its documents Microsoft word
Below functions flatten the nested list of integers (List[List[int]]) into a single list and remove duplicates by leaving only the first occurrences. When the total number of elements is N, choose the one that correctly compares the time complexity with respect to N of each function.
The time complexities of the functions is (a) f1 = f3 < f2
How to compare the time complexities?The code of the functions f1, f2 and f3 are added as an attachment
To compare the time complexities of the functions, we check the loop and conditional statement in each function.
From the attached code, we can see that:
Function f1: 2 loops and 1 conditional statementFunction f2: 2 loops and 1 conditional statement in the second loopFunction f3: 2 loops and 1 conditional statementIn function f2, we have:
The conditional statement in the second loop implies that the conditional statement would be executed several times as long as the loop is valid.
This implies that:
f2 > f1 and f2 > f3
The number of loops and conditional statement in functions f1 and f3 are equal
This means that
f1 = f3
So, we have:
f2 > f1 = f3
Rewrite f2 > f1 = f3 as:
f1 = f3 < f2
Hence, the time complexities of the functions is (a) f1 = f3 < f2
Read more about time complexities at:
https://brainly.com/question/15549566
#SPJ1
explain how principles of computational thinking skills are applied in finding solutions that can be interpreted into software applications
The uses are:
They can help man to solve complex problems. Computational thinking helps man to make complex problem more easy.It helps us to understand the level of the problem and form possible solutions.How is computational thinking used?Computational thinking is known to be that which gives room for user to know what to inform the computer to do due to the fact that a computer only acts and processes what it is said to be programmed to do.
Therefore, The uses are:
They can help man to solve complex problems. Computational thinking helps man to make complex problem more easy.It helps us to understand the level of the problem and form possible solutions.Learn more about Computational thinking from
https://brainly.com/question/23999026
#SPJ1
What are types of operators in Python
Answer:
Python divides the operators in the following groups:
Arithmetic operators.Assignment operators.Comparison operators.Logical operators.Identity operators.Membership operators.Bitwise operators.Which task might a hardware designer do?
OA. Design computing components for cars and medical equipment
B. Design 3D models for video games and augmented reality
OC. Design and build communications equipment
D. Design the software that computers use
C. Design and build communications equipment
This communication equipment can be phones, EarPods which are hardware
Hope it helps!
The task that a hardware designer do is to design computing components for cars and medical equipment. The correct option is A.
A hardware designer is in charge of creating computational components for a range of products, including automobiles and medical equipment.
They design specialized hardware systems to fulfil particular specifications, assuring effective and dependable performance.
Working on systems for automotive control, entertainment, and safety features is a part of designing automotive components.
Hardware designers create parts for medical equipment in the medical industry, assuring their precision, dependability, and regulatory compliance.
Designing circuit boards, microprocessors, integrated circuits, and other electronic devices is part of their job description.
Hardware designers play a critical role in enabling the integration of cutting-edge technology and enhancing functionality in specialized sectors by creating these computing components.
Thus, the correct option is A.
For more details regarding Hardware, visit:
https://brainly.com/question/32934053
#SPJ5
You work with alot of different documents in your internship with a software development company. What kinds of actions can you take to keep your files and folders organized?
Answer:
Explanation:
Try as much as possible, to keep like files together in one folder. Even so there if you run into the hundreds or thousands, that is not going to be an easy thing do.
What ever you do, do clutter up your favorites bar, especially if your favorites spill over into where you have to push a button to get to them. Keep that bar open for what you really need on that bar. Mine has Brainly, Kitco, My Alberta Health, A graphing program, a second graphing program, Amazon, a scrabble word finder, and a couple of other things. It
If you can, try and keep your favorites to something that would be useless to anyone else. My favorites are worthless to anyone else. But I play a lot of scrabble related games.
Below functions flatten the nested list of integers (List[List[int]]) into a single list and remove duplicates by leaving only the first occurrences. When the total number of elements is N, choose the one that correctly compares the time complexity with respect to N of each function.
f1 = f3 < f2
f1 = f2 < f3
f3 < f1 = f2
f3 < f1 < f2
f1 = f2 = f3
The time complexities of the functions is (a) f1 = f3 < f2
How to compare the time complexities?The time complexities of the functions are dependent on the loops and conditional statements in the function.
From the given code, we have the following highlights:
Function f1: 2 loops and 1 conditional statementFunction f2: 2 loops and 1 conditional statement in the second loopFunction f3: 2 loops and 1 conditional statementConsidering the function f2
The conditional statement in the second loop implies that the conditional statement would be executed several times as long as the loop is valid.
This means that:
f2 > f1 and f2 > f3
Functions f1 and f3 have equal loops and conditional statement.
This means that
f1 = f3
So, we have:
f2 > f1 = f3
Rewrite as:
f1 = f3 < f2
Hence, the time complexities of the functions is (a) f1 = f3 < f2
Read more about time complexities at:
https://brainly.com/question/15549566
#SPJ1
Which benefit does the Cloud provide to start-up companies without access to large funding?
Answer:
You don't have to invest in hardware or a data center, you pay only for the resources that you use, so your cost grows linearly in stead of a big investment. It's capital expenditures vs operational expenditures.
Write pseudocode for a program that will record weather-related data for any month or months. a. Input could be month name(s) b. for loop inputs could be: i. High and low temperatures ii. Precipitation iii. Humidity
Pseudocodes are simply false codes that are used as program prototypes
The pseudocode of the programThe program pseudocode is as follows:
Input numMonths
for i = 0 to numMonths:
Input monthName
input highTemp and lowTemp
input precipitation and humidity
Read more about pseudocode at:
https://brainly.com/question/17102236
#SPJ1
Write a program that allow a customer to input the value of goods bought, The program should then decide the discount to give a customer,
Answer:
geeksforgeeks is the answer
How does so called marshalling solve the problem of different byte ordering of sender and receiver? 8. What is the purpose of a portmapper? How does so called marshalling solve the problem of different byte ordering of sender and receiver ?
8 . What is the purpose of a portmapper ?
Marshalling solve the problem of different byte ordering of sender and receiver by:
By the use of Common Object Request Broker Architecture (CORBA): What is Marshalling?Marshalling is the act of moving and formatting a group of data structures into an external data depiction type good for transmission in a message.
A port mapper is known to be a kind of protocol that tells or map the number or the kind of version of any type of Open Network Computing Remote Procedure Call (ONC RPC) program to a port that is often used in the work of networking by that version of that given program.
Learn more about portmapper from
https://brainly.com/question/879750
#SPJ1
alle Mbawah: Attempt 1 How does a bystander become an advocate? By harassing the bully until he or she stops the harmful activity By taking action in either reporting the bully or otherwise supporting the victim By ignoring the situation By becoming a victim him- or herself to show concern Question 3 (5 points) alle Mbawah : Attempt 1 How does a bystander become an advocate ? By harassing the bully until he or she stops the harmful activity By taking action in either reporting the bully or otherwise supporting the victim By ignoring the situation By becoming a victim him- or herself to show concern Question 3 ( 5 points )what is the ans
Answer:By reporting the bully or supporting the victim that's what I would do
Explanation:
A bystander becomes an advocate by taking action in either reporting the bully or otherwise supporting the victim. Thus, the correct option for this question is B.
What is an Advocate?An advocate may be characterized as a type of person that supports another person in order to help you express your views and wishes, and help you stand up for your rights. It is the one who pleads with another's cause, who helps another by defending or comforting him.
According to the context of the story, a bystander has their own responsibilities in case of any harmful activities going out in their surroundings. They are required to take action in either reporting the bully or otherwise supporting the victim. In this case, harmful activities reduce from our surroundings. Everything required some actions and initiations.
Therefore, the correct option for this question is B.
To learn more about Advocate, refer to the link:
https://brainly.com/question/26054678
#SPJ2
Define generation of computer
Answer:
The generation of computer is define as the devlopment in computer hardware/software,their processing speed and their language.
I HOPE IT HELP YOU
FORMES MEN HORDS EXCLL PRACTICAL QU graph marks, soft the following types of computer system nowadays Re Howeve can classify them into differe
The software used on a computer system are classified into the following:
Application softwareUtility softwareSystem softwareWhat is a software?A software can be defined as a set of executable instructions (codes) that instructs a computer system on how to perform a specific task and proffer solutions to a specific problem.
The classification of software.In Computer technology, the software used on a computer system are classified into three main categories and these include:
Application softwareUtility softwareSystem softwareRead more on software here: https://brainly.com/question/26324021
#SPJ1
Complete Question:
Software are used on different types of computer system nowadays. However, you can classify them into following?
What is the best example of how computers have changed the way people communicate?
A.
A smart device can track every place you go and be accessed by people who shouldn't see this information.
B.
Internet influencers share their experiences in order to gain more followers.
C.
Most people have smartphones, and they can be reached wherever they go.
D.
Social media is used to find friends or relatives after a natural disaster.
Answer:
c since it is very important that people reached where ever they are
Hope This Helps!!!
The best example of how computers have changed the way people communicate is,
D. Social media is used to find friends or relatives after a natural disaster.
Hence option D is true.
Ask about the best example of how computers have changed the way people communicate.
In the past, during natural disasters, it could be challenging to locate and connect with loved ones due to limited communication channels.
However, with the advent of social media platforms, people can quickly share information about their safety, and whereabouts, and seek help in real-time.
Social media acts as a powerful tool for reuniting families and friends during such challenging times.
Therefore, the correct option is, D.
To learn more about computers visit:
https://brainly.com/question/22495842
#SPJ3