1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lutik1710 [3]
3 years ago
9

A. Realizar un algoritmo que sume dos números.

Computers and Technology
1 answer:
Lina20 [59]3 years ago
5 0

Answer:

Answer A) Answer B) and Answer C)

Explanation:

Answer A) Perform an algorithm that adds two numbers:

Input: List1: 5->6->3  // represents number 365

      List2: 8->4->2 //  represents number 248

Output: Resultant list: 3->1->6  // represents number 613

Input: List1: 7->5->9->4->6  // represents number 64957

      List2: 8->4 //  represents number 48

Output: Resultant list: 5->0->0->5->6  // represents number 65005

Answer B) Develop an algorithm that calculates the area of ​​a square:

1. start  

2. input x

3. sq=x*x

4. print sq

5. stop

Answer C) Make an algorithm that allows you to determine the area of ​​a rectangle:

1. Define the width of the rectangle.

2. Define the Height of the rectangle.

3. Define Area of the rectangle.

4. Calculate the area of the rectangle by multiplying the width and height      of the rectangle.

5. Assign the area of the rectangle to the area variable.

6. print the area of the rectangle.

You might be interested in
Write a method so that the main() code below can be replaced by simpler code that calls method calcMilesTraveled(). Original mai
patriot [66]

Answer:

See explanation

Explanation:

From the question, you have answered the question. However, it is poorly formatted.

<em>So, I'll help present the code properly and also give explanation using comments.</em>

import java.util.Scanner;

public class CalcMiles{

//This line defines the calcMilesTraveled method

private static double calcMilesTraveled(double milesPerhour, double minsTraveled){

//This declares hoursTraveled

double hoursTraveled;

//This declares milesTraveled

double milesTraveled;

<em>//This calculates the hoursTraveled</em>

hoursTraveled = minsTraveled/60.0;

//This calculates the milesTraveled

milesTraveled = hoursTraveled * milesPerhour;

//This returns the milesTraveled

return milesTraveled;

}

//The main method begins here

public static void main(String [] args){

//This declares and initializes milesPerhour

double milesPerhour =70.0;

//This declares and initializes minutesTraveled

double minutesTraveled = 100.0;

//This calls the calcMilesTraveled function and also prints the required result

System.out.println("Miles: "+calcMilesTraveled(milesPerhour, minutesTraveled));

}

}

<em>See attachment for program without comments</em>

Download txt
5 0
4 years ago
Both instructions and data in a digital<br>computer are represented as binary<br>digits. True False​
MrRissso [65]

Answer:

False

Explanation:

insturctions are represented in binary numbers, data are represented in decimal numbers.

6 0
3 years ago
The cord of a bow string drill was used for
goldfiish [28.3K]

Answer:

I don't remember much on this stuff but I think it was B

5 0
3 years ago
The first query is computationally less expensive than the second query. (Assume no indexes exist on release_date.) Query 1: SEL
sdas [7]

Answer:

false

Explanation:

The term 'computationally expensive' means that a given mathematical function, code or an algorithm has high computational complexity. In addition, the mathematical function or algorithm will require several steps and procedures to be completed. Based on this, the statement made in this question is not true.

7 0
3 years ago
A ________ allows users to add, remove, or edit its content.
Amanda [17]
Wiki is the correct answer
4 0
3 years ago
Read 2 more answers
Other questions:
  • What is the output of the following Python program? try: fin = open('answer.txt') fin.write('Yes') except: print('No') print('Ma
    9·1 answer
  • Whats the difference between search engine and web browser?
    6·2 answers
  • Managing your calendar and emails can be easily accomplished through ___ software
    8·1 answer
  • Is there a way to get back old messages that you didn't mean to delete??? I have a Samsung S5 and I really really need help. I d
    11·2 answers
  • 1.Terry turned on his computer one day to find that all of the storage on his computer was filled up. Furthermore, there were ma
    6·1 answer
  • Short Essay on the history of Computer​
    6·2 answers
  • Given the variable ip, already declared as a pointer to an integer, write the code to dynamically allocate memory for a single i
    15·1 answer
  • Write a Java program that creates a two-dimensional array of type integer of size x by y (x and y must be entered by the user).
    7·1 answer
  • 1.printer is an example of......... device.<br><br>​
    11·2 answers
  • Which type of mic is durable, versatile and does not rely on power?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!