Answer:
import random
def rand_select(*args):
selected = random.choice(args)
print( selected)
rand_select(12,32,43,54,2,34,65,2,64,74,97)
The space complexity of this program is O(1)
Explanation:
The list of arguments to the function is assigned to the variable "args" and the random's choice method randomly picks an item and assigns it to the variable "selected", then the variable is printed out on the screen. The memory used is 1 + 1 = 2, which is a constant, therefore making the space complexity to be O(1).
Overflow and roundoff errors result from real-world limitations in representing . . . (10 points)
A. number systems
B. fractions
C. place values
Answer:
C. place values
Explanation:
Place value can be defined as the numerical value representing a digit owing to its position in a number. Some examples of the various place values used in representing each digit are tenths, hundredths, thousandths, unit, tens, hundreds, thousands etc.
For example, in the number 316.2;
The place value of 3 is hundreds. The place value of 1 is tens. The place value of 6 is units. The place value of 2 is tenths.In the real-world, their instances where there are limitations in counting and representing real numbers that are infinite (too small or too large). In order to overcome these limitations or barriers, we use place values.
An overflow error arises when a real number cannot be represented because it is too large and exceeds the upper limits of a range chosen.
Also, a roundoff error can be defined as the difference between the output generated from an algorithm using an exact or actual numbers and the output generated using rounded or finite-precision numbers.
Hence, overflow and roundoff errors result from real-world limitations in representing place values.
Hoda wants to create a new presentation in PowerPoint with existing graphics and designs. What is the easiest and fastest way for her to do this? Use an existing template. Design a new theme for the presentation. Create a custom template for the presentation. Search for a design template online.
Answer:
The answer is A
Explanation:
Edge 2020
write c++ program to find maximum number for three variables using statement ?
Answer:
#include<iostream>
using namespace std;
int main(){
int n1, n2, n3;
cout<<"Enter any three numbers: ";
cin>>n1>>n2>>n3;
if(n1>=n2 && n1>=n3){
cout<<n1<<" is the maximum";}
else if(n2>=n1 && n2>=n3){
cout<<n2<<" is the maximum";}
else{
cout<<n3<<" is the maximum";}
return 0;
}
Explanation:
The program is written in C++ and to write this program, I assumed the three variables are integers. You can change from integer to double or float, if you wish.
This line declares n1, n2 and n3 as integers
int n1, n2, n3;
This line prompts user for three numbers
cout<<"Enter any three numbers: ";
This line gets user input for the three numbers
cin>>n1>>n2>>n3;
This if condition checks if n1 is the maximum and prints n1 as the maximum, if true
if(n1>=n2 && n1>=n3){
cout<<n1<<" is the maximum";}
This else if condition checks if n2 is the maximum and prints n2 as the maximum, if true
else if(n2>=n1 && n2>=n3){
cout<<n2<<" is the maximum";}
If the above conditions are false, then n3 is the maximum and this condition prints n3 as the maximum
else{
cout<<n3<<" is the maximum";}
return 0;
Typically you will not find biometric devices in _________ security buildings. Low High Minimal Medium
Answer:
Low
Explanation:
Biometrics security systems are hardware scanners that are useful for capturing the biometric of individuals as a means of verifying identity. These scans would be matched against the saved database and in turn access would be approved or denied to the system. In other words, biometric security gives the human body the “key” to unlock your access into buildings.
You will not find such devices in low security buildings.
Hiya people. I am a game developer and I need an idea for a new game. If you have any ideas, pls feel free to tell me. Best idea gets brainliest.
Answer:
A better RPG game all the one that are existing are the same dull thing
Explanation:
Answer:
There are many ideas you can get for games but now-a-days action games are getting more fame than others such as fortnite, freefire, pubg etc. I prefer you to make a game that is relatated to action or adventure. You can make it related to zombie hunting, or online fighting games, or some adventurous games like tomb raider.
Your company just installed a new web server within your DMZ. You have been asked to open up the port for secure web browsing on the firewall. Which port should you set as open to allow users to access this new server?
Answer:
The port that should be set open to allow users to access this new server is:
TCP port.
Explanation:
Ports are openings or entrance doors through which data packages have access to a PC or server. TCP and UDP are transport protocols with port numbers. TCP means Transmission Control Protocol. They are used to connect two devices over the internet and other networks. UDP means User Datagram Protocol. They are used to connect applications and to speed the transfer of data. Comparatively, UDP is faster, simpler, and more efficient than TCP. TCP enables retransmission of lost data packets, which UDP cannot do.
ark titanoboa taming
it is a passive tame throw the an egg down and it will eat it if it attacks you or gets attacked it will reset the taming process
Explanation:
An attempt to generate a large number of session IDs and have a server process them as part of a session hijack attempt is known as what type of attack
Answer:
An attempt to generate a large number of session IDs and have a server process them as part of a session hijack attempt is known as
TCP Session Hijacking.
Explanation:
TCP Session Hijacking is a cyber-attack in which illegitimate access is acquired to a client's server in the network. The attacker then hijacks the TCP/IP session by reading and modifying transmitted data packets and also sending requests to the addressee's server. To achieve this attack effectively, the hacker generates a large number of session IDs, thereby confusing the client's server to process them as a part of the users' sessions. Sessions (a series of interactions between two communication end points) are used by applications to store user parameters and, they remain alive until the user logs off.
list down four ways to start word 2010
A cloud is an example of
Answer:
1st one.
Explanation:
59. When analyzing the IDS logs, the system administrator noticed an alert was logged when the external router was accessed from the administrator's Computer to update the router configuration. What type of an alert is this
Answer:
False Positive
Explanation:
A false positive or false positive error may be defined as a result which indicated that the given conditions seems to exists when it actually does not. It is classified as a type I error. It tests a check for a single condition and then falsely provides a positive or affirmative decision.
In the context, a false positive type of error occurred when the external router of the system administrator was accessed from the computer of the administrator that was used to update the configuration of the router.
Question #1 Mutiple Select Which features are important when you plan a program? Select 4 options. Knowing what you want the program to do. Knowing how to find the result needed. Knowing what the user needs the program to accomplish. Knowing now many lines of code you are allowed to use Knowing what information is needed to find the result.
Answer:
In planning a program, the following features are important.
- Knowing what you want the program to do.
- Knowing how to find the result needed.
- Knowing what the user needs the program to accomplish
- Knowing what information is needed to find the result
You start out by planning on what you want to create. Then you think of what programming language to use. The features to be included and then the task you want this program to accomplish
Answer:A,C,D,E
Explanation:
Which form of data does the image represent? (10 points)
A. Analog data
B. Digital data
Which form of data does the image represent? (10 points)
A. Analog data
B. Digital data
im trying to call the keys in a dictionary I have called "planet_dict". in order for them to be included in the for loop, the values of the keys have to be within a range of
273 <= x <= 373
I understand how to do this with certain values, but idk how to call them from a dictionary.
You can do something like this. My code iterates through the dictionary keys and then we use that key to get a value. We check if the value is between 273 and 373 and if it is, it's a water planet. My code is just a general idea of what to do. Instead of printing, you could add the key to a list and then print the contents of the list.
Database are pranized in
consist of a series of
which consist of a senes of
Answer:
fields and records I guess is the answer
Spanning Tree Protocol (STP) is a loop-prevention mechanism used in modern networks. STP is, however, vulnerable to misconfiguration. Which protections accompany STP
Answer:
Any of the following:
1. Root Guard
2. BPDU Guard
3. BPDU Filtering
Explanation:
Given that STP an acronym of Spanning Tree Protocol, and its major purpose is to stop the bridge loops and the broadcast radiation that emanates from its topology.
Cisco carried out three instruments or tools to protect the STP topology. These protection tools accompany the STP, and they are the following:
1. Root Guard
2. BPDU Guard
3. BPDU Filtering
FIRST TO ANSWER RIGHT GETS BRAINLIEST!!!!! Which of the following sets of data would be represented best in a histogram?
A. the number of toys sold in five price ranges
B. the average monthly sales for the Big Toy Company
C. the number of each type of candy sold last month
D. the temperature at which hard candy melts
Answer:
b
Explanation:
I think it would be B. The average monthly sales for the big toy company because its giving data over history
Which of these are illegal activities? Check all that apply.
running a pyramid scheme
offering free gifts
threatening to harm property
downloading a virus
hacking a computer
Answer:
Offering free gifts
Explanation:
Answer:
ace
Explanation:
Should the security researcher have published exploit code that affects every version of Windows and cannot be patched
Answer:
No.
Explanation:
This is because there is probably the risk of malicious attackers grabbing the published exploit code that affects every window and then utilizes it for dubious purposes. Such as stealing vital information after gaining access.
The most ideal way for the security researcher to go about the exploit code that affects every version of the window is to meet the windows manufacturers, discuss the negative issues of windows software with them and eventually assist them in the software update to troubleshoot the patch.
Discuss two (2) methods for combining multiple anomaly detection methods to improve the identification of anomalous objects. You must consider both supervised and unsupervised cases in your discussion.
Answer:
Supervised anomaly detection is a process in data mining that uses a historic dataset of dependent variables and labeled independent variables to detect outliers or anomalies in the data been mined.
Unsupervised anomaly detection method uses unsupervised algorithms of unlabeled clusters to label and predicts and rule-out outliers or anomalies.
Explanation:
Anomaly detection is a method of identifying data or observations with high deviation or spread from other grouped data. Supervised and unsupervised machine learning algorithms are used to predict and detect abnormal datasets or outliers during data mining.
The supervised anomaly detection algorithm trains the model with a dataset, for the algorithm to derive a function it could use to predict outlier or anomalies. The unsupervised detection algorithm is able to cluster and label normal and abnormal data in the dataset, using this function to detect anomalies in future datasets.
To solve the difficulty of scaling memory organization, memories are physically organized into a ____-dimensional organization.
A) one
B) two
C) three
D) multi
Which of these is an example of collective voice?
A. He hopes to make the world better for his children.
B. I have always dreamed of a kinder and better world.
C. We are here to make a better world for our children.
D. Your purpose is to make the world a better place.
Answer:
option C
hope it helps! please mark me brainliest..
Merry Christmas good day
Answer:
c
Explanation:
g The method of mapping where each memory locationis mapped to exactly one location in the cache is
Answer:
Direct Mapped Cache
Explanation:
Given that a Direct Mapped Cache is a form of mapping whereby each main memory address is mapped into precisely one cache block.
It is considered cheaper compared to the associative method of cache mapping, and it is faster when searching through it. This is because it utilizes a tag field only.
Hence, The method of mapping where each memory location is mapped to exactly one location in the cache is "Direct Mapped Cache"
In which program structure does the processor verify the mentioned condition only after executing the dependent statements once?
A. Switch Case Structure
B. Do While Structure
C. If Else Structure
D. For Structure
E. While Structure
What is the output for the following line of code?
# print(3)
O3
O'3
O There is no output.
O An error statement is generated.
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct option for this question is: There is no output.
Because this is a Python code. and it is a comment statement. The code line that begins with the # symbol considered a comment statement. The comment statement code will not be executed when you run the program.
While the other options are not correct because:
The given line of code is considered as a comment statement. The comment statement will be executed on running the program. It is used for understanding the program that helps the program to read and understand the logic being written here. When you run the comment statement, it will not produce any output or error.
Answer: O There is no output.
Explanation:
The "#" is utilized as a comment statement in Python code. It is not meant to be put into effect when the program is ran.
(Confirmed on EDGE)
I hope this helped!
Good luck <3
Mark is working on a feature film project. His job is to portray the economic status, occupation, and attitude of the characters visually. Which role is he playing?
Answer:
Videographer
Explanation:
Answer:
i think i would be costume designer
Explanation:
because if you spell videographer it gives you the little red squiggly line
What is included in a linked list node?
I a reference to the next node
II an array reference
III a data element
Answer: I a reference to the next node
III a data element
Explanation:
A linked list is simply referred to as a linear data structure, whereby the elements would not be stored at memory locations that are together in the sequence.
In simple words, we can simply say that a linked list is made up of nodes in which, every node has a data element and also a link or reference to the next node that is in the list.
Therefore, based on the explanation above, the correct option will be:
I. a reference to the next node
III a data element
_________ can be used to provide access control, confidentiality, data origin authentication, connectionless integrity, rejection of replayed packets, and limited traffic flow confidentiality.
Answer:
IPSec
Explanation:
IPSec is an acronym for Internet Protocol Security. It is a standardized protocol used in determining the cryptographic and authenticated packets across the Internet Protocol networks.
It can be utilized to establish access control, confidentiality, data origin authentication, connectionless integrity, rejection of replayed packets, and limited traffic flow confidentiality.
Question # 6
Dropdown
Choose the line of code that completes this program.
Output:
dog named Tiger
class pet:
def __init__(self,strSpecies,strName):
self.species = strSpecies
self.petName = strName
def __str__(self):
return self.species + " named " + self.petName
def changeName(self, newName):
self.petName = newName
# main program
myPetA = pet('dog', 'Spot')
print(myPetA)
Answer:
myPetA.changeName('Tiger') should be it
Explanation:
Answer:
myPetA.changeName('Tiger')
Explanation:
Correct answer edge 2020