subject

Chapter 1 Lab Algorithms, Errors, and Testing
Objectives
Be able to write an algorithm
• Be able to compile a Java program
• Be able to execute a Java program using the Sun JDK or a Java IDE
• Be able to test a program
Be able to debug a program with syntax and logic errors
Introduction
+
Your teacher will introduce your computer lab and the eavironment you will be using
for programming in Java.
In chapter 1 of the textbook, we discuss writing your first program. The example
calculates the user's gross pay. It calculates the gross pay by multiplying the number of
hours worked by hourly pay rate. However, it is not always calculated this way. What
if you work 45 hours in a week? The hours that you worked over 40 hours are consid-
ered overtime. You will need to be paid time and a half for the overtime hours you
worked.
with

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 12:00
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
Answers: 1
question
Computers and Technology, 24.06.2019 16:50
Develop the program incrementally: a) start by reading and displaying each line of the input file to make sure you are reading the data set correctly. b) use the split string method to extract information from each line into a list. print the list to prove that this step is working correctly. d) convert the exam scores to type int and calculate the student’s average. display those items to prove this step is working correctly. e) create a tuple containing the six items for each student (name, exam scores, exam mean). display the tuples to prove this step is working correctly. (optionally, you may want to have the exam scores in a list so your tuple is (name, scores_list, f) append each tuple to a list. display the list to prove this step is working correctly. g) use the sort list method to re-order the tuples in the list. display the list to prove this step is working correctly. h) use a for statement to display the contents of the list as a table (with appropriate formatting). i) use a for statement to calculate the average of all scores on exam #1, then display the results. note that you could have calculated this average within the first loop, but we are explicitly requiring you to do this calculation by looping though your list of tuples. j) add the logic to calculate the average of all scores on exam #2, then display the results.
Answers: 2
question
Computers and Technology, 25.06.2019 17:40
4) wilkes continues to discuss the concept of time and how it relates to the type of photography he does. why do you feel that the concept of time is of suck importance to him as a photographer? 5) unit 10 explores photographs with movement in them such as wildlife and documentary photography. wilkes takes the idea of movement in photography to a different level. do you feel the tips and information that you have learned in unit 10 is applicable to the type of photography that wilkes does? answer as soon as possible im so confused
Answers: 1
question
Computers and Technology, 26.06.2019 04:00
What text results in variable whitespace?
Answers: 1
You know the right answer?
Chapter 1 Lab Algorithms, Errors, and Testing
Objectives
Be able to write an algorithm<...
Questions
question
Mathematics, 21.02.2020 21:32
question
Mathematics, 21.02.2020 21:32