Questions
In C++, Do some research to find the definitions of single recursion, binary recursion, and multiple...

In C++, Do some research to find the definitions of single recursion, binary recursion, and multiple recursion. What kinds of problems lend themselves to these different forms of recursion? Please be as detailed as possible. Thank you!

In: Computer Science

Java Using NetBean Calculate the interest for a bank account. Your program should use Scanner to...

Java Using NetBean

Calculate the interest for a bank account. Your program should use Scanner to collect account balance and interest rate (input 2.5 for 2.5%), and then output the interest should be paid.

interest = balance * interest_rate;

In: Computer Science

Maximum value and its index in an array java program that: Receive as input in command...

Maximum value and its index in an array

java program that:

  • Receive as input in command line the size of an array (n)
  • Generate an array with numbers between 1 and 100 (inclusive 1 and 100) with the given size (a)
  • Print the array with the format: {a, b, c, ..., x}, for instance {1, 2}
  • Compute and print in the console the following:
    • maximum value in the array
    • one index on which the maximum value appears (a number from 0 to n-1)

In: Computer Science

Using the worst case scenario for a recursive insertion sort on an array of 5 elements...

Using the worst case scenario for a recursive insertion sort on an array of 5 elements {5, 4, 3, 2, 1}

Determine a formula that counts the numbers of nodes in that recursion tree. What is the Big O for execution time.
Determine a formula that expresses the height of the recursion tree. What is the Big O for memory?

In: Computer Science

Use the well-ordering property to prove the division algorithm. Recall that the division algorithm states that...

Use the well-ordering property to prove the division algorithm. Recall that the division algorithm states that if a is an integer and d is a positive integer, then there are unique integers q and r with 0 ≤ r < d and a = dq + r.

In: Computer Science

Q1. What are the three main types for formal verification and can you give names for...

Q1. What are the three main types for formal verification and can you give names for industry tools in formal verification?

Q2. Why IoT verification is not easy?

In: Computer Science

Calculate interest on balances up to 30,000( 3.25% interest) and above 30,000(.25% interest). In this program,...

Calculate interest on balances up to 30,000( 3.25% interest) and above 30,000(.25% interest). In this program, we prompt the user for the balance and output the dividends earned. (example a 10,000 deposit earning 1.15% would earn 10,000*1.15%=$115)

In this program we prompt the user for the anticipated balance and then output the dividends earned.

