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
Stolb23 [73]
3 years ago
9

The simplest element that exists is only one proton and one electron. It is what stars are made of. It's symbol is "H". What is

this element? * 1 point Helium Mercury Hafnium Hydrogen
Computers and Technology
1 answer:
lesya [120]3 years ago
6 0

Answer:

Hydrogen.

Explanation:

Hydrogen is the simplest element that exists. The symbol for the chemical element Hydrogen is "H" and it is a colourless, tasteless, odorless, and highly flammable gas.

Hydrogen is a chemical element found in group (1) of the periodic table and as such it has one (1) electrons in its outermost shell. Therefore, Hydrogen has an atomic number of one (1) and a single valence electrons because it has only one proton and one electron in its nucleus.

Additionally, all stars are made up of Hydrogen.

A star is a giant astronomical or celestial object that is comprised of a luminous sphere of plasma, binded together by its own gravitational force. Stars are typically made up of two (2) main hot gas, which are Hydrogen (H) and Helium (He).

You might be interested in
Which input value causes the loop body to execute a 2nd time, thus outputting "In loop" again? { String s = "Go"; while ((!s.equ
Ksenya-84 [330]

Answer:

a) "Quit"  

c) "Q only

Explanation:

Given

<em>String s = "Go"; </em>

<em>while ((!s.equals("q"))&& (!s.equals("")))  {</em>

<em>System.out.println("In loop"); </em>

<em>s = scnr.next();</em>

<em>}</em>

<em />

Required

What input causes another execution

Analyzing the while condition

<em>while ((!s.equals("q"))&& (!s.equals("")))  </em>

<em />

This can be split into:

<em>!s.equals("q")) && (!s.equals(""))</em>

<em />

Meaning

When s is not equal to "q" and when s is not an empty string

<em />

In other words,

the loop will be executed when user input is not "q" and user input is not empty.

So, from the list of given options: The loop both will be executed when:

a) Input is "Quit"

c) Input is Q only

<em>Input of q will terminate the loop, hence b and d are incorrect</em>

<em />

6 0
3 years ago
. An exception is an error that occurs during the execution of a program at run-time that disrupts the normal fow of the Java pr
In-s [12.5K]

Answer: True

Explanation:Exception error ,which is also known as the fatal error that arises when there is the program execution going-on and the error occurs suddenly to stop the processing, resulting in the abortion of the execution.This erruptional error is responsible for disturbing the execution flow as well as there are chances of the data getting lost or deleted automatically.

5 0
4 years ago
How does a layered pattern make use of abstraction and encapsulation?
maxonik [38]

Answer and Explanation:

The ways in which a layered pattern make use of encapsulation and abstraction are as follows:

  • This framework lays its focus mainly on the bundling of related functionalities inside an application into different layer that are vertically stacked over one another.
  • Functionality in between each layer is related by common function or role.
  • Communication in between the layers is clear and exact and is coupled loosely.
  • Providing a layered structure to the application indirectly supports its maintainability and flexibility.

Encapsulation:

Since, features like data type, properties, methods or implementation while designing are not exposed at the boundary of the layer thus No assumptions are required for these features.

Abstraction:

The layered framework abstracts the entire system's view and provides adequate details for better understanding of the roles of each layer individually and the relation that exist between these layers.

7 0
4 years ago
Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (a
oksano4ka [1.4K]

Answer:

The program to this question can be defined as follows:

Program:

import java.util.*; //import package

public class Main //defining class

{

   public static void main(String[] as) //defining main method

   {

       Scanner ax= new Scanner(System.in);//create Scanner class object for user-input

       String val; //defining String variable

       int x;//defining an integer variable

       System.out.print("Enter string value first then numeric, and for exit 'quit & 0': \n");

       val = ax.next(); //input value

       x = ax.nextInt();//input value

       while(!(val.equals("quit") && x==0)) //Check value

       {

           System.out.println("Eating "+x+" "+val+" a day keeps the doctor away."); //print value

           val = ax.next(); //input value

           x= ax.nextInt(); //input value

       }

   }

}

Output:

Enter string value first then numeric, and for exit 'quit & 0':  

apple 5

Eating 5 apple a day keeps the doctor away.

shoes 2

Eating 2 shoes a day keeps the doctor away.

quit 0

Explanation:

In the above program, two variable "val" and "x" is declared, in which "val" is string variable and "x" is integer variable, in the next line, a while loop is declared, which can be described as follows:

In the loop, a condition is checked, that "val" is equal to "quit" and x is equal to "0", inside the loop, it will input value from the user-end.  

8 0
4 years ago
Read 2 more answers
write a program which prompts the user for a celsius temperature, convert the temperature to fahrenheit, and print out the conve
JulsSmile [24]

print("——OR——") Input ("Temperature value in degree Celsius:"), celsius 2 = float) Celsius 2 = (Fahrenheit 2 * 9/5) + 32; print the result.

The user's input is taken. Enter the temperature in celsius by typing it into the input box. Fahrenheit is equivalent to (celsius multiplied by 1.8) + 32 print(str(celsius)+ "A degree in Celsius is equal to a " + str(fahrenheit)+ " degree in Fahrenheit. The change from C to F is therefore 100/180, or 5/9. It is 180/100 or 9/5 from F to C. As a result, the conversion yields °F = °C (9/5) + 32. As a result, the equation for changing from the Celsius to Fahrenheit scale becomes °F = °C (9/5) + 32. To convert from degrees Fahrenheit to degrees Celsius, do the inverse calculation: subtract 30 from the degrees Fahrenheit reading, then multiply the result by two to obtain the degrees Celsius reading.

Learn more about conversion here-

brainly.com/question/13163755

#SPJ4

6 0
1 year ago
Other questions:
  • When you first open a ms word document, what is the name of the document located on the first line of the document?
    12·1 answer
  • Fill in the missing statements or expressions in the following code that checks to ensure that a user enters an integer value at
    11·1 answer
  • Internet-filtering software that electronically blocks out websites in specific rating categories is called _____________ by tho
    9·1 answer
  • allows Internet telephony service providers to deliver telephony services and unified communications applications offering voice
    14·1 answer
  • What does the following if statement do?<br><br> if (num1 == Math.abs(num1))
    12·1 answer
  • Cash cows are always in
    7·1 answer
  • What medical equipment do they have in Jr. high, To help save peoples lives?
    14·1 answer
  • How do professionals address their problems?
    14·2 answers
  • Which of the following players is on offence
    9·1 answer
  • Choose the output result of the below code.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!