In class, randomly pick one person. On the class list, mark that
person’s name. Move down...
In class, randomly pick one person. On the class list, mark that
person’s name. Move down four names on the class list. Mark that
person’s name. Continue doing this until you have marked 12 names.
You may need to go back to the start of the list. For each marked
name record the five data values. You now have a total of 60 data
values. How do you do this?
Forty students registered in the class. The attendance records
revealed the following number of absenses for...
Forty students registered in the class. The attendance records
revealed the following number of absenses for each students: 0, 2,
0, 6, 3, 6, 7, 1, 1, 2, 1, 1, 3, 4, 5, 4, 0, 0, 1, 1, 2, 2, 2, 3,
5, 8, 4, 2, 1, 0, 2, 1, 0, 6, 8, 1, 2, 1, 1, 0. • Steps: 1. Create
a grouped frequency table in 2-miss intervals. 2. Create a grouped
frequency table in 4-miss intervals. 3. Create...
Write the following questions as queries in SQL. Use only the
operators discussed in class (in...
Write the following questions as queries in SQL. Use only the
operators discussed in class (in particular, no outer joins or
windows). Type your answers. Before starting, make sure you
understand the schema of the database. If you are in doubt about
it, please ask the instructor. Assume a database with schema
ACTOR(name,age,address,nationality)
MOVIE(title,year,genre,budget,director-name,studio)
APPEARS(name,title,salary)
1. Find the title, director and studio of the most expensive
movie of 2010 (note: there can be ties!).
2. Find the title, director and...
The following data represent the number of potholes on 35
randomly selected 1-mile stretches of highway...
The following data represent the number of potholes on 35
randomly selected 1-mile stretches of highway around a particular
city. Construct a frequency table, a relative frequency table,
and a bar graph for the data.
Number of Potholes
1
4
3
1
3
7
5
1
3
6
1
2
1
1
2
7
1
6
2
7
1
5
4
4
1
1
5
3
5
2
3
2
7
1
3
Construct a frequency table for the data....
Data was collected for 364 randomly selected 10 minute
intervals. For each ten-minute interval, the number...
Data was collected for 364 randomly selected 10 minute
intervals. For each ten-minute interval, the number of people
entering the atrium of a large mall were recorded. The data is
summarized in the table below.
Number
of Guests
Frequency
220 – 239
83
240 – 259
95
260 – 279
47
280 – 299
43
300 – 319
96
What is the class width for this GFDT?
Class width =
The number of students in the tutoring center was recorded...
PROJECT B
1. Flip a coin 120 times. In order to be organized, please
record the...
PROJECT B
1. Flip a coin 120 times. In order to be organized, please
record the results of this experiment in 5 rows, with 24 flips per
row. For example, the first row may be
HTHTTTHTTHTTHHHTTHTHHHHT
If you do not desire to flip a coin manually, STATDISK can be
used to simulate the process. To use STATDISK, go to “Data” at the
top of the STATDISK window, and then choose “Coins Generator”. The
“Coin Toss Simulator” window will appear. Then...
Data Structures using C++
Searching a Linked List
Here are the declarations for a simple unsorted...
Data Structures using C++
Searching a Linked List
Here are the declarations for a simple unsorted linked list of
ints that ends in a null pointer.
//===============================================================
class Cell {
friend class UList;
private:
int data;
Cell* next;
Cell( int dt, Cell* nx=nullptr ) : data(dt), next(nx) {}
};
//===============================================================
class UList {
private:
Cell* head = nullptr; // stationary head
pointer.
Cell* scan =
nullptr; //
for walking down the List.
Cell* follow = nullptr;
public:
void find( int...