Questions
As we enter the systems integration selection phase, we must select the technical integration framework, and...

As we enter the systems integration selection phase, we must select the technical integration framework, and describe and illustrate our systems integration architecture. For this assignment, share how you think integration frameworks typical to the systems integration selection phase are best used to represent an integration of your system components.

In: Computer Science

Unit 4: Discussion - Part 2 No unread replies.No replies. Question Read the lecture for Chapter...

Unit 4: Discussion - Part 2

No unread replies.No replies.

Question

Read the lecture for Chapter 4, and then answer the following:

This week covered the many different types of loops in Java: while, do, and for. Think of a brief example where you can use loops and write it in correct Java syntax. You may use the loop example you wrote in pseudo code for the discussion thread 2 during week 2 and convert it to Java, if you think it is appropriate. Be mindful that we are not talking about homework here. Do not post homework in this or any other discussion thread. You should show at least 2 of the 3 different types of Java loops in your posting. You may incorporate both kind of loops in the same example, or alternatively, show how the same example can be written using two different kinds of loops. Try to keep your example short, so others can follow it easily. Also, do not forget to show screen captures of your programs running.

In: Computer Science

C-Language *Calculates the user's age in seconds. *Estimate the number of times the person has sneezed...

C-Language

*Calculates the user's age in seconds.

*Estimate the number of times the person has sneezed in his/her lifetime (research on the Internet to obtain a daily estimate).

*Estimates the number of calories that the person has expended in his/her lifetime (research on the Internet to obtain a daily estimate).

*Also calculate the number of sandwiches (or other common food item) that equals that number of calories. Be creative: Pick other health-related statistic. Try searching the Internet to determine how to calculate that data, and create a program to perform that calculation. The program can ask the user to enter any information needed to perform the calculation.

Code template: C-Language

#include <stdio.h>
int main(void) {
   int userAgeYears;
   int userAgeDays;
   int userAgeMinutes;
   int totalHeartbeats;
   int avgBeatsPerMinute = 72;
   
   printf("Enter your age in years: ");
   scanf("%d", &userAgeYears);
   
   userAgeDays = userAgeYears * 365;               // Calculate days without leap years
   userAgeDays = userAgeDays + (userAgeYears / 4); // Add days for leap years
   
   printf("You are %d days old.\n", userAgeDays);
   
   userAgeMinutes = userAgeDays * 24 * 60;         // 24 hours/day, 60 minutes/hour
   printf("You are %d minutes old.\n", userAgeMinutes);   

   totalHeartbeats = userAgeMinutes * avgBeatsPerMinute;
   printf("Your heart has beat %d times.\n", totalHeartbeats);

   return 0;
}

In: Computer Science

Which of the following are used as tools for both the organization and retrieval of information?...

Which of the following are used as tools for both the organization and retrieval of information?

This is a multiple answer question. Select as many as are necessary.

A. Thesauri

B. Google

C. Concepts

D.Boolean

E.Classifications

F.Ontologies

Which of the following are key elements of knowledge organization? Please refer to chapter 4 of the Smiraglia. This is a multiple select question.

A. Computers

B.Bibliographic control

C.Lists

D.Social confluence

E.The Antikythera mechanism

Which process guides user research?

A. Parallel design

B. Waterfall model

C. Screening

D. User-centered design

In: Computer Science

Write a C++ program to input 10 scores (range from 0-100), calculate the average, then display...

Write a C++ program to input 10 scores (range from 0-100), calculate the average, then display the student's name, and a letter grade such as A, B, C, D, or F. It shall have a Student class with necessary private data members and constructor and public methods, such as getName, getGrade, calcScore, convertToGrade, etc. Try to create a Student object in main(), then invoke its methods to perform the tasks.

In: Computer Science

You have been given the following specifications for a simple database about the requests for software...

You have been given the following specifications for a simple database about the requests for software that staff members make for their units (note that primary keys are shown underlined, foreign keys in bold). You should run your SQL to demonstrate that it works correctly, and paste in the statements used plus the output from Oracle.

LAB (RoomNo, Capacity)

SOFTWARE (SoftwareID, SoftwareName, Version)

REQUEST (SoftwareID, RoomNo, RequestDate, TeachingPeriod, Progress)

Based on the table specifications provided, answer the following questions.

a. Give the SQL to create the LAB and SOFTWARE tables. Choose appropriate data types. None of the attributes should be allowed to be null. Include the primary key constraints.

b. Give the SQL to create the REQUEST table. Use appropriate data types, and include the primary key and foreign key constraints. Referential integrity should be set such that if a lab is deleted from the database, any requests that exist for that lab are also deleted.

c. Give the SQL to add a record to each of the tables: LAB, SOFTWARE and REQUEST. Make up your own data (you may wish to add lab 350.2.006 to the LAB table for testing in part (e) later).

d. Give the SQL to create a constraint to the REQUEST table to restrict the possible values of Progress to the following 5: Requested, Installed, Function Testing, User Acceptance Testing, and Deployed.

e. Give the SQL to record the fact that the capacity of lab 350.2.006 has increased by 5.

In: Computer Science

This question demonstrates the use of inheritance and polymorphism. Design a Ship class that has the...

This question demonstrates the use of inheritance and polymorphism.
Design a Ship class that has the following members:
• A field for the name of the ship (a string).
• A field for the year that the ship was built (a string).
• A constructor and appropriate accessors and mutators.
• A toString method that overrides the toString method in the Object class. The Ship class
toString method should display the ship’s name and the year it was built.
Design a CruiseShip class that extends the Ship class. The CruiseShip class should have the following members:
• A field for the maximum number of passengers (an int).
• A constructor and appropriate accessors and mutators.
• A toString method that overrides the toString method in the base class. The CruiseShip class’s
toString method should display only the ship’s name and the maximum number of passengers.
Design a CargoShip class that extends the Ship class. The CargoShip class should have the following members:
• A field for the cargo capacity in tonnage (an int).
• A constructor and appropriate accessors and mutators.
• A toString method that overrides the toString method in the base class. The CargoShip class’s
toString method should display only the ship’s name and the ship’s cargo capacity.
Demonstrate the classes in a program that has a Ship array. Assign various Ship, CruiseShip, and CargoShip objects to the array elements. The program should then step through the array and print each object.

