Answers

Answer 1

an electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program.

hope this helps


Related Questions

Write a C program that gets 4 integer values from the user, namely, x1, x2, y1, and y2, and then calculates and returns the distance according to the above formula. Use whatever format for entering your data you like. Your program should prompt the user for these values, accept input from the keyboard, and then print out the result. You will have to execute the program four times to cover the test cases below (feel free to use a loop if you want to work ahead). Include a screenshot (or four) that shows the results for the following values: 1) (2,3), (4,5) 2) (4,3), (-6,-5) 3) (-1,3), (4,-2) 4) (-9,-12), (-7, -8)

Answers

Answer:

#include <stdio.h>

#include <math.h>

int main(){

   float x1,x2,y1,y2,distance;

   printf("x1: ");    scanf("%f", &x1);

   printf("y1: ");    scanf("%f", &y1);

   printf("x2: ");    scanf("%f", &x2);

   printf("y2: ");    scanf("%f", &y2);

   distance = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2));

   printf("Distance: %f", distance);

   return 0;

}

Explanation:

This line declares all required variable (i.e. the coordinates and the distance)

   float x1,x2,y1,y2,distance;

The next four line prompt and get input for the coordinates

   printf("x1: ");    scanf("%f", &x1);

   printf("y1: ");    scanf("%f", &y1);

   printf("x2: ");    scanf("%f", &x2);

   printf("y2: ");    scanf("%f", &y2);

This calculates the distance

   distance = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2));

This prints the calculated distance

   printf("Distance: %f", distance);

See attachment for sample runs

Use the drop-down menus to match each description to its corresponding term.

millions of tiny dots on a computer screen
number of pixels that span an image’s width multiplied by its height
pixels mapped onto an X-Y coordinate plane

Answers

Answer:

Your answer is

Explanation:

A monitor's screen is divided up into millions of tiny dots, called ________. Select your answer, then click Done.

You chose pixels, clicked the Done button.

Abby has a research paper to write and doesn't know which sites provide quality information. Which of the following sites is the best site for a research paper? Click the image(s) to select the answer. When you are finished, click Done.

You selected the College Online Library option, clicked the Done button.

Answer:

millions of tiny dots on a computer screen

✔ pixels

number of pixels that span an image’s width multiplied by its height

✔ image resolution

pixels mapped onto an X-Y coordinate plane

✔ raster graphic

Get it ig

You have a limited budget and you need to type color documents frequently, which type of printers would you buy?​

Answers

Answer:

you can use these printer if you have this amount of budget

Explanation:

Stroke weight - ____ of the line around a shape or size of the point

Answers

Explanation: "A stroke is referred to as an outline, or instead, it describes the edges of a shape or a simple line. The stroke height can be modified by changing the settings in an appropriate panel. ... Flash uses the color panel to determine whether that color is for fills or strokes.

(17) The solution to the LP Relaxation of a maximization integer linear program provides a(n) a. upper bound for the value of the objective function. b. lower bound for the value of the objective function. c. upper bound for the value of the decision variables. d. lower bound for the value of the decision variables.

Answers

Answer:

,.................xd

technical processor used in translate of instruction programs into single easy form for the computer to execute​

Answers

Answer: The process of translation instructions expressed in a higher-level language into machine instructions (sometimes translating into Assembly language as an intermediate step) is called compilation, using a tool called a Compiler.

Explanation:

Complete the sentence.

When you enter “weather.com" into the URL, the _____ acquires the IP address.

a. Revolver
b. HTTP
c. Telnet

Answers

the http acquires the ip address

Explanation:

this is because it is the default protocol

Answer:

A. Revolver

Explanation:

On Edge, it states that a revolver, "makes a request to a name server, giving a domain name and receiving an IP address."

I hope this helped!

Good luck <3

why is GDS important to travel industry?

Answers

Answer:

A Global Distribution System (GDS) is a wonderful tool that properties should use to reach customers easily. This is a central reservation system that allows travel agents to access hotel rates and availability as well as prices for flights, trains and rental car companies in real time.

