subject

Consider the following method checking whether a student has passing grades: public boolean ispassing(int finalexam, int cumulativeaverage) { /* missing code */ } a student can pass a class if one of the following is true: the final exam is at least 98 the cumulative average is over 60 which of the following correctly replaces /* missing code */ so that the method works as intended? i. if ((finalexam > = 98) || (cumulativeaverage > 60)) return true; return false; ii. boolean pass = false; if (finalexam > = 98) pass = true; if (cumulativeaverage > 60) pass = true; return pass; iii. if (finalexam > = 98 & & cumulativeaverage > = 60) return true; return false; 1. i only 2. ii only 3. i and ii only 4. ii and iii only 5. iii only

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
What is a distinguishing feature of today’s graphic application software?) graphic applications are used today on a variety of devices, including touch-screen kiosks and mobile phones.
Answers: 3
question
Computers and Technology, 22.06.2019 23:00
Suppose s, t, and w are strings that have already been created inside main. write a statement or statements, to be added to main, that will determine if the lengths of the three strings are in order by length, smallest to largest. that is, your code should determine if s is strictly shorter than t, and if t is strictly shorter than w. if these conditions hold your code should print (the boolean value) true. if not, your code should print false. (strictly means: no ties) example: if s, t, and w are "cat", "hats", and "skies" your code should print true - their lengths are 3-4-5; but if s, t, and w are "cats" "shirt", and "trust", then print false - their lengths are 4-5-5 enter your code in the box below
Answers: 2
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
In the microsoftÂŽ accessÂŽ and microsoft excelÂŽ programs, the ribbon contains tabs that are divided into with like tools in them. parts groups containers bunches
Answers: 1
You know the right answer?
Consider the following method checking whether a student has passing grades: public boolean ispassi...
Questions
question
Mathematics, 15.01.2021 21:30
question
Mathematics, 15.01.2021 21:30
question
Computers and Technology, 15.01.2021 21:30
question
Mathematics, 15.01.2021 21:30
question
Mathematics, 15.01.2021 21:30
question
History, 15.01.2021 21:30
question
World Languages, 15.01.2021 21:30