Answer:
if x > 100:
y = 20
z = 40
Explanation:
write a an algorithm to find out volume?
some of the ways we can resolve IPv4 address shortage
Answer:
NAT
Proxy
IPv6
Explanation:
Network Address Translation (NAT) allows a local area network (LAN) to connect to the internet using only one external IP address. The LAN addresses (typically 192.168.x.x) can be used over and over again.
A proxy is a computer that makes requests to the internet on behalf of the computers on a LAN. It is a more restricted flavour compared to the NAT, but the effect is the same.
IPv6 is a new addressing scheme that will use a 48 bits address space rather than a 32 bits address space of IPv6, and that would provide plenty of addresses.
What do you understand by storage devices ? Name any two storage devices.
Answer:
Types of storage devices
Primary Storage: Random Access Memory (RAM) Random Access Memory, or RAM, is the primary storage of a computer. ...
Secondary Storage: Hard Disk Drives (HDD) & Solid-State Drives (SSD) ...
Hard Disk Drives (HDD) ...
Solid-State Drives (SSD) ...
External HDDs and SSDs. ...
Flash memory devices. ...
Optical Storage Devices. ...
Floppy Disks.
Answer:
this are the 2 examples of storage device
Hard Disk Drives (HDD)
Solid-State Drives (SSD)
Explanation:
basically storage device is a piece of hardware that is primarily used for storing data.
I hope it helps mate
mark me brainliest plsss
I will always help you understanding your assingments
have a great day
#Captainpower :)
What is a commonly used software access restriction for a computer system connected to other networks such as the internet?
a.Passwords
b. Firewall
c. encryption
d. biometric systems
Answer:
firewall
Explanation:
This is similar to the last problem, except that the first number on a line is an ID number that identifies an account. The same ID number may appear on any number of lines. Use a Dictionary to accumulate, for each ID, the sum of all the numbers that are on all the lines with that ID number. Call the input file id_data.txt. Write an output file called ID_sums.txt. On each line of the output fille, print an ID number and the sum. Sort the lines by the numerical order of the IDs
Answer:
Following are the code to this question:
def getSum(ID):#defining a method getSum that accept an ID
t= 0#defining a variable t
while ID!= 0:#defining while loop to check ID not equal to 0
t+= ID % 10# holding remainder value
ID = ID // 10#holding quotient value
return t#return total value
def readRecord(S):#defining a method readRecord that hold list
f_Read = open("idInfo.txt","r")#defining a variable f_Read to open file
for C_ID in f_Read:#defining for loop to hold file value
C_ID = C_ID.replace('\n', '')#use replace method
S[C_ID] = getSum(int(C_ID))#use list to method value
f_Read.close()#close file
def sortRecord(ID_List, t_List):#defining a sortRecord
for x in range(len(ID_List) - 1):#defining for loop to calculate the length of list
for y in range(0, len(ID_List) - x - 1):#defining for loop to calculate the length of list
if ID_List[y] > ID_List[y+1]:#defining if block to check value is greater
ID_List[y], ID_List[y+1] = ID_List[y+1], ID_List[y]#swap the value
t_List[y], t_List[y+1] = t_List[y+1], t_List[y]#swap the value
def showReport(ID, t):#defining a method showReport that accept id and t
for i in range(len(ID)):#defining for loop to hold index value
print(ID[i]," ",t[i])#print index value
def writeRecord(ID_List, t_List):#defining a method writeRecord that accept two list
f_Write = open("idSorted.txt","w")#defining a variable f_Write to hold store value in file
for i in range(len(ID_List)):#defining a for loop to store value with index
f_Write.write(ID_List[i])#hold list value
f_Write.write(" ") #for space
f_Write.write(str(t_List[i]) + "\n")# add index value
f_Write.close()#close file
def run():#defining method run
S = {}#defining an empty list
readRecord(S)#passing list into readRecord method
ID_List = list(S.keys())#defining a variable that holds key value in list
t_List = list(S.values())#defining a variable that holds values value in list
sortRecord(ID_List, t_List)#calling a method sortRecord by passing value
showReport(ID_List, t_List)#calling a method showReport by passing value
writeRecord(ID_List, t_List)#calling a method writeRecord by passing value
if "run":
run()
Output:
Please find the attached file.
Explanation:
In the above program code, 6 method getSum, readRecord, sortRecord,showReport, writeRecord, and run method is defined, in which getSum and readRecord is used a single list store value in parameters, and in other methods, it accepts two parameter to store value in key and values form and use a txt file to store and take value.
In the run method, an empty list s is declared, that pass into the variable ID_List and t_List, and call the method, in this program two a text file "idInfo.txt" is used, that holds some value in the file, and create another file that is "idSorted.txt", in this file it stores the value in the numerical order of the ID's.
public class Main{ public static void main(String [] args){ String name=WelcomeJava; Runnable r1=() -> System.out.println(name); String name1 = name.toUpperCase(); Runnable r2=() -> System.out.println(name1); r1.run(); } }
What is the output of the above program?
Answer:
Concept: Programming
You take a string as an input, and you output the result which is a user defined name.Then you take that name and turn all the strings to uppercase in name and return that result.Rate brainlistThe output of the given program is,
''WelcomeJava''
Given program is,
public class Main {
public static void main(String[] args) {
String name = "WelcomeJava";
Runnable r1 = () -> System.out.println(name);
String name1 = name.toUpperCase();
Runnable r2 = () -> System.out.println(name1);
r1.run();
}
}
Now, This program defines a class called Main, with a main method as the entry point.
It declares a String variable name with the value "WelcomeJava".
Then, it creates a Runnable r1 that prints the value of the name when executed.
Next, it converts the name to uppercase and assigns the result to name1.
Finally, it creates another Runnable r2 that prints the value of name1 when executed.
In the main method, r1 is called using the run method, resulting in the output "WelcomeJava".
Read more about Python programs at:
brainly.com/question/26497128
#SPJ4
In the Dognition_aggregated_by_DogID data set, what is consistent about the relationship between breeding group and number of tests completed, regardless of whether you aggregate the variable representing the number of tests completed by the median or the average of the breeding group?
Answer:
Toy dogs
Explanation:
Tableau is an application used for statistically analyzing and visualizing data. It is very popular for its ecstatic data visualization figures and works with all dataset types to create a tableau data format.
The Dognition_aggregated_by_DogID dataset holds data for the different dog types, breeding, and tests done on them. The consistent relation between the breeding group column and tests completed is the toy dogs.
Mary is writing an article about the animal kingdom. She wants to place an image below the text. Which menu should Mary choose for this
purpose?
Mary needs to choose the _________
menu in order to place the text in a desired fashion around the image
Plato btw
Answer:
she needs to choose the insert menu
what type of collection is used in the assignment statement
info: [3:10,4:23,7:10,11:31]
tuple
list
Duque
dictionary
Answer:
The correct answer to this question is given below in the explanation section.
Explanation:
There are four data types in Python used to store data such as tuple, list, set, and dictionary.
The correct answer to this question is option D: Dictionary
Dictionary data type is used to store data values in key:value pairs as given in the question. It is a collection that is changeable, unordered, and does not allow duplicate entries.
Dictionaries in Python are written with curly brackets and have keys and values such as car={name="honda", model=2010}
when you run the given assignment statment such
info= {3:10,4:23,7:10,11:31}
print(info)
It will print the info dictionary (key:value pair)
{3: 10, 4: 23, 7: 10, 11: 31}
While other options are not correct because:
Tuples in Python are used to store multiple items in a single variable. For example:
info=("apple", "banana", "cherry")
List is used to store multiple items in a single variable. for example
myList = ["apple", "banana", "cherry"]
print(myList)
The list is ordered, changeable, and allows duplicate entry. But you can not put key: value pair in the list.
Deque is a double-ended queue that has the feature to add or remove an element on it either side.
Answer:
Dictionary is the answer
A formal method for designing and representing human-computer interaction dialogues using box and line diagrams is called:________.
Answer:
Dialogue Diagramming
Explanation:
Dialogue is simply a sequence of interaction that usually occurs between a user and a system.it consists of Designing the dialogue sequence, Building a prototype and Assessing Usability
Dialogue diagramming is a known widely anf formal means by which we are designing and representing human-computer dialogues using box & line diagrams.
I'm in Paris and want to take a picture of my mom in front of the Eifel Tower. I want both her and the tower to be in sharp focus. Which aperture is likely to do the best job of giving me that deep depth of field?
a) 2
b) 5.6
c) 11
d) 22
50 Points and brainliest mark
Answer:
Explanation:
It depends on the day. 5.6 might be best if it is a cloudy day. 2 would not work under any conditions.
11 might work well on a hazy day, but the sun is sort of visible.
A nice clear sunny day would allow you to use 22.
Answer:
Generally, a small aperture like f/8 will give you enough depth of field to be able to make most of your image sharp. However, if the subject is too close to your camera, you might need to either move back or stop down the lens even further to get everything looking sharp
And mostly :
It depends on the day. 5.6 might be best if it is a cloudy day. 2 would not work under any conditions. 11 might work well on a hazy day, but the sun is sort of visible. A nice clear sunny day would allow you to use 22.what is priori criteria in econometric?
a priori probability refers to the likelihood of an event occurring when there is a finite amount of outcomes and each equally likely to occur. the outcomes in a priori probability are not influenced by the priori outcome.
Answer:hbvfcxzsxdfcgvhbgfds
Explanation:
explain the major innavotions made from the establishment of abacus
Answer:
The abacus is one of many counting devices invented to help count large numbers.
Explanation:
A(n) __________ records the activities of computer operators surrounding each event in a transaction.
A. threat analysis
B. audit trail
C. DNA profile
D. expert systems analysis
Answer:
B. audit trail
Explanation:
A(n) audit trail records the activities of computer operators surrounding each event in a transaction.
If you wanted readers to know a document was confidential, you could include a ____ behind the text stating
"confidential".
watermark
theme
text effect
page color
Answer:
watermark
Explanation:
Which focal length and aperture combination is most likely to give you a deep depth of field?
a)50mm f2
b)120mm f4
c)18mm f22
d)120mm f5.6
50 points and brainliest mark
Answer:
f/11 is the answer I think
Amanda would like to add text to a slide in her presentation. Select all of the correct methods she can use to add text.
Select "Text" from the Insert menu.
Click in the Task pane and enter text.
Draw a text box, click in it, and enter text.
Click in a placeholder and enter text.
PLEASE help
Answer:
Draw a text box
Explanation:
Because if she draw it she can edit and write what she want
A specific packet journey, from your computer to a remote server, end-to-end across multiple networks, has the following link bandwidths (packet travels across each of these links, in order): 1000 Mbps, 1 Mbps, 40 Mbps, 400 Mbps, 100 Mbps, 1000 Mbps. Assuming your computer and the server can transfer data at > = 1000 Mbps (so neither device is limiting the data transfer relative to the links), how long, in seconds, will it take to transfer a 125 MB file?
Answer:
0.125 seconds
Explanation:
The formula for the time taken to transfer the file is = file size / bandwidth
Assuming the computer and server could only transfer data at the speed of 1000 Mbps or more, The time of transmission is;
= 125 MB / 1000 Mbps = 0.125 seconds.
GIVEING BRAINLIST TROLL ANSWERS GET REPORTED Don't worry about making a vid 100 POINTS IF U DONT KNOW DONT ANSWER UNIT 2
Lab
Each lab includes instructions or questions requiring the use of the internet to complete the task. Please use complete sentences and appropriate headings where applicable. If included, refer to the rubric below to see how you will be graded. Note that links open a new browser window.
Submit your work as a file attachment using the dropbox tool.
This lab is worth 10 points.
UNIT 2 LAB
Chemistry Matters
Subjects that we learn in school can lead us down all kinds of different career pathways. In these three cases, watch how an interest in chemistry helped some people find the perfect career. Note how each of these chemistry enthusiasts ended up in different career clusters.
Career Connections: Food Scientist
Career Connections: Chemical Engineer
Career Connections: Chemist
Now imagine that you are a reporter. Your local high school has decided to do away with chemistry class because no one seems to want to take it. You have been asked to do a five-minute news segment on the ways that keeping the chemistry class can positively impact the community. To prepare for the segment, watch the above videos and consult the Bureau of Labor Statistics’ Occupational Outlook Handbook.
In your video, answer the following questions:
How did chemistry prepare each of these people for their career?
What opportunities was each person able to take advantage of as a result of their background in chemistry?
What is the career outlook for each of these careers?
How you get into the field (Hint: See the “How to become…” section of the Occupational Outlook Handbook)
Typical pay (Hint: See the “Pay” section of the Occupational Outlook Handbook)
How fast this career is expected to grow (Hint: See the “Job Outlook” section of the Occupational Outlook Handbook)
How does each person’s work benefit the community? (This will help people understand the importance of offering chemistry to those who are still in school.)
It’s up to you to convince your viewers that chemistry can be useful in planning their career paths! Create and upload a five-minute video of your news segment.
TABLE Grading Rubric
Video Mechanics Video Content
Full Credit
Student has submitted a video that is clear and five minutes long.
Student has discussed all three careers and answered all four questions.
Partial Credit
Student has submitted a video that is unclear OR that is less than five minutes long.
Student has discussed one or two of the careers OR student has not adequately answered all four questions for each career.
Little Credit
Student has not submitted a video OR student’s video is unclear.
Student has not discussed the three careers OR student has not answered the questions.
?
How did chemistry prepare each of these people for their career?
All of their jobs are related with some form of Chemistry. Food Scientists work with different foods, and working on making better ones. Chemical Engineers focus on finding new and innovative uses for different elements. And Chemists focus on different breakthroughs in the periodic table. It all came from the first Chemistry Course they took in high school.
What opportunities was each person able to take advantage of as a result of their background in chemistry?
As said previously, they all studied chemistry from College (Maybe even High School.) If they never took these courses, they would be behind and it would be much harder for them to pursue any of these careers.
What is the career outlook for each of these careers?
All of these careers make $72,610 per year, as of 2015. This is a whole $6,050 per month, $1,512 a week. Plenty of influential people were Chemists, included Alfred Nobel, Marie Curie, and Louis Pasteur.
How you get into the field (Hint: See the “How to become…” section of the Occupational Outlook Handbook)
To enter the field, you need to start studying Chemistry. There are many paths of Chemistry, such as Biochemistry and Chemistry. These each branch out in several different ways. Think of it like a tree.
Typical pay (Hint: See the “Pay” section of the Occupational Outlook Handbook)
As said in an earlier segment, the average Chemist makes $72,610 per year, as of 2015, and the average Chemical Engineer makes up to 90k per year.
How fast this career is expected to grow (Hint: See the “Job Outlook” section of the Occupational Outlook Handbook)
This is a career that will always be needed. Discovering new elements for the periodic table is extremely important. No matter where we live, whether in America, in Europe, even on another planet, this job will always be a necessity.
How does each person’s work benefit the community? (This will help people understand the importance of offering chemistry to those who are still in school.)
Each person's work is extremely beneficial, because without this branch, and every chemist's work, we would not have:
1. Clean Water
2. Gasoline
3. Antibiotics or Vaccines
4. Electricity
5. Plastic
And many other things would not exist.
Ryan is a manager who maintains an official record of the events that happen in his company. At the end of the day, he writes about the events that took place. The words that he frequently mentions in his record are today, client, and meeting. The moment he types the first two letter of these words, they appear as a suggestion. Which feature of the word processing program makes these suggestions
Answer: word completion
Explanation:
Answer:
Word Completion
Explanation: because i took the test.
Put the steps in order to produce the output shown below. Assume the indenting will be correct in the program.
5 3
9 3
5 7
9 7
Answer:
I took a screenshot of the test withe that question
Explanation:
C++
Write a program that reads in at most 100 integers that are between 1 and 100 and counts the occurrence of each number in the list. Assume the list ends when a zero is inputted.
Answer:
#include <iostream>
#include <map>
using namespace std;
int main()
{
map<int, int> numbers;
cout << "Enter numbers, 0 to finish" << endl;
int number;
while (true) {
cin >> number;
if (number == 0) break;
numbers[number]++;
}
for (pair<int, int> element : numbers) {
std::cout << element.first << ": occurs " << element.second << " times" << std::endl;
}
}
Explanation:
One trick used here is not to keep track of the numbers themselves (since that is not a requirement), but start counting their occurrances right away. An STL map< > is a more suitable construct than a vector< >.
Please help with this
Answer:
Horizontal lines chart/graph
Select the correct answer. Which type of computer application is Apple Keynote? OA. word processor O B. spreadsheet O C. presentation OD. database O E. multimedia
Answer:
Apple Keynote is presentation Software
The correct option is C
Explanation:
Now let explain each option
Word processor:
Word processor is incorrect because it is used to type text, format it add tables and figures, For example MS Word
Spread Sheet:
Spread Sheet is incorrect as it is used for calculation. Like MS Excel
Presentation:
Key tone is a presentation software. it is used to make presentation and add animation and transition to it.
Database
Database is incorrect because databases are used for storing data. Not for presentation.
how do you evaluate the use of the navigational aids and technology
Explanation:
A navigational aid or AtoN or navaid is any sort of marker that guides to mark safe waters and also help mariners in determining their position with respect to land or any navigational hazard or hidden danger. Traditionally aids to navigation have been physical aids such as lighthouses, buoys and beacons
describe the impact of technology in your life . how does it affects your human relations with other people .
Answer:
Technology has a huge impact on my life, it has helped me visit places, talk to people, and captivate me. For example, using a car I have visited my friends and family. This is making a stronger bond with those people I visited. And, using my phone I can call and text people. this has led to making lots of friends and stronger relationships. Technology is important for human contact unless you want to ride carriages around the streets.
what is bullk email software
The type of device which is 3 ½ inch floppy drive is
Answer:
That would be known as a floppy disk(literally)
Explanation:
It is a removable magnetic storage medium. They are used for moving information between computers, laptops or other devices.
explain the major innavotions made from the establishment of abacus
Answer:
The summary of that same question would be described throughout the following section.
Explanation:
Specification of simple or rough arithmetic has been accomplished through imaginative technologies with stone blocks, developers have always used computer systems again for the past decades. The varying forms of technology of the 5th generation were indeed desktops, notebooks, or laptops, and they can look at images of pieces of machinery that have been pioneered before today's computer systems.
The U.S. military's standard for computer security is known as
DCS-3000.
TEMPEST.
Daubert standard.
Carnivore.
Answer:
TEMPEST.
Explanation:
TEMPEST is an acronym for Telecommunications Electronics Materials Protected from Emanating Spurious Transmissions and it is a secret (classified) project of the government of the United States of America that originated with its military in the 1960s based on the study of security with respect to telecommunication devices emitting Electromagnetic Radiation (EMR).
Hence, the U.S. military standard for computer security is known as TEMPEST.
The main purpose of the Telecommunications Electronics Materials Protected from Emanating Spurious Transmissions (TEMPEST) is to prevent the theft, compromise or interception of informations that are being transmitted on various telecommunications devices through the use of Electromagnetic Radiation (EMR).