There are eight primitive data types in Java. If the the size of 4 different datatype sizes are as follows then what is maximum value they can store? Show using the chart as in our example.

Answers

Answer 1

Answer and Explanation:

The eight primitive data types in Java include:

byte , short , int , long , float , double , boolean and char.

By size of datatype we mean the amount of memory the data type occupies. For a 32-bit processor/CPU,

The size of int data type(with whole numbers from -2,147,483,648 to 2,147,483,647) in Java is 4 bytes

The size of byte data type is 1 byte

The size of short data type is 2 bytes

The size of long data type is 8 bytes


Related Questions

Choose the word that matches each definition. 1. IP Address 2. Server 3. Port Each term is only used once._____________ a number used within a computer to identify a specific process ____________ a numerical reference to a particular device in a network ___________ a computer that handles requests and returns data to other computers in a network

Answers

Answer:

  Port      a number used within a computer to identify a specific process.

   IP Address     a numerical reference to a particular device in a network.

   Server           a computer that handles requests and returns data to other computers in a network.

Explanation:

A port number is a number used to uniquely identify a particular process, application or program on a computer. From the networking parlance, it is a logical address that uniquely identifies a process, protocol or application communicating with other process, protocol or application over a network. For example;

i. a file transfer protocol (FTP) could use a port number of 20 or 21.

ii. a simple mail transfer protocol (SMTP) could use a port number of 25

Internet Protocol (IP) address is a numerical reference or label assigned to a particular device in a network which helps to uniquely identify the device on the network. IP addresses (version 4) are expressed as a group of four numbers separated by a dot. For example, an IP address may look like this: 192.168.0.90

A server is a computer that receives requests from other computers, processes these requests and returns some data to the other computers  in a network. In reality, these servers and the computers they serve can actually be some applications or programs. Servers provide resources, data, services or programs to other computers over a network.

Answer:

IP address: an Internet Protocol (IP) address is a numerical reference to a particular device in a network

port: a number used within a computer to identify a specific process

server: a computer that handles requests and returns data to other computers in a network

Explanation:

edge 2022

A programmer notices the following two procedures in a library. The procedures do similar, but not identical,
things.

Procedure square (n) returns the value n2

Procedure cube (n) returns the value n3

Which of the following procedures is a generalization of the procedures described above?
A. Procedure Add (n, m), which returns the value n + m
B. Procedure Fourth (n), which returns the value n4
C. Procedure Polynomial(n), which returns the value n3 +n2
D. Procedure Power (n, m), which returns the value nm

Answers

Answer:

D. Procedure Power (n, m), which returns the value n^m

Explanation:

Given

[tex]square(n) \to n^2[/tex]

[tex]cube(n) \to n^3[/tex]

Required

The generalization

The given functions are power functions which returns the power of n to a certain value.

The power sequence follows:

[tex]fourth(n) \to n^4[/tex]

[tex]fifth(n) \to n^5[/tex]

[tex]sixth(n) \to n^6[/tex]

------

-----

--

[tex]power(n,m) \to n^m[/tex]

Hence, (d) is correct

What are the steps for creating a bookmark? 1. Place the insertion point where the bookmark should appear. 2. Click the tab. 3. In the group, click Bookmark. 4. When a dialog box opens, name the bookmark, and click . 5. To see bookmarks within the document, go to Backstage view and click Options. 6. In , select Show Bookmarks to have them appear as a locked cursor within the document.

Answers

Answer:

2. Insert

3. Links

4. Add

6. Advanced

Explanation:

HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.

A website refers to the collective name used to describe series of web pages linked together with the same domain name.

On the other hand, a webpage is the individual HTML document (single page) that makes up a website with a unique uniform resource locator (URL).

A bookmark can be defined as a placeholder or saved shortcut for a webpage and for future reference. Thus, it avails an end user the ability to quickly access a bookmarked webpage by automatically directing the web browser to the webpage.

Basically, the steps for creating a bookmark are;

1. The insertion point of the webpage should be placed at the point where the bookmark should appear.

2. Click the "INSERT" tab.

3. In the "LINKS" group, click "Bookmark"

4. When a dialog box opens, the bookmark should be named with a specific title, and then click "ADD"

5. To see bookmarks within the HTML document, you should go to Backstage view and click on "Options"

6. In ADVANCED, select Show Bookmarks to have them appear as a locked cursor within the HTML document.

2) The CPU is made from a silicon
a) Steel
b) Chip
c) pendrive​

Answers

Answer:

