1. Create a program using array having a size of 10, that will accept positive numbers only but less than 50. 2. Create a program using array having a size of 10, that will accept negative numbers only but greater than - 50 and less than 0. Display the inputted numbers.
Q: [Computing on the Cloud] What are the necessary components for managing SLAs?
A: Service Level Agreements(SLA): Service Level Agreements are contracts between Service Providers or…
Q: What are the major differences between the ARM and Core i3 architectures?
A: The above question is answered in step 2 :-
Q: Wireless networks are susceptible to a diverse set of challenges due to the qualities that make them…
A: Start: In order to function effectively in the modern day, corporate enterprises are dependent on…
Q: TEST CASE #1: If the starting floor is 1 and destination floor is 5, Program will display: "2" "3"…
A: I have provided C++ CODE along with CODE SCREENSHOT and 3 OUTPUT…
Q: Users may benefit from an application's modular architecture in a variety of ways, but how exactly…
A: modular architecture: It is a process which splits a computer program into individual sub-programs.
Q: Because of their inherently decentralized and unstructured character, wireless networks are prone to…
A: Given: The provided question is from the field of computer science's computer network stream. In…
Q: tages does it provide to end users when a computer softw
A: Introduction: Below the kinds of advantages does it provide to end users when a computer software…
Q: Provide a condensed account of the development of wireless LAN standards.
A: A local area network is a collection of devices connected together in one physical location, such…
Q: What is the technical term for compressing the Microsoft Developer Network?
A: Introduction: The bandwidth of the internet is a finite resource. The responsiveness of an app is…
Q: ndations regarding long-term data sto
A: Introduction: Below the Describe one of the best long-term data storage for this organization
Q: In the context of the architecture of a network, what role does a firewall play?
A: Firewalls: Firewalls control network traffic. Computers and servers devoted to this job may be…
Q: What is the driving force behind the creation of an operating system's microkernel? Is there a…
A: Given: What's the microkernel's guiding principle? What's the biggest difference from modular?…
Q: Operating systems make every effort to store file blocks in a sequential order on the hard disk. Why…
A: Given: At the bottom of the stack are the physical components, such as magnetic media, motors, and…
Q: In order for a network to function appropriately and efficiently, what three characteristics must it…
A: When two or more computers are connected together, resources (such as printers and CDs) may be…
Q: I need help in creating a C function using strtok that will separate a string from the text file and…
A: To perform a specific task some set of grammatical rules and vocabulary used for give instruction to…
Q: Software quality assurance testing is the topic. Assume you're working on a website for a university…
A: software evaluation: Software testing is the process of examining and verifying that a software…
Q: As you construct the framework, identify the potential problems and then assess the challenges and…
A: Intro In the following phases, we will investigate the obstacles that must be overcome while…
Q: Use String methods to divide the given email into separate parts. The email will always be in this…
A: Step-1: StartStep-2: Declare variable str and take input from userStep-3: Declare a string array arr…
Q: Is it possible for cloud computing to solve all of a company's problems with its information…
A: Given question has sked Is it possible for cloud computing to solve all of a company's problems with…
Q: Why is it important to build and distribute software quickly? When a product is delivered with…
A: Given: Rapid application development (RAD) generates higher-quality applications more quickly by…
Q: Cloud computing has the potential to impact the world in numerous ways. Is it feasible to summarise…
A: INtro Cloud computing: Cloud computing is the use of the internet to access resources such as…
Q: What exactly is meant by the term "ForkJoinTask"? What are the key distinctions between the…
A: ForkJoinTask is a thread entity which is very lightweight than normal threads and it begins…
Q: In linear programming problems, the object function is more important than the limits; what does it…
A: Object function: Any object that can be invoked as if it were a function is referred to as a…
Q: The following is a list of the primary tasks that fall within the purview of an operating system:
A: Inspection: We'll go through operating system responsibilities in depth and why they're vital. The…
Q: In your Engineering program, how do you plan to link the various programming ideas?
A: Programming: Programming is a complicated and appealing field that appeals to a wide range of…
Q: The look and feel of Ubuntu Server set it apart from competing server operating systems.
A: Ubuntu Server is an operating system for servers that was developed by Canonical and open source…
Q: | 4. Graph the function spike(x) = 3x² - 4+2. Find an appropriate window for fandfprime for spike.…
A:
Q: Is it true that a router will only route MAC addresses and will not route any other addresses?…
A: Introduction: A MAC address is a unique way to identify a NIC (Network Interface Controller or…
Q: Discuss the many versions of Microsoft Windows that are available as well as the significant and new…
A: MICROSOFT DISK OPERATING SYSTEM (MS-DOS) (1981) Microsoft built MS-DOS for IBM, and it was the…
Q: Why is the internet regarded as one of the best examples of modern information and communications…
A: Introduction: ICT stands for infocomm technology.
Q: e most crucia
A: An operating system is a group of system software that is liable for controlling a PC's hardware and…
Q: How are the ideas of cohesion and coupling connected to the practice of creating well-designed…
A: Given: The link between the modules is represented by cohesion. The modules' relative lack of…
Q: Explain the four P's of effective software project management with appropriate examples?
A: Introduction: Effective software project management depends on the following four factors: 1.…
Q: Discuss the components of the Von Neumann Architecture, which turned computers from "Special Purpose…
A: Intro Central Processing Unit (CPU) is a component of the Von-Neumann model. 1. Computer Central…
Q: Using c++Write a program which accepts a number corresponding to a plane figure: 1. RightTriangle 2.…
A: The code implementation is given in the below steps. The Algorithm: The different functions are…
Q: What role does software project management play in the software development process?
A: Given: Software developers need to participate in effective planning, organizing, and monitoring in…
Q: •1. How can we calculate the address of "a[2][3]” in "int a[5][10]" ?
A: here in the given question ask for address .
Q: What are the benefits of using IPv6? Discuss the issue of whether or not an IPv6 network is capable…
A: IPv6 has a number of advantages: The following is an explanation of IPv6's advantages. 1 - Routing…
Q: First Name: Juan Carlo Middle Name: Romero Last Name: Dela Cruz Character Details: Name: Juan Carlo…
A: The above question is solved in step 2 :-
Q: List and describe the four ways that are utilized to bridge the gap between the processor and main…
A: Given: Random-access memory (RAM) and read-only memory (ROM) are the two most common forms of…
Q: a) Write HTML code for following web form Library Card King Own's Institue Name Expiry Date Library…
A: HTML(Hyper Text Markup Language): HTML is a standard Markup language for web pages. HTML is used to…
Q: We are not qualified to discuss the operation of operating systems in and of themselves at this…
A: Launch: Independent processes are those that operate in the background on a system without being…
Q: When it comes to technology, what distinguishes architectural design from computer-based…
A: Answer to the given question: In 3D PC illustrations, 3D demonstrating is the most common way of…
Q: Whether you're using the operating system or an application while working with virtual machines…
A: Virtual machines: Virtual machines may execute applications and programmes in the same manner, as…
Q: In what ways, and at what times, does ict benefit or harm society?
A: Given: ICT is a computer-based data, information, and idea management technology. It refers to…
Q: "When a switch employs the store-and-forward switching mechanism, it decides whether or not to…
A: Intro Among the fundamentals of their everyday lives, network engineers must be familiar with a wide…
Q: Magnetic drives may be partitioned such that databases only use the outside tracks while the inside…
A:
Q: Explain how a firewall and a packetized data stream are comparable.
A: A correct answer is an option. Essential Considerations The firewall may reassemble a data stream…
Q: Where on a computer network with two servers and twenty workstations would one be best served to…
A: Answer: The best solution is to install anti-virus on all the computers in the network. This will…
Q: Is there a problem with a variety of different information systems in the workplace? What options do…
A: It is possible to accomplish corporate goals with the help of an information system, which is…
Can someone help me program it in C + + language thanks
Step by step
Solved in 7 steps with 4 images
- (Numerical) a. Define an array with a maximum of 20 integer values, and fill the array with numbers input from the keyboard or assigned by the program. Then write a function named split() that reads the array and places all zeros or positive numbers in an array named positive and all negative numbers in an array named negative. Finally, have your program call a function that displays the values in both the positive and negative arrays. b. Extend the program written for Exercise 6a to sort the positive and negative arrays into ascending order before they’re displayed.(Electrical eng.) Write a program that declares three one-dimensional arrays named volts, current, and resistance. Each array should be declared in main() and be capable of holding 10 double-precision numbers. The numbers to store in current are 10.62, 14.89, 13.21, 16.55, 18.62, 9.47, 6.58, 18.32, 12.15, and 3.98. The numbers to store in resistance are 4, 8.5, 6, 7.35, 9, 15.3, 3, 5.4, 2.9, and 4.8. Your program should pass these three arrays to a function named calc_volts(), which should calculate elements in the volts array as the product of the corresponding elements in the current and resistance arrays (for example ,volts[1]=current[1]resistance[1]). After calc_volts() has passed values to the volts array, the values in the array should be displayed from inside main().(Electrical eng.) a. An engineer has constructed a two-dimensional array of real numbers with three rows and five columns. This array currently contains test voltages of an amplifier. Write a C++ program that interactively inputs 15 array values, and then determines the total number of voltages in these ranges: less than 60, greater than or equal to 60 and less than 70, greater than or equal to 70 and less than 80, greater than or equal to 80 and less than 90, and greater than or equal to 90. b. Entering 15 voltages each time the program written for Exercise 7a runs is cumbersome. What method could be used for initializing the array during the testing phase? c. How might the program you wrote for Exercise 7a be modified to include the case of no voltage being present? That is, what voltage could be used to indicate an invalid voltage, and how would your program have to be modified to exclude counting such a voltage?
- (Electrical eng.) Write a program that stores the following resistance values in an array named resistance: 16, 27, 39, 56, and 81. Your program should also create two arrays named current and power, each capable of storing five double-precision numbers. Using a for loop nd a cin statement, have your program accept five user-input numbers in the current array when the program is run. Your program should store the product of the values of the squares of the current array and the resistance array in the power array. For example, use power[1]=resistance[1]pow(current[1],2). Your program should then display the following output (fill in the chart):Please write a program to find the following values form the array:int a[] = {20, 34, 18, 9, 43, 22, 16, 45}; The sum value of the array The average value The maximum value of the array The minimum value of the arrayWhat is wrong with this code? (choose one answer only) int [ ] =(1, 2, 3, 4, 5); a) The array size must be specified in the square brackets. b) The parentheses should be square brackets. c) The square brackets should be curly braces. d) The parentheses should be curly braces.
- The following code creates a small phone book. An array is used to storea list of names and another array is used to store the phone numbers thatgo with each name. For example, Michael Myers’ phone number is 333-8000 and Ash Williams’ phone number is 333-2323. Write the functionlookupName so the code properly looks up and returns the phone numberfor the input target name.int main(){using namespace std;string names[] = {"Michael Myers","Ash Williams","Jack Torrance","Freddy Krueger"};string phoneNumbers[] = {"333-8000","333-2323","333-6150","339-7970"};string targetName, targetPhone;char c;do{cout << "Enter a name to find the "<< "corresponding phone number."<< endl;getline(cin, targetName);targetPhone = lookupName(targetName,names, phoneNumbers,4);if (targetPhone.length() > 0)cout << "The number is: "<< targetPhone << endl;elsecout << "Name not found. "<< endl;cout << "Look up another name? (y/n)"<< endl;cin >>…1.Write the code to take an array (int stuff[100]) and initialize each element of stuff to -1. 2.Write the code to take an array (int stuff[100]) and initialize each element with user input a.Update the program to sum the values in the array. b.Update the program to print all elements of the array in reverse order. c.Update the program to search through the array and find the smallest value in the array. d.Update the program to search through the array for the value 6, and print “found it”, if it exists. #####java only#####Q1: Write a program that creates an array of integers size 10. And do the following- a) Ask the user to enter 10 numbers (all > 0) one by one and store them in the array. If user enters a number < 0 then program should ask user to enter the number again with a message that "Pl enter a number > 0" b)Print the smallest number c) Print the largest number d)Print the average
- C++ : You are given an array of integers representing asteroids in a row. For each asteroid in the array/row, the absolute value represents its size, and the sign represents its direction (positive meaning right, negative meaning left). Each asteroid moves at the same speed. Find out the state of the asteroids after all collisions. If two asteroids meet, the smaller one will explode. If both are the same size, both will explode. Two asteroids moving in the same direction will never meet. Example 1: Input: asteroids = [5,10,-5] Output: [5,10] Explanation: The 10 and -5 collide resulting in 10. The 5 and 10 never collide. Example 2: Input: asteroids = [8,-8] Output: [] Explanation: The 8 and -8 collide exploding each other. Example 3: Input: asteroids = [-2,-1,1,2] Output: [-2,-1,1,2] Explanation: The -2 and -1 are moving left, while the 1 and 2 are moving right. Asteroids moving the same direction never meet, so no asteroids will meet each other. Write a C++ program…PART C. Write a program, ArrayRange, that asks the user to input integers and that displays the difference between the largest and the smallest. You should ask the user the number of integers s/he would like to enter (this will allow you to set the length of the array). Allow the user to input all the numbers and then store them in the array. Search the array for the largest number, then search for the smallest, and finally compute the calculation. Display all the numbers given by the user, the max number, the min number, and the difference. Sample Output: How many integers will you enter? 6 Enter 6 integers: 7 15 9 4 12 17 You entered: 7 15 9 4 12 17 Min: 4 Max: 17 Range: 13 (An example of finding the largest element can be found in the lecture slides. In principle, the same approach applies to finding the smallest.)The most commonly used arrays in business applications are ____-dimensional and ____-dimensional. a. zero, one c. two, three b. one, two d. three, four If N is the number of variables in an array, the last variable of the array is assigned a subscript of ____. a. N-2 c. N b. N-1 d. N+1 The statement ____ assigns the character X to the first element of the letters array. a. letters[0] = 'X'; c. letters[1] = 'X'; b. letters[1] = "X"; d. letters[0] = "X"; A subscript is also called a(n) ____. a. iterator c. key b. index d. scalar When using bubble sort to sort an array in ascending order, at the end of the first pass, the ____ value is stored in the last position of the array. a. median c. largest b. mean d. smallest ____ declares and initializes a four-element string array named sales; each element is initialized to 0.0. a. string…