Kivy
Q: Write a function evens (numbers) that returns a new list containing just the even elements from numb...
A: #Creating Functiondef evens(numbers): #Creating list to hold all even numbers list = [] #th...
Q: e virtualiz
A: Virtualization, which is the use of physical server resources to host logical or virtual servers
Q: EXPLAIN THIS CODE EACH LINE #include #include int main() { char name[20]; int meal,quan...
A:
Q: Write a Java program with the following specifications:
A: public class PaySlip { private String name; private double salary,noOfOTHours,OTPay; private doubl...
Q: How can I perform addition of an element in the beginning of an array in ruby
A: Required:- How can I perform the addition of an element at the beginning of an array in Ruby? Approa...
Q: closure
A: Given : - The relation R = {(1,3), (3,1), (2, 3), (3, 3), (3, 4), (4, 4), (4, 1)} on set {1, 2, 3, 4...
Q: The project needs to be completed using Logisim software & there must be a discussion written on how...
A: Lets see the structure in the next steps
Q: pla
A: Below the program of template for a function that displays the contents of an array of any data type
Q: e it and fin 4 + 5.25 +
A:
Q: How do I solve this problem in java programming language? After all loan information is input, t...
A: The output has no now line as there is no line break. The information has been printed in one line. ...
Q: Write a C++ application to accept a number from a user. Find the reciprocal of the number
A: The Answer is in Below steps
Q: Draw a turing machine that represents the language L = {an bm cp : n ≥ m > p}
A: Draw a turing machine that represents the language L = {an bm cp : n ≥ m > p}
Q: 4. The following proof shows that b(a + b)* + bb(a + b)* + bbb(a + b)* = b(a + b)* Put the reason fo...
A: We have given b(a + b)* + bb(a + b)* + bbb(a + b)* = b(a + b)* We have to find the reason for each s...
Q: Consider the following function: def double_al(numbers): ""Doubles all the elements in the given lis...
A: The for loop in Python is used to iterate the statements or a part of the program several times.
Q: Telecommunications network protocols are described in terms of what they are and how they function.
A: To be determine: What is a telecommunications network protocol and how does it function?
Q: There are six method to draw a circle, List and explain five of them AutoCAD
A: ( 1) using default way by providing the center and radius. In this method you have to give center ...
Q: d) Read input the marks(let us say x) from the user and print the message "Your marks should have be...
A: Write a C# program to read input the marks(let us say x) from the user and print the message "Your m...
Q: The Internet's transport layer is responsible for facilitating the movement of data across networks.
A: The problem is based on the basics of different layers of the OSI model.
Q: Write a javascript code to move an image to a specified location with an output screenshot.
A: Step 1 The javascript code is give in the below step with an output.
Q: Briefly describe the functionalities of Network APIs using the example of a phone conversation. Conn...
A: An API specifies data structures and subroutine calls that add new functionalities to existing packa...
Q: Write a java program to get the curved surface area of the cube after taking side from user.
A: Required:- write a java program to get the curved surface area of the cube after taking the side fro...
Q: Programming instructions are carried out by the computer's central processing unit (CPU).
A: We are going to understand how programming instructions are carried out by CPU. We will understand i...
Q: Assembly language is converted into executable machine code by a utility program referred to as an a...
A: The answer is
Q: C++ Programming
A: C++ Code:- #include <iostream>using namespace std;int main() { int amt,yr; float interes...
Q: et carry and zero flag of pic16f877a using arithmetic and logical instructions
A: set carry and zero flag of pic16f877a using arithmetic and logical instructions
Q: netration testi
A: While it takes time and effort to become a legitimate pen tester, getting started with Kali is simpl...
Q: Write a Python program that takes a positive integer from the user and prints the number of digits o...
A: In this question, we are asked to write the code in python Algorithm: 1) Enter the user input number...
Q: Update code so that each participant gets to purchase for another random participant. Meaning the pu...
A: We can acquire the required output by implementing a small modification in the program. After invoki...
Q: Write program that can be used by a small theater to sell tickets for performances. The theater's...
A: Solution: Given, program that can be used by a small theater to sell tickets for performances. T...
Q: wide-area network's information routing process should be described.
A: About A wide-area network's information routing process
Q: Write a function print_numbered_items (items) that takes a list of items and prints them one per lin...
A:
Q: 1. Which algorithm chooses the page that has not been used for the longest period of time whenever t...
A: Given MCQ 1. Which algorithm chooses the page that has not been used for the longest period of time...
Q: FilelO 01: Write a Message Write a FileI001 class with a method named writeMessage() to takes messag...
A: FileWriter class is used to write character-oriented data to a file. write() is used to write char a...
Q: identify the choice that best completes the statement or answers the question. 1) Parametric data re...
A: Choose the correct one from the following choices.
Q: Let G = (V, E) be an undirected and connected graph, where each edge (u, v) E E has a weight wt(u, v...
A: The solution for the above given question is given below:
Q: Let p = 359 and q = 499. Show how to create public and private keys of RSA encryption using these tw...
A: Answer : Asymmetric algorithem Asymmetric algorithm has two different keys public and private Recei...
Q: Draw figures to show the steps of inserting sequentially "Dhaka", "Sylhet", “Barishal", "Chittagong"...
A: Order of insertion:- Dhaka, Sylhet, Barishal, Chittagong, Rajshahi Sorted Order:- Barishal, Chitta...
Q: Debugging Exercises 1. Fix the following line of code to set the Enabled property to True for the bt...
A: To set or fix a property value on an object, the assignment ("=") operator should be used. Also, if ...
Q: xtensible Markup Language (XML) is an abbreviation that stands for Extensible Markup Language. XML m...
A: XML (Extensible Markup Language):- XML (Extensible Markup Language) is used to describe data. The XM...
Q: 19. ________ is a type of transmission impairment in which an outside source such as crosstalk corru...
A: Noise is a transmission type impairment in which any outside source corrupts a signal.
Q: Implement the Julia set with a choice of c and find the equivalent function f with roots a and b. Co...
A: from PIL import Image # driver function if __name__ == "__main__": # setting the width,...
Q: Find context free grammar for the following
A: In this question, we are given a Language L and asked find the context free grammar for that languag...
Q: From cybercrime, what can we glean in terms of practical advice and lessons learned?
A: GIVEN: From cybercrime, what can we glean in terms of practical advice and lessons learned? ...
Q: AVL Trees
A: Given :- A list of elements is given as 25, 12, 20, 15, 70, 30, 26, 13, 45 Need to Insert the abo...
Q: Consider the following DFA, M- (Q = {p, q. r, s, L u, v, w, %3D 2-10, 11,6. p. p) 8 (p.1) P. 6 (p.0)...
A: The figure and answer is here
Q: While conducting user research, why not break down the overall design into numerous user views in or...
A: Here's these solution: User research is are thorough investigation of target consumers, including th...
Q: Write a java program to find the 3rd largest number in the float array.
A: i give the code along with output and code screenshot as well
Q: CSE Simplify the following Boolean functions, using three-variable K-maps: F (x , y, z ) -Σ (0 , 1,5...
A: The Answer is
Q: A game is played by moving a marker ahead either 2 or 3 steps on a linear path. Let cn be the number...
A: GIVEN: A game is played by moving a marker ahead either 2 or 3 steps on a linear path. Let cn be t...
Q: Write a c++ program to determine a Fibonacci sequence with a specific n number(s), where n > 2.
A: Task :- Write a C++ program to print the fibonacci sequence. C++ program :- #include <iostre...
Create a program that has a simple graphical interface using "Kivy", an environment cross-platform by Python.
When this program starts up, it will load a file (“users.csv”) that for each line will have a user and the SHA1 of the password, with the following format:
"user": "passwordinSHA1"
The graphical interface will have only two text fields, "username" and "password" (in plain text, but hidden when typing) and a "check" button. If the user exists and the password is correct, it will display an "OK" message. Otherwise, an "ERROR" message.
Step by step
Solved in 2 steps
- create an image file programmatically. Your image file should be called OnTheFlyPy.ppm and the code you write to create should be in a public static void makePPM() method defined in the provided Main.java class. Your OnTheFlyPy.ppm should be be 100 pixels wide and 100 pixels tall and the PPM header lines should be correct. The first two rows and last two rows in the OnTheFlyPy.ppm should be red (Red=255, Green=0, Blue= 0). The first two columns and last two columns in the OnTheFlyPy.ppm (except for the part that overlaps with the red pixels you created in the previous part) should should be blue (Red=0, Green=0, Blue= 255). The remaining pixels in your OnTheFlyPy.ppm image should be white (Red=255, Green=255, Blue= 255). Here is a picture of what your final image should look like: import java.io.*; public class Main{ public static void main(String[] args) { makePPM(); } public static void makePPM() { } }Each of the following files in the Chapter.04 folder of your downloadable student files has syntax and/or logical errors. In each case, determine the problem, and fix the program. After you correct the errors, save each file using the same filename preceded with Fixed. For example, save DebugFour1.cs as FixedDebugFour1.cs. a. DebugFour1.cs b. DebugFour2.cs c. DebugFour3.cs d. DebugFour4.csEach of the following files in the Chapter.10 folder of your downloadable student files has syntax and/or logical errors. In each case, determine the problem and fix the program. After you correct the errors, save each file using the same filename preceded with Fixed. For example, DebugTen01.cs will become FixedDebugTen01 .cs. a. DebugTen01.cs b. DebugTen02.cs c. DebugTen03.cs d. DebugTen04.cs
- Each of the following files in the Chapter.01 folder of your downloadable student files has syntax and/or logical errors. In each case, determine the problem and fix the program. After you correct the errors, save each file using the same filename preceded with Fixed. For example, DebugOne1.cs will become FixedDebugOne1 .cs. a. DebugOne1.cs b. DebugOne2.cs c. DebugOne3.cs d. DebugOne4.csCreate a list of 5 words, phrases and company names commonly found in phishing messages. Assign a point value to each based on your estimate of its likelihood to be in a phishing message (e.g., one point if it's something likely, two points if modereratly, or three points if highly likely). Write an application that scans a file of text for these terms and phrases. For each occurance of a keyword or phrase within the text file, add the assigned point value to the total points for the number of occurences and the point total. Show the point total for the entire message. (Write the program in Java)java You may NOT write this program as a GUI (Graphical User Interface). Write a program that reads a file named input.txt and writes a file that contains the same contents, but is named output.txt. The input file will contain more than one line when I test this and so should your output file. Do not use a path name when opening these files. This means the files should be located in the top level folder of the project. This would be the folder that contains the src folder, probably named FileCopy depending on what name you gave the project. Do not use a copy method that is supplied by Java. Your program must read the file line by line and write the file itself. I will test it with a file, input.txt do not write to input.txt* Your class name must be FileCopy.
- java You may NOT write this program as a GUI (Graphical User Interface). Write a program that reads a file named input.txt and writes a file that contains the same contents, but is named output.txt. The input file will contain more than one line when I test this and so should your output file. Do not use a path name when opening these files. This means the files should be located in the top level folder of the project. This would be the folder that contains the src folder, probably named FileCopy depending on what name you gave the project. Do not use a copy method that is supplied by Java. Your program must read the file line by line and write the file itself. do not write to input.txt* Your class name must be FileCopy. It should be in a package named mypackageCreate an application to generate a .txt file that will contain a printable (using a monospaced font) lottery ticket selection card. A selection card consists of some number of squares arranged into rows and columns as required by the range of numbers to be selected. The contents of the text file should be of the form (note the position of the numbers is centered):Massachusetts Powerball+-------+-------+-------+-------+-------+| | | | | || 1 | 2 | 3 | 4 | 5 || | | | | |+-------+-------+-------+-------+-------+| | | | | || 6 | 7 | 8 | 9 | 10 || | | | | |+-------+-------+-------+-------+-------+The application should collect the following information to create the selection card:• Width of each cell (not including left and right border)• Height of each row (not including top and bottom border)• Character to use for creating horizontal lines (-)• Character to use for creating vertical lines (|)• Character to use for intersection points between vertical and horizontal lines (+)• The…It should be designed as a Desktop Application (with GUI) developed with Java programming language.Note that you are not designing a Web Application or a Mobile Application.Create a project named “FavoriteBooks” which keeps a list of the books that a user has read and liked.This list is stored in a text document (.txt) file and for each book it keeps the following data separated by acomma (,):Book id, Title, Category, First Author Name and Surname, Award Winner, Rating, Year, Number of Pages, andShort Description. Book id: The data type of “Book id” is integer and will be incremented automatically by 1 whenever anew book is added to the list. Title: The data type of “Title” is String. Category: The data type of “Category” is String. It shows the category of a Book such as Arts, Biography,History, Science Fiction, Cookbook, Literature, etc.. First Author Name and Surname: The data type of “Author Name and Surname” is String. Award Winner: The data type of “Award” is String. If the…
- Create an application that reads the contents of two text files and uses LINQ extension methods to perform the following: • It should display a list of all the unique words contained in both files. • It should display a list of the words that appear in both files. • It should display a list of the words that appear in the first file but not the second. • It should display a list of the words that appear in the second file but not the first. • It should display a list of the words that appear in either the first or second file but not both. Hint: Use set operations to perform these analyses. Also, see Chapter 8 for a discussion of string tokenizing.Q1.Write a GUI program to let the user enter a file name from an entry field and then count the number of occurrences of each letter in that file. Clicking the Show Result button displays the result in a text widget. You need to display a message in a message box if the file does not exist. Q2.Revise the preceding exercise to display a histogram for the result, as shown in the figure below. You need to display a message in a message box if the file does not exist. PYTHON ONLY!! Thank you! Also, could you add some explanations of your code please.Python: I am trying to write a simple GUI based program with two input fields “Directory/filename” and “word” next to each other and one output text field below. Using recursion the program should go through all the files and folders searching for the entered word. If a match is found the path to the file should be printed in the text field + the content of line the word is found in . It should also print how many folders and files has been searched and how many times the word was found. Any ideas?