Address buses are made up of a collection of wires connecting the CPU with main memory that is used to identify particular locations (addresses) in main memory. The width of the address bus (that is, the number of wires) determines how many unique memory locations can be addressed.

Explanation:

How are sensors and microprocessors used to control a central heating system which uses an oil burner as the source of heat

Answers

Answer:

sensors are used to measure physical quantities such as temperature, light, pressure, sound, and humidity. They send signals to the processor . a security alarm system may have an infrared sensor which sends a signal when the beam is broken.

Explanation:

im just smart lol

Planning to finance higher education helps people prepare for their financial future because it teaches them about

Loans and interest
Savings and accounts
Filing taxes
Short term goals

Answers

Answer:

savings and account

Explanation:

because that will convince them

Answer:

Loans and Interests.

Explanation:

Edge

what is a web page and a website​

Answers

Answer:

:)

Explanation:

┬─┬ノ( º _ ºノ) ♪ ♬ ヾ(´︶`♡)ノ ♬ ♪

What is the organizational management practices on planning during a pandemic like corona virus.

Answers

Answer:

wear a mask use hand sanitizer dont get in contact with anyone between 6 feet

Explanation:

What can always be seen in the Styles gallery?

O built-in styles with samples

O the original formatting of the document

O changes that have been made to the document's text

O examples of the last five formats used

Please help ASAP

Answers

Examples of the last five formats used

Answer:

examples of the last five formats used

please mark me as brainliest i dont have 1 yet :/

Can someone help me with Edhesive 8.3 lesson practice question number 5? I can’t figure it out

Answers

Answer:

3

Explanation:

n
Which of the following is not a goal of a persuasive speaking?
a. to motivate to action
b.
to change attitudes, beliefs, or values
to strengthen or weaken attitudes, beliefs, or values
d. to define, demonstrate, or instruct
C.

Answers

Answer: D. to define, demonstrate, or instruct.

Explanation:

Persuasive speaking is the form of speaking that we usually engage in. It is used to convince people. As individuals, we usually engage in persuasive speaking. We argue about different things and try to convince the other person to agree with us.

Th goals of persuasive speaking is to motivate to action, to change attitudes, beliefs, or values and to strengthen or weaken attitudes, beliefs, or values.

It should be noted that the goal of persuasive speaking isn't to to define, demonstrate, or instruct. Therefore, the correct option is D.

Answer:

Simple Answer: D

- Items in a ______ are enclosed in square brackets​

Answers

Answer:

list.

Explanation:

Items in a list are enclosed in square brackets​

what is it important to test cabless?​

Answers

Answer:

to avoid larger problems ovr time like having to replace a whole line after it has been installed in case it happens that there may be faults you may know whether it was caused by a manufacturer error or installation error

Evaluate:
(3.7 x 10-2) (1.2 x 103)​

Answers

Answer:

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 44.4[/tex]

Explanation:

Given

[tex](3.7 * 10^{-2}) (1.2 * 10^3)[/tex]

Required

Evaluate

[tex](3.7 * 10^{-2}) (1.2 * 10^3)[/tex]

Remove bracket

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 3.7 * 10^{-2}*1.2 * 10^3[/tex]

Rewrite as:

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 3.7 *1.2* 10^{-2} * 10^3[/tex]

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 4.44* 10^{-2} * 10^3[/tex]

Apply law of indices

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 4.44* 10^{-2+3}[/tex]

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 4.44* 10^1[/tex]

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 4.44* 10[/tex]

[tex](3.7 * 10^{-2}) (1.2 * 10^3) = 44.4[/tex]

Which form(s) of credit would be most appropriate for the receipt of a utility bill? (Select all that apply.) à. Charge card b. Revolving credit (credit card) C. Installment credit d. Service credit e. Line of credit​

Answers

Answer:

d. Service credit

Explanation:

define client and.server​

Answers

Answer:

Client-server model is a model is a distributed application structure that partitions

tasks or workloads between the providers of a resource or service, called servers, and service requesters, called clients.

Write 4 types of viruses , explain them briefly.

Answers

I can help with two.

Web Scripting Virus, A sneaky virus that targets popular websites. What this virus does is overwrite code on a website and insert links that can install malicious software on your device. Web scripting viruses can steal your cookies and use the information to post on your behalf on the infected website.

FILE INFECTOR, targeting executable files (.exe), file infector viruses slow down programs and damage system files when a user runs them.

Which function below will allow you to change to a different screen?

changeScreen( )

changePage( )

setPage( )

setScreen( )

Answers

Answer:

Option D

Explanation:

The Set Screen command is used to change the screen to any screen you wish. Screen is notified by its ID

The set screen command is used for some user -event and in such cases set screen is added by click event handler.  

The ID to which the screen is to be changed is selected.

Hence, option D is correct

what is the most improved Android robot​

Answers

Answer:

They are the humanoid robots.

Jax earned 144 points on a research project. In this situation, what is the number 144? Group of answer choices data information knowledge output

Answers

Answer: data

Explanation:

Data refers to symbols or numbers that aren't meaningful. It's an an individual unit which consists of raw materials. Data hato be interpreted in order to become meaningful. They are fact or figures. Examples of data include 24, London, 144 etc.

Information on the other hand is a data that has been processed. e.g. Bob has an aggregate score of 144. Based on the question given, the number 144 is a data as it isn't meaningful yet.

Answer:

The answer is A

Explanation:

"as data"

Select the three reasons that the gaming industry is set to grow.

A) more colleges offering jobs in game design

B) a decrease in the average age of gamers

C) an expanding market on mobile phones

D) expanding markets in Asia

E) new accessories that will attract more players

Answers

Answer:

expanding markets in Asia, new accessories that will attract more players, an expanding market on mobile phones

Explanation:

Discuss how 3D modeling enhances animation.

Answers

Answer:

3d modeling enhances animation in many ways.

Explanation:

The first and most obvious way is shadows. When 3d modeling your able to cast more detail shadows then compared to 2d.

A financial company wants to store their data in Amazon S3 but at the same time, they want to store their frequently accessed data locally on their on-premises server. This is due to the fact that they do not have the option to extend their on-premises storage, which is why they are looking for a durable and scalable storage service to use in AWS.

Answers

Answer:

The answer is "Use the Amazon Storage Gateway - Cached Volumes".

Explanation:

In the Cached Volume Gateway mode, the main information is saved in the Amazon S3 and your often accessed data is kept in a lag cache locally. In just about any mode, users could use AWS Backup, which would be saved in AWS as an Amazon EBS snapshot, in time and copy the volumes. Its cached volumes allow the store of primary information in Amazon S3 over the standard Small System Independent Mechanism.

The content an craigalist is mainly monitered by?
A) users
B)government
C)employer
D)no one

Answers

D)no one

..........................................

Which of these is not a nonverbal cue?

main idea
posture
volume
eye contact

Answers

Answer:

volume and not the remaining ones

Which is an example of a table style option?

O banded columns
O shading
O borders
O pen color

Taking the unit test please help ASAP

Answers

Answer:

a. banded columns

Explanation:

A table style is a collection of attributes that are used to format tables. With table styles, formatting such as borders, row strokes and column strokes can be applied to the table.

There are six options in the table style option in Microsoft word. They are;

i. Banded rows: shows banded rows in which odd rows are formatted differently from even rows.

ii. Banded columns: shows banded columns in which odd columns are formatted differently from even columns.

iii. First column: shows special formatting for the first column of the table.

iv. Last column: shows special formatting for the last column of the table.

v. Header row: shows special formatting for the first row of the table.

vi. Total row: shows special formatting for the last row of the table.

To show these options;

i. First insert a table in the document

ii. Click anywhere on the table and a 'Table tools' option will appear at the top of the menu bar.

iii. Click on the 'design tab' of the 'Table tools' and the table style option ribbon will appear at the top left of the page. A figure showing this has been attached to this response.

Can anyone help me with a mental ability work plzz

Answers

choose the correct option:

1) using

2) is

3) use

4) to eat

5) use

Write a program that takes as input: - the current hour - the number of hours to add and outputs the new hour. For example, if the inputs are 2 (as the current hour) and 51 (as the number of hours to add), your program should output the answer from part (a) of this problem. Note that your program should always output an integer between 1 and 12. We will get you started with this program with the two lines that gather the input from the user. You'll need to write the rest.

Answers

Answer:

The program in Python is as follows:

cTime = int(input("Current Hour: "))

while(cTime <1 ):

   cTime = int(input("Current Hour: "))

aTime = int(input("Additional Hours: "))

while(aTime <0):

   aTime = int(input("Current Hour: "))

tTime = cTime + aTime

tTime%=12

print("New:",tTime,"hours")

Explanation:

This gets input for current time

cTime = int(input("Current Hour: "))

The following ensures that the user enters a time greater than 0

while(cTime <1 ):

   cTime = int(input("Current Hour: "))

This gets input for additional time

aTime = int(input("Additional Hours: "))

The following ensures that the user enters a positive time

while(aTime <0):

   aTime = int(input("Current Hour: "))

This calculate the new hours

tTime = cTime + aTime

This gets the hour equivalent between 1 and 12

tTime%=12

This prints the new hour

print("New:",tTime,"hours")

what is a fixed expense
everfi

Answers

Answer:

A fixed expense is an expense that has a constant total expense value (the total amount of the fixed expense) that remains the same (does not change) when there is a change in the number being managed, manufactured, or sold

Examples of fixed  expense includes; depreciation of assets, salaries of workers, payment for rental lease, and some utility payment, such as road users toll fees payment at a toll gate

Explanation:

How Many types of application Software are there?​

Answers

Answer:

there are 2 types of application software

Other Questions
name two product with an inelastic demand Jose is meeting with a client who engages in high risk sexual behaviors on a regular basis. The client admits he has no interest in changing his behaviors since he has experienced no negative consequences to this point. Jose provides referral information to a program that can help his client address substance use that contributes to his high risk sexual behaviors. Is Jose's approach likely to be successful What is the solution to 3+ 4e^X+1=11?O x = In 2-1O X=In2+1O X- x-ee+2OX-e Quick question.What does Flor Feliz mean and what could it sell if it was a company A spring with a spring constant of 200 is compressed 0.5 . What is the potential energy stored in the spring Bring on the BeetsThis is a draft of a student's narrative essayMy dad used to say there aren't really foods he doesn't like, just foods that he hasn't liked yet. I'm inclined to agree with him because there's aclear line of demarcation in my life, days of beet disdain and beet delight.Have you ever had a yellow beet? Me neither until an unsuspecting visit to Atwoods Caf on an otherwise ordinary day. The lunch crowd buzzed asI sat at a table for two near the door, surveying the menu until i landed on a list of appetizing ingredients: Bibb lettuce, asparagus, goat cheese,pistachios, and yellow beets with a lemon dill vinaigrette. Dressing on the side and hold the beets. That was my first inclination."What can I get for you today?" my server asked."I'd like your Bibb lettuce salad with dressing on side and no beets, please," I ordered."Have you ever had yellow beets?" my server inquired, peering over the rim of his glasses like my dad."Actually, no," I replied sheepishly. "It's a texture thing-they seem so slimy.""Ours are delicious. Give them a try and, if you don't like them, I'll bring you a beet-free salad." And he was off before I could object.Let me tell you. Yellow beets are beautiful! They're a vibrant, golden yellow that brightens a plate like sunshine. I'm no culinary expert, but whenfood looks good, it tastes better, right? These yellow beets sure did. They were smooth, not slimy, and mildly sweet, not so earthy, though they grew20Select the correct answer.Which choice best explains a narrative technique the writer uses and its effect on the reader?.The writer's character development slows the pace of the narrative.BThe writer's sequence of events causes confusionThe writer's detailed description engages the reader in an ordinary topic.D.The writer's extended reflection teaches the reader about human nature, What natural power u wish to be wantFireWaterSandLightningAir I need to pass so can somebody answer this plz Which of the following represents a heterozygous genotype?A. HhB. HHC. hh is carbon dioxide from a fire extinguisher a physical or chemical change? HELP PLZZZZZZZZZZZ I NEED ITTT OMG Questlon 2 of 10Is SAM- FIG? If so, identify the similarity postulate or theorem thatapplies.MOA16110 2412GA. Similar - SASB. Similar - SSSC. Similar - AAD. Cannot be determined What is the total weight of all the fruit she bought?Image included It was very cold in Canada on Monday. On Tuesday, the temperature dropped one degree and was -2. What is x, the temperature on Monday? Please help me answer these I tried so many answersreported speech in grammar Jack ate spaghetti for dinner.Jack said________ spaghetti for dinner.Anne likes painting.Anne said__________ painting. Ben sold his small online business for $100,000. The purchaser will pay him $20,000 today, then $20,000 every year for the next four years. Assume that Ben could invest a lump-sum payment today in an account yielding an interest rate of 4% annually. Find the total present value of all five payments.A. $87,096B. $88,384C. $92,598D. $93,964 Find the values of a through e that make these two relations inverses of each other. A rental car company charges $80 per day to rent a car and $0.10 for every mile driven. Alyssa wants to rent a car, knowing that: She plans to drive 150 miles. She has at most $300 to spend. Which inequality can be used to determine xx, the maximum number of days Alyssa can afford to rent for while staying within her budget?Geq30080x+15300 15x+80\leq30015x+80300 80x+15\leq30080x+15300 15x+80\geq30015x+80300 please help me with this equation What is the authors purpose in a work of nonfiction