Create a program to input the quantity and price of 5 products named P1, P2, P3, P4, and P5. Then display the total amount the user has to pay in the output.
Q: How do you set server's virtual root directory
A: A remote virtual directory is a directory that's not contained within the Web site's home directory ...
Q: pushdown automata.
A: ANSWER: Pushdown Automata: A push down automata is like deterministic limited automata with the exce...
Q: a) a(alb)'a. b) ((ela)b*)". c) (alb) a(alb)(alb). d) a*ba*ba*ba". ! e) (aa|bb)*((ab|ba)(aa|bb)* (ab|...
A: a) Every string is accepted must start with a and end with a. b) Every string is accepted that conta...
Q: How we can access the other components within and outside the android application. Explain your answ...
A: Sharing on facebook:- Sharing is an easy way to allow people to bring content from your website or m...
Q: Consider a two-link network where Host A is connected to the router by a 1 Mbps link with 10 ms prop...
A: Transmission delay depends upon data amount to be transmitted and the rate of transmission. Size of...
Q: Is anybody familiar with John von Neumann's basic schooling?
A: John von Neumann was former mathematician and computer scientist . He presented von Neumann architec...
Q: Is it possible to write yara rules with multiple conditions? Examples please.
A: Yes, It is possible to write YARA rules with multiple condition. The image below is an example Y...
Q: he centralized mutual exclusion algorithm to ensure fairness. (Hint: Use vector clocks modified appr...
A: given - How will you modify the centralized mutual exclusion algorithm to ensure fairness
Q: Write c++ program
A: Program Explanation: Declare the header file Define the main function Define the variable a Define ...
Q: Please help with the coding, this language is java. Thank you! Insert the code in the "TO DO" packag...
A: i give this todo list question answer in next step , first we understand what is todo list or sortin...
Q: You are examining a host with an IP address of 52.93.24.42/20 and want to determine the broadcast ad...
A: INTRODUCTION: A network host is a computer or another device that is linked to a computer network. ...
Q: Create a flowchart in which the program gets a number from user and checks if it's a multiple of 3....
A: NOTE: AS per Bartleby guideline, if there are multiple questions available then we are allowed to so...
Q: how to check first 2 character in string are capital letter? sql
A: how to check first 2 character in string are capital letter? sql
Q: A company wants to develop a group diary and a time management system for various executives. The gr...
A: Executive Assistant needs to be able to manage their calendars effectively: Proper scheduling manage...
Q: Using hash tables of a Map data structure you will write. Write your application by following the st...
A: Cryptographic maps are useful: The data structure has numerous baskets, each of which corresponds to...
Q: Does internal or external cloud storage exist?
A: Introduction: Cloud storage is a term used in computer science to describe one of the methods for st...
Q: Discuss the availability and security issues of wireless technology. Use suitable business case exam...
A: - We need to talk about wireless technology.
Q: Comparison between (Windows, Linux ,Android ,Mac OS) in tiupol
A: the above question that is comprision between windows, linux ,Android and Mac os is answered bellow...
Q: What is the noise model for Image Restoration? Briefly explain the common noises with their graphica...
A: The image enhancement disturbance models: During image data, processing, transfer, and processor pha...
Q: Who created the first digital computer, and when?
A: Defined the first digital computer
Q: Suppose that the (24, 12) Golay code is used for error correction. Decode the following received seq...
A: Answer: I have given answered in the handwritten format in brief explanation
Q: What is the size in bits of the tag in the cache?
A: An Address of the memory is the place where the variable which is being created is stored.
Q: Suppose you were implementing a Company---Employee relationship. Which of these classes would be con...
A: Company comprises (made up of) Employees and hence it is the aggregating class. The existence of the...
Q: (Java) Question 2 Define polymorphism.
A: Polymorphism is a skill that takes many forms. The most common use of polymorphism in OOP occurs whe...
Q: For a direct-mapped cache design with a 64-bit address, the following bits of the address are used t...
A: A direct mapped cache is a simple approach to cache memory in computational programming. Each main ...
Q: data scientist who works in the headquarter of a local bank. Assuming that you have sum model to hel...
A: Lets see the solution.
Q: bläi 3 correct the following program and what the output of inches when the user input data is [feet...
A: The program is a simple distance calculator in c++ which calculates the distance taking user inputs ...
Q: Design a 8-bit multiplier using NaiveD&Cmult algorithm with basic building blocks of 1-bit multiplie...
A: Solution The Divide and Conquer algorithm is used in the Karatsuba algorithm for rapid multiplicatio...
Q: The matrix [A] has a norm of ||A||=3.2 x 10° and the norm of the inverse of that matrix is ||A^1||=2...
A: Answer : The matrix [A] has a norm of ||A||=3.2 x 103 and the norm of the inverse of that matrix is ...
Q: Regional Labs is a company that conducts research and development work on a contract basis for other...
A: Data is the new oil in this 21st century.
Q: How to create in Visual StudioC# a class called Product and in the main method three different produ...
A: First create a project Then right click on the project name in Explorer Choose Add and then choose c...
Q: You are a manager of a restaurant and have observed that customers in the restaurant. What is the av...
A: given - You are a manager of a restaurant and have observed that on average 36 customers per hour ar...
Q: Create a python code that inputs the complete name (first name/middle name/last name), address, cont...
A: In python input("prompt is optional") is used to take input from keyboard and print("any string" or ...
Q: Draw an Entity relationship diagram (ER) for a university according to the following rules: 1. -- Fo...
A: Here I'm giving you a picture of ER-Diagram which I've made according to your requirement and even a...
Q: Using a python code: When creating account: The username and password should be correct. It should ...
A: import random import sys class ATM(): def __init__(customer, name, account_number, balance = 0...
Q: Campground reservations, part 3: Available campsites Excellent job! This next one's a little more ch...
A: Here I have created a function named availableCampsites(). In this function, I have created an array...
Q: Ask the user their name and how many times they want to output their name (using a for loop). )...
A: Since no programming language is mentioned, I am using python 1. Algorithm: Start Read name and num...
Q: Show how to construct a PDA accepting L(M1) ∪ L(M2) where M1 and M2 are pushdown automata.
A: Constructed the PDA accepting for the considered pushdown automata
Q: What does the "scroll lock" key do?
A: Scroll lock : A key on a standard extended keyboard, originally causing the arrow keys to scroll a w...
Q: What was it that John von Neumann achieved in his lifetime?
A: Von Neumann, John: John von Neumann was born in Budapest, Hungary, on December 28, 1903. His talent ...
Q: Logic expressions Predicates usually come from which of the following software development artifacts...
A: c. Decisions in programse. Decisions in UML activity graphs
Q: Regional Labs is a company that conducts research and development work on a contract basis for other...
A: Regional Labs is a company that conducts research and development work on a contract basis for other...
Q: ajectory that AI will take over the next five years in cybersecurity
A: Artificial intelligence (AI) has been a huge increase enabler for many industries, because of its po...
Q: C# Programming Write a program that generates 10 random integers. Display the number only if it is...
A: #include <stdio.h> #include <stdlib.h> int main() { int i,x; int a[10]; ...
Q: C++ statements that opens the text file named input.txt and read character by character and display ...
A: the c++ program is an given below : // C++ program to demonstrate read/write of class// objects in C...
Q: Write a Python code with recursive function definition that calculates elements of the following seq...
A: Algorithm: Start Implement a method named calc() which takes a number as argument If n is 0, return...
Q: Write a yara rule to find PDF files with ANY of the following strings: - /JS - /JavaScript
A: What is YARA? Yet Another Recursive/Ridiculous Acronym (YARA) is a tool used to identify and classi...
Q: Garden Glory is a partnership that provides gardening and yard maintenance services to individuals a...
A:
Q: In classification learning, a classifier is presented with a set of Instances that are already class...
A: Describe classification learning and its instances describing two characteristics of a dataset with...
Q: 11. Write a code in AVR to load the value $20 into location $1A using register R20 and substract it ...
A: The code is given below for the above given question:
Step by step
Solved in 4 steps with 2 images
- COMPUTER FUNDAMENTALS AND PROGRAMMING 2 USING JAVA Problem 1: Using Scanner format, create a program that computes the discount amount and the discounted price of any items sold at KADS store, the store gives 5% discount on all items.Java Program (Display the prime factors) Write a program that prompts the user to enter a positive integer and displays all its smallest factors in decreasing order. For example, if the integer is 120, the smallest factors are displayed as 5, 3, 2, 2, 2.JAVA Programming Problem 2 - Diving In the sport of diving, seven judges award a score between 0 and 10, where each score may be a floating-point value. The highest and lowest scores are thrown out and the remaining scores are added together. The sum is then multiplied by the degree of difficulty for that dive. The degree of difficulty ranges from 1.2 to 3.8 points. The total is then multiplied by 0.6 to determine the diver’s score. Write a computer program that will ultimately determine the diver’s score. This program must include the following methods: A method name inputValidScore that inputs one valid score for one judge for one diver. This method will return the valid score. A method named inputAllScores that creates an array to store the scores for all judges for the diver. This method will fill the array with a valid score from each judge. This method does not take input arguments, but it does return the array of scores. A method named inputValidDegreeOfDifficulty that inputs a…
- Java Write a program that prompts the user to enter the number of students and each student's name and score, and finally displays the name of the student with the lowest score.JAVA PROGRAMMING LAB Write a Java program to takes 2 numbers from the user and print true if one or the other is teen, but not both. "teen" number is that number which lies in the range 13..19 inclusive.Assignment-3 Java Programming: 1. Write a program to input a positive integer and print whether the number is a power of 3 or not.
- Java Language The company will held its quarterly performance for each department; wherein each group of the department are rated from 1 to 5, where 1 is the lowest score and 5 is the highest score. The department has two groups, groupA and groupB. Each group will be rated by five evaluators. Create a program that will ask for the input rate of the evaluators, and determine the group that got the highest rating, as well as the overall rating of the department. Use the UML diagram below as a reference. Department() – accepts 5 ratings of the evaluators and determines the groupScore which is the total rating of the group. getGroupAverage() – returns the value of groupAverage which is the average score of the group. displayAverage() – displays the overAllAverage which is the average of the whole department. overAllScore is the over all score of the department. Department Group Score: Int Group Average : Double Overall Score: int overall Average: double Department()…JAVA PROGRAM Write a program that will input 2 fractions and compute the display the sum of the two fractions. Reduced the fractional part to its lowest term. First number entered is for numerator, second will be for denominator for the first fraction. Third number entered is for numerator, fouth will be for the denominator for the second fraction.Control structures: In Java only please. Output the position of the largest number and the largest number in the squence a0, a1, a2....ak. For example, the largest number of the squence is 75, 226, 113, 340, 170, 85, 256, 128, 64, 32, 16, 8, 4, 2, 1 is 340, and it's position is 4. Test your program for the following values of x: 75, 111, 678, 732, 873, 2048, and 65535. Thank you
- Java Code: The Personnel Department of Ariel Manufacturing Company is composed of ten employees of varying ages. Prepare a program that would show how many are below 20 years old, how many are between 20 to 29 years old and how many are over 29 years old.Computer Science Write a java program that asks the user to enter 10 numbers then the program will find the maximum, second maximum, and third maximum numbersA linear equation can be solved using Cramer’s rule given in Programming. In Java Write a program that prompts the user to enter a, b, c, d, e, and f and displays the result. If ad - bc is 0, report that “The equation has no solution.