Q1/create a QBasic program that will determine the price of traveler ticket based on customers age. The program must able to input the customers age then set the conditions so the price is determined as follows: age 0-4 (child) price 40s age 5-18 (student) price-1008 age 19-64 (young) price-1508 age >65 (old) price-80s
Q: QUESTION 2 Write a Java program corresponding to the following algorithm. 1. Get the name of a…
A: The complete solution is given below:-
Q: Instead of including this information in the code itself, why not keep it in a separate file?
A: Introduction: Why do you want to save this information outside of the code itself, in a different…
Q: created a tiered communication concept. Which model layer handles hardware? Explain. Mention layer…
A: Answer:
Q: Which of the following allows you to make the bars in a bar graph dodgerblue with navy borders ?…
A: Given that, For a bar graph we need to make the bars with dodgerblue colour and the borders of the…
Q: Explain, with the use of examples from the real world, how enterprise resource planning is…
A: Given: Enterprise Resource Planning software connects a company's applications. ERP systems automate…
Q: What is Sketch advantages and disadvanges. no plagirism
A: Visual Design: Visual design tries to increase the aesthetic appeal and usefulness of a…
Q: It is important to take careful notes on the input and output settings of the system.
A: The Answer is in step2
Q: Describe at least two characteristics of single user operating system.
A: Here are some of the characteristics of single user operating system:
Q: Compile a list of the most significant security issues that are unique to cloud computing, together…
A: Please find the answer below :
Q: What characteristics define a solid plan of backup action? The process of backing up your mobile…
A: Given: It is a traditional computer that stores information in bits with values ranging from 0 to 1.…
Q: What is an information system (complete definition)? List and describe the component of an…
A: The solution to the given question is: An information system (IS) refers to a collection of…
Q: Give examples of the many kinds of computers.
A: An electronic device which manipulates and process the data to turn it into a useful information is…
Q: Why would a member function be protected?
A: A function that is a private member function cannot be accessed, nor can it be seen, from any…
Q: A service delivered to users through a cloud-hosted web server has a target response time of 200…
A: We need to find the percentage increase in the amount of time for processing the response is…
Q: A security auditing system consists of three parts. Please describe each one. If you have examples…
A: A security auditing system consists of three parts. Please describe each one. If you have examples…
Q: When formulating a strategy and identifying key milestones, what risks should you be aware of that…
A: Please find the answer below :
Q: GSM time slot is 577 s (microseconds) in duration and includes far more than a snapshot of each…
A: The answer is
Q: Science and technology of the computer There are two ways to access a file. Is there a distinction…
A: Technology of the computer: The study of computers What are the different methods of file access?…
Q: Do the concepts of data abstraction and control abstraction in object-oriented programming have any…
A: Explanation: Abstraction is a method which is used to hide the irrelevant details and show only the…
Q: To what extent are security holes exploited and how may they be prevented in the future in the case…
A: about the internet and computer world, there is always a need to protect the computer Computer…
Q: It is important to consider a minimum of five characteristics and factors that contribute to the…
A: Overview: Self-awareness and humility: According to Branson, most people think that entrepreneurs…
Q: Describe the procedure for keeping track of time.
A: How to Keep track of Time workedTimesheets PapersThe paper method is an easy way to track time. All…
Q: After completing this course, you will have a deeper understanding of cloud computing, social…
A: Introduction: Improve your understanding of not just social networking blogs, but also cloud…
Q: The operating system of a computer may be used to generate, examine, and manage the files and…
A: A file is collection of specific information stored in the memory of computer system. Operating…
Q: A CheckBox or RadioButton control's selection may be detected in code in a few different ways.
A: In code, use a CheckBox or a RadioButton control: Select from the following RadioButton and CheckBox…
Q: Requirement Statement
A: The comments for the requirement statement are shown below.…
Q: You could discover that using structured English is useful for you when discussing about processes…
A: Here is the solution:
Q: We safeguard the present Internet's communication amongst all engaging entities. Meanwhile, Named…
A: A packet is a small piece of data that is sent through a network. A packet comprises the material…
Q: Symbian, Android, and iPhone operating systems have all been afflicted by the file destruction…
A: What impact has the file deletion algorithm had on Symbian, Android, and iPhone? The Detection…
Q: What are the advantages and disadvantages of using snail mail vs. email as two different ways to…
A: Email: Electronic mail (Email) is a method of exchanging messages between people using electronic…
Q: 1. List Collection Complete the program that will reverse each word on the given string B fun main()…
A: Coded using Kotlin
Q: .Using pseudo-code, design and, in a suitable language, implement a working event-driven application…
A: Pseudo-code which means the representation and implementations of the algorithms it is done by the…
Q: Write t11 for the sequence 6,10,14,18
A: Given Sequence:- 6, 10, 14, 18 ............ 10-6 = 4 14-10 = 4 18 -14= 4 And so on.. We can see…
Q: A company has obtained a block of IPv4 addresses from an ISP. The block included the address…
A: Answer:- Solutions 5102. 192.6.124.03. 192.56.125.2554. 192.56.124.1 to 192.56.125.255
Q: Consider a file currently consisting of 100 blocks. Assume that the file control block (and the…
A: From the given data, Contiguous: file is usually accessed sequentially, if the file is smallLinked:…
Q: A security auditing system consists of three parts. Please describe each one. If you have examples…
A: What is a security audit ? A security audit is a systematic assessment of the security of an…
Q: Describe the many kinds of electronic computing devices.
A: Relay connectors, solenoids, and other electrical counting devices were employed in mechanical…
Q: What are the primary distinctions between firewalls that are based on software and those that are…
A: A Firewall is an organization security gadget that screens and channels approaching and active…
Q: Please code in python Use Object oriented programming Write a method names "letterFinder" that gets…
A: NOTE Below is the answer for the given question. Hope you understand it well. If you have any…
Q: Write a program to multiply the number (09E6)* 13 and store the result in memory locations 4500 and…
A: From the question, we could understand that our task is to write an assembly language program to…
Q: These include socially engineered malware, phishing assaults for passwords, and software security…
A: Plan for dealing with an incident An incident response plan is a thorough, written strategy with six…
Q: What is the significance of the inheritance connection in the Object-Oriented paradigm?
A: Significance of the inheritance : Concerning the inheritance connection, which is a crucial part of…
Q: What are the most important characteristics that set a quantum computer apart from a conventional…
A: Conventional computing: The fourth generation of computers is known as conventional computing or…
Q: When doing user research, there is no reason not to break down the overall design into several user…
A: User research is critical in laying down a basis for design strategy. It makes it easier for you to…
Q: Describe a computer system's components in a few short sentences?
A: The following is a list of the most common kinds of software: Software for the operating system…
Q: The area of a triangle can be computed by the sine law when 2 sides of the triangle and the angle…
A: #include<stdio.h> #include<math.h> int main() { /*declaration and initialization of…
Q: What is the value of x and y after executing the following Java statements? int y = 3; int x =…
A: -An expressions which are combinations of literals,method calls,variable names and operators.…
Q: les: dayOfWeek (1) -> "Sunday" dayOfWeek (4) -> "Wednesday" Your Answer: 1 public String dayOfWeek…
A: Here is the code in Java:
Q: How about a rundown of the factors that influence the climate in which businesses operate as well as…
A: Inspection: It's a software engineering method that visualizes a system as a collection of…
Q: 9. Recall how garbage collection of type "copy collection" works in EGCO 213. Our memory heap is…
A: Answer:- Garbage Collection (GC) is a memory recovery feature built into programming languages such…
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- Computer Science Question LabThere is only one list of N ingredients in the menu. Every ingredient has its beauty value that does not depend on its taste, but on the way it looks, which is expressed as a positive integer. To order a dish, the customer asks Ramsay to use all the ingredients from L to R (L is strictly less than R). Ramsay knows that the dish will be tasty and not only beautiful if the sum of its ingredients' beauty values is divisible by K. Ramsay does not want to use all the ingredients, so he always excludes one of them. Which one? - The least beautiful one! (in other words - which has the minimal beauty value). Now he wonders - how many segments (L,R) are there such that the sum of their beauty values will be divisible by K after excluding the least beautiful ingredient. Your assignment is to develop a python code that prints the answer for the problem. Sample test case are given below:Input:3 51 2 30utput:1get_column_choice(): this function will allow us to ask the players which pocket they want to grab stones from. Since we know which row they are grabbing from (since it is not allowed to grab stones from your opponent’s side), we only need to get the column they want. As previously stated, we are using letters to represent the columns to make it easier on the player. This function accepts the current player (should be a 0 or 1), the board, and a list of letters (the same as the list you passed to the print_game_board function) and it will return the index of the column being chosen. The function should ask the player to enter a column letter, then it should check that the conditions listed below hold. If they don’t meet these conditions, it should ask again until it gets a valid letter, otherwise it should return the corresponding column index for that letter. Letter entered must be on the game board. It can be lower case or upper case. (Hint: this doesn’t need to be hard coded,…Computer Science Question Lab There is only one list of N ingredients in the menu. Every ingredient has its beauty value that does not depend on its taste, but on the way it looks, which is expressed as a positive integer. To order a dish, the customer asks Ramsay to use all the ingredients from L to R (L is strictly less than R). Ramsay knows that the dish will be tasty and not only beautiful if the sum of its ingredients' beauty values is divisible by K. Ramsay does not want to use all the ingredients, so he always excludes one of them. Which one? - The least beautiful one! (in other words - which has the minimal beauty value). Now he wonders - how many segments (L,R) are there such that the sum of their beauty values will be divisible by K after excluding the least beautiful ingredient. Your assignment is to develop a python code that prints the answer for the problem. Sample test case are given below:Input:3 51 2 3Output:1
- VBA - EXCEL Engine – optional – this indicates the solving method that needs to be used to get to a solution. 1 for the Simplex LP method, 2 for the GRG Nonlinear method, or 3 for the Evolutionary method. This corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box EngineDesc – optional -this is an alternate way of selecting the solving method – here you would type the strings “Simplex LP”, “GRG Nonlinear” or “Evolutionary”. This also corresponds to the Select a Solving Method dropdown list in the Solver Parameters dialog box What happens when the code demonstrates: Engine:=1, EngineDesc:="GRG Nonlinear" ?show: Lists the items that the wizard is currently carrying along with the index for each item and the weight of that item. See sample runs below. As shown in the sample this function also prints the total weight of the items along with the max weight limit of 100 lbs. Hint: You can use the sum function in Python to calculate the sum of weights. E.g. sum(weights) will return the sum of all the items in the weights list. grab_item: Add a new item while enforcing the following policy: There is a limit of 4 on the number of items the wizard can carry and limit of 100 lbs on the total weight the wizard can carry. So specifically, if the wizard is already carrying 4 items, print message that “You can't carry anymore items. Drop something first.” And return out of the function. Otherwise prompt the user for the name and the weight of the new item. Next check whether with the addition of the new item, the total weight will exceed the limit of 100 lbs. If so, print a message saying weight…Only correct answer will be upvoted. Else downvoted.
- Birthday party At Lili's birthday party, there was a game arranged by Jojo as the host. That game is to distribute Y number of candy to X number of people where all the candy tastes sweet except for one last candy which tasted like rotten nuts. Candy distribution will be sequentially starting from position Z and if past the last position then the distribution of candy continues to the first position. Write down the person in which position will get the last candy. Input FormatThe first line of input is T, which is the number of test cases.The second row and the next number of T rows are X, Y, Z.X is the number of people to whom the candy will be distributed.Y is the number of candy available.Z is the starting position of the person to whom the candy will be distributed. Output FormatA string “Case #N: “ and a number representing the position of the person who got the last candy. Constraints? ≤ ? ≤ ???? ≤ ?, ? ≤ ???? ≤ ? ≤ X Sample Input 43 4 13 5 24 2 24 5 2 Sample OutputCase #1: 1Case…Birthday party At Lili's birthday party, there was a game arranged by Jojo as the host. That game is to distribute Y number of candy to X number of people where all the candy tastes sweet except for one last candy which tasted like rotten nuts. Candy distribution will be sequentially starting from position Z and if past the last position then the distribution of candy continues to the first position. Write down the person in which position will get the last candy. Input FormatThe first line of input is T, which is the number of test cases.The second row and the next number of T rows are X, Y, Z.X is the number of people to whom the candy will be distributed.Y is the number of candy available.Z is the starting position of the person to whom the candy will be distributed. Output FormatA string “Case #N: “ and a number representing the position of the person who got the last candy. Constraints1 ≤ T ≤ 1001 ≤ X, Y ≤ 1031 ≤ Z ≤ X Sample Input 43 4 13 5 24 2 24 5 2 Sample OutputCase #1: 1Case…Your program has a list of professors and their office location and office hours per day of the week. The user will type either a professor’s name or day of the week. If they type a professor’s name, show that professor’s office location and office hours (all days of the week). You don’t have to do a name search, you can require the user type the professor’s name exactly right. If the user types a day of the week, show all professors and office location for professors that have office hours on that day of the week. You don’t really need to use time/date code like we did for the notebook, you can just match the day of week by the word (String) e.g., your data has “Wednesday” so if a user types exactly “Wednesday” it matches. This can all be done with hash maps (and loops / if’s / etc.) using Java
- Lab: switch Note: switch syntax is only applied for service selection. You can use if – else syntax for other comparison. Using switch syntax to write a program that calculates and prints the bill for a cellular telephone company. The company offers two types of service: regular and premium. Its rates vary, depending on the type of service. The rates are computed as follows: Regular service: $10.00 plus first 50 minutes are free. Charges for over 50 minutes are $0.20 per minutes. Premium service: $25 plus For calls made from 6:00 a.m to 6:00 p.m., the first 75 minutes are free; charges for more than 75 minutes are $0.10 per minute. For, calls made from 6:00 p.m. to 6:00 a.m., the first 100 minutes are free; charges for more than 100 minutes are $0.05 per minute. Your program should prompt the user to enter an account number, a service code (type char), and the number of minutes the service was used. A service code for r or R means regular service; a service…On one day a year a programming club at AOU hosts a tournament. Each entrant is recorded in the appropriate tournament category on arrival and is registered a corresponding level. Participants in level one will be entered in the basic training and competition; participant in level two and three will be entered in the intermediate training and competition; those in level 4 will be entered in the junior competition. ⦁ You are required to write an algorithm which is required to decide the appropriate category for the entrant; Display the entrant’s in a list for that category and output the corresponding level. Hint[The tutor will keep registering the students until he pressed -1 to stop and exit from the loop ] ⦁ Build your algorithm by OUbuild and provide screenshots for the outputT=63, n=12 and A=(3,5,8,8,9,16,29,41,50,63,64,67). Draw the corresponding walkthrough as shown