Project Name: Activity_3rdqtr activity_02 Class Name: • Create a Java program using while loop to display a Celsius to Fahrenheit conversion table. · Assume that Fahrenheit temperatures corresponding to Celsius temperatures ranging from 5 to 50 degrees are to be displayed in increments of 5 degrees. · Use the formula: Fahrenheit = (9.0/5.0) * Celsius + 32.0
Q: write (define) a public static method named noDuplicates, that takes an ArrayList as an argument and...
A: ALGORITHM:- 1. Declare and initialise an arraylist. 2. Pass it to the noDuplicates() method. 3. Prin...
Q: (a) AND-OR (b) NAND-NAND F(X,Y,Z) = Em(0,6). %3D
A: F(X, Y, Z) = m(0, 6) Here we need to use Kmap to find the boolean expression or we can directly con...
Q: How can a bus architecture manage multiple computers transmitting at once?
A: INTRODUCTION: A bus is a communication mechanism in computer architecture that transports data betw...
Q: What are the key differences between CBSE with reuse and software development procedures for new sof...
A: Introduction: Independent components with their own interfaces. Component standards are used to make...
Q: You and your closest friend spend a lot of time playing video games together. Once, he/she asks for ...
A: Introduction: Hey, To begin, do not reveal your password with anybody, even if he is your closest fr...
Q: Why is networking expertise required of a computer scientist?
A: The above question that is reason for networking expertise required of a computer scientist is answe...
Q: Vrite a java program to take a string and a non-empty substring sub, print true if the substring app...
A: import java.util.*;public class Main{ public static void main(String[] args) { Scanner s=new Sca...
Q: "Take an ArrayList of any element type and an object of that type and destructively remove all eleme...
A: In this question, we are asked to choose the correct option out of 4 which can delete the passed obj...
Q: 7. Consider the CFG S-> SS+ISS*la. Derive the string aa+a* from the given CFG and construct between ...
A:
Q: Write a GUI based program that converts Fahrenheit temperature measurement to Celsius temperature me...
A: In this program we to create java program using GUI to convert temperature from Fahrenheit - Celsi...
Q: The first line will contain a message prompt to input the first thing. The second line will contain ...
A: Step-1: Start Step-2: Declare five variables str1, str2, str3, str4, str5 Step-3: Print "Enter the f...
Q: Design a clocked sequential circuit with one input X and one output Z for the detection of the 4-bit...
A: Answer :- We will start with the design of the Clocked Synchronous Circuit using Mealy Machine First...
Q: Decimal 5311 Code 0000 1 0001 0011 3 0100 4 0101 5 7 8 9 10 11 12 13 14 15
A: The Answer is given below table.
Q: Why is it necessary to create a virtual base class while using hybrid inheritance?
A: Hybrid inheritance is a combination of multiple inheritance and multilevel inheritance.
Q: 3. House +numberRoomint +type:String +Displaxlotol); Bungalow +location:String +gwnerName:String
A: In the following steps, the input, output and the code screenshot along with the output has been men...
Q: The logical character of Boolean functions may be expressed in three distinct ways
A: Introduction: There are several Boolean functions with three or more inputs. AND, OR, XOR, NAND, NOR...
Q: Find the complexity of the following blocks of code or algorithm's description. [Note: your answer m...
A: Given: We have to find the Complexity of the following blocks of code. As per the Company guil...
Q: Q1- Convert the following: a- 1011 1100B to hexadecimal b- 173D to binary c- 4 1. 6875 to binary
A: Below is the answer to above question. I hope this will meet your requirement...
Q: causing an overflow? How many values in the system have this property? Explain your
A: Adding 0 will not cause overflow
Q: SSD v [ Choose ] Laser
A: Let us see the answer below,
Q: Explain how the size of the organisation and the size of the programme have an impact on software pr...
A: Answer: The size of the organization and the size of the program have a great impact on software pro...
Q: When is it better to use Excel in Word for a table than to use a program like Excel? What are some o...
A: Following are the points where using Word for the table formation is better than using an Excel Prog...
Q: t's out of our scope to look at how operating systems implement processes.
A: Operating systems implement processes as a part of their internal working.
Q: A proposed independent certification authority It was up to vendors to submit trustworthy components...
A: Introduction: In qualitative research, establishing trustworthiness entails establishing the followi...
Q: What exactly is a database?
A: Let's understand step by step : Database : Database is a collection of data stored in a computer l...
Q: 1-How can the CPU recognize the device requesting an interrupt ? 2-Since different devices are likel...
A: The CPU has numerous interrupt lines, and if you need more than that, there's a "interrupt controlle...
Q: How can I make a fact table with only one process?
A: Introduction: Dimensional data should be used to slice and dice the data in a fact table. For instan...
Q: Explain the difference between (compile time) checked and (runtime) unchecked exceptions. When would...
A: Checked exceptions A checked exception is an exception that occurs at the compile time, these are al...
Q: Html The website must be developed using HTML 5 and feature a minimum of SIX (6) interlinked pages w...
A: Main.html <!doctype html> <html lang="en"><head> <meta charset="utf-8">...
Q: Give an example of how a full denial of service attack on a user (where the user receives no answer ...
A: Introduction A denial of service (DOS) assault on a computer is an example of a cyber-attack. By ...
Q: What exactly is a public cloud computing environment, and how does it function?
A: Introduction: The Internet of ThingsThe phrase "cloud" refers to on-demand services sharing programm...
Q: Write a Python program to take a string that contains a single pair of parenthesis, print the new st...
A: The solution to the given problem is below.
Q: Compute and print the state income tax. Net Income is Gross Income minus Deductions. Tax is 3% on ea...
A: The code implementation in the C++ programming language is given in the below steps.
Q: SELECT CName, cPhoneNo FROM CUSTOMER WHERE CNo IN (SELECT CNo FROM BOOKING WHERE rNo IN (SELECT rNo ...
A: Due to company policies I am compelled to solve only one part and that is the first part. Please pos...
Q: What are the applications of Subneting?
A: According to the question the subnet allows to the community to carry out speedy and makes the commu...
Q: 2. You have to write a program to input two strings x2, x2 from the user and print the string x1x2 i...
A: Required:- 2. You have to write a program to input two strings X1, and X2 from the user and print th...
Q: Show why it's frequently required to expand and adapt components for reuse, using the example of a c...
A: Solution :: To make parts reusable, you need to stretch out the application clear parts to make mo...
Q: Define a real-time operating system with the help of examples. Describe how it differs from a standa...
A: Introduction: A real-time operating system is a kind of operating system that ensures a given capabi...
Q: 1.In Microsoft Publisher, ruler guides are used for _________________________ objects in the _______...
A: 1) d 2) c 3) b
Q: 2-Give the full term of the following: RST, INTA, INTR
A: The Answer for the given question in step-2.
Q: What are three security measures that will help a company while reducing productivity?
A: Introduction: ery company has a certain quantity of private information that must be preserved and k...
Q: What are the applications of Subneting?
A: INTRODUCTION: Here we need to explain the applications of subnetting.
Q: In this assignment you will write your own square root function and a main program to test it. The s...
A: Your given pseudocode is wrong. Please see below number = float(input('Enter a nonnegative number:')...
Q: Using c++ programming language. Write a class Distance that holds distances or measurements express...
A: Given information, It is required to create a Distance class with specified variables and member fun...
Q: Define a real-time operating system with the help of examples. Describe how it differs from a standa...
A: The real-time operating system is an operating system that guarantees a certain capability within th...
Q: Using Python: Write a program which repeatedly reads numbers until the user enters “done”. Once “do...
A: Introduction Using Python: Write a program which repeatedly reads numbers until the user enters “do...
Q: Define a real-time operating system with the help of examples. Describe how it differs from a standa...
A: Define a real-time operating system with the help of examples. Describe how it differs from a stan...
Q: Q1) Implement the following non-member function which reverses a given string. String reversal must...
A: Q1) Implement the following non-member function which reverses a given string. String reversal must...
Q: Write a GUI based program that converts Fahrenheit temperature measurement to Celsius temperature me...
A: // Since it was not give how user will select Celsius or Fahrenheit. I have made to convert Celsius ...
Q: What is the process of making an HTTP request?
A: What is a request? -> A way to exchange data between a client and server -> Client sends the r...
Encode
Step by step
Solved in 4 steps with 2 images
- Following code in C using random Name Reg no and highschool name Use switch case in C language to do the following: Create a restaurant with the name “Your Name - Reg_No – Name of your highschool” The restaurant should come with the options of delivery and take away and the choice should be displayed as “Delivery – Registration No” and “Takeaway – Name” Each option should have the same menu and an extra 15% charge be included if a customer wants home delivery Both menus should have two items that are customizable, such as a burger can have chillies removed, cheese added and extra mayonnaise. The user should have the option of choosing multiple items with multiple quantity. Print a bill in the end.Last question, Coding done in Python. Math Quiz Design a program that gives simple math quizzes. The program should display two random numbers that are to be added, such as: 247 + 129 The program should allow the student to enter the answer. If the answer is correct, a message of congratulations should be displayed. If the answer is incorrect, a message showing the correct answer should be displayed. All coding done in Python.PYTHON programming solotion Develop a program that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a multiplier of 2 to 8. The program must display a multiplication table with results using these values. For example, if the user enters a start value of 3, a stop value of 7 and a multiplier value of 3, the table should be displayed as follows: Multiplication Table 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 additionally Each multiplication problem must be displayed with a problem number. The program must prompt the user to enter an answer to each of the multiplication problems. The correct answer should be displayed after the user enters an answer. A message should be displayed informing the user that the answer entered was correct or incorrect followed by an appropriate motivating comment. A running record of the number of correct and incorrect responses must be kept. After all the problems have been presented the user must be informed of…
- Computer Science C# Programming Object Orientation Please use Arrays or ArrayLists where appropriate Implement a menu driven program that has some operations for a food truck. A food truck has multiple food items as well as a menu which contains a selection of the food items which will be sold for that day. A maximum of 10 food items can appear on the menu for any day. For each food item keep a code, description, category, price and quantity in stock (code, description and category are not usually changed). Create a comma delimited text file called "items.txt" for 15 or more food items, indicating the item's description, category, price and quantity in stock. Read all the food items from the text file “Items.txt” Display all the food items available for this food truck. Continuously prompt the user for a food item’s code to be placed on the menu until the menu is full or the user enters -1. Note that only food items which have a positive quantity in stock may be added to…C# Account numbers sometimes contain a check digit that is the result of a mathematical calculation. The inclusion of the digit in an account number helps ascertain whether the number is a valid one. Write an application named CheckDigit that asks a user to enter a four-digit account number and determines whether it is a valid number. The number is valid if the fourth digit is the remainder when the number represented by the first three digits of the four-digit number is divided by 7. For example, 7770 is valid, because 0 is the remainder when 777 is divided by 7. If the account number is valid, output The account number is valid. If the account number is invalid output Invalid. If the account number is too short or too long output Account number invalid - it must have 4 digits.Using a Sentinel Value to Control a while Loop in Java Summary In this lab, you write a while loop that uses a sentinel value to control a loop in a Java program that has been provided. You also write the statements that make up the body of the loop. The source code file already contains the necessary variable declarations and output statements. Each theater patron enters a value from 0 to 4 indicating the number of stars the patron awards to the Guide’s featured movie of the week. The program executes continuously until the theater manager enters a negative number to quit. At the end of the program, you should display the average star rating for the movie. Instructions Ensure the file named MovieGuide.java is open. Write the while loop using a sentinel value to control the loop, and write the statements that make up the body of the loop to calculate the average star rating. Execute the program by clicking Run. Input the following: 0, 3, 4, 4, 1, 1, 2, -1 Check that the…
- Mail Delivery Service Create a Python application, Delivery.py for a delivery service. The program should prompt the user for the following inputs. A code representing the delivery area. A local delivery is code 1, and a long distance delivery is code 2. A weight, in pounds of the item to be delivered. The program will then display the fee for the item based on the delivery type and its weight. The fee for the delivery, as follows: 1. Distance Fee (S) Weight Under 5 pounds 5 to 20 pounds Over 20 pounds Under 5 pounds 5 pounds or more 1 12.00 1 16.50 1 22.00 2 35.00 2 47.95 For examples: (These outputs are from different runs. They are not from a loop.) Delivery Service Enter Distance (1) Local - (2) Long Distance: Enter weight: 4.9 ------ Summary Delivery Type: Local Weight: 4.9 pounds Fee: $12.00 Delivery Service Enter Distance (1) Local - (2) Long Distance: Enter weight: 4.9 --------- Summary Delivery Type: Long Distance Weight: 4.9 pounds Fee: $35.00 Delivery Service Enter Distance…JAVA Create a program using JAVA that asks the user to enter the amount that he or she has budgeted for a month. A loop should then prompt the user to enter each of his or her expenses for the month and keep a running total. When the loop finishes, the program should display the first and last name, each entry, and the total amount that the user is over or under budget. EXAMPLE: Paul RuddMonthly Budget Starting Balance: $1,000.00 Restaurant: - $300.00Remaining balance: $800.00 Electric: -$100.00Remaining balance: $600.00 Final Balance: $600.00#include <stdio.h>#include <stdlib.h> //declaring variables globally to calculate coinsint cent50 = 0;int cent20 = 0;int cent10 = 0;int cent05 = 0; //calculate change//pass change variable by addressvoid calculateChange(int* change) {//calculate change only if change is positiveif(*change > 0) {if(*change >= 50) {*change -= 50;cent50++;}else if(*change >= 20) {*change -= 20;cent20++;}else if(*change >= 10) {*change -= 10;cent10++;}else if(*change >= 05) {*change -= 05;cent05++;}//call calculateChange recursively calculateChange(change);}} // function to display the cents valuesvoid printChange() { if(cent50)printf("\n50 Cents : %d coins", cent50);if(cent20)printf("\n20 Cents : %d coins", cent20);if(cent10)printf("\n10 Cents : %d coins", cent10);if(cent05)printf("\n05 Cents : %d coins", cent05);//reset all cent variables with 0cent50 = 0;cent20 = 0;cent10 = 0;cent05 = 0; } //take change input from user//change variable passed addressvoid TakeChange(int*…
- Filename: TemperatureProblem_FamilyName Create a java program that will read a temperature in degrees Fahrenheit (F), output in degrees Centigrade (C). Formula to convert degrees Centigrade to degrees Celcius: F = ? * (C + 32) impoTopic : Multiple Selection Control Structure Instruction : 1. Save your java file name same as your class name in the coding. Example : Save as : Munirah_S3BT20.java Class name for coding : class Munirah_S3BT20 Problem Description : Maths Tuition Centre asked you as a senior programmer to develop a Java program. The program is to calculate the total fee to be paid for each student. Each student must pay RM10 for the learning module. Tuition centre also gives the discount based on total charge. Below are the charge rate provided by tuition centre: Hour Charge Discount First hour RM15 per hour 3% Next 5 hours RM10 per hour 7% 7 hours and above RM5 per hour 12% *Total fee will be granted with one-time discount only The program will allow users to enter student's names and total hours. Then, the program will calculate the total fees including the learning module and total charge. Begins your code with name, class, matric number, and problem description as a comment. Use 2 decimal point…Design an application that accepts 10 numbers and displays them in descending order.