Sentence Deobfuscate Name this file deobfuscate.cpp Hints: Don’t overthink this problem. Prompt the user to enter a collection of sentence words (i.e., words in the sentence), with the spaces removed (i.e., the obfuscated sentence) and with words that are less than ten (10) letters each. Then prompt the user to enter a sequence of numbers that represent the length of each corresponding sentence word (i.e. the deobfuscated details). Output the deobfuscated sentence. Convert char c to int by subtracting 48 (‘0’) from c.
Sample Execution:
Please enter obfuscated sentence: Thisisasentence
Please enter deobfuscation details: 4218
Deobfuscated sentence: This is a sentence

Answers

Answer:

In C++:

#include <iostream>

using namespace std;

int main(){

   string text,lengt;

   cout<<"Please enter obfuscated sentence: ";    cin>>text;

   cout<<"Please enter deobfuscation details: ";    cin>>lengt;

   string t1, t2;

   int kount = 0;

   for(int i = 0;i<lengt.length();i++){

   kount+=(int)(lengt[i]-'0');

   t1 = text.substr(0, kount);

   t2 = text.substr(kount, text.length()-1);

   text = t1 +" "+ t2;

   kount++;   }

   cout<<"Deobfuscated sentence: "<<text;

   return 0; }

Explanation:

This declares the text and the deobfuscation details as string

   string text,lengt;

This prompts for the sentence

   cout<<"Please enter obfuscated sentence: ";     cin>>text;

This prompts for the details

   cout<<"Please enter deobfuscation details: ";     cin>>lengt;

t1 and t2 are declared as string. They are used to split the texts into 2 parts

   string t1, t2;

This declares and initializes a count variable to 0  

   int kount = 0;

This iterates through the deobfuscation details

for(int i = 0;i<lengt.length();i++){

This gets each deobfuscation character

   kount+=(int)(lengt[i]-'0');

The next two instructions splits the text into 2

This gets from 0 to kount.

   t1 = text.substr(0, kount);

This gets from kount to the last index

   t2 = text.substr(kount, text.length()-1);

The new string or sentence is calculated here

   text = t1 +" "+ t2;

The kount variable is incremented by 1

   kount++;   } The loop ends here

This prints the new sentence

   cout<<"Deobfuscated sentence: "<<text;

See attachment for program file

how are headers and footers are useful in presentation​

Answers

Answer:

Explanation:

PowerPoint is a software that allows user to create headers as well as footers which are information usually appears at the top of the slides and the information that appears at the bottom of all slides. Headers and footers are useful when making presentation in these ways:

✓ Both provide quick information about one's document/ data clearly in a predictable format. The information that is provided by the Header and footers typically consist of ;

©name of the presenters,

©the presentation title

©slide number

©date and others.

✓ They help in setting out different parts of the document.

✓Since the Headers and footers can appear on every slide, corporate confidentiality as well as copyright information can be added to footer area to discourages those that can steal ones secrete.

Write a SELECT statement that answers this question: Which products have a list price that’s greater than the average list price for all products? Write this using a subquery. Return the ProductName and ListPrice columns for each product. Sort the results by the ListPrice column in descending sequence.

Answers

Answer:

Following are the query to the given question:

Explanation:

Query:

SELECT ProductName,listprice FROM Products  where  listprice > (SELECT AVG (p.listprice)  FROM productsp)  ORDER BY  listprice DESC;

Description:

In the above-given query, multiple select statements are used, in the first statement, it selects the column that is "ProductName and listprice" from the products table and uses where clause to check the listprice that is greater than another select statement.

In this, it calculates the average listprice of the table and converts a value into descending order.  

On a roulette wheel, the pockets are numbered from 0 to 36. The colors of the pockets are as follows: Pocket 0 is green. For pockets 1 through 10, the odd-numbered pockets are red and the even-numbered pockets are black. For pockets 11 through 18, the odd-numbered pockets are black and the even-numbered pockets are red. For pockets 19 through 28, the odd-numbered pockets are red and the even-numbered pockets are black. For pockets 29 through 36, the odd-numbered pockets are black and the even-numbered pockets are red. Write a program that asks the user to enter a pocket number and displays whether the pocket is green, red, or black. The program should display an error message if the user enters a number that is outside the range of 0 through 36.

