Computers and Technology

I NEED Pseudocode(Java) PLEASE Assignment2A: Hello, Autograder? Write a program that prints out “Hello, Autograder!”. When you write/submit the source code version of this, this is how you can test the autograder (i. e. you should get these points).

Sample Output #1:

Hello, Autograder!

Sample Output #2:

Hello, Autograder!

Assignment2B: Yardwork. If you’ve ever had to mow the lawn, you’ll realize that it’s hard work. Good news, everyone! You just bought an electric mower. Write a program that reads from the user, the width, length, and how many square feet you can mow per dot of charge. The program then calculates how many charged batteries are needed to cut a rectangular yard based on the width, length and how many square feet per dot of charge. Your output should look like the examples below. Bold characters represent user input.

Sample Output:

Width:

15

Length:

90

Square feet per dot: 100 A yard of 1350 square feet will take 13.5 dots to cut.

Sample Output #2:

Width:

21

Length:

200

Square feet per dot: 75 An area of 4200 square feet will take 56 dots to cut.

Assignment 2C: Can you still see the dots? It’s an interesting time in display technology. When we talk about displays, you most often hear the term “pixel”, which is the smallest light-emitting speck on your screen. We use the term “resolution” when talking about the total number of pixels on the screen, but sometimes you want to know how dense the pixels are per inch. A 4K giant display is common, but a 4K display on your iWatch would be a seriously impressive feat! The real question is if someone came out with a 16K television, would you be able to see the individual pixels? If you couldn’t, would you still buy it?

For this assignment, we’re going to calculate the pixels per square inch. To calculate pixels per square inch, you need to know how many pixels there are horizontally (left-toright), how many there are vertically(top-to-bottom), and the diagonal length of the display (upper-left to lower-right). Your calculations will be similar to this online calculator . According to the website, you have: Diagonal Pixels = Square root of (Vertical Pixels² + Horizontal Pixels²) PPI = Diagonal Pixels / inches Examples of how to calculate the square root of a number is in the Appendix below. We need to use the sqrt function, which returns a double. You need to write a program that reads in the horizontal and vertical resolution of the screen as well as its diagonal length (in inches) and print out the number of pixels per square inch. Note: you cannot have part of a pixel (e. g. 216.9), so you must round down to the nearest whole pixel. The easiest way to do this is type-cast from a float (or double) to an int.

Sample Output:

Horizontal pixels:

2880

Vertical pixels:

1800

Diagonal length in inches:

15.1

Pixels per inch:

224

Sample Output #2:

Horizontal pixels:

1920

Vertical pixels:

1200

Diagonal length in inches:

17.0

Pixels per inch:

133

Sample Output #3:

Horizontal pixels:

4096

Vertical pixels:

2160

Diagonal length in inches:

55

Pixels per inch:

84

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:00, yeet74
I'm taking a class on how to make a movie, and it offers some apps that would be in the process. the thing is, i don't have any of those ha. if you have any tips on some apps i could use, that would be awesome. i don't have an iphone, so don't suggest any apps like imovie. i know that this is a weird question, but it would be super for me. : )
Answers: 2
image
Computers and Technology, 22.06.2019 20:00, jumpgirll
The blank button automatically displays next to the data when you select a range of numeric data which is an available option for creating a chart
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, soapai
Select the correct answer. sean is a computer programmer. he has programmed an application for toddlers that plays nursery rhymes. however, a logic error has occurred in the program. which problem is a likely consequence of the error? a. the program crashes every time the user wants to play the nursery rhymes. b. the program crosses its buffer boundaries and overwrites an adjacent program. c. the program plays a different nursery rhyme than the one the user intended to play. d. the program shows different structures in its programming language code. e. the program introduces new viruses every time the user plays a nursery rhyme.
Answers: 1
image
Computers and Technology, 24.06.2019 00:50, anthonycraig0205
3. what is the output of the following statements? temporary object1; temporary object2("rectangle", 8.5, 5); temporary object3("circle", 6, 0); temporary object4("cylinder", 6, 3.5); cout < < fixed < < showpoint < < setprecision(2); object1.print(); object2.print(); object3.print(); object4.print(); object1.set("sphere", 4.5, 0); object1.print();
Answers: 1
Do you know the correct answer?
I NEED Pseudocode(Java) PLEASE Assignment2A: Hello, Autograder? Write a program that prints out “He...

Questions in other subjects:

Konu
Mathematics, 21.08.2020 14:01