C++ prog
Q: List and explain the two types of databases used by organisations for their daily transaction and de...
A: Lets see the solution.
Q: In excel,except for the ______ function, a formula with a logical function shows the word “TRUE” or ...
A: Excel supports logical operations on data
Q: 49-
A: option b is correct find the items with maximum value in numbers def myMax(list1): # initially ...
Q: Write the output of the following C program int main() { int x = 1, total = 0, y; while( x <= 10) { ...
A: Algorithm of program: 1. Initialising x=1 and total =0 and declare y2. Until x=10 do y=x*x Displ...
Q: write in python and show output
A: CODE: print("To determine the lines are parallel or not \n") def lines_are_parallel(line1, line2): ...
Q: When developing the presentation, which of the following allows you to show how ideas are related? S...
A: "We can solve one question at a time as per our guidelines" Given data is shown below:
Q: A carpooling application is responsible for connecting car owners driving from common source regions...
A: Hybrid apps : These are the apps that are developed across all platforms. Native apps : These are t...
Q: (Don't copy) Explain please
A:
Q: Write and Run the Assembly language instructions to do the following: Write Assembly language progra...
A: Write and Run the Assembly language instructions to do the following: Write Assembly language progra...
Q: In excel,Statistical calculations and preparation of tables and graphs can be done using. Select on...
A: Notepad - Notepad is a text editor software which is used to read write and modify text files. It ca...
Q: When we try to analyze the result-data of the last 10 semesters for the subject 'Programming-1' and ...
A: Lets see the solution.
Q: q23-
A: Python readline () is a file method that helps to read one complete line from the given file. It has...
Q: Which choice represents the expected upper bound for the run time of a push operation on a stack? O ...
A: Stack - Stack is a data structure in which record is inserted and deleted in the LIFO(Last In Firs...
Q: (Don't copy ) Explain please
A: we have to compare max and min strings equals() is the method to compare strings and it is case sen...
Q: QUESTION 1 Write a complete Java program to implement the above sorting algorithms (Quicksort, Merge...
A: Sample Response: //Java program to sort an array by using merge or quick sort accroing to user choic...
Q: Consider a personal computer that has two memorie available for fetching instructions and data to th...
A: Q
Q: Differentiate between block and inline tag elements.
A: Block tag elements A block-level element always starts on a new line. A block-level element always t...
Q: pleas use matlab
A: Q
Q: E-Government portal provides the online services to Select one: a. Businesses only b. None of thes...
A: E-Government portal provides the online services to c. Common Public
Q: Q7) Refer to the below exhibit. What protocol should be configured on SW-A Port O/1if it is to send ...
A: Lets see the solution.
Q: // pre: list != null, list.length > 0 // post: return index of minimum element of array ...
A: // pre: list != null, list.length > 0 // post: return index of minimum element of array ...
Q: Don't copy please Present a technological layout of the smart building to provide the owners with sy...
A: What is a Smart Building? Intelligent buildings bring together multi-disciplinary efforts in a bid t...
Q: THE CODE MUST BE IN PYTHON.
A: Python has many built-in functions. lower() method converts string to lowercase. split() method spli...
Q: In the table below, the information of the five tasks entered are given. If the system uses the Roun...
A: NONE FROM THE OPTIONS ARE CORRECT. Correct answer is 4ms
Q: What is the address of the memory location which contains the address of ISR for “int 10”? List the ...
A: What is the address of the memory location which contains the address of ISR for “int 10”? List the ...
Q: Java.
A: Given:
Q: write a C++ calculator program that make calculation of any 2 given numbers.Your program will only e...
A: #include <iostream> using namespace std;int calculator(int num1,int num2,int num3);int main(){...
Q: What will be the value of variable k after execution of the following code? int n[10] = { 32, 27, 64...
A: Given:
Q: Q2) Which of the following are benefits of VLANs? * Oo0oo0ooboo They increase the size of collision ...
A: Lets see the solution.
Q: Assume variables have logical addresses with 16-bit page numbers and 16-bit offset using the memory ...
A: The logical address is represented as combination of page number and page offset. physical address ...
Q: q28- You are developing a program which displays the name of the official spoken language for a use...
A: bool holds only 0 or 1 which is not suitable strings hold group of characters which is not suitable
Q: please solve this important, thanks
A: Array Indexing starts from 0 and when you try to access the element by the index outside the range, ...
Q: After graduation, do you see yourself pursuing computer studies related jobs? explain your answer.
A: Get clear about your career goals. Take some time to brainstorm what your career goals are for the...
Q: What is the difference between HTTP GET and POST methods/verbs?
A: There are various HTTP methods and GET and POST are few of them
Q: can you do for me this
A: Given: Developing fully functional database for existing system design.
Q: Write a for loop that prints all 2-digit positive even integer numbers, in decreasing order.(I.e. Yo...
A: Write a for loop that prints all 2-digit positive even integer numbers, in decreasing order. (I.e. Y...
Q: Select one of the following that is not a subject of the vision document. O Stakeholders O Users and...
A: "Vision Document" which generally contains the key business needs and features of the system from th...
Q: please provide full ans
A: NOTE:“Since you have posted a question with multiple sub-parts, we will solve first three subparts f...
Q: Which option is correct for the following graph? P2 R, P3 R2 PA Lütfen birini seçin: O a. The system...
A: The given resource allocation graph is not deadlocked but their is a possibility that it may reach t...
Q: Find Binomial Coefficient for 7C5 using dynamic programming approach. Also explain the relevantcompl...
A: import java.util.Scanner; public class BinomialCoefficient { public static long fact(int i) { ...
Q: In Ms-PowerPoint, Font section is in ___________ ribbon Select one: a. Design b. View c. Home d. R...
A: In Ms-PowerPoint, Font section is in c. Home ribbon
Q: Which of the following is the default page setup orientation for slides in PowerPoint? Select one: ...
A: -Page setup on a powerpoint is the form in which the powerpoint sheets are viewed . - We can change ...
Q: b) Show the output of the following code fragment. Then change this if-else-if codes to the switch c...
A: #include <iostream>#include<math.h>using namespace std;int main() { double a,t; int ...
Q: Select one: def f(x1, yl, x2, y2): s = x1 * x2 + y1 * y2 O a. return s def f(x1, y1, х2, у2): print(...
A: The expression definition is pretty clear that it will execute to some value. So, let's start by ana...
Q: What does the “a” ps command do?
A: For displaying information about the processes on a system, Linux has a utility called ps, which sta...
Q: How can you help yourself to be more knowledgeable and logical in creating an application program?
A: Given data is shown below: How can you help yourself to be more knowledgeable and logical in creat...
Q: i need the answer quickly
A: Given:
Q: (Please Don't copy) write the output of C program and INCLUDE ROUGH WORK as well. #include<stdio...
A: Rough Work: int x=5; The above statement initializes the 5 to the 'x' variable. int *y=&x; The...
Q: Calculate the second biggest even number in 4-digit Octal number system. a. 7772 O b. 6664 O c. 7774...
A: In number system, Octal Number start from 0-7, it is also called Base 8 Number system. 0, 2, 4 and...
Q: 12-
A: Given:
Step by step
Solved in 3 steps
- 1. Write a C++ program that creates a two-dimensional array or table of characters. The number of rows and number of columns of the array or table should be 15. Fill the array or table with random characters from a to z, and display the array or table of the characters in the console. Search the array or table for counting the number of each character and locate the position where the each character is stored. Generate a text file that contains the array or table of the characters, the number of each character, and the indexes where the each character is stored, for example, eg : a repeats 3 times at (1,2), (2,3), (3,3), c repeats 2 times at (2,2), (5,5) so on. a) Write/modify (the) program that reads the file created in Part(a) with exception handling and creates a new updated text file after removing all the vowels. use ofstream function thank youUSE C++ A taxi company has requested your assistance in creating a program to identify and display the car that generates the highest income. The company currently owns three cars, and the relevant data is stored in a file, including the car's number, model, and the distance between the pick-up and drop-off locations measured in kilometers. The company charges $1.5 for every kilometer travelled. The program needs to perform two actions. Firstly, it should generate a text file named "TaxiCars.txt" and input the data provided. After that, the program should retrieve the input from this file and save the outcome in a file called "income.txt". The result must be rounded to three decimal places. The program should use manipulators to format the output for better readability. Assessment: Using meaningful variable names. Adding enough comments to understand the program. Using indentation properly. A function that accepts a parameter as a link to an output file. The function…1. Write a C++ program that creates a two-dimensional array or table of characters. The number of rows and number of columns of the array or table should be 15. Fill the array or table with random characters from a to z, and display the array or table of the characters in the console. Search the array or table for counting the number of each character and locate the position where the each character is stored. Generate a text file that contains the array or table of the characters, the number of each character, and the indexes where the each character is stored, for example, eg : a repeats 3 times at (1,2), (2,3), (3,3), c repeats 2 times at (2,2), (5,5) so on. a) Write/modify (the) program that reads the file created in Part(a) with exception handling and creates a new updated text file after removing all the vowels. use ofstream function Please do not use vector, for (int i = 0; i < 15; i++){for (int j = 0; j < 15; j++){fileOut << array[i][j] << "…
- In C Programming Language. - use user-defined functions.- use an array of arrays.- use file pointers- use string processing and character conversions.- use a dynamic memory function calloc() or malloc() - Demonstrate the ability to read a file and process the data. Problem: You are tasked to write a program that will perform a statistical analysis of student records. Your program will open a text file (provided) and store the values read into an array (2d). Your program will then close the input file and process the data. Your program will print out the records to screen and will then print out the average quiz scores per student.For each student in the provided text input file there is a name of up to 20 characters, an id number of five alphanumeric values (n1234), 4 exm grades in order: exm 1 – exm 4.You may use a fixed 2d array size of 80 characters for the input file name. You must use a dynamic array for at least one task in your program. You may declare your filename array using…Constraints: Use Python Don't use global variables Don't use external libraries (PIL and os are allowed) Start the program with a main function (def main():) Content: Ask the user to input a .jpeg/.jpg image. Once a jpeg file is uploaded, create a function with the argument img_info and return a tuple with the image's dimensions in pixels (w, h) and the image data in a form of a list of tuples with RGB values. Print out the values/data collected.I need help making C++ code. I need help writing a program that asks the user for the name of a text file. The program should display the first 10 lines of the file on the screen. If the file has less than 10 lines, the entire file should be displayed along with a message indicating the entire file has been displayed.
- File Handling with Multi Dimension Array: C++ Language: Write a c++ program to read the data from the file into array and Calculate the rows and columns in the multi dimension. Take any problem of your choose.Language: Python 1. The sample input will have to be in Text File (.TXT) 2. By using the first function, this program reads score and name values from a file. The program then determines the grade for each students by using the second function. Finally, the program displays the name, score, and grade information on the console. The two functions are shown in the images attached below:Problem Definition Task. Your task is to develop a python program that reads input from text file and finds if the alphanumeric sequence in each line of the provided input file is valid for Omani car license plate. The rules for valid sequences for car plates in Oman are as follows: Each sequence is composed of 1 to 5 digits followed by one or two letters. Digits cannot start with 0, for instance, 00, 011, or 09 are not valid digit sequences. The following list are the only valid letter combinations: ['A','AA','AB','AD','AR','AM','AW",'AY"', 'B', BA','BB','BD',"BR','BM',"BW',"BY', 'D','DA','DD','DR','DW','DY', 'R','RA','RR','RM','RW','RY', 'S','SS', 'M','MA','MB','MM','MW','MY", "W',"WA',WB',"wW', Y,YA','YB','YD','YR','YW',YY] Program Input/Output. Your program should read input from a file named plates.txt and write lines with valid sequences to a file named valid.txt. Any line from the input file containing invalid sequence should be written to a file named invalid.txt. Each line…
- 1 Goals Use C++ to read data from a text file and create an array of numbers. Use the C++ 'fstream' library functions to open, read and close a text file. You can use the C++ 'iomanip' library to format your output and manage whitespace on your input. Graduate students must create and write the data to a new text file. 2 Your assignment is to create a program that does the following: a. You will need to create a new file (you can do this in the file system – make it plain text) and call it mydata.txt. b. Put a column of numbers in the text file to read later. Pay attention to type – make them all have decimal points. In repl.it, use the numbers in my file. c. Based on the examples in the slides (L3) and the textbook, write a C++ program, include 'iostream' and 'fstream'. You might need 'iomanip'. d. Your program should read the numbers from the file into an array and print the array to the console in reverse order using a for loop. e. Graduate Students must also print the output to a…C++Create a program: Given a large text file with multiple strings, what would be the most efficient way to read the text file and count how many and which word appears the most repated word in a text file The text file's size is unknown. I add an image for input .Assuming that a text file named FIRST.TXT contains some text written into it, write a function namedcopyupper(), that reads the file FIRST.TXT and creates a new file named SECOND.TXT contains allwords from the file FIRST.TXT in uppercase. (write c++ code)