Task 1 In your methodology, create individual flowcharts for each property and discuss the property you would then present your proofs or validity of your implementation in the results section by comparing your result to present functions from NumPy. In [ ]: np. array([]) Out 1: array([], dtype=float64) In [ 1: In [ ]: In [ ]: In [ ]: In [ ]:
Q: Question1: define two lists of numbers (arrays) and ask the user to give the size of each, and then ...
A: First check whether the lengths are same or not Then every element in both the arrays and check whet...
Q: Add file i/o to your program Implement a function writeEmpToFile that takes two arguments: a struct ...
A: The Answer is
Q: do all
A: Registers are the type of memory in the computer system, which performs arithmetic and logical opera...
Q: gnetic disk.
A: given - Create a definition for magnetic disk.
Q: Create a class whose main() holds two integer variables. Assign values to the variables. Create two ...
A: As per our company guidelines we are supposed to answer only one question per post and kindly resubm...
Q: The memory addressing capabilities of the 20-bit address bus are described. microcontroller?
A: INTRODUCTION: An 8-bit byte-addressable computer with a 20-bit address bus (such as the Intel 8086)...
Q: The three main settings in which concurrency might occur, as well as examples of each, should be des...
A: CONCURRENCY: Executing multiple instructions concurrently is called concurrency. By running many thr...
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: Create a C++ program that will check if the string or group of text is a palindrome or not. For exa...
A: PROGRAM EXPLANATION Include the header file. Define the main function. Take a string as input from ...
Q: Referring to the code below, without changing the program flow and requirements, convert the program...
A: #include <iostream>#include "queue.h"#include <string> using namespace std ; struct car ...
Q: Instructive language is defined as follows:
A: Instruction: A computer program's command or order was given to a computer processor is referred to ...
Q: Describe the steps involved in converting a program written in a high-level language like C into a r...
A: Language at the highest level A high-level language is a programming language that allows programmer...
Q: Write the same splice method for an ArrayList with member variables called data and size and methods...
A: The method splice is used to modify the contents of an arraylist , this has the following parameters...
Q: Hi, candidate! The test task consists of three parts: 1. Create 1 email design; 2. Create 2 landing ...
A: We talk a lot about how to create effective email campaigns, which contain regular guidelines: activ...
Q: Map it to a query tree Provide a simplified WHERE clause
A: Normalization¯ manipulate query quantifiers and qualificationQ Analysis¯ detect and reject “incorr...
Q: Course: Linux Operating System in Security To be correct the command must work on a Kali Linux 2021...
A: Linux operating system having the command of sudo command. The sudo command allows to run programs ...
Q: Why is it important to categorized Network based on their size
A: Based on the size, networks are classified into: Personal Area Network (PAN) Local Area Network (LA...
Q: 4. Example Clothing Corp. is starting a small clothing store. The owner wants to use cloud services ...
A: Please upvote me. I am providing you the correct answer below. Cloud hosting is where your sit...
Q: 16. Does the ID3 algorithm always produce a consistent decision tree for a training data set? Justif...
A: The answer is given in the below step
Q: Please construct the truth table of the following, thank you. a) [p-q] A [-p-q] b) [-p--q]-[p-q] c) ...
A: Actually, given question regarding truth table.
Q: can you make ER Diagram with Crow`s foot method about library system. The rule: 1. A member can bor...
A: An entity may be a representation of a category of object. It are often an individual , place, thing...
Q: Word Statistics: The second requirement change is to allow replacement of all occurrences of a given...
A: Please refer to the following steps for the complete solution to the problem above.
Q: Which of the following describes the * ?image below Pe
A: Task flow and User flow: User flow and task flow find in the interaction process of UX design proce...
Q: Design the circuit with a decoder and external gates.
A:
Q: Show the following: (a) 2" = 0(22") (b) 2" = 0(n²) (c) n – 1 = ©(n – 5)
A: Theta (Θ) Notation: The theta notation bounds a function from above and below, so it defines exact a...
Q: Given the following binary number in 32-bit (single precision) IEEE-754 format, the decimal value cl...
A:
Q: Give an example of when adaptors are typically required when systems are built by merging applicatio...
A:
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: 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: Define the concept of dynamic random access memory.
A: Introduction: Computer processors often require data or program code to work correctly, and dynamic ...
Q: Define the term "local wide network."
A: Introduction: A LAN, or local area network, is a kind of network that connects a limited number of p...
Q: Write a function that takes two lists as input, a list L1 containing characters and a list L2 contai...
A: I have provided PYTHON CODE along with CODE SCREENSHOT and OUTPUT SCREENSHOT------------
Q: hat are lookahead sets? What will lookahead set consist if a rule alternative starts with token refe...
A: Lets see the solution.
Q: Make a C program that will ask for the length and width of a rectangle and display the perimeter. As...
A: Parameter Of Rectangle: A route that surrounds a two-dimensional form is called a perimeter. The wor...
Q: Write down two real-life scenarios for each of the following devices. Honeypot NIDS HIDS Biometri...
A: Introduction: Because there are so many people connected to the global network, new attack tactics a...
Q: Write a direct and indirect recursive method for validating input data for the triangle program. The...
A: The equations given for the triangle are:- float s = (sA + sB + sC) / 2; float per = (sA + sB + sC)...
Q: Mention any four widely used networking software programs that you are familiar with. When it comes ...
A: Introduction: In computer networking parlance, network software is anything that interacts, enhances...
Q: Describe the many types of computing applications and the characteristics of each.
A: An application, often known as an application program or application software, is a computer softwar...
Q: Q5. Write C++ program to find factorial of an even number?
A: As per the requirement program is done in c++. Algorithm: Step 1: Write the main() method Step 2: As...
Q: 2. What are the steps in converting one number system to another?
A: Given: What are the steps in converting one number system to another?
Q: The computer communication system is made up of six components, which are as follows: Write brief co...
A: Communication implies sending, getting and handling of data between at least two gadgets. An assortm...
Q: Write the Java statement for the following. Declare an array of String named jleague with values “C...
A: Your java program is given below as you required with an output.
Q: As part of your introduction to engineering class's term project, make a PowerPoint presentation wit...
A: Given: If your introduction to engineering class includes a term project, create a PowerPoint presen...
Q: Write a program in Matlab to read two numbers and then print the numbers Odd between the two numbers
A: Write a program in Matlab to read two numbers and then print the numbers odd between the two numbers...
Q: Notation Evaluation using Stack Prefix: // * 2 - 74 + + 615 3 • Postfix: 2 74 – * 6 1 + 5 + /3/ -
A: Answer the above questions are as follows:
Q: Consider the following statement: "The entire pages of a process never need to load into physical me...
A: The concept of breaking a process into multiple parts is known as paging.
Q: Write 3 paragraphs for each question 1. Compare and contrast the pros and cons of visualization. Con...
A: The Answer is
Q: Explain briefly with the aid of examples the uses and importance of the following technologies i.Ar...
A:
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: In order to implement hybrid inheritance, there is a requirement for constructing a virtual base cla...
A: The term "hybrid inheritance" refers to a mix of multiple and multilevel inheritance, As with multip...
USING GOOGLE COLAB
Step by step
Solved in 2 steps with 2 images
- Functions with 2D Arrays in Java Write a function named displayElements that takes a two-dimensional array, the size of its rows and columns, then prints every element of a two-dimensional array. Separate every row by a new line and every column by a space. In the main function, call the displayElements function and pass in the required parameters. Output 1 2 3 4 5 6 7 8 9C++ in visual studio: Implement it completely with copy constructor, overloaded assignment operator and destructor. Then, in main, type an application that creates 2 numbers, sums them, and assigns the result to a new number. for example ; Number 1 (18,32) Number 2 (15.09) - - - - - - - - - - - + Number 3 ( 33,41)1- Persistent variables cannot be accessed from outside the function. (True or False 2- Define a 5*1 empty cell array and then fill it with ones. 3- If A=[5 2] and B-[8; 9; 6] then create 3*3 matrix by concatenating A and B. 4- If S=struct([1), then the size(S)= 5- What is the value of I= any([1, 0, 3]&&[0, 8, 0]) in Matlab? I= 6- If K=[2 5 7], then max(K, 5.5)= matlab
- I need a code of this in C language. Input 1. Number of rows Constraints The value is guaranteed to be >= 3 and <= 100. Sample 3 2. Number of columns Constraints The value is guaranteed to be >= 3 and <= 100. Sample 3 3. Elements Description The elements of the multidimensional array depending on the number of rows and columns Constraints All elements are non-negative and are all less than 100. Output The first line will contain a message prompt to input the number of rows. The second line will contain a message prompt to input the number of columns. The succeeding lines will contain message prompts for the elements of the multidimensional array. Lastly, a blank line is printed before the rotated 90-degrees anti-clockwise 2D array. For example this should be the output. Enter the number of rows: 3 Enter the number of columns: 3 Row #1: 1 2 3 Row #2:·4 5 6 Row #3: 7 8 9 3 6 9 2 5 8 1 4 7C++ 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//your header files// constant size of the array// declare an array of BankAccount objects called accountsArray of size =SIZE// comments for other declarations with variable names etc and their functionality// function prototypes// method to fill array from file, details of input and output values and purpose of functionvoid fillArray (ifstream &input,BankAccount accountsArray[]);// method to find the largest account using balance as keyint largest(BankAccount accountsArray[]);// method to find the smallest account using balance as keyint smallest(BankAccount accountsArray[]);// method to display all elements of the accounts arrayvoid printArray(BankAccount accountsArray[]);int main() {// function calls come here:// give the function call and a comment about the purpose,//…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//your header files// constant size of the array// declare an array of BankAccount objects called accountsArray of size =SIZE// comments for other declarations with variable names etc and their functionality// function prototypes// method to fill array from file, details of input and output values and purpose of functionvoid fillArray (ifstream &input,BankAccount accountsArray[]);// method to find the largest account using balance as keyint largest(BankAccount accountsArray[]);// method to find the smallest account using balance as keyint smallest(BankAccount accountsArray[]);// method to display all elements of the accounts arrayvoid printArray(BankAccount accountsArray[]);int main() {// function calls come here:// give the function call and a comment about the purpose,//…
- JavaScript NOTE: Dataset is defined below. Using the data set as a pre-defined variable in your program, write code that uses the dataset to print the FIRST NAMES ONLY of people who have BOTH above average English grades AND below average age from the dataset. The solutions for the textbook examples assume you are able to export in a framework like node.js, which is why in the data set I provide, I simply set the array of objects as a variable. Your code will be in the same file (treat it like any other array variable). You can do the same with the sample files the chapter provides. For example: var ancestry = [ { .. object .. }, ...]// your code here Requirements: Cannot use any array type built-in functions except filter(), map(), and reduce(). var dataSet = [ { "name":"Maura Glass", "age":60, "math":97, "english":63, "yearsOfEducation":4 }, { "name":"James Gates", "age":55, "math":72, "english":96, "yearsOfEducation":10 }, { "name":"Mills Morris", "age":26,…In C programming: Write a main() function using the following requirements:• Define a SIZE constant (the value is irrelevant, but for testing, you may want to keep it small enough – no bigger than 5)• Create an array of course pointers using SIZE• Dynamically allocate each element of the array• Call inputAllCourses()• Call printAllCourses().PYTHON In order to parse data to start a simulation, users must enter data correctly. Suppose that the simulation requires 2 information from the user, which is called 'soil_key' and 'soil_data.' The user will enter 'soil_key' first, following with 'soil_data.' We need to check if the user enters the 'soil_data' data correctly. All elements in soil data ('soil_data') must be characters defined in the soil keys ('soil_key'). Both soil_key and soil_data are lists. Consider an example: INPUT: soil_key = ['C', 'Clay', ' B', 'Bedrock', ' V', 'Void'] soil_data1 = [ ['V', 'C', 'V'], ['C', 'V', ' '], ['B', 'M', 'B'] ] soil_data2 = [ ['B', 'C', 'V'], ['C', 'V', ' B'], ['B', 'C', 'B'] ] OUTPUT: soil_data1: check data again. Parsing failed! soil_data2: Parsing successfully. Write a python function that checks if the soil data is being entered correctly. Return True and print 'Parsing successfully' for correct data. Otherwise, return False and tells the user 'check data again. Parsing…
- Tour.java Create a Tour data type that represents the sequence of points visited in a TSP tour. Represent the tour as a circular linked list of nodes, one for each point in the tour. Each Node contains two references: one to the associated Point and the other to the next Node in the tour. Each constructor must take constant time. All instance methods must take time linear (or better) in the number of points currently in the tour. To represent a node, within Tour.java, define a nested class Node: private class Node { private Point p; private Node next; } Your Tour data type must implement the following API. You must not add public methods to the API; however, you may add private instance variables or methods (which are only accessible in the class in which they are declared). public class Tour // Creates an empty tour. public Tour() // Creates the 4-point tour a→b→c→d→a (for debugging). public Tour(Point a, Point b, Point c, Point d) // Returns the number of points in this tour. public…develop a library management system application. Morespecifically, your application should use an array of structuresto keep the details of the booksand the user should be able to add a new book, search for a book and find available books toborrow. The book details entered by the user should be stored in a structure using thefollowing details:• Book ISBN• Book title• Author full name• Publication Year• Availability for loan [yes/no] The user of this application should have the following options in the form of a nice presentedmenu.Add a book: The user should add all the details of each book by answering a set of questions(book isbn? Book title? author? year?). The availability for loan is randomly generated by theprogram (y: yes, n:no). Assume that the maximum number of books that the user can giveyou is 50.Search for a book: The user should be given three options here.▪ Search by the title: The user will input a keyword and the program willsearch for all the titles that contain this…In C programming: Write a function printAllCourses() which receives an array of course pointers and the array’s size, then prints all courses in the array by calling printCourseRow()