Answers

Answer:

pkt = int(input("Pocket Number: "))

if pkt == 0:

   print("Green")

elif pkt >= 1 and pkt <=10:

   if pkt%2 == 0:

       print("Black")

   else:

       print("Red")

elif pkt >= 11 and pkt <=18:

   if pkt%2 == 0:

       print("Red")

   else:

       print("Black")

elif pkt >= 19 and pkt <=28:

   if pkt%2 == 0:

       print("Black")

   else:

       print("Red")

elif pkt >= 29 and pkt <=36:

   if pkt%2 == 0:

       print("Red")

   else:

       print("Black")

else:

   print("Error")

Explanation:

The program was written in Python and the line by line explanation is as follows;

This prompts user for pocket number

pkt = int(input("Pocket Number: "))

This prints green if the pocket number is 0

if pkt == 0:

   print("Green")

If pocket number is between 1 and 10 (inclusive)

elif pkt >= 1 and pkt <=10:

This prints black if packet number is even

   if pkt%2 == 0:

       print("Black")

Prints red, if otherwise

   else:

       print("Red")

If pocket number is between 11 and 18 (inclusive)

elif pkt >= 11 and pkt <=18:

This prints red if packet number is even

   if pkt%2 == 0:

       print("Red")

Prints black, if otherwise

   else:

       print("Black")

If pocket number is between 19 and 28 (inclusive)

elif pkt >= 19 and pkt <=28:

This prints black if packet number is even

   if pkt%2 == 0:

       print("Black")

Prints red, if otherwise

   else:

       print("Red")

If pocket number is between 29 and 36 (inclusive)

elif pkt >= 29 and pkt <=36:

This prints red if packet number is even

   if pkt%2 == 0:

       print("Red")

Prints black, if otherwise

   else:

       print("Black")

Prints error if input is out of range

else:

   print("Error")

How can we make our programs behave differently each time they are run?

Answers

Answer:

By given the right speech as much as the answers must be

Explanation:

By given the right speech as much as the answers must be

Which of these is a problem that a computer CANNOT solve
A. Getting the news out to the public quickly
B. Helping architects build models of new buildings
C. Getting rid of racism
D. Making a game for entertainment

Answers

The answer should be C

Getting rid of racism

Hope this helps

advantage of micro teaching over traditional way of teaching ​

Answers

Micro teaching focuses on sharpening and developing specific teaching skills and eliminating errors. It enables understanding of behaviors important in classroom teaching. It increases the confidence of the learner teacher. ... It enables projection of model instructional skills.

A Products table and an Orders table have several linked records that are joined by a cross-referencing table named ProductsOrders. What kind of table relationship do these tables demonstrate?
A.one-to-one
B.one-to-many
C.many-to-many
D.many-to-none

Answers

Answer:

I believe it could be D. many to many.

Answer:

C. Many-to-Many

Explanation:

:)

Which of the statements below describe how to print a document?

Answers

Is there supposed to be a picture? We can’t see the options.

So what do I do if it doesn't take me to the sign up page? I

Answers

Answer:

Try to restart the computer or something.

Explanation:

What kinds of animations are available for slide objects besides animations for entrances and exists?

Answers

Entrance. Entrance animations are used to introduce a slide object within a slide or Emphasis. Emphasis animations are used to animate slide objects that are already present on a slide.

You have many drugs that you want to store electronically along with their purchase dates and prices, what kind of software would you use? *

Wordprocessing
Database
Presentation
Spreadsheet​

Answers

Answer:

Database

Explanation:

To store a variety of drugs electronically, along with displaying their purchase dates and prices, the kind of software that would be used is database.

differentiate between system software and application software

Answers

Answer:

system software is the software which control overall operation of the computer . For eg. Ms.dos ,window 2003 ,etc whereas application software is a software which work on the top of operating system to solve number of problems .For eg. Ms.word,Ms.excel,etc

Difference between system software and application software :

1.) System software is used for operating computer hardware. On other hand Application software is used by user to perform specific task.

2.) Low level languages are used to write the system software. While high level languages are used to write the application software.

