In NumPy write a program to generate a list that contain 5 random integers in the range 1 to 100. Display the list in the output.
Q: What is a DApp? An application used to view some or all info on a blockchain An application used by...
A: Dapp is decentralised application used on blockchain.
Q: An expert system is different from a database program in that only an expert system can be used:
A: Answer: contains procedural knowledge is the correct answer
Q: Consider the following Deterministic Finite Automaton (DFA) with the 5-tuple of (Q,E,90,F,6): 91 q3 ...
A: A string is said to be accepted when we end at one of the final states from the initial state q0. Th...
Q: Describe any 50 Port Numbers and their services
A: Step 1: Port number is defined as the logical address of each application that uses the Internet to ...
Q: Following the reopening of educational institutions, taking precautions cannot be ignored, so it bec...
A: context diagram The actors are student, teacher ,staff and admin admin is responsible for managing a...
Q: ori $t1, $0, 0 ori $t8, $0, 100 ori $t9, $0, 200 200 sll St2, St1, 2
A: Given Please complete the following code, which is supposed be a loop that scans a word °!rritliairr...
Q: der the web obsolete? What is y
A: Will apps someday render the web obsolete? What is your reasoning?
Q: Question:: Write a loop to display the powers of 2 exactly as shown below: 1 4 18 16 32 64 128
A: - We need to have the values printed as the powers of 2 as expected. - We are using C++ here.
Q: Write a MATLAB PROGRAM to get the below values from a user entered transfer function. 1) Rise Time, ...
A: Required:- Write a MATLAB PROGRAM to get the below values from a user-entered transfer function. 1) ...
Q: An expert system differs from a database program in that only an expert system:
A: Find Your Answer Below
Q: Question:: What is an abstract class?
A: Introduction An Abstract Class is one that has 0 or more abstract methods.
Q: Why are there so many different partitioning algorithms in use by operating systems, and why are the...
A: why are there so many different partitioning algorithm in use by operating system Ans;- Data and pr...
Q: suppose your company can track a customers activities on ots website. you observed that one customer...
A: Answer: Business analytics is the correct answer
Q: If you wanted to know the position of the letter v (i.e. return 2) in the String str containing the ...
A: A String is a pre defined class in Java which has various methods in it to perform the operations on...
Q: Consider the following Haskell functions: step x y = y + 1 mystery iL = foldr step 0 iL What will ...
A: Computer Science Consider the following Haskell functions:step x y = y + 1mystery iL = foldr step 0...
Q: What is an abstract class?
A: abstract class: abstract class are that class which contains both abstract and non-abstract methods ...
Q: Describe 5 different gdb commands covered this term do. Just naming the command is not enough, you h...
A: Following are the GDB commands with effects:
Q: Who are the people involved in the phases of Waterfall Model
A: The solution to the given problem is below.
Q: A processor's primary structural components should be mentioned and briefly characterised.
A: Here is the detailed explanation of the solution
Q: Two stacks of positive integers are needed, one containing elements with values less than or equal t...
A: The answer is given below:-
Q: Part 2: Relational data model. Take a subset of the ideas from the conceptual model you constructed ...
A: The relational data model have the five entities and 24 attributes. pk - primary key fk - foreign...
Q: The code below prompts the user to enter their full name, and then converts the name to a list. Comp...
A: I give the code as per your requirement along with output and code screenshot
Q: Create a list of two vectors (dog, cat, mouse) and (True, True, False) called a.list. Name the vecto...
A: import numpy as np animal = np.array(["dog", "cat", "mouse"]) pet = np.array([True, True, False]) #C...
Q: TISBA to.3). Mosque Varaity Mall Library 10.8 10.4]- 10.4) 10.21 10.41 Oreat
A: A map to critically review, provide a large screenshot so it can be easily seen, and answer the fol...
Q: Find the generating function for the following sequence: 0, 1,0,0, 1,0,0, 1, 0,0, 1,. You need to ex...
A:
Q: Given 2 inputs (each on a separate line): • The 1st line of input is size allocation of your array. ...
A: As given, we need to write a C++ program that takes array size and array elements as input and print...
Q: What kind of error messages may you get if you try to login using the ssh-i option?
A: Introduction: Ssh-i : SSH is an abbreviation for Secure Shell. The command is used to log in to a s...
Q: What are the three major approaches to implementing an information system?
A: The three main approaches to implementing an information system are: Parallel approach : as the name...
Q: Is there a reason why the heap is better than a stack?
A: STACK: 1.A stack is a non linear data structure. 2.A stack is a ordered collection o...
Q: A, B are two integers arrays. The base address of A and B are in register x10 and x11, respectively....
A: Let's see the solution in the next steps
Q: Exercise 3: Write a Java program which creates two frames, each containing one button. When you exec...
A: Given :- Write a Java program which creates two frames, each containing one button. When you execute...
Q: The characteristics of a computer system that can think, reason, and learn are known.
A: Calculations performed by computers are substantially faster than those performed by humans. Million...
Q: Configure the OSPF process on all routers for a single area-0 (backbone) and advertise its directly ...
A: Introduction: Open Shortest Path First (OSPF) is an IP network link-state routing protocol that is b...
Q: What was the overall impact of the Capital One breach? Is it possible that this might have been avoi...
A: The Capital One breach involved sensitive data that was stored in the financial institution’s AWS de...
Q: ndra is creating a link to a PivotTable cell. She selects a cell in worksheet1. What is the next act...
A: Answer: The formula as she chooses which value in the PivotTable to use as-
Q: II. Instructions: Below is the procedure in saving the file. Fill in the missing commands in each nu...
A: The current scenario here is to fill in the blanks with the answer in the box for the procedure in s...
Q: Write a Java program to get the nth catlan number Take the n from the user.
A: Java code to get the nth catlan number import java.io.*;import java.util.Scanner; public class Catl...
Q: List security vulnerabilities as per Open Web Application Security Project (OWASP).
A: Five of the major Open Web Application Security Project vulnerabilities are below:
Q: What Is SDLC?
A: SDLC stands for Software Development Life Cycle. It contains many models and the examples of models ...
Q: Find the generating function for the following sequend ɔ, 1, 0,0, 1, 0, 0, 1, 0, 0, 1. You need to e...
A:
Q: Q3: Explane in which case Fa has a maximum Value & minimum Value in Pulling the car shown in Fig 20 ...
A: INTRODUCTION: Here we need to answer the maximum value and minimum value in pulling the car.
Q: Why are there so many different partitioning algorithms in use by operating systems, and why they so...
A: Given: Why are there so many different partitioning algorithms in use by operating systems, and wh...
Q: Create a transactional webpage using javascript : Requirement : 1) Create the Input/output Interface...
A: Step 1: A webpage to display employee information using JavaScript is given below
Q: When does it make sense to break down large computer processes and programs into smaller subsystems?...
A: Segments are used to break down a process. Segments are refers to the sections into which a program ...
Q: Why are there so many different partitioning algorithms in use by operating systems, and why they so...
A: I have answered this question in step 2.
Q: What is open source in computer science?
A: This question comes from Internet Technologies which is a paper of computer science. Let's discuss i...
Q: You need to write a program in PHP to remove specific element by value from an array using PHP progr...
A: <?php $delete_item = 'march'; // take a list of months in an array $months = array('jan', 'feb', ...
Q: Couvert the follocwing arithmetic expressions notation to reverse poLish înfix notation. A BCD E+ B....
A: Reverse Polish notation (RPN) is just an expression representation approach wherein the operation sy...
Q: multitasking .a all of these .b running several programs .c simultaneously
A: given - feature of windows include
Q: Wacky Word Game Background: This program introduces you to the use of variables, strings and input. ...
A: Introduction: Wacky Word Game: The Wacky word game uses variables, strings and input. This progra...
Step by step
Solved in 2 steps with 1 images
- Create a program that asks the user to enter (n) the number of elements that will b in the list. The program will create a random list of numbers and then ask the user to enter a number (sNum) to search for. This number to search will either be in the range of the random number list. The program should provide this information if it is in the range. If it is there, it should return the location of the number. If not, the program should return that it is not found.statistics.py: Write a program that reads a list of integers from the user, until they enter -12345 (the -12345 should not be considered part of the list). Then print the mean, median, and standard deviation of the list. The mean is the average of the numbers. The median is the “middle” value if n is odd, or the average of the two “middle” values if n is even. The standard deviation is the average amount of variability For example: $ python3 statistics.py154102-12345mean: 7.75median: 7standard deviation: 5.909032633745278Prompt the user to enter four numbers, each corresponding to a person's weight in pounds. Store all weights in a list. Output the list.Ex: Enter weight 1: 236.0 Enter weight 2: 89.5 Enter weight 3: 176.0 Enter weight 4: 166.3 Weights: [236.0, 89.5, 176.0, 166.3]
- 3- Write a program that calculates the average of several numbers entered by the user. The program should work as follows: The program will ask the user to enter a number (a float), it will verify that the user did indeed enter a float (or else it will continue to ask the user to enter a number). The new number will be saved in a list, after this, the program should ask the user to enter another number or enter ”DONE” if they are done entering numbers. This should continue until the user enters ”DONE”. Once this happens the computer should calculate the average of all the numbers in the list and print that averagePlease help me, create your won code Create a function that takes a 2D list and an integer v, and returns the number of times the value v is in the list of lists. Add the Nsteps variable to count how many times the loops execute and display a message.• The main program must give a 2D list (no need to generate it, just create it manually), call the function, and display the result example it's the picturepython LAB: Subtracting list elements from max When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This can be done by normalizing to values between 0 and 1, or throwing away outliers. Write a program that adjusts a list of values by subtracting each value from the maximum value in the list. The input begins with an integer indicating the number of integers that follow.
- Common between Us Write a program that asks the user to input 2 lists of numbers, 5 numbers per list. Your program should identify the common numbers in the lists or the numbers that are present in both lists. See sample lists and output below. Input: List 1: 20 3 59 1 3 List 2: 1 20 1 43 List 1: 3 5 86 31 23 List 1: 53 43 76 123 645 List 2: 21 54 87 13 7 List 2: 435 445 6 12 76 Output: 20 3 1 Output: None Output: 761. Lottery Number Generator:Design a program that generates a seven-digit lottery number. The program should generate seven random numbers, each in the range of 0 through 9, and assign each number to a list element. (Random numbers were discussed in Chapter 6.) Then write another loop that displays the contents of the list python coding pleaseWhen analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. Write a program to adjust the values by subtracting the smallest value from all the values. Assume that the list will always contain different numbers. Ex. If the list of numbers is: 40 50 10 90 75 The adjusted list is: 30 40 0 80 65 The program first will ask the user to enter the number of integers to be adjusted. Then The following functions should be used: The function dataCollection should be called to make a dynamic array to hold the user entered integers. It prompts the user to enter the list of numbers. A pointer to the array should be returned. The function minVal receives an array and its size as arguments. It finds and returns the smallest number in the array. The function adjust receives an array, the array size, and an integer as arguments. It will create an array with the same size as the argument array, but subtract the last…
- Largest Value. Create a program that uses a list to store input values, and outputs the largest value entered at its location in the list. The program shall accept input values until the user enters -1. And Next Movie Time. Create a program that shows the user when the next showing for a movie is. The program first reads the different showing times (only hours) in a 24-hour clock format (that is, 1PM is 13, 6PM is 18, etc.). The program then asks when a customer wants to go to the movies. The program replies with the time for the next showing. If the next showing matches the hour input by the customer, show the next showing after that. If the next showing is past the last one, the program shall output, “There are no more showings.”, Here is a sample execution: I am trying to use these programs as practice for practicing lists, strings and inputs. But am struggling a bit after laying down the foundation on each problem. I plan to put them into thonny to compare them with my own work.Form should mentioned write a For loop that iterates through a list of products (any number of products) that are sold in a store and prints them. [examples: fan, fridge, freezer, washer, etc.]. b) copy the code from a) and use the same loop to add more products(any)to the list. You must use list methods to add. c) Copy the code from c), and search for a specific product (any), if the product is found the loop is terminated. Make sure to use else in the for loop. d) Create an empty dictionary, then add 4 entries (the key is a word, the value is word’s frequency in a book). [example: {‘street’: 23}]. e) Create a for loop to access the entries from d) and print the keys and values. f) Copy the code from e) and search for a specific key in the dictionary and prints its value. The program prints a message “ the {key} is not found”, if the key does not exist. Mm.prompt user to enter a number numthis num would be set as the range the user to enter other intergers.create a list and loop to populate it with each integer the user enters up to numprint the list. Example:if num entered as 4then prompt the user to enter 4 integers. 3 6 7 9then print the list as [3, 6, 7, 9] Thank you