PLEASE DO THE QUESTION IN A SIMPLER WAY

In: Computer Science

Q1: Describe the differences between structured and unstructured data. Explain structured data in big data environment...

Q1: Describe the differences between structured and unstructured data. Explain structured data in big data environment and give one (1) example of machine generated structured data.

Please, Please, Please and Please…

1. I need new and unique answers, please. (Use your own words, don't copy and paste, even when you answer like theses answers before.)

2. Please Use your keyboard to answer my Questions. (Don't use handwriting)

3. Please and please i need a good and a perfect answers.

Thank you..

In: Computer Science

write a program to perform the following in C Your program should prompt the user to...

write a program to perform the following in C

    • Your program should prompt the user to enter ten words, one at a time, which are to be stored in an array of strings.
    • After all of the words have been entered, the list is to be reordered as necessary to place the words into alphabetical order, regardless of case.
    • Once the list is in alphabetical order, the list should be output to the console in order.
    • The program should execute on a FRDM KL46Z board

In: Computer Science

URL routing in relation to server-side development. How does it differ from routing physical files?

URL routing in relation to server-side development. How does it differ from routing physical files?

In: Computer Science

Hello, In C++ how would I get it to ignore a percent sign in an input....

Hello,

In C++ how would I get it to ignore a percent sign in an input.
cout << "Enter the annual interest rate in %: ";
cin >> interestRate;
I want the user to input "3%" for example but having the % sign makes the program terminate.
How can I get it to just read 3% (or any percent number) as just "3"

In: Computer Science

hii there .. i was thinking of making project in C++ on topic payroll management system...

hii there ..
i was thinking of making project in C++ on topic payroll management system ..
what can be included in that ?
wht are main aspects of this topic ??
thankx

In: Computer Science

The split method in the String class returns an array of strings consisting of the substrings...

The split method in the String class returns an array of strings consisting of the substrings split by the delimiters. However, the delimiters are not returned. Implement the following new method that returns an array of strings consisting of the substrings split by the matching delimiters, including the matching delimiters.
public static String[] split(String s, String regex)
For example, split("ab#12#453", "#") returns ab, #, 12, #, 453 in an array of String, and split("a?b?gf#e", "[?#]") returns a, ?, b, ?, gf, #, and e in an array of String.
Write a test program to show that your split method works properly.

PLEASE DO THE QUESTION IN A SIMPLER WAY

In: Computer Science

1) Write a function equation(A, B) that returns a value C where A + B =...

1) Write a function equation(A, B) that returns a value C where A + B = C

a. Write the equation function:

b: Write the output of your function for a few values:

2) Write a non-recursive function called fact(n) that computes n! Try computing fact(n) for large values. Can you find the maximum value for n your program will compute correctly?

a) Write your fact function:

b) Write the output of your function for a few values:

3)

  1. Write a function called printThem(n) which print the numbers from 1 to n with the following conditions:

  • In place of multiples of 3 print three.

  • In place of multiples of 5, print five.

  • If a number is divisible by both 3 and 5 print fifteen.

  • Do not print multiples of 7 (even if a multiple of 3)

Display 15 numbers per line. Include sample output for n=50. Note that 50 should be the parameter when you call your printThem function, not part of the function itself.

a) Print Them(n) function:

b) Write your output function

4)

  1. Write a function makeChange(amount) that for a given amount of money makes change for that amount in nickels, dimes, and quarters. You can assume the amount will be 100 cents or less. For example:

Change for 100:

  nickels: 4

  dimes: 3

  quarters: 2

When you are done, think about how you could calculate all possible ways to make change for that amount. That increases the complexity considerably, so it is not required for full credit.

a) Write the output of your makeChange function

b) Write your makeChange function:

*****************************************************************************************************************************************

Please answer these questions in C and write comments on why some actions are being done! Please give which function to write to each problem as well as the output function!! Thank you so much!

In: Computer Science

I want to print out the array as well as its intersection, and also it doesn't...

I want to print out the array as well as its intersection, and also it doesn't show the time elapsed after 100,000

Missing is: 1,000,000 and 10,000,000

import java.util.Random;
import java.util.HashSet;
import java.util.Arrays;

public class array_intersect {

public static void main(String[] args)
{
for(int i=1000; i <= 10000000; i= i*10)
{
Integer[] array1 = generate_random_array(i);
Integer[] array2 = generate_random_array(i);

long startTime = System.nanoTime();
get_intersection(array1, array2);
long stopTime = System.nanoTime();
long elapsedTime = stopTime - startTime;
System.out.println("Time elapsed for dataset of " + i + " points : "+ elapsedTime + " in nanoseconds");

}
}

public static Integer[] generate_random_array(int size)
{
Random rand = new Random();
Integer[] return_array = new Integer[size];
for(int i=0;i< size ; i ++)
{
return_array[i] = rand.nextInt(size);
}
return return_array;
}

public static Integer[] get_intersection(Integer[] array1, Integer[] array2)
{
HashSet<Integer> set = new HashSet<>();
set.addAll(Arrays.asList(array1));
set.retainAll(Arrays.asList(array2));

Integer[] intersection = {};
intersection = set.toArray(intersection);

return intersection;

}


}

In: Computer Science