[solved] – Question 72076
Write a C++ code which reads the contents of a text file “first_file.txt”
Expert Answer
[solved] – Question 72077
Write a C++ code which writes the resultant words to the output file, “second_file.txt”.
Example: Content of first_file – “I am going to buy an umbrella”
Output in second_file.txt – I am an umbrella.
Expert Answer
[solved] – Question 72084
Write a C++ program to place random integers, whose values range from -100 to +100, into a
40 element integer array. The user should be able to choose how many values to place into the array.
Have main() output the values. Now call a function to calculate the lists mean average value (in floating point).
This same function should also find the two values in the array whose value is the closest to its average.
Main() should output the average and the two array values closest to the average.
Note: It is possible that the two values closest to the average may be identical.
Expert Answer
[solved] – Question 72085
Simple Text Mining Application
Input: a set of documents
Your program will read a set of documents (Word or pdf or text files) from a folder
1- tf_list.csv: Most frequent 50 words in the input set of documents,
2- tf_wordCloud.pdf: Word cloud of the these words
3- tfidf_list.csv: Most frequent 50 words in the input set of documents, sorted descending by their term frequency*inverse document frequency (tf-idf) coupled with their tf-idf values (comma seperated file, example: document;2.8)
Expert Answer
[solved] – Question 7210
write a program that prompts to enter student grade and name , 3 times for each of them and show the result of each name with the grade
Expert Answer
[solved] – Question 72101
Consider A, B, C as three arrays of size m,n and m + n respectively. Array A is stored in
ascending order where as array B is stored in descending order. Write a C++ program to
produce a third array C, containing all the data of arrays A and B and arranged in descending
order. Display the data of array C only.
Expert Answer
[solved] – Question 72102
Compare I/O based on polling with interrupt – driven I/O. In what situation would you
favor one technique over the other?
Expert Answer
[solved] – Question 72110
Write a C++ code which writes the resultant words to the output file, “second_file.txt”.
Example: Content of first_file – “I am going to buy an umbrella”
Output in second_file.txt – I am an umbrella
Expert Answer
[solved] – Question 72111
Explain what is difference between Pass-by-value and Pass-by-reference argument passing to a function .show the difference by example.
Expert Answer
[solved] – Question 72131
Create a class named MusicalComposition that contains fields for title, composer, and year written. Include a constructor that requires all three values and an appropriate display function. The child class NationalAnthem contains an additional field that holds the name of the anthem’s nation. The child class constructor requires a value for this additional field. The child class also contains a display function. Write a main()function that instantiates objects of each class and demonstrates that the functions work correctly. Save the file as Compositions.cpp.
Expert Answer