3.) System Software a general purpose software. While application software a specific purpose software.

4.) Without system software, system can’t run. While without application software system always runs.

5.) System software runs when system is turned on and stop when system is turned off. While application software runs as per the user’s request.

6.) System Software programming is complex than application software. Application software programming is simpler as comparison to system software.

HOPE IT HELPS

PLEASE MARK ME BRAINLIEST ☺️

This is for school. The teacher told us to make a song. Here is mine plz be honest and tell me if it is good or not. Plz be honest


So now that we r friends we can all shake hands. I’m glad the bad things r off my mind because I can get back to my grind yeah. So now I feel free can’t you see. Yeah, I’m happy. Yeah, I’m happy yeah. Yeah, I’m happy. Yeah, I’m happy yeah. Now back to the beat while I sit in my seat and get something to eat. Yeah… Uh huh. LET’S GO! So, as I’m walking down the street, I feel free Uh. Don’t play with me yeah. Don’t act like a clown in my hometown. U wana be frowning because I made a touchdown. Maaaaaaaan STOP HATIN. U wana hate go get u a plate. Oh wait... you can’t get a plate. Driving in my car aint going to far. Gona hit the... dance bar! Dance on the floor gona break the door. Alright I’m tired time to go home and play on my phone.

Answers

Answer:

it's funny I honestly like it I guess it just depends on if your teacher has a sense of humor

THE IS REALLY VERY GOOD....

AND ALL THE BEST FOR YOUR SONG....

Which of the following is a tip for making sure you are messaging safely?
A.Always use your full name.
B.Be careful who you allow on your buddy list.
C.Fill in your online profile in accurate detail.
D.Ignore instances of online harassment.

Answers

Answer:

B.

Explanation:

You have to be careful about the people you talk too, because, if you don't, you can be in real danger.

sorry if I am wrong

Answer: B

Explanation:

Why do we need operating systems?

Answers

NO NOSE PORQIE JExplanation:

You have a certificate that you want to convert into digital form, what kind of device would you use? *
نقطتان (2)
Printer
Barcode scanner
Scanner
Plotter​

Answers

Answer:

Scanner.

Explanation:

In this scenario, you have a certificate that you want to convert into digital form, the kind of device you would use is a scanner.

When scanners and digital cameras are used to capture images that are uncompressed or minimally processed image file, it is known as a RAW image file.

Generally, this file type are usually very large in size because of their lossless quality and does not have any alteration and as such have not been processed; thus, cannot be printed

Identify the suitable synonym for the given words
ignorant

Answers

Answer: uneducated

Explanation:

uneducated

uneducated, mindless

advantage of using computer​

Answers

Answer:

What are the advantages of using a computer?

Although there are disadvantages to using a computer, we believe the advantages greatly outweigh the disadvantages (although we may be biased). Below is a list of the main advantages and benefits you'll get and society gets from using a computer.

Increase your productivityComputers increase your productivity and, with a good understanding of the software running on them, you become more productive at everything you do. For example, once you have a basic understanding of using a word processor, you can create, store, edit, share, and print documents and letters. Each of these things was either impossible or slower with all pre-existing technologies.

Connects you to the InternetConnecting a computer to the Internet is what unlocks the full potential of a computer. Once connected, your choices and available options are almost limitless. Many of the benefits listed on this page are with a computer connected to the Internet.

Can make you money?When connected to the Internet, a computer could help you make money many different ways. For example, it's cheaper to create and run an online store than having a physical store. Also, once online, your store or product has a global audience and you could sell to anyone in the world.Save timeToday, there are many services that help save you time. Several examples are listed below.

Using a site like Amazon, you can find many of the same products you would find at a store for the same price or cheaper. You can also have those items shipped to your door without having to leave your home.

You could use an online banking site to view your bank balance and pay bills.

If your favorite restaurant has a website, you can order take out without having to wait in line.

You can view online traffic cameras and maps with traffic information to find the quickest route.

