IN C# Construct a complete program that will utilize a loop to search for ALL instances of the number 87 in the sample data array below. Once the search is complete and all instances of the number 87 has been found your program should output the following: The number 87 has been found at indices 2, 5 and 6. sampleDataArray = [5, 6, 87, 21, 89, 87, 87]
Q: going to be infected by a virus that was going to be attached to an email and sent to him. Can you…
A: Please find the answer below :
Q: To what extent are there problems with global information networks?
A: In this question we have to understand what are the problems with the global information networks.…
Q: Create a simple payroll program that applies object-oriented concepts. • For PC users, create a…
A: The solution to the given question is: STUDENT RECORD WINDOWS FORM APPLICATION using System; using…
Q: 39. Which of the following activity can be performed by Artificial Intelligence system? a. Marry a…
A: We see majorly three types of operators which are used in programming are Arithmetic operators,…
Q: 1. Convert the following to 8421 BDC & Excess 3 code; a. 1 b. 12 c. 15 d. 25 e. 30
A: Lets first understand the process of Excess - 3 Code conversion :--> --> Excess - 3 is also…
Q: What is a good indication (or clue) that your machine is infected by the following types of malware:…
A: The complete solution is given below:-
Q: RAID-capable storage reduces the need for Oracle database backups in today's environment. Written…
A: RAID RAID, an acronym for redundant array of independent disks or redundant array of inexpensive…
Q: In a company, worker efficiency is determined on the basis of the time required for a worker to…
A: 1) Below is C Program to find worker efficiency on basis of time required for worker to complete a…
Q: 4- is standard for specifying any kind of information on the internet. * URL can used to discover…
A: Note: As per our company guidelines we are supposed to answer only first 3 sub-parts. Kindly repost…
Q: Define the following terms as they relate to Polish string notation: a) infix b) prefix c) postfix…
A:
Q: Checks if the values of two operands (A ar are equal or not. if values are not equal. th condition…
A: Lets see the solution.
Q: Find the true statement from the following list of statements. Application software includes a…
A: First of all, application software is program to complete specific tasks. For example, Microsoft…
Q: 4. Write a Matlab program to compute the value of 30*10 without using the operator. Attach the…
A:
Q: Define issue resolution rate.
A: Lets see the solution.
Q: 6. What is the value of sizeof(int)? (a) 1 (b) 2 7. What is the value of sizeof(uint16_t)? (a) 1 (b)…
A: The question is to select correct option for the given questions.
Q: What is the OS's role in controlling the processor?
A: Answer: The OS is utilized to run programs by tapping on a symbol, choosing the program from a menu,…
Q: This is the data frame for: Idle Select one: O O O Frame Start DO D1 D2 D3 D4 D5 D6* D7* D8* P* Stop…
A: Lets examine the dataframe 1) It can't be SPI protocol as it doesn't have start, stop and pairty…
Q: Any opinions on the present condition of the internet and the technology that underpins?
A: Given: TCP/IP (Transmission Control Protocol/Internet Protocol Suite) is an Internet protocol suite…
Q: 4. Write a Matlab program to compute the value of 30*10 without using the operator. Attach the *…
A: We can find the result by using a loop which runs for 10 times and keep on adding the values Let's…
Q: The conclusion may include? Select one or more: a. Experimental details O b. Summary c.…
A: The solution to the given question is: The conclusion include summary. B) Summary
Q: Consider an ART network with nine input (F1) units and two cluster (F2) units. After some training,…
A: Adaptive resonance theory is the type of the neural network technique which is developed by the…
Q: Write a c++ program using class
A: In the above code, it has been asked to print the factorial number out of the two numbers, in the…
Q: Rounded the variable x towered .minus infinity ceil (x) O rem(x,0) O fix(x) O floor(x) O round(x)…
A: Please refer below for your reference: Language used is MATLAB: a) rounding the variable x towards…
Q: Write a function is_consonant that takes a character and returns True if it is a consonant. Use…
A: Please find the answer below :
Q: Why does a real-world software system need to evolve or become less effective over time?
A: In their discussion of the transition from one system to another, Lehman and Belay propose a set of…
Q: Does RAID-capable storage still need backing up an Oracle database? Typing rather than scribbling…
A: Given: Computer data storage stores digital data using computer components and a recording media. IT…
Q: goal programming
A: Given :- In the above question, a statement is mention in the above given question Need to choose…
Q: 1. Write an ARM assembly language program to swap the position of the largest number and the…
A: It is defined as a low-level programming language for a computer or other programmable device…
Q: It is important to recognize, outline, and specify each of the six components that make up an…
A: Introduction: This IS system allows you to produce new value (cost tracker) and your manager to…
Q: A program in a procedural programming language, such as C or Java, consists of a list of statements,…
A: Solution is given below
Q: Write a C++ program to print the text "C++ Programming." in the output along with the quotes.…
A: The cout object in Cpp is an object of class ostream.
Q: Three main types of software maintenance can be summed up as follows: Why is it so tough to tell the…
A: Software maintenance is the process of changing, modifying, and updating software to keep up with…
Q: RAID-capable storage reduces the need for Oracle database backups in today's environment. Written…
A: RAID: RAID is a logical approach to combine several discs into one array. These discs should give…
Q: The statement "PLL_Init():" is used to set clock to 16 MHz Select one: Ⓒ True False
A: Answer: A phase-locked loop (PLL) is an electronic circuit with a voltage or voltage-driven…
Q: i need the answer quickly
A: synchronous serial interface protocol used to-
Q: 5. Placing a new order whenever the inventory level drops to a specific re-order point is kno a.…
A: The answer is given below:
Q: From the outside, what can be done to address the problem of fragmentation?
A: Given: When the overall amount of empty memory space is insufficient to meet all of the allocation…
Q: How can a local network's long-term survival and dependability be ensured?
A: Local Area Network (LAN): The acronym for this kind of network is LAN. A local area network (LAN) is…
Q: What does it mean to be computer literate, and how can you go about demonstrating this knowledge?
A: Given: Learning how to use a computer requires being knowledgeable about its capabilities and…
Q: What steps should be taken to guarantee the long-term viability and reliability of a local network?
A: Local Area Network (LAN): A local area network is a collection of miniature computers or other…
Q: Design a Pushdown Automata state diagram. Please also include if its possible to design the machine…
A: A pushdown automaton (PDA) is a finite automaton equipped with a stack-based memory. Each…
Q: Use Input to print "< =" and stop the program until the user enters a value and presses the Enter…
A: #include <iostream> using namespace std; int main() { cout<<"Do you want to stop :…
Q: Examine the evolution of the internet and its underlying technology.
A: The Answer is given below step.
Q: Find out whether your company has a Facebook or Twitter page. In what ways are they different from…
A: Investigations into Online Social Networks: Online social networks, often known as social media…
Q: the following protocol used to Synchronous serial interface Select one or more: O 0 O a. interface…
A: Given question are multiple choice selected question.
Q: What are the goals of prototyping in software engineering and how does it achieve them?
A: Following are some of the goals of prototyping. Prototyping lowers the cost of development by…
Q: You need to know in code how to tell if you've picked a RadioButton or a CheckBox control.
A: In code, use a CheckBox or a Radio Button control: Select from the following Radio Button and…
Q: For the three-way handshake shown in Figure 15 above write out the specifications for the three…
A: In the given TCP three way hand shake, Client IP address= 192.168.0.100 Server IP address=…
Q: Use Input to print "< =" and stop the program until the user enters a value and presses the Enter…
A: Output: <= <= <=r
Q: What is meant by virtual-reality headset?
A: Lets see the solution.
Step by step
Solved in 4 steps with 2 images
- Write a program in C++ that lets the user enter a product code. The program should determine if the product code is valid by checking for it in the following list: 65482 15975 48758 58698 69618 78965 68416 26489 35498 91651 The codes should be initialized into an array. A simple linear search should be used to locate the code entered by the user. If the user enters a code that is in the array, the program should display a validation message. If the user enters a code that is not in the array, it should display an error message.C Programming Make a program that will accept an integer and loop for the same number of times as that of the inputted integer and input random integers and add it to the array/list one by one, per line. Afterwards, make your program accept another random integer. Using that final integer, compare from your array/list if the final integer's value is also present in your current array/list. If so, print "Present"; otherwise, print "None". Start coding now! Input 1. Size of the array 2. Elements of the array 3. Integer to be searched Output The first line will contain a message prompt to input the size of the array. The succeeding lines will contain message prompts to input the elements of the array. The next line will contain a message prompt to input the integer to be searched. The last line contains the appropriate message.Using C++ Write a program that reads 10,000 words into an array of strings; the "List of 10,000 Random Words" file is on Moodle. The program will then read a second file (the list of "Search Words" is also on Moodle) that contains an undetermined number of words and search the first array for each word. The program will then report the number of words in the second list that were found on the first list. Do not use an array for the second file, process the words as they are read. Note that some of these "words" might have spaces; handle your input accordingly.
- Using C++ Create a Program that will allow an employee at "Happy Pets" to enter the name of a pet that is brought into the office for treatment. Once the pet name is entered, the program will use a search algorithm to check for the name in an array. If the name is found, the employee will receive a message that the pet is a returning customer. If the name is not found, the name will be added to a new array that has been dynamically allocated. Your program will: Search an existing array to determine if the pet name is in the database Sort an existing array (if needed) Create a new dynamically allocated array to store the names of the new pets seen that are not in the existing array Add the names of all of the new pets seen into a new array (the names will be stored in the dynamically allocated array). Display the names of all of the animals in the existing array Display the names of all of the animals in the new database Allow the user to search for animal names or add…a C++ program that will load 100 integers into array n. Separate the even from the odd valued elements. The procedure should place the even values in ascending order starting from the first location of the original array and place the odd values in ascending order starting from the last position of the original array. Attached photo is the supposed result of the program created.Write a function that is given a list of int id's as a parameter, the id of the person looked for, and the length of the array. Use the data: Bob 123456 89 Suki 234567 77 Felix 345678 55 Julie 456789 67 The function searches the id array and returns the index of the id or -1 if the id does not exist. The main program outputs the name of the person at that index or a message that the person was not found. The name array (up to length number of students) and id array are declared in function main. Show all the declarations and the actual call. A sample run may look like the following: int SearchPerson(const int id[], int length,int who); Enter the id of the person 345678 That person is: Felix with a mark of 55 Enter the id of the person 444444 That person does not exist.
- In C programming languge: Write a function that takes an array of ints, and the size of the array – another int. It also returns a double. Call this one ‘average.’ Return a double that is the average of the values in the array. Demonstrate that it works by finding the average of an array with these values {78, 90, 56, 99, 88, 68, 92}İN C PROGRAMMİNG Write a program that fills an integer array of size 1000 with random positive integers between 1 and 10. Assume that each element represents a different city and the integers stored in the array represent the number of golds in those cities. The program traverses over the array and collects the golds at each city, starting from a random position. When the program visits a certain city, all of the golds are collected, and the visited element of the array becomes 0 (no gold is left at that city.) The journey continues with the rule given below. If the position at the nth step is denoted by pn, and the number of golds at the city pn is denoted by gn, ??+1 ={|(?? +??) ???1000|, ?????2=0. |(?? − ??) ??? 1000|, ????? 2 = 1 The program continues visiting cities until the last three visited city has no gold. The program, at each visit, should print out the following information: • The current city index (pn). • The previous city index (pn-1). • The number of golds at the…Using JavaScriptDefine a function getMonth which accepts number from 1 to 12 as an argument and return the descriptive name of the month. For example: getMonth(1) should return January while getMonth(12) returns December, finally getMonth(-1) returns null. Use array or object to define a list of names for the month and refrain from using if statement to check the argument if it's 1, 2, etc.
- please code in python A mining company conducts a survey of an n-by-n square grid of land. Each row of land is numbered from 0 to n-1 where 0 is the top and n-1 is the bottom, and each column is also numbered from 0 to n-1 where 0 is the left and n-1 is the right. The company wishes to record which squares of this grid contain mineral deposits. The company decides to use a list of tuples to store the location of each deposit. The first item in each tuple is the row of the deposit. The second item is the column. The third item is a non-negative number representing the size of the deposit, in tons. For example, the following code defines a sample representation of a set of deposits in an 8-by-8 grid.deposits = [(0, 4, .3), (6, 2, 3), (3, 7, 2.2), (5, 5, .5), (3, 5, .8), (7, 7, .3)]Given a list of deposits like the one above, write a function to create a string representation for a rectangular sub-region of the land. Your function should take a list of deposits, then a set of parameters…In this programming exercise you will implement two functions. The first function will prompt the user for a file containing the number of vertices and entries of the adjacency matrix of a graph. It will return a two-dimensional list (a list of lists) containing the adjacency matrix. The textfile is named inputfilename.txt am trying to read for the matrix 80 1 2 3 100 100 100 1001 0 2 100 3 4 100 1002 2 0 4 4 100 5 1003 100 4 0 100 100 4 100100 3 4 100 0 3 3 3100 4 100 100 3 0 100 1100 100 5 4 3 100 0 2100 100 100 100 3 1 2 0 def readMatrix(inputfilename): ''' Returns a two-dimentional array created from the data in the given file. Pre: 'inputfilename' is the name of a text file whose first row contains the number of vertices in a graph and whose subsequent rows contain the rows of the adjacency matrix of the graph. ''' # Open the file f = open(inputfilename, 'r') # Read the number of vertices from the first line of the file n =…in c++, use parallel arrays , and srand(time(NULL)) to randomize the two cards dealt at the start Create a Blackjack (21) game. Your version of the game will imagine only a SINGLE suit of cards, so 13 unique cards, {2,3,4,5,6,7,8,9,10,J,Q,K,A}. Upon starting, you will be given two cards from the set, non-repeating. Your program MUST then tell you the odds of receiving a beneficial card (that would put your value at 21 or less), and the odds of receiving a detrimental card (that would put your value over 21). Recall that the J, Q, and K cards are worth ‘10’ points, the A card can be worth either ‘1’ or ‘11’ points, and the other cards are worth their numerical values.