Using Sample Program Explain Inheritance C Use Different Access Modifiers Demonstrate Flo Q43886763

Using a sample program, explain inheritance in C++. You shoulduse different access modifiers to demonstrate the flow ofaccessibility within the inherited classes.

Expert Answer


Answer to Using a sample program, explain inheritance in C++. You should use different access modifiers to demonstrate the flow of…

Using Sample Program Explain Usage Default Constructor C Program Implement Least Two Vers Q43886757

Using a sample program, explain the usage of default constructorin C++. Your program should implement at least two versions ofconstructors (1-default and at least one another constructor).

Expert Answer


Answer to Using a sample program, explain the usage of default constructor in C++. Your program should implement at least two vers…

Using Simple 16 Bit Floating Point Representation Class Result Hex Adding Together Floatin Q43908385

Using the simple 16 bit floating point representation fromclass, what is the result (in Hex) of adding together the floatingpoint numbers 0xE1A3 and 0x8A1C?

Expert Answer


Answer to Using the simple 16 bit floating point representation from class, what is the result (in Hex) of adding together the flo…

Using Sql Display Manager Number Salary Lowest Paid Employee Manager Exclude Anyone Whose Q43892646

*****USING SQL*****

  1. Display the manager number and the salary of the lowest paidemployee for that manager. Exclude anyone whose manager is notknown. Exclude any groups where the minimum salary is $6,000 orless. Sort the output in descending order of salary.
  2. Write a query to display each department’s name, location,number of employees, and the average salary for all employees inthat department. Label the columns Department , Location, Number ofWorkers, and Average Salary, respectively. Round the average salaryto two decimal places.

Expert Answer


Answer to *****USING SQL***** Display the manager number and the salary of the lowest paid employee for that manager. Exclude anyo…

Using Sql Write Query Displays Difference Highest Lowest Salaries Label Column Difference Q43886835

****USING SQL*****

Write a query that displays the difference between the highestand lowest salaries. Label the column DIFFERENCE.

Expert Answer


Answer to ****USING SQL***** Write a query that displays the difference between the highest and lowest salaries. Label the column …

Using System Using Systemcollectionsgeneric Using Systemdiagnostics Namespace Simplesort C Q43862441

using System;

using System.Collections.Generic;

using System.Diagnostics;

namespace SimpleSort

{

    class Sort

    {

        static voidMain(string[] args)

        {

           Console.Write(”     How manyrandom numbers to you want to sort = “);

           string UserInput = Console.ReadLine();

           int size = Convert.ToInt32(UserInput);

           Random rand = new Random();

           int[] arr = new int[size];

           Console.WriteLine(“nn    Unsorted————“);

           //Generate an unsorted array

           for (int i = 0; i < size; i++)

           {

               arr[i] = rand.Next(0, 100);

               Console.WriteLine(”     ” + arr[i]);

           }

           Console.WriteLine(“nn     Built-InSort————“);

           //The built-in “arr.Sort” sorts “in-place”,

           //i.e. it destroys the original unsorted arr.

           //We need to make a temporary copy of the original.

           int[] temp = new int[size];

           Array.Copy(arr, temp, size);

           Stopwatch s = new Stopwatch(); // start the stopwatch

           s.Start();

           Array.Sort(temp);

           s.Stop();   //stop the Stopwatch and print the elapsedtime

           Console.WriteLine(”     It took {0} to sort {1}numbersnn”, s.Elapsed, size);

           for (int i = 0; i < size; i++) {Console.WriteLine(”     ” + temp[i]); }

           Console.WriteLine(“nn     SelectionSort————“);

           SelectSort(arr);

           for (int i = 0; i < size; i++) {Console.WriteLine(”     ” + arr[i]); }

           Console.ReadKey();

        }

        static voidSelectSort(int[] arr)

