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
Bezzdna [24]
3 years ago
14

What is the magnitude of the largest positive value you can place in a bool? a char? an int? a float?

Computers and Technology
1 answer:
MaRussiya [10]3 years ago
7 0

Answer:

A bool can hold only true or false values.

A char can hold maximum 65535 characters.

An int can hold maximum positive value of 2,147,483,647.

A float can hold maximum positive value of 3.4 x 10^{38}.

Explanation:

Primitive data types in Java language can be categorized into boolean and numeric data types.

Numeric can be divided further into floating point and integral type. Floating data type includes float and double values while and integral data type which consists of char, int, short, long and byte data types.

Every data type has a range of values it can hold, i.e., every data type has a minimum and maximum predefined value which it is allowed to hold. The intermediate values fall in the range of that particular data type.

Any value outside the range of that particular data type will not compile and an error message will be displayed.

The data types commonly used in programming are boolean, char, int and float.

A boolean variable can have only two values, true or false.

A char variable can hold from 0 to 65535 characters. Maximum, 65535 characters are allowed in a character variable. At the minimum, a char variable will have no characters or it will be a null char variable, having no value.

An int variable has the range from minimum -2^{31} to maximum 2^{31} – 1. Hence, the maximum positive value an int variable can hold is (2^{31}) – 1.

A float variable can hold minimum value of 1.4 x 10^{-45} and maximum positive value of 3.4 x 10^{38}.

The above description relates to the data types and their respective range of values in Java language.

The values for boolean variable remain the same across all programming languages.

The range of values for char, int and float data types are different in other languages.

You might be interested in
_____ is a group of Internet-based applications that build on the ideological and technological foundations of Web 2.0, and that
lutik1710 [3]

Answer: Social media

Explanation:

 Social media is defined as the group of the internet based various applications that basically build on the foundation of  technological and ideological of the web 2.0. It basically allow the exchange of the user content and creation.

It is the most flexible platform that enable the users with the huge experience. It is also known as free and open source platform. It basically contain the various content that are algorithm driven and machine learning.

 

3 0
3 years ago
PLEASE BE CONFIDENT ABOUT YOUR ANSWER
Zigmanuir [339]

Answer: d. should be lowercase.

Explanation:

ID attributes are case sensitive for the most part - DOM and Java Script - which means that the ID attribute does not always have to be lowercase.

It can be uppercase as well. ID attributes can also start with a number and as of HTML 5 can start with a special character as well. Finally, the ID attribute must always be unique within each document.

8 0
3 years ago
Read 2 more answers
Bruno is asked to create a program that will require the user to enter a passcode. If the wrong passcode is entered, the user ca
almond37 [142]

Answer:

a condition controlled loop

Explanation:

if a user get the password right he will not have to restart

3 0
2 years ago
Do you need special software to create a web page?
Serjik [45]

Answer:

Many websites these days have done it for you, (Wix, Squarespace ect.)

If you want to start from scratch however, then I believe you do, I have only researched these websites which do it for you.

Hope this helped :)

5 0
4 years ago
Read 2 more answers
You have been asked to improve on the web page you created for NewYou Personal Training. You will use the file you created for T
34kurt

Answer:

See explaination

Explanation:

<!DOCTYPE html>

<html lang="en" dir="ltr">

<head>

<meta charset="ut f-8">

<title>Tutorial Project 1</title>

<style type="text/css">

p{

font-family: Georgia, serif;

}

</style>

<link rel="stylesheet" type="text/css" href="project3style.css">

</head>

<body>

<img src="images/logo.jp g" alt="New You Personal Training Banner">

<h2>Welcome to NewYou Personal Training</h2>

<h3>Our services include:</h3>

<h3>Call today to speak to one of our fitness specialists</h3>

<section>

<p style="color: darkorange;font-weight: 900;">

<ul>

<li> Fitness evaluations with optimal 360&#176; Computerized Body Profile.</li>

<li> Complete individualized training plan with free workout schedule calendar.</li>

<li> Private workout guidance provided daily to help you meet your personal goals.</li>

<li> Complimentary diet and nutrition counseling. </li>

<li> Email and text messaging reminders to help keep you on track.</li>

<li> Workout group sessions for those who prefer to exercise in a group setting.</li>

</ul>

</p>

<p>

<b><i>All fitness and nutrition services can be provided at our brand new facility or in the privacy of your own home or office. </i></b>

</p>

</section>

<section>

<p>

<h r>

<blockquote>

I was struggling to lose weight after the birth of my second child. My friend recommended NewYou, and after the first three months I

had lost 3 0 pounds. Thanks to the personal attention from their trainers and counselors, I’ve been able to keep the weight off for two

years. I’m in the best shape of my life!

<b r>

<cite>—Justine Reynolds, Cleveland</cite>

</blockquote>

<h r/>

</p>

</section>

<section>

<address>

NewYou Personal Training, 3451 West Oxmoor Avenue, Cleveland, TN 37311. (555) 639-9681 or (555) NEW-Y OU1

</address>

</section>

</body>

</html>

project3style.css : ---------->>>>>>>>

/* your name Project 3 */

body{

margin: 50px;

font-family: sans-serif;

background-color: bisque;

}

h2{

color:darkblue;

font-size: 2em;

}

h3{

color: green;

background-color: lightblue;

}

address{

color: red;

text-align: center;

font-style: italic;

font-variant: small-caps;

font-weight: 700;

font-size: 12pt;

line-height: 24pt;

}

blockquote{

background-color: gold;

width: 600px;

padding: 20px;

}

li{

text-transform: capitalize;

line-height: 2;

color: green;

}

3 0
3 years ago
Other questions:
  • Where is the brightness and contrast changed at?
    10·2 answers
  • You want to use a wireless keyboard and mouse with your laptop computer. which method should you use
    11·1 answer
  • What is the outside of an iPhone called?
    9·2 answers
  • When a user inserts a PivotTable, where will it be inserted?
    15·1 answer
  • Write a program that reads from a file called dictionary.txt which contains pairs of English and translated words separated by a
    12·1 answer
  • In which of the following work situations would word processing software be most appropriate to make the task easier?
    6·1 answer
  • _____ is a method of computing that delivers secure, private, and reliable computing experiences based on sound business practic
    7·1 answer
  • Which of the following choices best completes the above flowchart?
    11·1 answer
  • Fill in the blanks!
    14·1 answer
  • Input a number and find the square root only if the number entered is greater than or equal to zero.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!