Create a small script to use raw_input() built-in function to take a string input from the user, then display to the user what he/she just typed in
Q: 1. What are the difference between mobile device forensics and computer forensics? (on your own…
A: 1) The purpose of computer and mobile forensics is to determine if a device was used for illegal…
Q: Write a scenario or situation that shows attacks that affected a system, then suggest Security…
A: The answer to the question is given below:
Q: Write a class with name intlist. This class will have an integer array arr (for simplicity define it…
A: code:- #include<iostream>using namespace std;class intlist{private:// private membersint…
Q: Program with must be output and correct & complete solution pl
A: The c++ program is given below:
Q: You're given a string of words. You need to find the word "Nemo", and return a string like this: "I…
A: In this problem we need to desgin the calculator program using the java programming problem. This…
Q: Please explain in detail as I am very confused.... 1. Why do we need to mark a pointer at the…
A: Here below i explain each point: Explanation: 1. we use pointer because we can store and manage the…
Q: Write the HTML and the JavaScript code that validates a numeric input. The number entered by the…
A: The HTML-JS code is given below with code and output screenshot Happy to help you ?
Q: Consider a one-way authentication technique based on asymmetric encryption: A B: IDA B-A: E(PUR₂)…
A:
Q: 10110100 01000110 00001000 01101110 Compute the Internet Checksum of these two values Enter the 2…
A: According to the question given two 16-bit numbers and their internet checksum needs to be computed…
Q: Write a Matlab function that takes a gray scale image as a parameter and plots the histogram of it…
A: Here I explain which function is used to do that task.…
Q: I need a program for , write a program that prompts the user to enter some number of pennie
A: Solution- An C++ program is given that prompt the user to enter some number of pennies. #include…
Q: Write Java Code to perform the following search algorithms 1. Linear Search 2. Binary Search On…
A: import java.util.Arrays; public class Test{public static void main(String[] args) {int[] ar =…
Q: Consider this scenario: A nurse in the hospital has been assigned to provide daily care to her…
A: Answer:
Q: Write a program in java using two dimensional arrays. You should prompt the user to enter the number…
A: The java program is given below:
Q: What is the degree of D? K O Ο Ο Ο a. 2 b. 5 c. 4 O d. 1 e. 3 E L B F A G H M I J
A: Let's see the answer:
Q: combination of attributes, that could be used as a search key?
A: The answer is
Q: Question: The store owner sends a binary bitstream to the store manager after a request from the…
A: Convert the given bit stream to Base64 The owner sends this bitstream to the manager: 00100 10001…
Q: 7.On this given sorted array perform the search operation to find out the element 13 using binary…
A: Given array contains the elements 5, 9, 11, 12, 14, 19, 22, 28. Element need to be searched= 13…
Q: What would be a reason why we may want to denormalize our database? a.) We may want to prioritize…
A: About Denormalization: Tables are divided into several smaller tables during the normalization…
Q: write a program that will ask user to enter string, it should print valid if string start will…
A: Below I have provided a program for the given question. Also, I have attached a screenshot of the…
Q: By Implement a recursive algorithm to find factorial of n, implement a recursive algorithm to find…
A: Since there are multiple sub-parts, we will provide the answer to the first three subparts for you.…
Q: There must be the class main( ) that has an object of the class. Also, the main( ) must request an…
A: Note: As per the Bartleby policy we can solve only one question at a time. Please repost the…
Q: Size of the memory =Number of Wordsx Number of bits per word
A: The answer is
Q: $ C D
A: Solution - The logic circuit shown in given figure has four inputs A, B, C and D. Forming a logic…
Q: Discuss parallel approach for tree and graph traversal algorithm.
A: Parallel Algorithm for tree and graph traversal:- Tree traversal and graph search approaches are…
Q: Assume a top-level module that implements the arithmetic unit shown in the figure below. The…
A: Below I have provided the solution to the given question
Q: b) Your lecturer is a funny guy; he wants you to find out from a sorted list that contains distinct…
A: Answer the above question are as follows
Q: what would be the competitor analysis for a hardware s
A: The answer is given below step.
Q: What is objectives hierarchy. Illustrate your answer by providing and drawing the objectives…
A: The answer to the question is given below:
Q: Explain any five tasks of Natural Language Processing with examples?
A: In this question we need to explain the five important tasks of Natural Language Processing (NLP) in…
Q: What value is in w after the code above runs? O A. 0x2000 B. 0x2008 O C. 0x2010 D. 0x2018 O E.…
A: Amswer: F.0*2028
Q: 2. Sort the functions T(n) from slowest to fastest from the perspective of running time. ein(n) /n,…
A: In this question we have been given some functions and we need to order them according to their…
Q: Write a C++ program for the following. In each plastic container of Pez candy, the colors are stored…
A: Answer the above program are as follows
Q: Order of tuples in a table is irrelevant, true or false?
A: Multiple items can be stored in a single variable by using tuples.
Q: Complete the Course class by implementing the findStudentHighestGpa() method, which returns the…
A: The complete answer in Java is below: Create the method findStudentHighestGpa() with no arguments…
Q: Write short note on Web based application.
A: The answer is given below step.
Q: Which nodes are the children of E ? K a. D b. C D c. M d. G e. A f. B O g. K Oh. L E L B F A G H M D…
A: Answer. option(g) K and option(h) L will be the children of E Explanation:- A tree is a non-linear…
Q: Please help with both.
A: Hellon studnet
Q: Write a java program that has the following 3 methods in addition to the main program. The main…
A: import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class…
Q: Statistics are often calculated with varying amounts of input data. Write a program that takes any…
A: The c++ program is given below:
Q: Given an n-sided regular polygon n, return the total sum of internal angles (in degrees). Examples…
A: In this problem we need to solve the sum of polygon Logic - return (n-2) * 180;
Q: In a doubly linked list the first class is Node which we can create a new node with a given element.…
A: The java program is given below:
Q: List and briefly define the parameters that define an SSL session connection.
A: 1. Session identifier: The server uses an arbitrary byte sequence to identify whether a session is…
Q: I am still struggling to complete the assignemnt. it fails one of the tests; 2:Compare…
A: The modified program is given below:
Q: What is a benefit of using a lookup table? a.) They resolve weak relationships. b.) They build in…
A: Lookup table:- In order to approximate a mathematical function, a lookup table is an array of data…
Q: Why should we avoid beginning and ending variable names with double underscores?
A: A Python variable is a symbolic name that is a reference or pointer to an object. When an object is…
Q: Which node is the root of this tree ? K 單選: O a. M O b. G с. А d. D O e. K f. J g. C E L B F LL A с…
A: Answer the above question are as follows
Q: You are hired to write a program for Abang Mat, who is a satay seller. He sells TWO (2) types of…
A: Use of C Programming: The C programming language is a machine-independent programming…
Q: A security threat exists when an unauthorised user is fraudulently accessed the sensitive record and…
A: By definition, a proactive and defensive strategy must be used to address security concerns. We hope…
Q: What is software Quality?
A: The question is to define Software Quality.
Create a small script to use raw_input() built-in function to take a string input from the user, then display to the user what he/she just typed in
Step by step
Solved in 3 steps with 1 images
- In the space provided below, write a C++ code that asks a user to enter the names of their favorite albums along with the year each album was released one at a time. As the user enters the data, the program inserts each name into a linked list such that the list in ascending order based on the release year. Your program also allows the user to delete any of the albums from the list. The list maintained will always be in sorted order and will be displayed as such whenever the user is finished updating the list. You must use classes/objects, linked lists, and pointers. Using the embed icon shown above, include copies of your screenshots demoing the execution of your program for various input patterns.In C write a program that takes a file name and two strings as command line arguments, and writes the longer of the two strings to the file with the given name. If the given strings are the same length, write the first string given to the file. If the user does not provide the correct number of command line arguments, print an error message and exit the program with a non-zero exit code.C++ please and thank you. In this assignment you will identify the word and word combinations associated with telephone numbers by using the word list contained in a file with over 264,100 words. Each word ranges from 2- 12 letters. 1 You will extract from this file and store all the three and four-letter words. 2 You will accept, from user input, a phone number as a string. Then you will validate that the phone number is in the correct format and contains valid numbers. If the phone number is not valid, you should display the message "Invalid phone number" and exit. 3 Using the phone number, you will determine all the corresponding words and word combinations and write them into a file named "output.txt". Note: A phone number must be in the format ###-#### and contain only the digits [2-9] inclusive to be considered valid. The digits 1 and 0 are considered invalid because they are not associated with any letters. Example input: 223-5653 The output.txt file should…
- For Python, using IDLE Write a program to read in a web page, process the data, and write out the quotes to the screen called _PA32 that will scrape the webpage https://quotes.toscrape.com/page/2/ onto your program screen. Make sure to include your student id in the first print statement of the program and output the parsed quotes with their authors. Create a function named readwebpage which opens the url https://quotes.toscrape.com/page/2/ parses the data using a second function and the outputs the quotes and authors using a 3rd function. Take a screenshot of your completed program and another of your outputUse this code and modify it so that it works according to the pics <!doctype html><html><head><script>function add(){var a,b,c;a=Number(document.getElementById("first").value);b=Number(document.getElementById("second").value);c=a+b;document.getElementById("answer").innerHTML = c; function isEven() {n=Number(document.getElementById("num").value);if (n%2 == 0)return 'The number is even';elsereturn 'The number is even'; }</script></head><body><h2> Sample Test</h2><h3> Question 1 </h3><p> Take two inputs from the user and write their sum when the calculate button is clicked.</p>Value 1: <input id="first"><br>Value 2:<input id="second"><br><br><div id="answer"></div><br><button onclick="add()">Calculate</button> <h3> Question 2 </h3><p> Take an input from the user and check if it is odd or even.</p>Value : <input…IMP PLEASE HELP, i will give like to all your Q, PLS ASAP , pls send a screen shot of your code Create a function that manipulates a string. Also can you write a code for mainfunction for both of them please allClear Clear string (makes it an empty string) eraseString Erase characters at specified position from string
- A bucket list is a collection of goals, dreams, and aspirations that you would like to accomplish within your lifetime. The purpose of this assignment is to develop a program that allows the user to manage their personal bucket list and save it to an XML file bucketlist.xml. For full credit, run the program and create a file with at least three entry elements. Submit a document containing a copy of the source file, a screenshot of the program in action, and the contents of the XML file. File Structure Below is the basic structure (i.e. schema) for the XML file. You may add additional elements. <bucketList> <entry> <rank></rank> <description></description> <status></status> </entry> </bucketList> Note: Before running the program, manually create an XML input file with at least one entry element that contains values in each child element. GUI Requirements At a minimum, your GUI must meet the below requirements. No minimize…In a document file, write a program that will execute a string functions based on what the user chooses and attach a screenshot of the output. Only one string function execution will be displayed (what the user chooses) [1] STRLEN [2] STRCPY [3] STRCMP [4] STRCAT [5] STRUPR [6] STRLWR Enter your choice: 1 Enter your choice: 4 Input a string: Hello! Input string 1: Hello String length is 6. Input string 2: World! Appended stringl & string2 is HelloWorld! Enter your choice: 2 Input string 1: Hello! Enter your choice: 5 Input string 2: Hi! Input a string: Hello! String before copying: Hello! String in uppercase is HELLO!. String after copying: Hi! Enter your choice: 6 Enter your choice: 3 Input a string: Hello! Input string 1: Hello! String in lowercase is hello!. Input string 2: Hi! Stringl and string2 are not the same.Using PHP Write a program using PHP programming language that reads the user name and password from a login form Login.html Login.php And then writes them in a text file(logos.txt).
- In python: Your company keeps a list of employee information for each pay period in a text file. The format of each line of the file is following: <name>, <rate>, <hours worked>. Write a program that inputs a file from the user and prints to the terminal a report of the wages paid to the employees for the given period. The report should be in tabular format with the appropriate header. Each line should contain employee's name, the hours worked, and the wages paid for that period.GDB and Getopt Class Activity activity [-r] -b bval value Required Modify the activity program from last week with the usage shown. The value for bval is required to be an integer as is the value at the end. In addition, there should only be one value. Since everything on the command line is read in as a string, these now need to be converted to numbers. You can use the function atoi() to do that conversion. You can do the conversion in the switch or you can do it at the end of the program. The number coming in as bval and the value should be added together to get a total. That should be the only value printed out at the end. Total = x should be the only output from the program upon success. Remove all the other print statements after testing is complete. Take a screenshot of the output to paste into a Word document and submit. Practice Compile the program with the -g option to load the symbol table. Run the program using gdb and use watch on the result so the program stops when the…In Python plEASE The Payroll Department keeps a list of employee information for each pay period in a text file. The format of each line of the file is the following: <last name> <hours worked> <hourly wage> Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period. The report should be in tabular format with the appropriate header. Each line should contain: An employee's name The hours worked The wages paid for that period. An example of the program input and output is shown below: Enter the file name: data.txt Name Hours Total Pay Lambert 34 357.00 Osborne 22 137.50 Giacometti 5 503.50