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
xz_007 [3.2K]
1 year ago
10

Write a java program as follows Write a method called powOfTwo that takes an integer as parameter, computes, and outputs it’s sq

uare
Computers and Technology
1 answer:
Kisachek [45]1 year ago
8 0

Answer:

public static int powOfTwo(int input) {

 return input*input;

}

You will have to call this method in main
for printing it, write

System.out.println(powOfTwo(your number));

in public static void main(str[]args) {

}

You might be interested in
Mason is part of a project team that is creating a television advertisement. List one risk the team faces and a strategy for min
Andru [333]

One risk might be that they might use copyright music and and the music creator might take legal action.

5 0
3 years ago
Consider the unsigned decimal number 35. What is the value in hexadecimal?<br><br> 1. 3510 = ____ 16
Liula [17]

Answer:

23_{16}

Explanation:

When we convert any decimal number into the hexadecimal number we have to divide that number with 16.

Now according to question the decimal number is 35.

Now to convert this in hexadecimal divide it with 16.

\frac{35}{16} =2\frac{3}{16}

This means the quotient is 2 and the remainder is 3.

Therefore the value of hexadecimal is,

23_{16}

Therefore,

35_{10}=23_{16}.

 

8 0
2 years ago
What is another term used for data dictionary?
Montano1993 [528]
About a database. A data dictionary defines the structure of the database itself (not that of the data held in the database) and is used in control and maintenance of large databases. Among other items of information, it records (1) what data is stored, (2) name, description, and characteristics of each data element, (3) types of relationships between data elements, (4) access rights and frequency of access. Also called system dictionary when used in the context of a system design

<span>Read more: http://www.businessdictionary.com/definition/data-dictionary.html</span>
4 0
2 years ago
Printers, monitors, tablets, cpus, and laptops are examples of
myrzilka [38]
Technology 
Cpus is a Central Processing Unit  
Tablets Are well, Tablets  
laptops are laptops

7 0
2 years ago
Which of these describes, in increasing order, the file sizes of the same image in different formats? Group of answer choices
Nesterboy [21]

Answer:

If left being the shortest file size and right being the biggest file size...

It is JPEG, PNG, TIFF.

Explanation:

TIFF is used primarily for editing photos or for uncompressed high quality images for things like 4K textures. The file size will be bigger since generally it is uncompressed.

PNG reserves the maximum quality of the image and can not be compressed. (It can be compressed but the results are very minimal).

JPEG allows for the user to decide the compression and quality of the image. JPEG also doesn't hold transparency data, thus making JPEG generally use less space than PNG and definitely more than TIFF.  

8 0
3 years ago
Other questions:
  • It is not recommended by the USA EPA, but adding refrigerant to a leaking A/C system is
    13·1 answer
  • A(n) _____ is a simple database program whose records have no relationship to one another.
    10·1 answer
  • A customer has a web server for a small business. The business uses both wired and wireless networking. A Linksys WRT300N wirele
    13·1 answer
  • The __________ is a visual or textual storyboard that will assist in determining the type of web pages on your site.
    14·1 answer
  • You would like to know how many cells contain data. Which function should you use?
    11·1 answer
  • Can anybody tell me how to screenshot on a PC with no "print screen" button?
    11·1 answer
  • . Write a short program that asks the user to input a string, and then outputs the
    15·1 answer
  • Which of the following lists the proper order of the categories of the SOC system from general to specific?
    11·1 answer
  • Which of the following is the term for a device (usually external to a computer) that is plugged into a computer's communication
    7·1 answer
  • 100 POINTSSSSSSS!!
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!