Lang is python Bank program 1). How to create and save unique files for each customer 2). record withdraw/deposits 3). print all transactions for a day with dates 4). only numbers are accepted into the withdraw and deposits
Q: of the following productions is allowed in a CFG in Greibach Normal Form? А— ВаС
A: GNF answer should be only one terminal (small letters) followed by any no of non terminal(capital le...
Q: Create a JavaScript function expression that meets the following requirements: _breakArray(array, ...
A: Actually, array is a collection of elements.
Q: { }Cϕ true or false
A: Find the answer with reason given as below :
Q: TIC – TAC - TOE game (Understanding Alpha – Beta pruning).
A: given - Write a python program to implement TIC – TAC - TOE game (Understanding Alpha – Beta pruning...
Q: alternate flow in use case - come up with 2 alternative use cases for BOTH primary and secondary tas...
A: The alternative use case for primary use case is given below Managing all personal event Deleting ...
Q: high-level programming
A: 1) A high-level language is a any type of programming language that makes a enrichment of a program...
Q: << o
A: 1.Add destructor: code: ~add() { cout<<"destructor"; } 2.Add copy constructor code: ...
Q: lanation for the function of some of the components in a computer's in
A:
Q: 372658.2384292.qx3zay7 Jump to level 1 Write code in PutDollars that puts moneyAmount to output. Fun...
A: Algorithm: Start Read userMoney from user Implement a method named PutDollars() that takes userMone...
Q: Java Write a Java to Implement Prim's and DIJKSTRA's algorithm for Single Source Shortest Path Probl...
A: Dijkstra's approach for least spanning tree is quite similar to Prim's algorithm. We create an SPT (...
Q: Describe the security dimensions and security levels that must be taken into consideration while dev...
A: Introduction: Security signifies safety, as well as the precautions, are taken to be secure or prote...
Q: All objectives are important. Truer/False
A: answer is
Q: Write a program in Matlab that can read 33 numbers Then it prints the numbers that are divisible by ...
A: MATLAB CODE: a=33; disp('Given number is divided by 5' + a); number = 1; while number<=a if mo...
Q: 2. Write a pseudo code for finding two smallest numbers in a list of positive integers. Trace your c...
A: Program Explanation The two lowest numbers are found using a Python program. At least two numbers a...
Q: rns related to the digital divide and how are these being resolved? What are your thoughts on the di...
A: DIGITAL DIVIDE The digital divide is the difference in access to modern information and communicati...
Q: conhection timed out; no servers la bè Pea @arya:~$ DNS cache poisoning has happem Your workstation ...
A: Lets see the solution.
Q: Find a NFA equivalent to each of the following CFGs :
A: Solution: 1) A→0A | 1B |εB→0B| 1B Let's assume that the non-terminal is act as the states So, co...
Q: a) What is a user story? Please do not just give a definition but explain it as if you are teaching ...
A: Given :- a) What is a user story? Please do not just give a definition but explain it as if you are...
Q: Describe the security dimensions and security levels
A: Security engineering is a sub-field of the broader field of computer security. It encompasses tools,...
Q: arn about the benefits and drawbacks of batch and online data input approaches. A demonstration of s...
A: Intro Compare and contrast the benefits and drawbacks of batch versus online data input methods. The...
Q: Q2. Write a C program to find the result of the following series by using power function. The progra...
A: You haven't done anything wrong. Your answers match the correct answers of the given sum. The answer...
Q: SSN PNUMBER PNAME HOURS 100 1000 Hadoop 50 220 1200 CRM 200 280 1000 Hadoop 40 300 1500 Java 100 120...
A: For 1 NF - select PNAME from R1 where PNUMBER = 1500;
Q: main.c Tests Executions 1 Finclude 2 void generatePattern(int); 3 int main (void) E Run Tests 4- int...
A:
Q: for a standard size AOI gate that implements: (ABC + D
A: the solution is an given below :
Q: The role of a database administrator in a NoSQL database is explained below
A: Introduction : DBA: DBA is an abbreviation for database administrator. DBA may refer to either a per...
Q: Which of the following columns acts as a foreign key? Employee EmployeelD EmpName DeptNo Salary Addr...
A: Ans: The following columns acts as a foreign key is : e) Employee DeptNo
Q: What is Application Integration?
A: 1.
Q: Please help with C++, CANNOT use array or vector CAN ONLY USE BELOW #include #include #include ...
A: #include <iostream>#include <fstream>#include <string> #include <cstdlib>#in...
Q: Using any Python app. Make a program that asks the user to enter the marks (scores) of a student in ...
A: Below given program to check whether a student is pass or fail is computed in a Spyder application. ...
Q: There is a significant difference between a blog, a wiki, and a podcast.
A: Definition: A blog is a conversation or information website that is published on the internet and c...
Q: iii. 111. int sum = 0; for ( int i = 0; i<n; ++i ) { for ( int j= 0; j<n; ++j) { sum += f( j, 10 ); ...
A: Time complexity of whole code will be given by multiplying complexities of for loops and function f(...
Q: What was changed as a result of the amendment to the Computer Fraud and Abuse Act of 1986, and which...
A: Introduction: Computer Fraud and Abuse Act-1986: The Computer Fraud and Abuse Act (CFAA)—Title 18 U....
Q: gnetic disk.
A: given - Create a definition for magnetic disk.
Q: NUMBER SYSTEMS State the steps in converting one number system to another = Decimal to octal = Oc...
A: Decimal to octal This is a direct technique which include partitioning the number to be changed ove...
Q: In your own words, describe the importance of agility in software projects.
A: let us see the answer:- Introduction:- Agility entails a quick (and adaptive) response to change, as...
Q: Define the length of time that the program will be running for.
A: Introduction: CPU time is another name for execution time.
Q: Define fault detection tactic.
A: Fault detection tactics are used to detect or identify faults. Three commonly used tactics for recog...
Q: Write 3 paragraphs for each question 1. Compare and contrast the pros and cons of visualization. Con...
A: The Answer is
Q: Please answer it in Python Write a function integerlist that would return Increasing, Decreasing, C...
A: Your python program is given below as you required with an output.
Q: Give an example of a personal computer.
A: Personal Computer is a computing device that can be used by only one person at a time. At any given ...
Q: Java Programming – Lesson 4 Using Methods – Laboratory Exercises 2. Create a class whose main() hol...
A: The code of this is in next step:
Q: When an optimistic approach to concurrency control is applied, it is common for transactions to take...
A: Introduction: When concurrency control takes an optimistic stance, In transactional systems, it ...
Q: Discuss with aid of diagrams the purpose of the following devices in data communications. i)Hub ii) ...
A: answer is
Q: The full name of A. I is
A: In computer science, when we use the term A. I A stands for Artificial = Something that is not natur...
Q: source of randomness which can produce at least 264264 random bits before it repeats. What is the ea...
A: The answer is
Q: As part of your introduction to engineering class's term project, make a PowerPoint presentation wit...
A: Introduction: If your introduction to engineering class includes a term project, create a PowerPoint...
Q: Let L = {w|w E {0, 1} and w does not contain 011 as a substring}.
A: A) S-> 1S I 0S I € The production must be in form of X->a or X-> aY Here a is termina...
Q: How can I create a fact table for a single process?
A: Explanation Tables of facts A fact table is a table that is used in data warehousing that contains t...
Q: Peter finally fixed the DHCP server. He would like to test the connectivity to some websites. He wou...
A: To send the ICMP echo request to any host machine we need it's IP address if it's in the same networ...
Q: Create a JavaScript Arrow function that meets the following requirements: _missingSpace(string) • ...
A: Introduction Create a JavaScript Arrow function that meets the following requirements: _missingSpa...
Step by step
Solved in 2 steps
- Java assignment Create a java program that allows a user to input customer records (ID number, first name, last name, and balance owed) and save each record to a file.python: numpy def missing_bags(week1, week2, start_day, stop_day): ''' QUESTION 6 You are managing the candy aisle, specifically the Jolly Ranchers. Your manager wants you to track how many there are on the shelves over the course of two weeks- here's the thing, you accidentally misplaced 4 bags of the candy, and you need to send in the real report of the days that were incorrect (+4 to the relevant days). You misplace the bags on the start day and return them back on the stop day (stop is inclusive). Day 0 is index 0 Using the two arrays given, write a function in ONE LINE that returns the incorrect days with their values changed. The starting index is 0 for day 0. hint: use concatenate Args: week1(np.array) week2(np.array) start_day(int) stop_day(int) Return: np.array >>> week1 = np.array([27, 25, 25, 24, 24, 24, 20]) >>> week2 = np.array([19, 18, 14, 11, 7, 5, 4]) >>>…Using C programming language to write the following project. This week we'll make a primitive database of the books that you own (or CD's you own, or something like that). Create a struct for each book that contains the title, author, and year of publication. Write a program that has 3 functions: 1) to add books, 2) to print out the database, and 3) to save the database to a file in a format that you can read back into the program with a #include statement.
- Using C LANGUAGE build a system to manage patients’ data in a hospital. The hospital patient management system stores specific information in the form of health record to keep track of the patients’ data.Your program should read the information from a file called“patients.txt” that should be on the following format:Patient Name#Gender#Date of admission#Date of birth#Illness#Address (City)#Blood typeExample of data input:Abed Mukhles#M#2212019#01012000#EarInfection#Jenin#O+Nadia A. Ali#F#01102020#05101970#COVID-19#AlBireh#A1. You are required to implement a program to help creating the system byincluding the following operations of an AVL tree:• Read the file patients.txt and load the data (i.e., AVL Tree).• Insert a new patient from user with all its associated data.• Find a patient and give the user the option to update the informationof the patient if found.• List all patients in lexicographic order with their associatedinformation.• List all patients that have the same illness.•…Python: if possible answers in one line of code def name_sort(staff): ''' Question 2 You are given a list of Georgia Tech staff members- each with a first and last name separated by a space, and need to sort them alphabetically by last name for a directory. However, the person who provided you the list did not proofread the records and accidentally misspelled some of the names. You can identify which ones have typos just by looking at the first letter of the first name. - First, sort the list alphabetically by the last name. - Remove any members whose first name starts with "Q" or "X". - Return the resulting list. Args: staff (list) Returns: list >>> name_sort(['Damon Williams', 'Xngel Cabrera', 'George Burdell', 'Brett Key', 'David Joyner', 'Qon Lowe']) ['George Burdell', 'David Joyner', 'Brett Key', 'Damon Williams'] ''' # print(name_sort(['Damon Williams', 'Xngel Cabrera', 'George Burdell', 'Brett…• Create a Phonebook Program based in C Programming Language. The program will get the First Name, Last Name, Contact Number, and E-mail Address. • The program can Add, Update, Read, and Delete the data of the Phonebook. The Details can be searched by either using the Last Name, First Name, Contact Number and E-mail Address.
- c++ student report card system.in which you can add a student information about name,age,courses with marks,grade.and second thing to add is modify the student details which we already added.and third add is to delete a student data we entered and last thing add is to display the added records.Write a c++ program in which you will keep a record of all transactions (deposit/withdrawal) happening in a bank. Create a text file containing information of all accounts in a bank. Load this information into a struct array at the start of the program. Make a menu for the following options Make a Transaction Deposit Withdrawl View all Transactions Make a Transaction: Once this option is selected, show two more options for Deposit and Withdrawl. Whatever option is selected by the user, your program should then ask for account ID, verify if its exist, and then ask for the amount. Update the balance in the account variable in struct array by adding or subtracting the transaction amount. Make a log of all transactions by storing the transaction details into a binary file. Transaction details should include Date and Time of transaction, Account#, Type of Transaction, and Amount of Transaction Use the binary file in Append mode in order to keep the previous data View all…import requests import json mydict = {"cost":0, "KM": 0,"Description": ""} text = """ Welcome to AA Calculator Please select one of the following options: 1. Have a look at the previous entry. 2. Make a new entry. 3. Close the Program. --> """ text2 = """ Here is the list of vehicles, please select one: 1. Hatchback 2. SUV 3. Sports Car --> """ while True: choice = int(input(text)) if choice not in [1,2,3]: print("Incorrect Choice, Try again!") if choice == 3: exit() elif choice == 2: AA_Calc = 'https://raw.githubusercontent.com/tyrone0501/AA-Petrol-Price/main/Cars.json' response = requests.get(AA_Calc) response_json = response.json() dist = float(input("\nHow many meters have you travelled: ")) choice2 = -1 while choice2 not in [1, 2, 3]: choice2 = int(input(text2)) if choice2 not in [1, 2, 3]: print("Incorrect Choice, Try again!") if choice2 == 1:…
- Create a program in C language for reading and writing student records. Submit all necessary source codes and files to run this program (it is recommended to compress all files and submit a single file). First create text file "student_records.txt". The file should look like: Name Surname Quiz 1 Quiz 2 Quiz 3 Ada Lovelace 93 88 97 Babbage Turing Нopper Charles 26 80 70 Alan 74 85 92 Grace 99 87 100 a. Read the file contents and load them into an array of Record structs. b. The record struct has the member variables: o char array name o char array surname o int quiz_1 o int quiz_2 o int quiz_3 c. Write a function that calculates a students quiz average. The function takes a Record struct and returns a double. d. Create two new records for students inside your main program. e. Create a new text file with the new records to a a file called "student_records_new.txt"Analyze the problems carefully. Create the programs of the following. 1. Ages and Stages (Fle name: Age_Lastname) Create a program that checks as to which stage an age is. Use the table below. Age 5-12 years Stage Grade-schooler 13-17 years Теen 18-21 years Young adult 2. LRT-2 Single Journey Fare Matrix (File name: LRT_Lastname) Create a program that displays the fare based on the entered destination. The starting station is Araneta-Cubao. Use the table below. Use the code destination to shorten the user's input. Destination Fare Recto (Re) J. Ruiz (Jr) Gilmore (Gi) PHP 20 PHP 15 PHP 10Programming Language: C++ 6. Separate compilation was useful in older programming languages, but having multiple files adds an unnecessary layer of complexity and is discouraged in modern programming languages. = true or false?