Questions
Discuss the open-source tools in general. What are the advantages versus disadvantages? What is the life-long...

Discuss the open-source tools in general. What are the advantages versus disadvantages? What is the life-long learning lesson you think you are able to acquire with this type of assignment? Discuss ethical and global issues.

In: Computer Science

1) Consider any recent acquisition by Facebook. Why do you think Facebook purchased the company? Suggest...

1) Consider any recent acquisition by Facebook. Why do you think Facebook purchased the company? Suggest ways in which the app has been monetized
2) With the emergence and now certaintly of online commerce, are store fronts still relevant in retail? If so, what role(s) do they play?

In: Computer Science

#include <stdio.h> int main(void) { int input = -1; double average = 0.0;    /* Use...

#include <stdio.h>

int main(void) {
int input = -1;
double average = 0.0;
  
/* Use this for your input */
scanf("%d", &input);
  
/* This is the only output you need */
printf("%.1lf", average);
return 0;
}

Please write a C coding program (make it simple coding)  that find the average of sequence integer. when user enter integers, once at a time. Also, If the user enters 0 (zero), the code will calculates the average and then prints it, and then exits.

In: Computer Science

________ means that IT capacity can be easily scaled up or down as needed, which essentially...

  1. ________ means that IT capacity can be easily scaled up or down as needed, which essentially requires cloud computing.
  1. agility
  2. flexibility
  3. responsiveness
  4. IT consumerization
  1. ________ is the migration of privately-owned mobile devices into enterprise IT environments.
  1. agility
  2. flexibility
  3. responsiveness
  4. IT consumerization
  1. Influential industry leaders cite ____________ as their largest business challenge in sustaining a competitive edge.
  1. keeping up with technology
  1. employee performance
  2. economic climate
  3. new competition
  1. A website or app that is scaled to be viewed from a computer, tablet, or smartphone is said to be_________.
  1. responsive
  2. flexible
  3. agile
  4. competitive
  1. IT agility, flexibility, and mobility are tightly interrelated and primarily dependent on:
  1. An organization’s IT infrastructure and architecture
  2. The IT division’s strategic hiring and training practices
  3. IT’s integration with production and accounting units
  4. Strategic alignment between IT budget and company mission statement
  1. Matt is using his own tablet for work purposes, which is an example of a trend called _____________.
  1. Mixed use IT
  2. Employer IT cost shifting
  3. IT consumerization
  4. BYOM
  1. Using a combination of mobile and database technology, Pizza House keeps records of the pizza preferences of all its customers. When Sam orders from Pizza House, he only says “send me the usual” when he calls in his order; and hangs up.   Accessing the database, the Pizza House worker knows his address, his usual order, and what credit card to bill. The streamlined ordering and fulfillment efficiency give the Pizza House __________.
  1. A strategic plan
  2. A strategic model
  3. A competitive advantage
  4. A sustainably business edge
  1. iTunes was a significant breakthrough that forever changed the music industry and the first representation of Apple's ________.
  1. IT consumerization
  2. Sustainable competitive advantage
  3. Incompatibility with Windows
  4. future outside its traditional computing product line
  1. How many times a day does the average American check their smartphone?
  1. 24
  2. 59
  3. 46
  4. 99
  1. IT job growth is estimated at ________ from 2014 to 2024, according to the U.S. Department of Labor.
  1. 12%
  2. 5%
  3. 33%
  4. Over 50%
  1. _____________ evaluate the newest and most innovative technologies and determine how they can be applied for competitive advantage. They develop technical standards, deploy technology, and supervise workers who deal with the daily IT issues of the firm.
  1. Project Managers
  2. Chief Technology Officers
  3. CEOs
  4. CFOs
  1. _____________ develop requirements, budgets, and schedules for their firm’s information technology projects. They coordinate such projects from development through implementation, working with their organization’s IT workers, as well as clients, vendors, and consultants.
  1. Project Managers
  2. Chief Technology Officers
  3. CEOs
  4. CFOs

In: Computer Science

I need to create a servlet that takes in an input that will do the following...

I need to create a servlet that takes in an input that will do the following calculations.

  1. If the input number is a prime, just output a message showing that it is a prime;
  2. If the input number is not a prime and it is an odd integer, write it as a product of two smaller odd integers;
  3. If the input number is not a prime and it is an even integer, first extract the largest power of 2, then for the remaining odd number, try to factorize it if you can. For your output, you give the power of 2 as one number and one more factor if this factor is a prime, or two more factors if you can still factorize the odd number after extracting the power of 2.

In: Computer Science

When you buy a new computer what would you do to harden it

When you buy a new computer what would you do to harden it

In: Computer Science

Provide two classification scenarios where you can use classification tree models but not logistic regression models....

Provide two classification scenarios where you can use classification tree models but not logistic regression models. For each problem, identify a target variable and four possible predictor variables.

In: Computer Science

Part II: Programming Questions NOTE: CODING LANGUAGE IS C# PQ1. How would you declare the following...

Part II: Programming Questions

NOTE: CODING LANGUAGE IS C#

PQ1. How would you declare the following scalar and non-scalar (vector) variables?

  1. counter, an integer
  2. sum, a decimal number
  3. average, a decimal number
  4. grades, an array of 32 decimal numbers

PQ2.

  1. How would you initialize the array above with numbers between 0.0 and 4.0 representing the grades of all courses a senior has received in the four years of college?
  2. Instead of initializing the array above, how would you, in a loop, accept input from the user for the 32 grades?

PQ3.

  1. How would you calculate the sum of all the grades in the array above?
  2. How would you average the sum above?

PQ4. The algorithm for checking if a number is a prime is to check if it is divisible by any number less than itself other than 1. (Divisibility implies that if you use the modulus operator, %, the result will be 0). Write a function to check if a number is a prime.

