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
Elanso [62]
3 years ago
5

Describe the differences between program development and program execution, including the installed software required for develo

ping and executing Java programs.
Computers and Technology
1 answer:
likoan [24]3 years ago
8 0

Answer:

Program development is basically a step wise process to solve a particular problem. It basically refers to the coding of a program. This initial steps involves defining the problem statement, specifying the requirements and specifying what the output of the program should be. Program development also includes visually presenting what of the program for example in the form of flowchart. It also involves coding, the set of instructions, procedures, functions, sub routines that a computer should carry out to get the desired output. Also the bugs and errors are removed by debugging the program. Program execution refers to execute or run the set of instructions of a program. The program or machine code is loaded to the memory prior to execution and then executed. For example in JAVA the source code if first converted to bytecode and then in machine code in order to be executed.

Developing and Executing JAVA programs involves typing program using some editor (editing), compiling the program (converting to bytecode), loading program to memory prior to execution, verifying bytecode and executing the program.

In JAVA,  Java Development Kit (JDK) is used for JAVA program development and JAVA applications development. It involves an Integrated Development Environment (IDE) which serves as a platform for writing the JAVA code.

Java Runtime Environment JRE is used to JAVA program execution and provides a platform or environment to run the JAVA applications. JRE consists of class libraries, user interface toolkit, class loader and JAVA Virtual Machine JVM .

The class loader loads the required class libraries. JVM works as an interpreter for running the JAVA program line-by-line. This interpreter executes the Byte Code .

You might be interested in
I'm stuck on this Java exercise problem and don't know how to organize my code with proper formatting and it's not helping that
Volgvan

In your "count spaces method" before the for loop, you want to declare an int variable (let's call it spc)

then, each time you find that charat, spc++.


also, the string must be declared in the main method, not the spaces count method.


The actual code:


public class CountSpaces{

public static void main(String[] args){

String instring = "(your quote here)";

int spaces = calculateSpaces(instring);

System.out.println("The number of spaces is " + spaces);

}

public static int calculateSpaces(String in){

int spc = 0;

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

if(in.charAt(i)== ' '){

spc++;

}

}

return spc;

}

}


that should be it.  If you have any questions, feel free to reach out.

4 0
3 years ago
Select the data type for each example below. <br> Possible answers<br> -Int<br> -float <br> -string
Shkiper50 [21]

Answer:

2.5 = float

'2.5' = str

3 = int

Explanation:

The data type: "float" is used for positive or negative decimals.

The data type: "str" is used for a sequence of letters, numbers, or symbols. Since the decimal used apostrophes, this means it's a character literal.

The data type: "int" is used for any positive or negative whole number.

7 0
3 years ago
Which type of application architecture has a logic tier
LuckyWell [14K]

Answer:

hi

Explanation:

7 0
3 years ago
Read 2 more answers
When a switch is closed, completing an lr series circuit, the time needed for the current to reach one half its maximum value is
uysha [10]
The answer is <span>0.693 .  </span><span>When a switch is closed, completing an LR series circuit, the time needed for the current to reach one half its maximum value is 0.693   

</span>e^(-t/T) = 0.5 
<span>-t/T = ln(0.5) = -0.693 </span>
7 0
3 years ago
You are a database administrator. Chantelle comes to you asking for help on how to access all the data in one row of the databas
Novosadov [1.4K]
I believe the answers would be A and B. Because you have to fulfill  Chantelle's wishes and you have to access their data. Which I am guessing would require a database backup.  

I hope this helps. 
7 0
3 years ago
Other questions:
  • Why is the DNS service included in Windows Server 2012 R2 integrated with DHCP service?
    6·1 answer
  • what would happen if a large number of computer users are attempting to access a web site at the same time that you are
    15·2 answers
  • How has the development of personal computer hardware and software reversed some of the trends brought on by the industrial revo
    15·1 answer
  • . Find four different commands in Internet Explorer and identify their keyboard shortcuts. A. B. C. D.
    10·1 answer
  • 50 POINTS PLEASE HELP MEEEEEEEEE!!!!!!
    6·2 answers
  • Consider a hypothetical hard drive that has 400,000 cylinders, 8 heads, and 128 sectors per track. Demonstrate, in writing, how
    9·1 answer
  • How many websites are mobile friendly?
    7·1 answer
  • The meaning of docile can be determined by the... context clue. synonym atonym or explanation
    14·2 answers
  • A common business practice is to include a worksheet named Documentation that contains a description of the workbook, the name o
    7·1 answer
  • Write an SQL query to list all the records from the member and branch tables.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!