Answer:
import random as rd
def buildList(prevList, n):
for i in range(n):
number = rd.randint(100,199)
prevList.append(number)
emptyList = []
n = int(input("How many values to add to the list: \n").strip())
buildList(emptyList,n)
print(emptyList)
emptyList.sort()
print(emptyList)
Write code to define a function named mymath. The function has three arguments in the following order: Boolean, Integer, and Integer. It returns an Integer. The function will return a value as follows: 1. If the Boolean variable is True, the function returns the sum of the two integers. 2. If the Boolean is False, then the function returns the value of the first integer - the value of the second Integer.
Answer:
public class Main
{
public static void main(String[] args) {
Main m=new Main();
System.out.println(m.mymath(true,5,2)); // calling the function mymath
}
public int mymath(boolean a,int b,int c) // mymath function definition
{
if(a==true)
{
int d=b+c;
return d;
}
else{int e=b-c;
return e;
}
}
}
When you log into a website that uses a directory service, what command authenticates your username and password?
When you log into a website that uses a directory service, The Bind command authenticates your username and password.
What is the Bind command?The Bind command is known to be seen as the Bash shell builtin command.
Note that this is a term that is often used to set Readline key bindings and also that of its variables.
Note that the keybindings are seen as the keyboard works or actions that are said to be bound to a function.
Note also that it can be used to alter how the bash will act to keys or combinations of keys and thus, When you log into a website that uses a directory service, The Bind command authenticates your username and password.
Learn more about website from
https://brainly.com/question/13171394
#SPJ1
define the term spread sheet
Answer:
A spreadsheet is a computer application for computation, organization, analysis and storage of data in tabular form. Spreadsheets were developed as computerized analogs of paper accounting worksheets. The program operates on data entered in cells of a table.
Explanation:
To change the formatting of text from calibri to arial, which tool should you use?
Answer:
The Font Tool
Explanation:
Both Calibri and Arial are default fonts, thus changing from calibri to arial requires the font tool
We wish to compute the laziest way to dial given n-digit number on a standard push-button telephone using two fingers. we assume that the two fingers start out on the * and # keys, and that the effort required to move a finger from one button to another is proportional to the euclidean distance between them. design and analyze an algorithm that computes in time o(n) the method of dialing that involves moving your fingers the smallest amount of total distance
Answer:
R(i, k) + dist(d[k], d[i+1]) over all k < i
Explanation:
If Paula requests an extension to file her individual tax return in a timely manner, the latest she could file her return without a failure-to-file penalty is:
September 15th is the latest that Paula would be able to file her return without a failure-to-file penalty.
What is the individual tax return?This is the terminology that is used to address the official form that a person would have to fill which they would need to submit to the national , state or to the local taxing agencies in the area. The statement is known to contain the taxable income that they have received over a period of time.
The income that is usually specified would be the one that was made in a previous year by the individual. Hence if If Paula requests an extension to file her individual tax return in a timely manner, the latest she could file her return without a failure-to-file penalty is September 15th.
Read more on tax return here: https://brainly.com/question/27536662
#SPJ1
Unlike linux and mac systems, on a windows system, the ping command sends how many echo requests?
Unlike Linux and mac systems, on a windows system, the ping command sends how many echo requests: 4 echo requests.
What is an Echo Request?This refers to the computer protocol that is used to send requests to another computer network until an acknowledgment has been received and is used to check for the availability of another system.
Hence, we can see that on the Linux and mac systems, the echo requests are sent until a ping is received, but with a Windows system, there is only 4 echo requests used.
Read more about echo requests here:
https://brainly.com/question/14315055
#SPJ1
Error: At least one of the class levels is not a valid R variable name; This will cause errors when class probabilities are generated because the variables names will be converted to X0, X1 . Please use factor levels that can be used as valid R variable names (see ?make.names for help).
Using the knowledge in computational language in JAVA it is possible to write a code that use factor levels that can be used as valid R variable names
Writting the code in JAVA:method = "repeatedcv"
, number = 10
, repeats = 1
, verboseIter = TRUE
, summaryFunction = fivestats
, classProbs = TRUE
, allowParallel = TRUE)
See more about JAVA at brainly.com/question/12975450
#SPJ1
Question In an existing company database, the customers table contains the following columns: CustomerId, FirstName, LastName, Company, Address, City, State, Country, PostalCode, Phone, Fax, Email, and SupportRepId.
Using the knowledge in computational language in SQL it is possible to write a code that existing company database, the customers table contains.
Writting the code in SQL:SELECT FirstName,
LastName,
HireDate,
(STRFTIME('%Y', 'now') - STRFTIME('%Y', HireDate))
- (STRFTIME('%m-%d', 'now') < STRFTIME('%m-%d', HireDate))
AS YearsWorked
FROM Employees
WHERE YearsWorked >= 15
ORDER BY LastName ASC
See more about SQL at brainly.com/question/13068613
#SPJ1
Suppose a computer's login mechanism first asks for a user name, and then for the password, regardless of whether or not the login name is that of a valid user. Herman the Hacker has a list of 10,000 commonly used login names, and a list of 100,000 commonly used passwords. On this computer, there are 100 accounts that have both a login name on the first list and a password on the second list. For simplicity, assume that no other accounts have either a login name or password on these lists.
Herman has written code that can attempt 1000 logins per second on this computer. This program repeatedly chooses a random login name from the first list and a random password from the second list. Compute the expected number of seconds it will take Herman to break into some account on the machine, and identify that number from the list below.
Hint: Since names and passwords are chosen randomly, repetitions are possible. It may indeed be easier to forget what names/passwords have been tried than to keep a list of what has been tried and avoid duplicate attempts. As a result, there is an easy formula for the expected number of tries. If the probability of success on any given try is p, then the expected number of tries until the first success is exactly 1/p.
A. 1.1
B. 100.1
C. 10,000
D. 1000.1
The expected number of seconds it will take Herman to break into (or hack) some account on the machine is 1.1 seconds. (Option A) See the explanation below.
What does it mean to hack a machine?The act of subverting digital systems and networks by gaining unauthorized access to a computer system or account is a popular definition of hacking.
Although hacking is not always harmful, it is most frequently linked to online crime and data theft by cybercriminals.
What is the explanation for the above answer?With 10,000 login names available, we can assume that 100 of them are accurate, as the question suggests.
The likelihood of receiving the proper login name is therefore
P 1 = 100 10,000
P1 = 0.01
In the same vein, among 100,000 password we can assume that only 100 are correct, therefore, the probability of getting the right password is.
P 2 = 100 ÷ 100,000
P2 = 0.001
That that where the probability of success on any given try is p, then the expected number of tries until the first success is exactly 1 ÷ P.
Therefore, the expected number of trials before the first successful login name is = 1÷ P11
= 1 ÷ 0.01
= 100
The above also works for the password:
1÷ P2
= 1 ÷ 0.001
=1000
Therefore, it will take 100+ 1000 = 1100 attempts to finally get the initial login name and password.
Given that Henrietta created programming that allows this computer to try 1000 logins every second.
Therefore, 1100 x 1000 sec = 1.1 sec is the anticipated time it will take Henrietta to gain access to a machine account.
Learn more about hacking at;
https://brainly.com/question/24956493
#SPJ1
The expected number of seconds that will take to Herman to break into some account on the machine is 10.000. So Letter C.
Firstly, the probability of finding a correct login name (100) out of first list (1000) = 100/1000 = 1/100.
Second, After finding a login name, exactly one password will correspond to the found login name. As both the events are independent, hence:
Probability(p) = 1/100 x 1/100000 = 1/10000000.
Therefore, expected numbers of tries = 1/p = 10000000.
The code can attempt 1000 tries per second. So the expected numbers os seconds that will take to Herman break into some account will be:
10000000/1000 = 10.000.
See more about probability at: brainly.com/question/16259980
#SPJ1
Make a comparison list of products such as android phone on multiple e shopping sources to justify the best buy based on factors such as price and detailed specifications
A comparison to be made is between Samsung Galaxy S21 Ultra vs Samsung Galaxy S22 Ultra.
What is the product about?Their feature comparison are: is that both are 6.8 inches. In terms of Peak brightness: Samsung Galaxy S21 Ultra is known to be 1500 cd/m2 (nit) while the other is 1750 cd/m2 (nit).
Note that a lot of people go for the Samsung Galaxy S22 Ultra as it is the newest product and because it is more brighter and also more expensive.
Learn more about Product comparison from
https://brainly.com/question/21186117
#SPJ1
Alina is using a small database that uses just one table to store data. What type of database is Alina using?
A.
flat file database
B.
relational database
C.
hierarchical database
D.
wide column database
Alina is using a small database that uses just one table to store data and this is known to be option A: a flat file database.
What is a database with one table called?This is known to be a Flat file database. A flat file database is known to be a kind of a type of database that saves data in a single table.
Note that it is one that are generally seen in plain-text form, and it often one where each line holds only one record.
Note also that this databases is made up of a single table of data that is said to have no interrelation and thus Alina is using a small database that uses just one table to store data and this is known to be option A: a flat file database.
Learn more about database from
https://brainly.com/question/26096799
#SPJ1
imagine that you are explaining the art of visual comparison to a group of photography students. You are mentoring. What do you say, how would you express, explain on how they can use various techniques while inspiring to incorporate their own artistic visions.
It is to be noted that the key factor in visual art comparison is that arts pieces must always have similarities and differences.
What is comparative analysis in arts?The comparative analysis begins with a formal study of two or more individual works, followed by an additional level of conversation that examines key similarities and contrasts between the pieces.
Hence, it is better to look at the areas of similarities then look at the differences.
Learn more about comparative analysis in arts:
https://brainly.com/question/8981602
#SPJ1
A video production company uploads large video files to s3 buckets using multipart upload. To which aws cloud best practice does this adhere?
The think parallel is the AWS cloud best practice that this adheres to.
What is the AWS cloud practice?This is the term that is used to refer to Amazon cloud services. It is one of the most popularly known cloud service around the world. It helps by giving the opportunity for the delivery of IT based services and other technologies through the pay as you go basis.
It helps by providing the use of different forms of processing capabilities and other forms of services that are useful to business.
Read more on AWS cloud services here: https://brainly.com/question/14014995
#SPJ1
A(n) ________ is the association between tables where both tables contain a common field.
A) link.
B) data model.
C) relationship.
D) share point.
Answer: Relationship
Explanation: A relationship is an association between two tables where the tables contain a common field of data.
If the conditional expression in a switch statement does not match any of the case values, the _________ statement executes g
Answer:
Default
Explanation:
in programming, default block executes when there are no matching
When you use the Check Constraints dialog box, all of the constraints are created at what level so they can refer to any of the columns in the table
All of the constraints are at the table level so they can refer to any of the columns in the table.
What is Constraints dialog box?The Constraint Definition dialog box is known to be the box that a person can select from in regards to the the Radius and Diameter or Fix option.
The definition of a constraint is known to be that thing that is known to imposes what we call a limit or a form of a restriction that tends to hinder or prevents a thing from happening.
Hence, All of the constraints are at the table level so they can refer to any of the columns in the table.
Hence, option d is correct.
Learn more about constraints from
https://brainly.com/question/23796291
#SPJ1
When you use the Check Constraints dialog box, all of the constraints are at the which level so they can refer to any of the columns in the table?
a.
value
b.
column
c.
database
d.
table
For accommodation of persons with special needs, call 555-555-1234, tty 711 is an example of the disclaimer that must appear in advertising for what type of event?.
This is an example of formal and informal marketing/sales type of event.
What is an informal marketing sales event?Informal marketing/sales events is known to be one that is carried out with a less structured presentation or in a kind of less formal environment.
Note that, This is an example of formal and informal marketing/sales type of event because people with special needs are known to be individuals who have health issues and need special attention. Hence a formal or informal marketing is needed for this
Learn more about formal marketing/sales from
https://brainly.com/question/24304494
#SPJ1
A computer’s ____ is a collection of programs that manage and coordinate the activities taking place within the computer.
Answer:
A computer’s operating system is a collection of programs that manage and coordinate the activities taking place within the computer.
Explanation:
Examples of the 3 main operating systems include the following:
Microsoft WindowsLinuxmacOSWhat are the main advantages of the d-step tuning of 2023 murano’s xtronic cvt®?.
The main advantages of the d-step tuning of 2023 Murano's xtronic cvt is that:
It gives room for the transmission to quickly change ratios in regards to quick acceleration.When at higher rpm, it help one to stepped acceleration via the use of linear acceleration feel.What kind of transmission does a Nissan Murano have?It is known to have a continuously variable automatic transmission (CVT) and it is one whose only engine is said to give about a 3.5-liter V-6 that helps to bring about a lot of power.
Note that the main advantages of the d-step tuning of 2023 Murano's xtronic cvt is that:
It gives room for the transmission to quickly change ratios in regards to quick acceleration.When at higher rpm, it help one to stepped acceleration via the use of linear acceleration feel.Learn more about cars from
https://brainly.com/question/25749514
#SPJ1
14.0% complete Question The latest web application, using default settings, is currently accepting application programming interface (API) calls over HyperText Transfer Protocol (HTTP). The environment has a moderate key management system. Even with basic server security, the API connection is vulnerable to which of the following
The API connection that is vulnerable to:
Key discovery.Improper error handling.What is improper error handling?The term Improper Error Handling is known to be seen as a kind of a flaws that takes place if or when an error message that is known to be shown to an end user gives clues about how an application or website is running.
Hence, Since the environment has a moderate key management system, the API connection that is vulnerable to:
Key discovery.Improper error handling.Learn more about web application from
https://brainly.com/question/1538272
#SPJ1
Which principle is in effect when an analyst has a lower level of access than a client account lead (cal) working on the same project?
The The Principle of Least Privilege is known to be the principle that is in effect when an analyst has a lower level of access than a client account lead (cal) working on the same project.
What is the Principle of Least Privilege?The Principle of Least Privilege is known to be one that tells that a subject is one that need to be given only those privileges that are said to be required for it to complete its task.
Note that If a subject is not able to or do not need an access right, the subject is one that need not to have that right. hence, the function of the subject should be the one that will control the assignment of rights.
Therefore, in regards to the above, The The Principle of Least Privilege is known to be the principle that is in effect when an analyst has a lower level of access than a client account lead (cal) working on the same project.
Learn more about analyst from
https://brainly.com/question/890849
#SPJ1
For developing a mis in your business organization, you intend to launch a new is department or team. how the is function will support your business? what roles will you assign to different hired/reassigned members of the is-team. (budget is not be considered)
The function will support my business because it will help in decision making.
What is the importance of Management Information System?Management Information System can be described as the collection of Organized data that can help the organization in decision making.
Making a good decision , it will help the company to compete excellently with great profit.
Learn more about Management Information System on:
https://brainly.com/question/11768396
#SPJ1
What is a method for confirming users’ identities?
Answer: Authentication
Explanation:
Which of the nist cybersecurity framework functions investigates an organization’s cybersecurity management in the context of their business needs and resources?
The NIST cybersecurity framework functions that investigates an organization’s cybersecurity management in the context of their business needs and resources is the "Protect PR Function."
Cybersecurity is the defense against cyberthreats for systems linked to the internet, including their hardware, software, and data.
Individuals and businesses both utilize this technique to prevent illegal access to data centers and other digital systems.
Learn more about cyber security at;
https://brainly.com/question/25226643
#SPJ1
In a(n) _____ access file structure, records can be accessed in any order, regardless of their physical locations in storage media
In a(n) random access file structure, records can be accessed in any order, regardless of their physical locations in storage media.
What is random access file structure?A Random file access is known to be a form of a superimposed method that is used in a lot of Java code so that one can be able to access specific records directly and fast without searching via records in the file.
Therefore, In a(n) random access file structure, records can be accessed in any order, regardless of their physical locations in storage media.
Learn more about file structure from
https://brainly.com/question/1226264
#SPJ1
There are many different ways to ensure search engine optimization. Select the three that are included in the list.
a. Use keywords in Flash or JavaScript directed text. b. Use your keywords when writing descriptions of hyperlinks. c. Include as many pictures and videos as possible. d. Ask visitors to bookmark your site.
Include a < meta > tag in your header. Include a < meta > tag in your header.
The many ways to ensure search engine optimization SEO are options A, B and E:
Use your keywords when writing descriptions of hyperlinks.Use keywords in Flash or JavaScript-directed text.Include a < meta > tag in your header.What is search engine optimization?This is known to be the process of maximizing the number of visitors to a particular website by ensuring that the site appears high on the list of results returned by a search engine.
As SEO is the process of improving the quality and quantity of website traffic to a website or a web page from search engines, so is the process of ensuring that it works important.
Metadata gives a summary of basic information about data which makes finding & working with particular information much easier.
Hence, the correct answers are options A, B and E.
Read more about SEO here:
https://brainly.com/question/14097391
#SPJ1
Answer:
THREE ANSWERS
b. Use your keywords when writing descriptions of hyperlinks.
d. Ask visitors to bookmark your site.
e. Include a < meta > tag in your header.
Assume that $s0 is initialized to 11 and $s1 is initialized to 22. Suppose you executed the code below on a version of the pipeline described in the class that does not handle data hazards. What would the final values of registers $s2 and $s3 be
The final values of registers $s2 and $s3 be $s2 = 33 and $s3 = 6.
Given MIPS instructions:I1: addi $s0, $s1, 5 #$s0 = (22 + 5) = 27
I2: sub $s2, $s0, $s1
value of register $s0 will be updated in clock cycle-5 but this instruction read value of register $s0 in clock cycle-3.$s2 = (11 + 22) = 33
I3: addi $s3, $s0, -5
value of register $s0 will be updated in clock cycle-5 but this instruction read value of register $s0 in clock cycle-4.$s3 = (11 - 5) = 6
See more about MIPS at brainly.com/question/26556444
#SPJ1
A technician needs to upgrade the RAM in a database server. The server's memory must support maintaining the highest levels of integrity. Which of the following type of RAM should the technician install
If the technician needs to upgrade the RAM in a database server, the type of RAM that the technician need to install is ECC (Error correction code).
What is the server about?An error correcting code (ECC) is known to be a kind of an encoding scheme that moves messages as a kind of a binary numbers.
Note that it often does this in a way that the message is one that can be gotten back even if a little or some bits are said to be erroneously flipped.
Hence, If the technician needs to upgrade the RAM in a database server, the type of RAM that the technician need to install is ECC (Error correction code).
See full question below
A technician needs to upgrade the RAM in a database server. The server's memory must support maintaining the highest levels of integrity. Which of the following type of RAM should the technician install?
ECC (Error correction code)
Parity
Non-parity
SODIMM
Learn more about RAM from
https://brainly.com/question/13196228
#SPJ1
What is the purpose of the package dependencies, such as those we declare in pubspec.yaml?
The purpose of the package dependencies is to provide additional functionality, which are usually downloaded from pub.
What are Package dependencies?This is referred to another package that your package needs in order to work thereby increasing its functionality. This therefore denotes a direct relationship between the both of them in this type of scenario.
It is also usually downloaded from pub and are specified in the pubspec thereby making its ability to provide additional functions due to the presence of the other and is therefore the most appropriate choice in this type of scenario.
Read more about Package dependencies here https://brainly.com/question/28096578
#SPJ1