        {

           int min;

           int min_index;

           int temp;

           int size = arr.Length;

           Stopwatch s = new Stopwatch(); // start the stopwatch

           s.Start();

           for (int i = 0; i < size; i++)

           {

               min = arr[i];

               min_index = i;

               for (int j = i + 1; j < size; j++)

               {

                   if (arr[j] < min) { min = arr[j]; min_index = j; }

               }

               // the smallest element smaller than the current head of the list(if there is one)

               // is swapped with the current head of list.

               if (min_index != i)

               {

                   temp = arr[i];

                   arr[i] = arr[min_index];

                   arr[min_index] = temp;

               }

           }

           s.Stop();   //stop the Stopwatch and print the elapsedtime

           Console.WriteLine(”     It took {0} to sort {1}numbersnn”, s.Elapsed, size);

        }

    }

}

1. Assignment 1 (50 Points) Use the selection sort program discussed in class (attached) and run it with inputs of length, 25

1. Assignment 1 (50 Points) Use the selection sort program discussed in class (attached) and run it with inputs of length, 25, 50, 75, 100, 150, 200, 250, 300, 350, 400. Record the execution times for our selection sort and the built-in sort. Enter the recorded execution times into Excel and graph. On the same graph also graph n^2, and n*log(n) (using the same values for n (25, 50, 75, 100, 150, 200, 250, 300, 350, 400). 2. Problem 1 (50 points): Ask the user to enter a string (e.g. “Welcome to Saint Martin’s U!”). Your program should count and display the total number of vowels (A, E, I, 0, U) – count both uppercase and lowercase vowels – in that given input. In the example above, the output should 9. [Hint: Convert the string to all upper (or all lower) case to safe having to check ‘A’ or ‘a’ for each vowel respectively.] 3. Problem 2 (50 points): Ask the user to enter a positive integer b. Validate the input (to make sure it is positive). Then output whether or not the number b is divisible by 3. (Hint: Modulus operator] Show transcribed image text 1. Assignment 1 (50 Points) Use the selection sort program discussed in class (attached) and run it with inputs of length, 25, 50, 75, 100, 150, 200, 250, 300, 350, 400. Record the execution times for our selection sort and the built-in sort. Enter the recorded execution times into Excel and graph. On the same graph also graph n^2, and n*log(n) (using the same values for n (25, 50, 75, 100, 150, 200, 250, 300, 350, 400). 2. Problem 1 (50 points): Ask the user to enter a string (e.g. “Welcome to Saint Martin’s U!”). Your program should count and display the total number of vowels (A, E, I, 0, U) – count both uppercase and lowercase vowels – in that given input. In the example above, the output should 9. [Hint: Convert the string to all upper (or all lower) case to safe having to check ‘A’ or ‘a’ for each vowel respectively.] 3. Problem 2 (50 points): Ask the user to enter a positive integer b. Validate the input (to make sure it is positive). Then output whether or not the number b is divisible by 3. (Hint: Modulus operator]

Expert Answer


Answer to using System; using System.Collections.Generic; using System.Diagnostics; namespace SimpleSort { class Sort { static voi…

Using Tabular Format Describe Use Cases Book S Weather Station S Report Weather Restart Fu Q43821645

using tabular format, describe the use cases for the book’s weatherstation’s report weather and restart functionalities. Make andstate reasonable assumptions about the functionalities .

Expert Answer


Answer to using tabular format, describe the use cases for the book’s weather station’s report weather and restart functionalities…

Using Template Assignment Create Pivottables Answer Following Questions Name Sheet Contain Q43790097

Using the template for this assignment, create PivotTables thatanswer the following questions. Name the sheet that contains thePivotTable for the first question Q1, the sheet that contains thePivotTable for the second question Q2, and the sheet that containsthe PivotTable for the third question on Q3.

In newer versions of Excel, PivotTables become linked togetherif they have the same source data, and changes made to onePivotTable may make changes to another PivotTable. It isrecommended that you make a copy of the source data for each of theproblems below. You can do this by right-clicking on the worksheetname at the bottom of the Excel window, choosing Move orCopy…, and choosing where in order it falls in the list oftabs. To be able to keep track of which worksheet of data belongsto which PivotTable, you should double-click the name of theworksheet to rename it.

  1. Create a PivotTable that shows how much money is deposited eachday of the week. Apply data bars through conditional formatting tomake the total for each day appear to be similar to a bar on a barchart.
  2. Create a PivotChart showing the number of accounts opened bybranch in a pie chart. (Alternatively, create a PivotTable showingthe number of accounts opened by branch, and then create a piechart from this table.)
  3. Create a PivotTable showing the number of transactions inincrements of $10,000 by account type.

Expert Answer


Answer to Using the template for this assignment, create PivotTables that answer the following questions. Name the sheet that cont…

Using Textbook Topic Materials Research Write 100 250 Word Response Question Cite Sources Q43833139

Using the textbook, Topic Materials, and your own research,write a 100-250 word response to each question below. Cite thesources used for answering each question, and include real-worldexamples in the answer to each question.

  1. Define a tuple. How and where does a tuple fit intorelational database theory? Why is this an important concept tounderstand?
  2. How does an object-oriented database management system (OODMS)compare to a relational database management system (RDBMS)? Whatare the key features of an OODBMS, and how can a developer utilizethem?
  3. What is the difference between a Relation in an RDBMS and aClass in an OODBMS? Are they interchangeable, If so, explainhow.
  4. Contrast an object-relational database management system(ORDBMS) with an RDBMS? Describe the unique features and provide anexample of how an OODBMS might be preferable to an RDBMS.
  5. Contrast the attributes and functionality of an OODBMS versusan ORDBMS. Explain why RDBMS platforms are used more frequently inbusiness than either of these object-oriented platforms.
  6. From an entity relationship diagram (ERD) standpoint, wouldthere be a significant difference between using an ORDMBS versus anRDBMS? Explain why or why not, and discuss specific instances inwhich differences are the deciding factor.

Prepare this assignment according to the guidelines found in theAPA Style Guide, located in the Student Success Center. An abstractis not required.

This assignment uses a rubric. Please review the rubric prior tobeginning the assignment to become familiar with the expectationsfor successful completion.

You are required to submit this assignment to LopesWrite. Pleaserefer to the directions in the Student Success Center.

Expert Answer


Answer to Using the textbook, Topic Materials, and your own research, write a 100-250 word response to each question below. Cite t…

Using Textbook Topic Materials Research Write 100 250 Word Response Question Cite Sources Q43874970

Using the textbook, Topic Materials, and your own research,write a 100-250 word response to each question below. Cite thesources used for answering each question, and include real-worldexamples in the answer to each question. Define a tuple. How andwhere does a tuple fit into relational database theory? Why is thisan important concept to understand? How does an object-orienteddatabase management system (OODMS) compare to a relational databasemanagement system (RDBMS)? What are the key features of an OODBMS,and how can a developer utilize them? What is the differencebetween a Relation in an RDBMS and a Class in an OODBMS? Are theyinterchangeable, If so, explain how? Contrast an object-relationaldatabase management system (ORDBMS) with an RDBMS? Describe theunique features and provide an example of how an OODBMS might bepreferable to an RDBMS. Contrast the attributes and functionalityof an OODBMS versus an ORDBMS. Explain why RDBMS platforms are usedmore frequently in the business than either of theseobject-oriented platforms. From an entity-relationship diagram(ERD) standpoint, would there be a significant difference betweenusing an ORDMBS versus an RDBMS? Explain why or why not, anddiscuss specific instances in which differences are the decidingfactor. Prepare this assignment according to the guidelines foundin the APA Style Guide, located in the Student Success Center. Anabstract is not required. This assignment uses a rubric. Pleasereview the rubric prior to beginning the assignment to becomefamiliar with the expectations for successful completion. You arerequired to submit this assignment to LopesWrite. Please refer tothe directions in the Student Success Center.

Expert Answer


Answer to Using the textbook, Topic Materials, and your own research, write a 100-250 word response to each question below. Cite t…