Questions
How has wi-fi changed the landscape of channel technology?

How has wi-fi changed the landscape of channel technology?

In: Computer Science

Write comprehensively on the below : What are the data gathering techniques used by the United...

Write comprehensively on the below :

What are the data gathering techniques used by the United states department of treasury ?
Problem faced by the department, how its solved by analytics and explain the analytics method used

In: Computer Science

1) Using either emacs or vi write a C program that reads 100 integers from stdin...

1) Using either emacs or vi write a C program that reads 100 integers from stdin into a 2-dimensional 10x10 array. The program will read one additional integer which is
used to multiply each element of the array. The final array should be printed to stdout as follows:

Run 1:
Enter 100 integers: 1 2 3 4 5 6 7 8 9 10 11 …. 100
Enter factor: 3
Result:
3 6 9 12 … 30
33 36 39 42 … 60
. … 90
.
.
273 276 279 282 … 300

In: Computer Science

Java question, not sure how to do this... You need to create a base class that...

Java question, not sure how to do this...

You need to create a base class that should have the following functionality.

- Calculate avg. Students grade. Input parameter to this method is an array that shows grades for at least ten courses.

You need to create a child class that inherits the base class. The child class should have a method to calculate max grade from 10 courses.

You need to write a demo class. The demo class should have a main method that calls child class and able to provide max and avg. Grade.

In: Computer Science

Okay, I have a general idea of how to use the scanner, but i'm a bit...

Okay, I have a general idea of how to use the scanner, but i'm a bit confused of how to ask multiple questions and also how maps work, which is making me struggle on this questions... If i had more time, i'd study a bit more, but I only have about 3 hours. If possible, could you explain every step with comments?

Use the scanner class to ask users their name and age. Store at least 10 users on a map, and use the iterator to print all the values. Print the youngest user's name

In: Computer Science

8. Assume you have a singly linked list with no tail pointer. Implement removeTail(). Raise an...

8. Assume you have a singly linked list with no tail pointer. Implement removeTail(). Raise an exception of the method is called on an empty list.
template<typename Object> class LinkedList {
private:

class Node {

Object data;

Node* next;

};

Node *head;
public:

LinkedList() : head(nullptr) {}

Object removeTail(Object data);

};


9. What are iterators? What purpose do they serve?
10. What does it mean to invalidate an iterator?
11. Explain the difference between separate chaining and open addressing in hash tables.
12. Define load factor and explain its relevance to hash table performance.
13. What are collisions with respect to hash tables?
14. Which hash tables distinguish between slots that have never been used, and slots that once contained an item but has now been deleted.
15. List and explain the worst-case and average-case running times for each HashTable method below
(a) void insert(Key k, Value v)

(b) bool contains(Key k)

(c) Value get(Key k)

In: Computer Science

1. Write a function named computeInterest that computes the amount # of interest on a given...

1. Write a function named computeInterest that computes the amount

# of interest on a given amount of money. The function should accept

# the amount of starting money (deposit) and the interest rate (rate)

# and return total amount of money in account after the interest is added.

# Just use a basic interest calculations. For example, for a deposit of

# 100 and a rate of 0.045 your function should return 104.5.

# You must have exception handling. If a string value is sent to the

# function instead of a number, print "Use only numeric values".

#

# Finally, add MULTIPLE doctest tests to the docstring below to test your

# computeInterest method using a number different values

def computeInterest(deposit, rate):

'''

Compute and return the total value of a deposit after applying a simple

interest amount.

TESTS BELOW:

PYTHON

In: Computer Science

I was asked to create a function called mydrawing in Matlab to draw or plot lines...

I was asked to create a function called mydrawing in Matlab to draw or plot lines onto a graph, using a so called pen.

The pen will start at the origin and will move along the +ve horizontal axis. The pen is also supplied with a list of commands in a form of a string, to draw or plot the lines onto the graph. The string commands are:

1) 'F' : the pen moves forward by x = 1.0

2) 'R' : the pen will turn right by a known angle

3) 'L' : the pen will turn left by a known angle

This function is written in such a way that if I type mydrawing(*insert the string*, *insert the angle*), I could draw or plot a square in the graph.

How do I code for these functions in Matlab?

In: Computer Science

6. List and explain the worst-case and average-case running times for each LinkedList method below: (a)...

6. List and explain the worst-case and average-case running times for each LinkedList method below:
(a) insert(iterator here, Object item)

(b) insertAtHead

(c) insertAtTail (aka push back)

(d) get(iterator here)

(e) get(index i)

(f) remove(iterator here)

(g) remove(index i)

(h) splice(iterator place here, iterator from here, iterator to here)


7. When should you use a Vector, and when should you use a Linked List?

In: Computer Science

From the e-Activity, explain in your own words the purpose of the Software Engineering Institute’s (SEI)...

From the e-Activity, explain in your own words the purpose of the Software Engineering Institute’s (SEI) exercises regarding team communication, and determine whether or not you believe this type of testing and analysis is a beneficial use of resources. Justify your answer. Based on the testing and analysis described in the e-Activity, indicate the two most important things that you believe are needed in order for cross-team communication to be successful when dealing with potential widespread incidents

In: Computer Science

Write a program in C that takes the length and the integers to be stored in...

Write a program in C that takes the length and the integers to be stored in an array and shifts array by N positions.

Example:

Input the number of elements to store in the array (max 10) : 5

Input 5 integers to be stored :

Index - 0 : 12

Index - 1 : 29

Index - 2 : 68

Index - 3 : 32

Index - 4 : 97

Input number of shifts : 2

Expected Output :

The given array is : 12 29 68 32 97

After 3 shifts the array becomes: 32 97 12 29 68

In: Computer Science

How does ones perception and/or ability change from studying "Networking Essentials and Security"?

How does ones perception and/or ability change from studying "Networking Essentials and Security"?

In: Computer Science

Timer 0 in normal mode (AVR) MSYS LAB8 I'm lost on how to write this.. #include...

Timer 0 in normal mode (AVR) MSYS LAB8

I'm lost on how to write this..


#include <avr/io.h>
#include "led.h"

// Prototype
void T0Delay();

int main()
{
   unsigned char x = 0;
   //Ready the LED-port
   initLEDport();
       DDRA = 0x00; //port A as input
       DDRB = 0xFF; //port B as output

   while(1)
   {
       // Wait 1/125 seconds
       T0Delay();
       // Increment and show the variable x
       x++;
       writeAllLEDs(x);
   }
}

void T0Delay()
{
   //<----- Write this function so that T0Delay() uses timer 0 in normal mode,
   // in order to wait exactly 1/125 seconds.
   // Use a clock prescaler value of 1024.
}

In: Computer Science

Using ASP.NET create an Age Calculator; which can determine an age according to a given date...

Using ASP.NET create an Age Calculator; which can determine an age according to a given date of birth. The calculated age will be displayed in years, months, weeks, days, hours, minutes, and seconds. How old are you in years, or months, or weeks, or days, or minutes, or seconds. The only input parameter is the birth date then the user will know his age

In: Computer Science

Your project sponsor is concerned about the duration of your project schedule and thinks that you...

Your project sponsor is concerned about the duration of your project schedule and thinks that you need to cut some time out of the schedule. He thinks that all of the testing that you have included in the plan is not necessary. How would you respond to this? What are the risks of removing the testing with regard to the overall project?

In: Computer Science