What formula would you create if you prompt the user for the balance and then display dividends earned?(you can use variable constants, if then statements.

In: Computer Science

JAVA In the last lesson, we wrote a class with methods to print out the song...

JAVA

In the last lesson, we wrote a class with methods to print out the song The Ants Go Marching. Notice that this is a class where there are no instance variables and we don’t really need to generate multiple objects. With students or pets, it makes sense to have multiple objects. With the Song, we can just make the methods static and have just 1 copy of them.

  1. Copy in your class from the last lesson into this active code window. Change the method(s) that print out the verses of the Song to be static. In the main method, change how you call the static methods by using just the classname instead of creating an object.

  2. Add a static variable to the class that keeps track of the number of verses. Increment this variable in the method verse and print it out at the beginning of the verse.

public class Song
{
// Add a static verse counter variable


// Change the method(s) to be static

public static void main(String args[])
{
// Call the static method(s) to print out the Song

}
}

In: Computer Science

Question 74 ​Website creation and management apps and tools provide a(n) _____ and generate the code...

Question 74

  1. ​Website creation and management apps and tools provide a(n) _____ and generate the code needed to create webpages.

    a.

    ​storyboards

    b.

    ​domain name

    c.

    ​expression builder

    d.

    ​GUI

1 points

Question 75

  1. ​When an HTML document includes a script, it is included the ____ section.

    a.

    ​body

    b.

    ​comment

    c.

    ​active content

    d.

    ​head

Question 77

  1. ​With WEP encryption, the key being used to encrypt the data is sent over the network ____ the actual data is encrypted.

    a.

    ​before

    b.

    ​at the same time as

    c.

    ​after

    d.

    ​any of the above are possible

Question 79

  1. ​You include ____ tags in your webpages to provide keywords that search engines can use to learn how to list your site.

    a.

    ​<meta>

    b.

    ​<k>

    c.

    ​<search>

    d.

    ​<keyword>

Question 87

  1. A wireless device’s ____ refers to the physical distance between the access point and the wireless device.

    a.

    ​travel zone

    b.

    ​bandwidth

    c.

    ​network mesh

    d.

    ​range

1 points

Question 88

  1. A(n) ____ local area network is a network in which devices use high-frequency radio waves to communicate with a base station, which is connected to the Internet.

    a.

    ​wireless

    b.

    ​cellular

    c.

    ​ethereal

    d.

    ​wired

1 points

Question 89

  1. All of the following are 802.11 standards EXCEPT_____.

    a.

    ​802.11b

    b.

    ​802.11g

    c.

    ​802.11ad

    d.

    ​802.11a

1 points

Question 90

  1. Any Wi-Fi certified device can connect to any ____ certified access point.11. Any Wi-Fi certified device can connect to any ____ certified access point.

    a.

    ​only an 802.11a

    b.

    ​only an 802.11g

    c.

    ​none of the above

    d.

    ​any 802.11

1 points

Question 91

  1. City-wide wireless networks are often called ____.

    City broadband

    a.

    ​LANs

    b.

    ​Muni Wi-Fi

    c.

    ​PANs

    d.

    ​City broadband

1 points

Question 92

  1. In Wi-Fi terms, a(n) ____ is an area of network coverage.

    a.

    ​wired spot

    b.

    ​hotspot

    c.

    ​access zone

    d.

    ​hot zone

1 points

Question 93

  1. In the beginning of wireless technology, some devices used _____ technology to “beam” information from one source to another source without the use of wired connections.

    a.

    ​air-compression

    b.

    ​xray

    c.

    ​gamma spectrum

    d.

    ​infrared

1 points

Question 94

  1. Second-generation (2G) wireless networks transfer data at a rate of ____.

    a.

    ​14.4 Kbps

    b.

    ​56 Kbps

    c.

    ​14.4 Mbps

    d.

    ​11 Mbps

1 points

Question 95

  1. The MiFi device is produced by the company ____.

    a.

    ​Nokia

    b.

    ​Samsung

    c.

    ​Novatel

    d.

    ​AT&T

1 points

Question 96

  1. The ____ is a not-for-profit organization that certifies interoperability of Wi-Fi products and promotes Wi-Fi as a standard for wireless LANs.

    a.

    ​Mobile Productivity Alliance

    b.

    ​Wireless Initiative

    c.

    ​Wi-Fi Alliance

    d.

    ​W3C

1 points

Question 97

  1. The advantage of a wireless mesh network is that ____.

    a.

    ​it’s less expensive than creating Wi-Fi hotspots

    b.

    ​each device connects automatically to a router

    c.

    ​each new node automatically configures itself to work without the use of cables

    d.

    ​each node on the network is wired directly to the Internet

1 points

Question 98

  1. The connection of your smartphone to your wireless headset is an example of a(n) ____.

    a.

    ​WWAN

    b.

    ​personal area network

    c.

    ​local area network

    d.

    ​access point network

1 points

Question 99

  1. The hotspot created by MiFi is password protected and can be used to connect Wi-Fi devices located within ____ feet of the MiFi device to the Internet.

    a.

    ​5

    b.

    ​30

    c.

    ​10

    d.

    ​20

1 points

Question 100

  1. Which of the following would provide the fastest transfer rate?

    a.

    ​The device is anywhere in the room with the access point.

    b.

    ​The device is the only device accessing the access point.

    c.

    ​The device is close to the access point.

    d.

    ​Device location does not impact transfer rate.

In: Computer Science

Computer Science Design and implement an ADT that represents a triangle. The data for the ADT...

Computer Science

Design and implement an ADT that represents a triangle. The data for the ADT should include the three sides of the triangle but could also include the triangle's three angles. The data should be in the private section of the class that implements the ADT.

Include at least two initialization operations; one that provides default values for the ADT's data, and another that sets this data to client-supplied values. These operations are the class's constructors. The ADT also should include operations that look at the values of the ADT'S data; change the values of the ADT'S data; compute the triangle's area; and determine whether the triangle is a right triangle, an equilateral triangle, or an isosceles triangle.

Code must be written in C++ thanks.

In: Computer Science

in 4 to 10 narrative sentences, tell a story about your most interesting experience or experiences...

in 4 to 10 narrative sentences, tell a story about your most interesting experience or experiences with technology. You can discuss anything you wish about AI or computers or smart phones, but it could also be about toasters, cars, or even painting or sculpture or a building project. What did you learn about the world through your use of the technology you describe? Was it pleasant, or unpleasant? How did it re-orient you towards reality after you had the experience or experiences?

In: Computer Science

Complete the isScrambled() function to return True if stringA can be reordered to make stringB. Otherwise,...

Complete the isScrambled() function to return True if stringA can be reordered to make stringB. Otherwise, return False. Ignore spaces and capitalization. You must use a list for this assignment. isScrambled( 'Easy', 'Yase' ) returns True isScrambled( 'Easy', 'EasyEasy' ) returns False isScrambled( 'eye', 'eyes' ) returns False isScrambled( 'abcdefghijklmnopqrstuvwxyz', 'zyxwvutsrqponmlkjihgfedcba' ) returns True isScrambled( 'Game Test', 'tamegest' ) returns True.

In: Computer Science

Below, the prompts for the rings’ distances are unclear in terms of which ring is being...

Below, the prompts for the rings’ distances are unclear in terms of which ring is being examined. Rewrite your ring-distance prompt code so that users know which ring the prompt is for. The first two ring-distance prompts should look like this:

Enter ring #1’s distance from the center in cm:

Enter ring #2’s distance from the center in cm

  1. Loop termination by counter method

Write a pseudocode algorithm that analyzes a tree’s annual growth rings. Your algorithm should initially ask the user for the number of annual growth rings that are to be entered. Use a counter loop to ensure that the loop repeats that number of times. Inside the loop, your algorithm should ask the user to enter the distance in centimeters from the tree’s center for each ring, with the smaller ring values entered first. Also inside the loop, your algorithm should calculate the amount of growth that took place for the year associated with the current ring. Below the loop, print the growth for the year where the greatest growth took place.

In: Computer Science

JAVA programming - please ONLY answer prompts with java code *Inheritance* will be used in code...

JAVA programming - please ONLY answer prompts with java code *Inheritance* will be used in code

Classwork

A zoo is developing an educational safari game with various animals. You will write classes representing Elephants, Camels, and Moose.

Part A Think through common characteristics of animals, and write a class ZooAnimal.

☑ ZooAnimal should have at least two instance variables of different types (protected), representing characteristics that all animals have values for.

☑ It should also have at least two methods for behaviors that all animals do; these can simply print out a String stating what the animal is doing. (accessors and mutators are not behaviors). Include at least one parameterized constructor. Part B

☑ Create classes Elephant, Camel, and Moose, all of which extend ZooAnimal. In each, include a default constructor that calls the parameterized superclass constructor

. ☑ To one class (of Elephant, Camel, and Moose), add another instance variable specific to that type of animal. To another, add another behavior method. In a third, override a behavior from ZooAnimal. Part C

☑ Create a test harness for the animal classes. In a main create at least one Elephant, Camel, and Moose, and show which behavior methods are usable for each.

☑ [EC+10] Create another animal class inheriting from one of your three types (doesn't have to be zoologically accurate, but should make some sense), and either add an instance variable or add or override a method. This class should also be tested in the harness.

In: Computer Science

Design a nonrecursive post order traversal algorithm. 1.Use the linked representation for the binary tree to...

Design a nonrecursive post order traversal algorithm.

1.Use the linked representation for the binary tree to be traversed.

2.Except left, right, and data fields, there are no other fields in a node.

3.After the traversal the tree should remain intact.

4.Use only one stack.

5.You can’t push anything other than nodes into the stack.

In: Computer Science