In: Computer Science

Write a C program to implement Jacobi iterative method for sovling a system of linear equations....

Write a C program to implement Jacobi iterative method for sovling a system of linear equations. Use the skeleton code.

skeleton code:

/* 
   CS288 HOMEWORK 8
   Your program will take in two command-line parameters: n and error
   command: jacobi 5 0.0001
   command: jacobi 10 0.000001
 */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>

#define N 100
#define MAX_ITER 10000

int jacobi();
void init();
int convergence();
void srand();
void print_vector();
void print_equation();

float a[N][N], b[N];
float x[N], buf[N];
int n;
float error;

int main(int argc, char **argv){
  int n_iter;                   /* number of iterations */
  n = atoi(argv[1]);
  error = atof(argv[2]);

  init();                  /* initalize a, x0 and b - DO not change */
  n_iter = jacobi();

  return 0;
}

int jacobi(){
  int i,j,k;
  float sum;
  // ...
  // ...
  // ...
  return k;
}

// returns 1 if converged else 0
int convergence(int iter){
  int i,j,k,flag=1;
  // ...
  // ...
  // ...

  return flag;
}

// Try not to change this. Use it as is.
void init(char **argv){
  int i,j,k,flag=0;
  float sum;
  int seed = time(0) % 100;     /* seconds since 1/1/1970 */

  srand(seed);
  for (i=0;i<n;i++) {
    for (j=0;j<n;j++) {
      a[i][j] = rand() & 0x7;
      if (rand() & 0x1) a[i][j] = -a[i][j];
    }
    sum = 0;
    for (j=0;j<n;j++) if(i!=j) sum = sum + abs(a[i][j]);
    if (a[i][i] < sum) a[i][i] = sum + a[i][i];
  }

  for (i=0;i<n;i++) x[i]=1;

  srand(seed);
  for (i=0;i<n;i++){
    b[i]=rand() & 0x7;
    if (rand() & 0x1) b[i] = -b[i];
  }

  print_equation();

}

void print_equation(){
  int i,j;

  printf("A*x=b\n");
  for (i=0;i<n;i++) {
    for (j=0;j<n;j++) printf("%2d ",(int)(a[i][j]));
    printf(" * x%d = %d\n",i,(int)(b[i]));
  }
  printf("\n");
}

void print_vector(float *l){
  int i;
  for (i=0; i<n; i++) printf("%.6f ",l[i]);
  printf("\n");
}

// end of file

In: Computer Science

Network Question need hlp with it. Question: What is Wireshark? a. Can you live capture from...

Network Question
need hlp with it.


Question: What is Wireshark?
a. Can you live capture from many different network media using Wireshark?
b. Explain the steps you can take after installing Wireshark to sniff packets?

In: Computer Science

1. Create a base class called Vehicle that has the manufacturer’s name (type String), number of...

1. Create a base class called Vehicle that has the manufacturer’s name (type String), number of cylinders in the engine (type int). Then create a class called Truck that is derived from Vehicle and has additional properties: the load capacity in tons (type double) and towing capacity in tons (type double).

Add the following methods to the Vehicle class:

  1. A default constructor that sets the vehicle class properties to default values (manufacturer = "None"; cylinders = 0).
  2. A constructor that sets a vehicle properties (manufacturer and cylinders) to a specified values.
  3. The accessor and mutator methods for manufacturer and cylinders.
  4. A method called writeOutput that prints out a vehicle object information (manufacturer and cylinders).
  5. A method named equals to test whether two instances of vehicle objects are equal. The method returns Boolean data type.

Add the following methods to the Truck class:

  1. A default constructor that sets the truck class properties to default values (load capacity = 0; towing capacity = 0).
  2. A constructor that sets a truck properties (manufacturer, cylinders, load capacity, and towing capacity) to a specified values.
  3. The accessor and mutator methods for load capacity, and towing capacity.
  4. A method called writeOutput that overrides the writeOutput from Vehicle. This new version needs to prints out a truck object information (manufacturer, cylinders, load capacity, and towing capacity).
  5. A method named equals to test whether two instances of truck objects are equal. The method returns Boolean data type.

Write a driver program that tests all your methods. Create at least two objects of truck class, and two objects of vehicle class.

(JAVA)

In: Computer Science

Design an application that focuses on decreasing the acceptability of and engagement in high-risk drinking among...

Design an application that focuses on decreasing the acceptability of and engagement in high-risk drinking among college students. The application should include:

1) files

2) arrays

3) methods

coding language c++

In: Computer Science

Need this in C# Write a simple lottery program which can do the following: 1. asks...

Need this in C#

Write a simple lottery program which can do the following:

1. asks the user to provide an integer value from 1 to 5

2. generates one random integer number from 1 to 5

3. display “You lost $1” if the two numbers are different, and display “You won $5” otherwise.the program asks if the user wants to continue playing the lottery.

If yes, the program repeats steps 1-3. If no, the program terminates.

In: Computer Science

Consider the following code: values = [2, 5, 8, 12, 15] values2 = {v % 3...

Consider the following code:

values = [2, 5, 8, 12, 15]
values2 = {v % 3 for v in values}

What will be the length of values2?

Consider the following code:

values = ["moose", "giraffe", "antelope", "tortoise", "chinchilla"]
values2 = [len(s) for s in values if "a" in s]

What will be the value of values2[1]?

Consider the following code:

numbers = [1, 2, 7, 9, 13]
numbers2 = [n // 2 for n in numbers]

What will be the value of numbers2[2]?

In: Computer Science

what does an operating system need in order to function properly? what are the logical requirements...

what does an operating system need in order to function properly?
what are the logical requirements of it?

In: Computer Science