Adding Calculator Write a program that simulates an adding machine. Input to the program will be integers, submitted one per line. Input should be handled as follows: a nonzero value should be added into a subtotal; a zero value should cause the subtotal to be printed and reset to zero; two consecutive zeroes should cause the total (not subtotal) of all the values input to be printed and the program to be terminated. Here’s an example of how the program should work. However, it is only an example. Your program should work for any test case. Input is in red and output is in blue. Your program does not need to display colors, they are show here for illustration only so that you can distinguish input and output.

Answers

The calculator program is an illustration of iteration (loop) and conditional statements

What are iterations?

Iterations are program statements that are used to perform repetition operations

What are conditional statements?

Conditional statements are statements used to make decisions

The main programs

The program written in Python, where comments are used to explain each action is as follows:

#This initializes the subtotal and total to 0

subTotal = 0; total = 0

#This initializes the previous number to an empty list

prevNum = []

#This iteration is repeated for valid inputs

while True:

   #This gets the input from the user

   num = int(input())

   #This calculates the subtotal

   subTotal+=num

   #This calculates the total

   total+=num

   #If the current input is 0

   if num == 0:

       #This prints the sub total

       print("Subtotal:",subTotal)

       #This sets the sub total to 0

       subTotal = 0

   #If the previous number is empty

   if len(prevNum) == 0:

       #This sets it to the current input

       prevNum.append(num)

   #If otherwise

   else:

       #If the previous number and the current input are 0

       if(prevNum[0] == 0 and num == 0):

           #This prints the total input

           print("Total:",total)

           #This exits the loop

           break

       #If otherwise

       else:

           #This sets the previous number to the current input

           prevNum[0] = num

Read more about similar programs at:

https://brainly.com/question/26497128

A group of statisticians at a local college has asked you to create a set of functions that compute the median and mode of a set of numbers. Define these functions, median and mode, in a module named stats.py. Also include a function named mean, which computes the average of a set of numbers. Each function should expect a list of numbers as an argument and return a single number. Each function should return 0 if the list is empty. Include a main function that tests the three statistical functions using the following list defined in main:
List: [3, 1, 7, 1, 4, 10]
Mode: 1
Median: 3.5
Mean: 4.33333333333
#Here is the code I am using:
def median(list):
if len(list) == 0:
return 0
list.sort()
midIndex = len(list) / 2
if len(list) % 2 == 1:
return list[midIndex]
else:
return (list[midIndex] + list[midIndex - 1]) / 2
def mean(list):
if len(list) == 0:
return 0
list.sort()
total = 0
for number in list:
total += number
return total / len(list)
def mode(list):
numberDictionary = {}
for digit in list:
number = numberDictionary.get(digit, None)
if number == None:
numberDictionary[digit] = 1
else:
numberDictionary[digit] = number + 1
maxValue = max(numberDictionary.values())
modeList = []
for key in numberDictionary:
if numberDictionary[key] == maxValue:
modeList.append(key)
return modeList
def main():
print ("Mean of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]: "), mean(range(1, 11))
print ("Mode of [1, 1, 1, 1, 4, 4]:"), mode([1, 1, 1, 1, 4, 4])
print ("Median of [1, 2, 3, 4]:"), median([1, 2, 3, 4])
main()
The Error that I am getting is on Line 14: AttributeError: 'range'object has no attribute 'sort'.
Also on Line 36:
Line36: 10]: "), mean(range1, 11)).

Answers

Answer:

In Python:

def median(mylist):

   mylist.sort()

   if len(mylist) % 2 == 1:

       midIndex = int((len(mylist) +1)/ 2)

       print("Median: "+str(mylist[midIndex-1]))

   else:

       midIndex = int((len(mylist))/ 2)

       Mid = (mylist[midIndex] + mylist[midIndex-1] )/2

       print("Median: "+str(Mid))

def mean(mylist):

   isum = 0

   for i in range(len(mylist)):

       isum += mylist[i]

   ave = isum/len(mylist)

   print("Mean: "+str(ave))

   

def mode(mylist):

   print("Mode: "+str(max(set(mylist), key=mylist.count)))

Explanation:

Your program is a bit difficult to read and trace. So, I rewrite the program.

This defines the median function

def median(mylist):

This sorts the list

   mylist.sort()

