student teacher data management project
For the following data set {25, 74, 45, 65, 17, 31, 64, 50}, Perform insertion sort and write output of each iteration
Each of the following pair represent vertices of an edge, Draw graph of them. Show Adjacency List Representation of graph. (Only diagram and No code)
Write code to in the form of function to delete a sub-tree of general tree whose parent node is p
Write the declaration of binary tree as ADT. In this ADT, write a function in to count number of nodes in a binary tree
How do i make dependent combo box in qt creator with C++ code. Lets say i have two combo box. I select option 1 in combo box 1, it should display certain option in combo box 2 only.
Complete Program.
int word_count(ifstream &in ); // return the number of words in text 1
int character_count(ifstream &in); // return the number of characters
#include "stdafx.h"
#include <iostream>
# include <string>
# include<fstream>
using namespace std;
int main()
{ ifstream in; in.open(“text1.txt”);
cout<< “number of words”<< word_count(in )<<endl;
cout<< “number of characters”<<character_count(in)<<endl;
in.close( );
}
Write a program that takes input from rawdata1.txt and writes a neat list of output to the screen
and to neat1.txt. Formatting instructions are used to create a neater layout: Numbers are written
one per line in a field width of 10. Each number is written with 3 digits after the decimal point.
Each number is written with a plus or minus sign. Write a function make_neat1 to format the
following text Uses “ 2345.45667 -0.0000456 34.9999 0.006788 -1 234
Write a program to read the data from babynames2012.txt and
1-
Print out on another files “top_common_10 names.txt” the top ten popular boys and
girls names.
2-
Print out on another files “least common_10 names.txt” the least ten popular boys
and girls names
In the text file, there are more than 100 baby names but I cannot copy and paste it all because of the word limit. Here is 50 of them.
1 J1 Jacob Sophia
2 Mason Emma
3 Ethan Isabella
4 Noah Olivia
5 William Ava
6 Liam Emily
7 Jayden Abigail
8 Michael Mia
9 Alexander Madison
10 Aiden Elizabeth
11 Daniel Chloe
12 Matthew Ella
13 Elijah Avery
14 James Addison
15 Anthony Aubrey
16 Benjamin Lily
17 Joshua Natalie
18 Andrew Sofia
19 David Charlotte
20 Joseph Zoey
21 Logan Grace
22 Jackson Hannah
23 Christopher Amelia
24 Gabriel Harper
25 Samuel Lillian
26 Ryan Samantha
27 Lucas Evelyn
28 John Victoria
29 Nathan Brooklyn
30 Isaac Zoe