
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
create a java
- name and section of the student
- grade for English, Math, Science, and Filipino
then compute the genral average
then check if pass or fail if grade is below 75 then must print fail and pass if otherwise
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Algorithm that captures a person's age and determines how much they have to pay for a movie ticket. Entrance is free for people aged 5 and under and for people 100 and over. Those between 6 and 17 pay $ 3, those between 18 and 64 pay $ 8 and others $ 5. How to write this Code in the C# programming language explain in detail Variables: age : integerprice : real begin2. read ("Enter the age of the customer ")write (age) 3. if (age <= 5 or age >= 100) ......then price ← 0 .......else if (age < 18) .................... then price ← 3 ....................else if (age < 65 ) ................................then prix ← 8 ................................else prix ← 5 .............................. end if ................ end if end if4. read ("The ticket price is:", price )5. endarrow_forwarduse java programarrow_forwardPhone Company charges for phone calls by distance (miles) and length of time (minutes) The cost of a call (in dollars) is calculated as 0.15 (length of time + 0.02 * distance). Design, write, test, and run a Python program using IDLE's script mode (NOT interactive mode). The program should calculate the cost of each of four phone calls and the total cost of all four phone calls. The program should be designed to request the times and distances from the program's user through the use of the keyboard. What is a user? The program's user is you when you are testing and running the program. The instructor will be the user when the program is checked. The output of your program should display the time, distance, and cost of each call. In addition, it should display the total cost of all four phone calls. Please do fast fastt...arrow_forward
- A Charge Account Statement Write a program to prepare the monthly charge account statement for a customer of CS CARD International, a credit card company. The program should take as input the previous balance on the account and the total amount of additional charges during the month. The program should then compute the interest for the month, the total new balance (the previous balance plus additional charges plus interest), and the minimum payment due. Assume the interest is 0 if the previous balance was 0 but if the previous balance was greater than 0 the interest is 2% of the total owed (previous balance plus additional charges). Assume the minimum payment is as follows: new balance for a new balance less than $50 $50.00 for a new balance between $50 and $300 (inclusive) 20% of the new balance for a new balance over $300 So if the new balance is $38.00 then the person must pay the whole $38.00; if the balance is $128 then the person must pay $50; if the balance is $350 the minimum…arrow_forwardGiven two integers as user inputs that represent the number of drinks to buy and the number of bottles to restock, create a VendingMachine variable that performs the following operations: (in the C language please).arrow_forwardQuestion 18 Guessing Game Code a solution for the following problem. Post your program in the textbox below. (NOTE: Indenting matters.) • Hard-code an integer variable valid value from 1 to 10. Ask the user to guess your whole number and input that number. - Then compare the user's input to your literal number ani tell the user how they compare, is it greater than, less than or equal to each other. Extra: Send an error message if the value entered is not between 1 and 10. Edit View Insert Format Tools Table Ev Ev To E v V O Paragraph v BIU A ev T? v 12pt varrow_forward
- Program Unit Score Calculator Console App Write a Python Console Application program that allows the user to enter the marks for different assessments in a unit, and computes the total mark and grade for the unit. Here is the program logic specification: There are six assessment activities Quiz1, Quiz2, Quiz3, Quiz4, Lab Journal, Major Assignment and Final Exam. The four quizzes are worth 5 marks each, the Lab Journal is worth 10 marks, the Major Assignment is worth 30 marks and the Final Exam is worth 40 marks. The algorithm for computing the total mark for the unit is: Total Mark = Quiz1+Quiz2+Quiz3+Quiz4+Major Assignment+ Lab Journal + Final Exam The following screenshot shows a successful test run:arrow_forwardCompleted a partially completed Python program. When completed, the user should be able to enter a year and then press Enter, enter a month and then press Enter, and enter a day and then press Enter to determine if the date is valid. Valid years are those that are greater than 0, valid months include the values 1 through 12, and valid days include the values 1 through 31. Follow these steps for the python program to complete the partially completed program: 1. Write the housekeeping() method that contains input statements to retrieve a year, a month, and a day from the user.2. Add statements to the housekeeping() method that convert the string representation of the year, month, and day to ints.3. Include the output statements in the simulated endOfJob() method. The format of the output is as follows:month/day/year is a valid date.ormonth/day/year is an invalid date.arrow_forwardWrite a flowchart and C code for a program that does the following: Declare variables with integer or float datatypes. Assign the values of three grades (84, 98, 73) to each of the variables Compute the average of the grades – keep the order of operations in mind Display the average using an appropriate message Add a decision that checks to see if the Average grade is greater than 65, if true display a message that the student passed. Be sure to add comments throughout your program describing what is happening Review the output below to check your work. Paste the following three items into a Word document (.docx) Your flowchart in Flowgorithm A screenshot of your codearrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education