This checks if the list count is odd

   if len(mylist) % 2 == 1:

If yes, it calculates the mid index

       midIndex = int((len(mylist) +1)/ 2)

And prints the median

       print("Median: "+str(mylist[midIndex-1]))

   else:

If otherwise, it calculates the mid indices

       midIndex = int((len(mylist))/ 2)

       Mid = (mylist[midIndex] + mylist[midIndex-1] )/2

And prints the median

       print("Median: "+str(Mid))

This defines the mean function

def mean(mylist):

This initializes sum to 0

   isum = 0

This iterates through the list

   for i in range(len(mylist)):

This calculates the sum of items in the list

       isum += mylist[i]

This calculates the mean

   ave = isum/len(mylist)

This prints the mean

   print("Mean: "+str(ave))

   

This defines the mode

def mode(mylist):

This calculates and prints the mode using the max function

   print("Mode: "+str(max(set(mylist), key=mylist.count)))

Please help if you have the correct answer to the post test manufacturing and safety answer.
——— is a form of semi-renewable energy that you can produce from agricultural feedstock. It can be made from common crops
such as sugarcane, potato, manioc, and corn. It does not completely replace gasoline as a fuel because of efficiency, food, and environmental
concerns.

Answers

i believe it is corn. ethanol can be produced from corn biomass, and is commonly used to make gasoline. i’m not sure if this answers your question, or counts as a type of energy but i tried.

Answer:

ethanol

Explanation:

got it right on ed

Other Questions
Humans are of course part of the biosphere, and human activities have important impacts on all of Earth's systems.True or False Multiply (x+2y)(x^2-xy+3y) HELP!! Angle Proofs- Geometry! True or False All organisms are capable of causing infection as long as some of the conditions/ or components are present Name the geometric term modeled by a pinholein a wall.A. Line Segment B. PlaneC. Line D. Point ?Donde juegan futbol los jovenes?aben la piscinaen el parqueel las calles cera de sus casasden el patio de la escuela Complete the equation: 77x 49 = 7 ( _____ ) A. 11x + 7 B. 11x 7 C. 70x 42 D. 539x 343 Make all exercises and questions 2Which statement is true about the asymptotes of a rational function if the degree of the polynomial function in the numerator is 1 and thedegree of the polynomial function in the denominator is 2? .It has two horizontal asymptotesOBIt has only one vertical asymptote.It has only one horizontal asymptote.D.It has no vertical asymptote.E.It has no horizontal asymptote. 10On a map scale, 2 inches represents 60 miles. Which graph best shows the relationship between x, thenumber of inches on the map, and y, the actual distance in miles?AMap ScaleMap ScaleActual Distance (miles)22520017515012510075Actual Distance (miles)22520017515012510075502550250 1 2 3 4 5 6 7 8 9Number of Inches on Map0 1 2 3 4 5 6 7 8 9Number of Inches on MapBMap ScaleDMap Scaley225200E 1758 150Actual Distance (miles)125Actual Distance (miles)2252001758 150125100755025100755025001 2 3 4 5 6 7 8 9Number of Inches on Map1 2 3 4 5 6 7 8 9Number of Inches on Map somone please help me asap i need to turn this in its due tomorrow Please please this is my final I'm trying to score good What is the best description of a Hispanic family?1. grandparents and grandchildren2. father, mother, child3. a big family with parents, children, grandparents, aunts, uncles, cousins, and close family friends4. a big family with parents, children, grandparents, aunts, uncles, cousins, and neighbors Can someone answer this for me? Poem The wild Ducks nestWhat does colm do in paragraph 16?What can you infer about his character based on these actions 2 points plz thanks What is the theme for the poem "Skateboard help me please, im stuck.(.10)(9.8m/s^2)(2) Solve each question A.p+12=17B. 7/3=q+2/3C. 90=20rD. 1/3s=7 The inspiring true story of Malala Yousafzai's crusade for girls' education." Context clues reveal crusade means What is true of all mixtures?Group of answer choicesAll mixtures are made up of 2 or more elements or compounds.All mixtures are made up of solutionsAll mixtures are made up of compounds.All mixtures are made up of elements.