us ticket booking system using dart and run the program using java compiler need to have 1) 40 seats with 15 single seat and 25 double seat 2) double seat has 2 choice: window or aisle 3) any booking made can't be booking to others 4) single seat will pricey than double 5) using marp or local storage 6) using class/object
Q: When it comes to computer science, what precisely is "grey code"?
A: Given: Grey code is fully unaffected by the positional value of a digit since it is not weighted. In…
Q: Describe the differences between instance variables and regular methods and static fields and…
A: The distinction between static and instance methods is as follows:
Q: Give an example of both open source and proprietary word processing and presentation software to…
A: Word Processing and Presentation Software: Word processing is used to enter and edit simple text,…
Q: Provide samples of each kind of application software, and explain the differences between open…
A: Software for Applications Application software is a sort of computer programme that performs a…
Q: What was John von Neumann's place of abode?
A: Introduction: The On December 28, 1903, John con Humane, a child prodigy, was born. After…
Q: Do networks play an important role in information technology development?
A: In the field of information technology (IT), networking is a specialized branch that is one of the…
Q: lease help me with this. use only c++ code and nothing else. this topic is sorting
A: Q: code the given problem
Q: (C PROGRAMMING ONLY) 3. Starting My Business by CodeChum Admin I want to be an entrepreneur! But I…
A: The C program is given below with code and output screenshots
Q: Computer Science Suppose a university decides to release an “anonymized” dataset of its students’…
A: The answer is given below.
Q: Q3. Retrieve all the marks of S5 in all three classes. Enter formula into A15. B. C. 1 ID NAME 1 $1…
A: Here we need to extract the data/score whose name is S5. So, here we need to find the row and column…
Q: What are the additional sorts of input devices that computers are equipped with?
A: INTRODUCTION: An input device is a piece of hardware that sends data and control signals to a…
Q: The company's protocols for exchanging information in the case of a data security breach?
A: provided - What are the company's policies for disclosing information in the case of an information…
Q: Talk about how information technology implementation and use have social and ethical consequences.
A: Introduction: The following are some of the social and ethical consequences of using and deploying…
Q: (2) In asynchronous transmission, why do we keep the number of data bits between the start bit and…
A: The start and stop bits are used in asynchronous communication as a means of timing or synchronizing…
Q: What are the two most compelling arguments for utilising layered protocols? Give concrete examples…
A: The two main arguments for utilising layered protocol will be 1. We can make changes to one layer…
Q: Draw triangle using any line algorithm. Perform all the basic transformations (Translation,…
A: In this question we have to draw triangle using a line algorithm where we will transform the…
Q: SLA malicious threat is always from human threat source. S2:As much no two human beings are alike in…
A: Answer: SLA malicious threat is always from human threat source. As much no two human beings are…
Q: What do you know about the current uses of computers?
A: Given: It usually accepts a certain raw kind of data as input and then processes it using a central…
Q: (Creation)Write your own Python program for the following: a) A function that will output your group…
A: Code in python: def personal_details(): name, age = "Rohit", 25 name1, age1 = "kiran", 21…
Q: What is the link between a relation's main key and the functional dependencies among all of its…
A: Functional Dependency -(FD) is a constraint in a Database Management System that establishes the…
Q: 2. What are the main differences between the following pairs? a. Vertical and horizontal…
A: According to the information given:- We have to differences between pairs of Vertical and horizontal…
Q: blet computers have a number of unique ch
A: Introduction: Below the Tablet computers have a number of unique characteristics.
Q: Region code of (5,1) and (25,30) respectively in cohen sutherland line clipping algorithm is: O None…
A: Region code of (5,1) and (25,30) Cohen sutherland line clipping algorithm
Q: Consider how computer technology may be utilised to benefit a variety of industries, including…
A: As per company guidelines we are suppose to answer only 1 question. Kindly re-post other questions…
Q: Compare between the different Input-Output control techniques: programmed I/O, interrupt, DMA, and…
A: According to the Bartleby guideline we are suppose to answer only one question at a time. Kindly…
Q: What is the output of the following code? ListQueue q2=new ListQueue> (): q2.offer(4): q2.offer(2):…
A: Java Program: import java.util.Iterator;import java.util.LinkedList;import java.util.Queue; class…
Q: Provide a comparison of data security legislation in the United States to those in the European…
A: Information security standards: Describe how data security requirements in the United States and the…
Q: The ACTION and METHOD attributes are used in both forms and code to perform certain actions.
A: The action parameter of the FORM element specifies where the form data should be sent, and the…
Q: It is critical to understand what functions a computer's operating system is capable of doing
A: The major role of the program is to manage computer system resources, such as the CPU, storage…
Q: Create a "Functionality Requirement Analysis" document that educates technical personnel about the…
A: In the context of business intelligence (BI) and analytics, a data warehouse is a kind of data…
Q: What is the transitive closure of the following graph?
A: Answer:
Q: What role do the internet, extranets, and intranets play in today's organisations to support…
A: A value chain is a textual framework in which information about how to begin and end up with an…
Q: How can you avoid being a victim of a phishing attack? To begin, what is clickjacking, and how does…
A: Phishing attacks: Phishing attacks can place when someone sends a phoney communication that looks to…
Q: Question 38 objects have fixed values that can't be changed. O Mutable O Value O Immutable O Class…
A: The answer is option(3) Immutable Explanation:- The immutable objects are the objects whose value…
Q: For what reasons is the internet hailed as one of the pinnacles of ICT? Each point should be…
A: The Internet is the most powerful instrument of the 21st century, and it has contributed to the…
Q: The following are a few of the threats to data security. After that, we'll discuss about how we can…
A: Explanation: Viruses are dangerous programmes that may infect your computer and steal passwords,…
Q: Which of the following is an instance created by the code given below? 0. class Employee: def _init…
A: class Employee: def _init_(self): self.id=0 self.name='ABC'…
Q: When it comes to expansion and administrative autonomy, how might hierarchy be used to your…
A: Introduction: Here we are required to explain that when it comes to expansion and administrative…
Q: Write a program that consists in three processes to print the message "ping-pong" two times on…
A: ANSWER:-
Q: Is it feasible to extend two different interfaces at the same time? There must be a reason for this…
A: Interface: An interface may be either one or the other. In order to connect with and operate a…
Q: In terms of performance, what are the benefits of Interfaces over abstract classes?
A: Introduction: The benefits of Interfaces over abstract classes
Q: Why use layered protocols? Give examples
A: The question is Why use layered protocols with example.
Q: Why do computers have parts?
A: Define: The operating premise of a computer is that it is essentially a computational instrument. It…
Q: Implement the modular exponentiation (a.k.a. fast exponentiation) function mod_exp (b, n, m) to…
A: ANSWER : a) def fast_exp(b, e, m): r = 1 if 1 & e: r = b while e: e…
Q: Question 26 Which of the following statements is incorrect for python dictionaries? O dict) is a…
A: Answer:
Q: Computer science - The Internet has had a significant impact on many elements of our daily lives,…
A: Introduction: One of the most significant inventions is the Internet, which provides individuals…
Q: What exactly are the components of a computer? What is the best way to use them?
A: There are several components to a computer. Motherboard: The motherboard refers to the parts of a…
Q: How large was the computer when it was first invented?
A: Answer: The ENIAC is an abbreviation for Electronic Numerical Integrator and Computer (Electronic…
Q: S1:Grandfather-father-son record retention is a general control that would most likely assist an…
A: Which among the statements are true.
Q: Part1: Process Creation Write a C program that first generates the below process tree. P2 P1 P3
A: C-PROGRAM: #include <stdio.h>#include <unistd.h>#include <fcntl.h>#include…
a bus ticket booking system using dart and run the program using java compiler
need to have
1) 40 seats with 15 single seat and 25 double seat
2) double seat has 2 choice: window or aisle
3) any booking made can't be booking to others
4) single seat will pricey than double
5) using marp or local storage
6) using class/object
Step by step
Solved in 2 steps
- python programming Implement a constructor for the Person class Implement a constructor for the Student class Create a student with name; Albert Einstein, ramq: 14031879-1235, address: 112 Mercer Street, Princeton, courses: (1)Physics & (2)Relativity where the grades were b and a respectively and with enrollment date: 1895 partial solution attached in the imageCreate Class Person with variables weight, height, gender. Create another Class Employee with variables designation, HoursPerDay. Now create another class Teacher and inherit it from Person and Employee and add function display() which should show all the details related to teacher. Note: Solve as soon as possible USE c++ language with the help of oop conceptsMixed Fraction Arithmetic Java Project: Problem Description: Make a java program that facilitates addition, subtraction, multiplication, and division of mixed numbers (similar with the first activity) but this time all of the inputs /outputs may involve fractions, mixed fractions, or a combination. Points to consider: MixedFraction class must override the operations (add, subtract, multiplyBy, divideBy) inherited from Fraction class to have a different implementation if the MixedFraction object will have a Fraction object as parameter in performing the required operation, On top of that, the inherited operations must also be overloaded to allow a MixedFraction object to accept other parameters such as a whole number or another MixedFraction object. The toString method which is inherited must also be overridden by MixedFraction to have a more appropriate return value. Further formatting must also be considered such that if the result of the operation has a zero value for the whole…
- PLEASE CODE IN PYTHON PLEASE USE CLASS In bowling, a ball is rolled down a lane, also called an alley, at a set of ten pins. A game consists of a bowler bowling for ten frames, where each frame consists of two chances (throws) to knock over all ten pins. Bowling centers often use computers to electronically keep scores for bowlers. Use object-oriented development to create a Bowling application that simulates a simplified game of bowling. The Bowling application and its objects should: • Allow a bowler to bowl ten frames. Each frame consists of two throws, unless a strikeis thrown. • Award 20 points to the bowler when all ten pins are knocked over on the first throwof a frame. • Award 15 points to the bowler when all ten pins are knocked over within the twothrows of a frame. • Award one point for each pin knocked over in the two throws of a frame when allten pins are not knocked over. • If there is more than one bowler in a game, then the bowlers take turns until eachhas bowled ten…PLEASE CODE IN PYTHON PLEASE USE CLASSES In the Game of 21, a player is dealt two cards from a deck of playing cards and then optionally givena third card. The player closest to 21 points without going over is the winner. Use object-orienteddevelopment to create a Game of 21 application that allows the user to play the Game of 21 against thecomputer. The Game of 21 application and its objects should: • Deal a card from a deck of playing cards by generating a random number between 1and 13. A 1 corresponds to an Ace, numbers 2 through 10 correspond to those cards,and 11 through 13 correspond to Jack, Queen, and King. The Jack, Queen, and Kinghave a value of 10 in the Game of 21. An Ace can have a value of either 1 or 11. • Allow the player to stay with two cards or be given a third card. • Announce the winner. • Play rounds until the player says to stop.Implement a C++ program:RESTAURANT that has multiple branches, and each branch has menus of food items, their stock and a list of customers. A branch may have for example a breakfast menu and lunch menu with different food items, and the stock (available quantity) of each food item in the branch. Also, the branch will have a list of regular customers and their contact information to contact them for offers and new food items. Class Names Data and Member Functions Food Data Members: ID, Name, Calories, Price Member Functions: getID, getName, getCalories, getPrice setID, setName, setCalories, setPrice Stock Data Members: ID, Food, Stock Member Functions: getID, getFood, getStock setID, setFood, setStock Customer Data Members: ID, Name, Phone Member Functions: getID, getName, getPhone setID, setName, setPhoe Menu Data Members: ID, Name, foodList Member Functions: getID, getName, getFoodList setID, setName Branch Data Members: ID, Address, menuList, stockList, customerList Member…
- Instructions: Implement the Java class Customer by following the UML class diagram provided below. Implementation details: The class constructor must receive the arguments in the following order: String firstName, String lastName, String address, String cardNumber, int pin, String username The password must be generated inside the class constructor by the class method generatePassword(). The password to be generated must meet the following criteria: Must have at least one numeric character. Must have at least one lowercase character. Must have at least one uppercase character. Must have at least one special symbol among @#$% Password length to be generated is fixed and equal to 12. Do please use SecureRandom() class to achieve randomness during password generation. toString() return value format must be as follows:Customer [firstName='John', lastName='Monkey', cardNumber='11336688', pin='1234', username='j.monkey', password='zF$7zR#1lFAo', address='453 Manin st,…JAVA Language Caesar Shift Question: Modify the Caesar class so that it will allow various sized shifts to be used, instead of just a shift of size 3. (Hint: Use an instance variable in the Caesar class to represent the shift, add a constructor to set it, and change the encode method to use it.) import java.util.*; public class TestCipher { public static void main(String[] args) { int shift = 7; Caesar caesar = new Caesar(); String text = "hello world"; String encryptTxt = caesar.encrypt(text); System.out.println(text + " encrypted with shift " + shift + " is " + encryptTxt); } } abstract class Cipher { public String encrypt(String s) { StringBuffer result = new StringBuffer(""); // Use a StringBuffer StringTokenizer words = new StringTokenizer(s); // Break s into its words while (words.hasMoreTokens()) { // For each word in s…*python coding please Write a class named Person with data attributes for a person’s name, address, and telephone number. Next, write a class named Customer that is a subclass of the Person class. The Customer class should have a data attribute for a customer numberand a Boolean data attribute indicating whether the customer wishes to be on a mailing list. Demonstrate an instance of the Customer class in a simple program.
- c++ or java or in pseudo code with explaining note: if anything is unclear or seems left out make an assumption and document your assumption Implement an algorithm for assigning seats within a movie theater tofulfill reservation requests. Assume the movie theater has the seatingarrangement of 10 rows x 20 seats, as illustrated to the below.The purpose is to design and write a seat assignmentprogram to maximize both customer satisfaction and customersafety. For the purpose of public safety, assume that a buffer of three seats inbetween Input DescriptionYou will be given a file that contains one line of input for eachreservation request. The order of the lines in the file reflects the order inwhich the reservation requests were received. Each line in the file will becomprised of a reservation identifier, followed by a space, and then thenumber of seats requested. The reservation identifier will have theformat: R####. See the Example Input File Rows section for anexample of the input…CENGAGE MINDTAP Programming Exercise 3-10 |Instructions JobPricing.java 1 import java.util.Scanner; 2 class JobPricing { Herbert's Home Repair estimates each job cost as the cost of 3 public static void main(String[] args) { materials plus $35 per hour while on the job, plus $12 per hour for 4 String description; travel time to the job site. double materials; double hoursOn Job; double hoursTraveling; 7 The main() method prompts the user for the name of a job (for double price; Scanner input = new Scanner(System.in); System.out.print("Enter job description >> "); description = input.nextLine(); System.out.print("Enter cost of materials >> "); materials = input.nextDouble(); System.out.print("Enter hours on the job work » "); hoursOnJob = input.nextDouble(); System.out.print("Enter hours traveling >> "); hoursTraveling = input.nextDouble(); price = computePrice(materials, hoursOnJob, hoursTraveling); System.out.println("The price for " + description + 8 example, Smith bathroom…C++ Language Please add an execution chart for this code like the example below. I have provided the code and the example execution chart. : JUST NEED EXECUTION CHARTTT. Thanks Sample Execution Chart Template: 1.0 Main()2.0 CalculatePropertyTax()3.0 displayMessage( input string messageToDisplay)3.1 return double getHomeValue()3.2 return boolean checkHomeValue()3.3 return double applyPropertyTax(input double homeValue)3.4 displayPropertyTax(input homeValue)3.5 return Boolean queryMoreData()4.0 displayMessage(input string messageToDisplay)4.1 return char getYesNo()4.2 return char convertCase(input char)3.6 displayErrorMessage() CODE: Maincpp: #include <iostream> #include <fstream> #include "BankAccount.h" using namespace std; const int SIZE = 8; // function declaration for array void fillArray (ifstream &input,BankAccount accountsArray[]); int largest(BankAccount accountsArray[]); int smallest(BankAccount accountsArray[]); void printArray(BankAccount…