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
- Practice problem we were given in C++ to review for test. Thanks Write a program that reads data from a data file, the value of which is provided at the end of the problem. Your program is to incorporate the following requirements: Data to the program is input from a file of an unspecified length; that is, the program does not know in advance how many numbers are in the file. Save the output of the program in a file. Write a function called getNumber which reads a number from the input file, outputs the number to the output file and the monitor and sends the input number to the function main. Make sure, both input and out file are being opened in the main program. Write a function called classifyNumber which counts number of even, odd, and zero (occurrences of zero) available in the input file. Have the program find the sum and average of the numbers and print only 10 numbers per line. Write a function called printResult so that it outputs (in output file and monitor) even number of…answer in c program -Write a function to output patient information that are stored in a file. One of the parameters of the function must be no. of patients to output and another one the name of the file where the patients’ information is stored.ANSWER IN C PROGRAM -Write a function to input patient information and store it in a file. One of the parameters of the function must be no. of patients to input and another one the name of the file to store the information.
- answer in c program -Write a function to input patient information and store it in a file. One of the parameters of the function must be no. of patients to input and another one the name of the file to store the information. Write a function to output patient information that are stored in a file. One of the parameters of the function must be no. of patients to output and another one the name of the file where the patients’ information is stored Write a function to sort the patients’ information based on their status.Please solve and show steps, work, and information related to this problem. Thank you. The following C++ code performs a set of various arithmetic operations using both pointers and references: Fill in a memory table that shows the final values for both function a and function b. Indicate the final values of each parameter, passed in variable(s), and the return value of the function. Provide a separate copy of this memory table for each function.Please the code must be in c program Complete the two functions rotate_right and sudoku_checker according to the specifications given in the associated comments. NOTES: the given starter code includes a display function and a function which reads a board from a file. As given, the main program attempts to read a 9x9 board from an input file given on the command line"
- use code to develop a C program that gets a source file name from a user. If the file does not exist, it will generate a proper error and exits. If the file exists, it also gets the name of two files from the user, say destination1 and destination2. These files don't need to exist as they are files that need to be written to. The program then reads the source file line by line. If the line starts with an uppercase and ends with a lower case, it copies that line to dest1 (first destination file) If the line starts with a lowercase and ends with a dot ('.'), it copies that line to dest2 (second destination file) If neither of the above hold, the program discards that line (doesn't copy it anywhere) The program then displays a report mentioning how many lines were copied into each destination file. Don't forget to close all the files. Example: Assume that the source file is (<NL> = new line, <EOF> end of file): Souce: "myfile.txt" This is my first line<NL>…Please use C Programming how to write a function definition to match given function interference, the code does not have to work, it is just for my understanding. int save_array(const char *filename, const int *a, int n );//REQUIRES: filename points to the start of a string.// n>0 and element a[0]....a[n-1] exist.// PROMISE:// if the test file with name filename can be successfully opened,// the value of n is printed to the file, followed by the values of // a[0]....a[n-1], one number per line // the return value is 0 for success, 1 for failure to open the file,// and 2 if an error is detected closing the fileHi, in C programming , I try to implement 2 functions to check those followings instructions in a file text : The first function :Find the number of words with duplicates on a file The second function: • Find the most frequent letter (without considering duplicates) Finally write those results on another file. Thanks
- I am struggling with ubuntu and c! I need to make a simple program that contains a main.c file and a library called statistics.c and statistics.h. Within the libraries, how would I create multiple functions to take an array of arbitrary length of numbers and adds them, calculates the average, and finds the standard deviation? Finally, I need to use 3 different arrays (size and values) in your main function. I don't even know how to open the file I created though. Please explain this to me like I am a child, I am so lost and haven't used c & ubuntu in over 3 years :(I am struggling with ubuntu and c! I need to make a simple program that contains a main.c file and a library called statistics.c and statistics.h. Within the libraries, how would I create multiple functions to take an array of arbitrary length of numbers and adds them, calculates the average, and finds the standard deviation? Finally, I need to use 3 different arrays (size and values) in your main function. I don't even know how to open the file I created though. Please explain this to me like I am a child.C++ Programming How many bits in a byte? multiples of 8 bit How many bytes in a double? __________ When assigning a float variable to an int variable, what is lost? __________ In the statement x = y; which variable is updated, x or y? _____ What include file is needed to make use of vector variables? ________ Give an example of a unary operator and a binary operator. _________ Write a line of code that declares an int type of variable and initializes it to the value 23. ____________________________ A variable declared outside of any function is called a __________ variable. You end a multi-line comment with ______________. What do you call the variable RATE in the following statement: const double RATE = 0.75; _________________________ What is the function performed by the cout object? ____________________ You can put several statements on the same line, true or false? _______ Write a single statement that outputs two variables x and y to the screen. _____________________ After the…