Questions
C# Answer in discussion format Why is an array such a useful tool? What is a...

C# Answer in discussion format

  1. Why is an array such a useful tool?
  2. What is a jagged array? Ask your students to describe some circumstances in which jagged arrays might be useful.
  3. the System.Array class contains a variety of useful, built-in methods, describe one of them and how you would use it.
  4. Describe how to resize an array in C# using the new operator.
  5. How would you declare an array if you do not know in advance how many elements you will have in each execution of a program?

In: Computer Science

What are some key things to consider when preparing to conduct a topographic survey? With the...

What are some key things to consider when preparing to conduct a topographic survey?

With the understanding that a higher resolution of data is going to generally cost more money, what is one suggestion you have to reduce the amount of time required to perform your proposed survey?

How many data points are necessary to provide an acceptable topographic survey? How might this vary based on the phase of the project (e.g., preliminary planning, construction drawings, final as-built drawings)?

What is one possible use of a topographic survey?

In: Civil Engineering

The distinguishing feature of international business is that international firms operate in environments that are highly...

The distinguishing feature of international business is that international firms operate in environments that are highly uncertain and where the rules of the game are often ambiguous, contradictory, and subject to rapid change, as compared to the domestic environment. It is crucial for businesses to understand these differences and find ways to hurdle the barriers these differences present in a socially responsible manner. TASK: Select any organization of your choice. Carry out a research on the following aspects and present it in the form of a Report in Word.

Examine how the ethical and socially responsible behavior is built in the management practices and business operations

In: Economics

Consider the natural join of the relation R(A,B) and S(A,C) on attribute A. Neither relations have...

Consider the natural join of the relation R(A,B) and S(A,C) on attribute A. Neither relations have any indexes built on them. Assume that R and S have 80,000 and 20,000 blocks, respectively. The cost of a join is the number of its block I/Os accesses. If the algorithms need to sort the relations, they must use two-pass multi-way merge sort.

QUESTION:

Assume that there are 10 blocks available in the main memory. What is the fastest join algorithm for computing the join of R and S? What is the cost of this algorithm?

In: Advanced Math

GLOBAL MACROTRENDS AND THEIR IMPACT ON SUPPLY CHAIN MANAGEMENT You have just taken a job as...

GLOBAL MACROTRENDS AND THEIR IMPACT ON SUPPLY CHAIN MANAGEMENT

You have just taken a job as a consultant for a custom-built motorcycle company. The plant manager says he had read that a synchronized push supply chain strategy was associated with stable demand, and one of the goals for his company was to remove as much demand variability as possible. He recommends using a synchronized push strategy for their customized product. How would you reply to him?

(2-3 paragraphs please) (5-6 sentences each)

In: Operations Management

Convert a list of decimal numbers into their binary and hexadecimal equivalents Add the elements of...

  1. Convert a list of decimal numbers into their binary and hexadecimal equivalents
  2. Add the elements of each of these lists to generate a total sum
  3. Print the lists, and the total sum of each value

C++ contains some built-in functions (such as itoa and std::hex) which make this assignment trivial. You may NOT use these in your programs. You code must perform the conversion through your own algorithm.

The input values are:


5

9

24

2

39

83

60

8

11

10

6

18

31

27

In: Computer Science

Construct a finite-state machine, using combinational logic for an apple vending machine that only accepts nickels...

Construct a finite-state machine, using combinational logic for an apple vending machine that only accepts nickels (5 cents). When 15 cents is deposited the user can push a button to receive an apple and the machine resets. If the user inserts more than 15 cents no money will be returned.

  1. What are the machine states?
  2. What are the inputs?
  3. What are the outputs?
  4. Draw state table
  5. Draw state diagram
  6. Write the combinational logic for next state and output
  7. Explain if you built a Mealy or Moore machine

In: Computer Science

I am writing a scheme function that pairs an element to every element in a list,...

I am writing a scheme function that pairs an element to every element in a list, and I have the following code so far:

(define (pair-element e l)   
(cond ((null? l) (list e))
(else (cons e (car l)) (pair-element (cdr l)))))
(pair-element 4 `(4 3 5))

What is my error? I'm getting a pair element mismatch when I run it. I need to do this without using built-in functions. Thanks!

In: Computer Science

Construct a finite-state machine, using combinational logic, which reads in one bit at a time. When...

  1. Construct a finite-state machine, using combinational logic, which reads in one bit at a time. When a nibble (4 bits) are all zeros the output is set to one else the output is zero. The machine continues to read in bits and the output remains a one if zeros are read in. If it reads a one the output is a zero.
    1. What are the machine states?
    2. What are the inputs?
    3. What are the outputs?
    4. Draw state table.
    5. Draw the state diagram.
    6. Define the circuit for the next state and the output with the Boolean equations.
    7. Explain if you built a Mealy or Moore machine.

In: Computer Science

What did Smith mean by the Division of Labor and why did he see it as...

What did Smith mean by the Division of Labor and why did he see it as crucial to explaining the Wealth of Nations? What is the cause of the Division of Labor, for Smith? How does the division of labor increase productivity, in his view? What is the effect on workers? Explain how Smith's work on the division of labor challenges the standard neo-classical account of the economy built on the assumption of constant returns, and how it supports a different argument for free trade than we get from Ricardo's theory of comparative advantage

In: Economics