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
Brums [2.3K]
3 years ago
10

How would you describe the relationship between blocks of code and commands?HELP​

Computers and Technology
1 answer:
Karolina [17]3 years ago
7 0

Answer:

Code and Commands have similar programs coding has only one thing to do or done but commands can be told anytime by an input device.

Explanation:

hope this helps.

You might be interested in
Iven an array temps of double s, containing temperature data, compute the average temperature. Store the average in a variable c
ale4655 [162]

Answer:

import java.util.Arrays;

import java.util.Scanner;

public class num1 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter length of the array:");

       int len = in.nextInt();

       double [] temps = new double[len];

       double avgTem;

       int k =0;

       double total = 0;

       for( k=0; k<temps.length; k++){

           System.out.println("Enter values for the array");

           temps[k]=in.nextDouble();

       }

       System.out.println("The Arrays contains the following values");

       System.out.println(Arrays.toString(temps));

       // Computing the average of the values

       for(k=0; k<temps.length; k++){

           total = total+temps[k];

       }

       avgTem = total/(temps.length);

       System.out.println("The average Temperature is: "+avgTem);

   }

}

Explanation:

  • Using Java programming language
  • Import the Scanner class to receive user input
  • Prompt User for the length of the Array, receive and store in a variable len;
  • Declare a new double array of size len double [] temps = new double[len];
  • Using a for loop, continually prompt user to enter values into the array
  • Display the values of the array using Java's Arrays.toString method
  • Use another for loop to add up all the elements in the arraay and store in the variable called total
  • Outside the second for loop calculate the average avgTem = total/(temps.length);
  • Display the average temp.
6 0
3 years ago
Device management is the process of managing what kinda devices? :)
Anika [276]
Device management is the process of managing "Physical Devices" like <span>ports and interfaces of a computer or server

Hope this helps!</span>
4 0
3 years ago
Write a program that creates a Date object, sets its elapsed time to 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10
Lady bird [3.3K]

Answer:

Explanation:

The following Java program creates various Date objects for each one of the provided milliseconds in the question. Then it calls the toString() method on each one. The last two milliseconds were not included because as a long variable they are too big for the Date object to accept. The code has been tested and the output is shown in the image below.

import java.util.Date;

class Brainly {

   public static void main(String[] args) {

       Date date = new Date();

       date.setTime(10000);

       System.out.println(date.toString());

       Date date2 = new Date();

       date2.setTime(100000);

       System.out.println(date2.toString());

       Date date3 = new Date();

       date3.setTime(1000000);

       System.out.println(date3.toString());

       Date date4 = new Date();

       date4.setTime(10000000);

       System.out.println(date4.toString());

       Date date5 = new Date();

       date5.setTime(100000000);

       System.out.println(date5.toString());

       Date date6 = new Date();

       date6.setTime(1000000000);

       System.out.println(date6.toString());

   }

}

3 0
3 years ago
The variety of theatre introduced in the 1960s that denotes semi-professional or even amateur theatre in the New York/Manhattan
denis-greek [22]

Answer:

Option a. True

Explanation:

The given statement is true because the off-off-Broadway was a movement started from 1958. It can be discussed as:

  • (Amateur theater )  that rejected all other commercial theaters.
  • Most of the off-off-Broadways were made in 1960's in coffee shops of New York.
  • Stage plays were performed experimentally without taking a notice on the playwrights and actors.
  • During Integration, the experimental work was of great value and was known for its nature.
  • Gradually the image of Broadway got down while reshaping itself and the produced works were no longer suitable for commercial theaters.
  • Many of the plays from these theaters are still known such as:
  1. The Dove Company
  2. The old reliable
  3. La Mama

i hope it will help you!

5 0
3 years ago
What are extremely fast and small amounts of memory used to quicken the implementation of computer programs by providing access
Marysya12 [62]

Answer:

Registers

Explanation:

5 0
4 years ago
Other questions:
  • Define a function begins_with_line that consumes a string and returns a boolean indicating whether the string begins with a dash
    15·1 answer
  • 40 POINTS I NEED THESE ANSWERS ASAP GIVE ME THE RIGHT ASNWER AND ILL PUT YOU AS THE BRAINLIEST
    13·1 answer
  • Write a program that uses the function isPalindrome given in Example 6-6 (Palindrome). Test your program on the following string
    7·1 answer
  • Design a generic post-implementation evaluation form. The form should consist of questions that you could use to evaluate any in
    13·1 answer
  • Instant messaging is synchronous
    10·1 answer
  • New Top Level Domains (TLDs) are coordinated by:_______.
    10·1 answer
  • 11111 Power 2 sovle ​
    14·1 answer
  • What can be used to help diagnose and fix network connection problems?
    8·1 answer
  • Helen is filling her persönal details on her résumé. Which detail should she include in this section?
    5·1 answer
  • GIVING BRAINLIEST
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!