Answer:
Lack of Strategy
Many of the most common MIS issues can be traced back to a lack of a solid strategy. Information systems leaders are well aware of the many tools available to gather data on their network. But putting that information to use is often a challenge.
At one time, technology departments served as a separate operation, providing tech support and keeping an organization’s server equipment running. Today, MIS leadership often sits alongside other business leaders, working together to ensure that the technology being used supports the overall mission of the company moving forward.
Meeting Organizational Needs
MIS plays an ever-increasing role in organizations, with professionals relying on technology for every aspect of operations. Sales and marketing rely heavily on customer relationship software to track client interactions, for instance, while accounting needs its own software for billing, invoicing and financial tracking.
With more than half of all companies now relying on big data analytics, MIS is playing an even more important role. Before making a decision, today’s management teams are likely to pull reports on existing activity to ensure they use facts rather than make educated guesses.
Explanation:
Write a program that allows two players (player X and player O) to play a game of tic-tac-toe. Use a two- dimensional char array with three rows and three columns as the game board. Each element of the array should be initialized with an asterisk (*). The players take turns making moves and the program keeps track of whose turn it is. Player X moves first. The program should run a loop that:
#include <iostream>
using namespace std;
//function prototypes
void showBoard(char[][3]);
bool checkWinner(char[][3], char);
void playerMove(char[][3], char);
int main()
{
//declare variables needed
//declare 2D array for the board
//and initialize with all *
char board[3][3] = {{'*', '*', '*'},
{'*', '*', '*'},
{'*', '*', '*'}};
int moves = 0; //variable to keep track
//of number of moves
//to determine tie
cout << "TIC - TAC - TOE\n\n";
//while loop to repeat until 9 moves are done
while(true){
//display board
showBoard(board);
cout << "Player 1 moves\n";
//get player X move
playerMove(board, 'X');
//increment moves counter
moves++;
//if this is a winning move
//store winner and terminate
if(checkWinner(board, 'X')){
showBoard(board);
cout << "\nPlayer 1 (X) wins!\n";
return 0;
}
//if 9 moves are done
//break from loop
if(moves == 9)
break;
//display board again
showBoard(board);
cout << "Player 2 moves\n";
//do the same thing for player O
playerMove(board, 'O');
moves++;
if(checkWinner(board, 'O')){
showBoard(board);
cout << "\nPlayer 2 (O) wins!\n";
return 0;
}
}
//if we have gone this far and program
//still has not terminated (no winner)
//it means this is a tie
showBoard(board);
cout << "This game is a tie!\n";
//return 0 to mark successful completion of program
return 0;
}
//this function is helpful because we need to show
//the board repetitively during the program
void showBoard(char board[][3]){
cout << endl;
//loop on the rows
for(int row = 0; row < 3; row++){
//loop on the columns
for(int col = 0; col < 3; col++)
cout << board[row][col] << " ";
//display newline after each row
cout << endl << endl;
}
cout << endl;
}
//this function checks if second argument
//is a winning player
bool checkWinner(char board[][3], char player){
//boolean variable to check
//for winner later
bool flag;
//CHECK FOR WINNER IN ROWS
for(int row = 0; row < 3; row++){
//initialize flag to true
flag = true;
//loop within a row
for(int col = 0; col < 3; col++){
//Notice that the right part of the
//assignment operator, is an expression
//with a relational operator (==)
//this expression will yield either
//true (1) or false (0)
//while flag is already true (1)
//if multiplied by true (1) will result
//in true(0), or multiplied by false (0)
//will result in false (0)
flag *= (board[row][col] == player);
}
//after checking within row, if the flag
//is still true at this point, it means we have
//three chars of the same kind within the row,
//thus we have a winner
if(flag)
return true;
else
continue;
}
//CHECK FOR WINNER IN COLUMNS
//using a similar logic
for(int col = 0; col < 3; col++){
flag = true;
for(int row = 0; row < 3; row++){
flag *= (board[row][col] == player);
}
if(flag)
return true;
else
continue;
}
//CHECK FIRST DIAGONAL (row = col)
//reset flag to true
flag = true;
//check diagonal
for(int i = 0; i < 3; i++){
flag *= (board[i][i] == player);
}
//check if there is winner
if(flag)
return true;
//CHECK OTHER DIAGONAL (row = 2 - col)
//reset flag to true
flag = true;
//check diagonal
for(int col = 0; col < 3; col++){
flag *= (board[2-col][col] == player);
}
//check if there is winner
if(flag)
return true;
//if all of these have been checked
//and function still has not returned,
//it means there is no winner
return false;
}
//this function gets a move from the player,
//checks if it is valid, and if yes it puts
//it on the board
void playerMove(char board[][3], char player){
//variables to store user move
int row, col;
//get user move
cout << "Row: ";
cin >> row;
cout << "Col: ";
cin >> col;
//check if this is valid move
//you have to check if that tile has
//already been marked, or if tile
//of choice is out of bounds of board
while(board[row-1][col-1] != '*' ||
row > 3 || row < 0 ||
col > 3 || row < 0)
{
cout << "Invalid move! Try again\n";
cout << "Row: ";
cin >> row;
cout << "Col: ";
cin >> col;
}
//after validation, mark new move
board[row-1][col-1] = player;
}
Answer:
if on edgen. The answer is c
Explanation:
Write a value-returning function that receives an array of integer values and the array size as parameters and returns a count of the number of elements that are less than 60.
Answer:
The c++ function for reversing an array is given. The function is declared void since it returns no value.
void reverse( int arr[], int len )
{
int temp[len];
for( int k = 0; k < len; k++ )
{
temp[k] = arr[k];
}
for( int k = 0, j = len-1; k < len, j>= 0; k++, j-- )
{
arr[k] = temp[j];
}
}
Explanation:
The reverse function uses another array to reverse the elements of the original array.
An integer array is declared, temp[len], having the same length as the input array.
int temp[len];
To begin with, the elements of the input array are copied in the temp array.
for(int k = 0; k < len; k++ )
{
temp[k] = arr[k];
}
Next, the elements of the input array are given new value.
The temp array, in reverse order, is copied into the input array.
for( int k = 0, j = len-1; k < len, j>= 0; k++, j-- )
{
arr[k] = temp[j];
}
The above for loop makes use of two variables simultaneously.
While the array, arr is proceeding from first element to the next, the array temp begins with the last element and goes down to the previous element.
Now, the input array, arr, contains the elements in reverse order.
The complete program is given.
#include <iostream>
using namespace std;
void reverse( int arr[], int len );
void reverse( int arr[], int len )
{
int temp[len];
for(int k = 0; k < len; k++ )
{
temp[k] = arr[k];
}
for( int k = 0, j = len-1; k < len, j>= 0; k++, j-- )
{
arr[k] = temp[j];
}
}
int main()
{
int len = 5;
int arri[len];
for( int l = 0; l < len; l++ )
{
arri[l] = l;
}
reverse( arri, len );
return 0;
}
with the aid of your own example explain how memory,registers and secondary storage all work together
Memory, registers and secondary storage all work together so as to create or produce an ideal storage conditions.
How does memories works together?The use of storage memory serves for different purposes. There is the primary storage and secondary storage that are known to work together so as to bring about a better ideal storage conditions.
An example is if a person save their work in Word, the file data is said to move the data or file from primary storage to a secondary storage device for long-term keeping.
Learn more about Memory from
https://brainly.com/question/25040884
explain declaration and initialization of one and two dimensional arrays with example
The declaration and initialization of arrays involves creating and using the arrays
How to declare an array?Assume the programming language is Java.
To declare and initialize an array, we make use of:
One dimensional array: Data-Type Array-name [] = {List of array values}Two dimensional array: Data-Type Array-name [] [] = {List of array values}Assume the array name of the one dimensional array is num, and the data type is integer.
The following can be used to declare and initialize the array to have 5 elements
int num [] = {1,2,3,4,5}
Assume the array name of the two dimensional array is num, and the data type is integer.
The following can be used to declare and initialize the array to have 2 rows and 3 columns
int num [][] = {{1,2},{3,4},{5,6}}
Read more about arrays at:
https://brainly.com/question/22364342
3.10 LAB: List basics
Given the user inputs, complete a program that does the following tasks:
Define a list, my_list, containing the user inputs: my_flower1, my_flower2, and my_flower3 in the same order.
Define a list, your_list, containing the user inputs, your_flower1 and your_flower2, in the same order.
Define a list, our_list, by concatenating my_list and your_list.
Append the user input, their_flower, to the end of our_list.
Replace my_flower2 in our_list with their_flower.
Remove the first occurrence of their_flower from our_list without using index().
Remove the second element of our_list.
Observe the output of each print statement carefully to understand what was done by each task of the program.
Ex: If the input is:
rose
peony
lily
rose
daisy
aster
the output is:
['rose', 'peony', 'lily', 'rose', 'daisy']
['rose', 'peony', 'lily', 'rose', 'daisy', 'aster']
['rose', 'aster', 'lily', 'rose', 'daisy', 'aster']
['rose', 'lily', 'rose', 'daisy', 'aster']
['rose', 'rose', 'daisy', 'aster']
The program is an illustration of Python lists; lists are used to hold multiple values in a variable
The main programThe program written in Python, where comments are used to explain the code is as follows:
#This gets all required outputs
my_flower1 = input(); my_flower2 = input(); my_flower3 = input(); your_flower1 = input(); your_flower2 = input(); their_flower = input()
# This defines my_list and appends the values of my_flower1, my_flower2, and my_flower3
my_list=[my_flower1,my_flower2,my_flower3]
# This defines your_list and appends your_flower1 and your_flower2
your_list=[your_flower1,your_flower2]
# This defines our_list by and concatenates my_list and your_list
our_list = my_list+your_list
#This prints our_list
print(our_list)
# This appends their_flower to the end of our_list
our_list.append(their_flower)
#This prints our_list
print(our_list)
# This replaces my_flower2 in our_list with their_flower
our_list[our_list.index(my_flower2)]=their_flower
#This prints our_list
print(our_list)
#This removes the first occurrence of their_flower from our_list
our_list.remove(their_flower)
#This prints our_list
print(our_list)
#This removes the second element of our_list
our_list.remove(our_list[1])
#This prints our_list
print(our_list)
Read more about python lists at:
https://brainly.com/question/16397886
why is this not working for my plus membership
Answer:
The overwhelming main cause for PlayStation Plus subscriptions not being recognised is because of PlayStation server maintenance which prevents your PS4 from communicating with Sony and discovering that you are a paid up PS Plus subscriber.
type of software designed for users to customise programs is?
Look at the lines that say health, dental, and retirement which statement below is accurate
The statement that is accurate is that Those lines represent insurance and retirement plans that Hope funds directly from her paycheck.
What is a retirement plan?A retirement plan is known to be a type of plan that has been set up to take handle all the needs of a post-retirement days.
This was designed to help a person have a stress-free life. A retirement savings plan is one that helps to your money to grow and care for your life.
See full question below
Look at the lines that say HEALTH, DENTAL, and RETIREMENT. Which statement below is accurate? Those lines represent taxes that Hope paid to the Federal government b. Those lines represent taxes that Hope paid to the state government Those lines represent benefits that the employer is paying to Hope in addition to her wages d. Those lines represent insurance and retirement plans that Hope funds directly from her paycheck
Learn more about retirement plans from
https://brainly.com/question/12143528
In this lab, you will implement a temperature converter in JavaScript. The user may type a temperature in either the Celsius or Fahrenheit textbox and press Convert to convert the temperature. An image displays based on the converted temperature. (see the image uploaded here)
Use the knowledge in computational language in JAVA to write a code that convert the temperature.
How do I convert Celsius to Fahrenheit in Java?So in an easier way we have that the code is:
Fahrenheit to celsius:/* When the input field receives input, convert the value from fahrenheit to celsius */
function temperatureConverter(valNum) {
valNum = parseFloat(valNum);
document.getElementById("outputCelsius").innerHTML = (valNum-32) / 1.8;
}
Celsius to Fahrenheit:function cToF(celsius)
{
var cTemp = celsius;
var cToFahr = cTemp * 9 / 5 + 32;
var message = cTemp+'\xB0C is ' + cToFahr + ' \xB0F.';
console.log(message);
}
function fToC(fahrenheit)
{
var fTemp = fahrenheit;
var fToCel = (fTemp - 32) * 5 / 9;
var message = fTemp+'\xB0F is ' + fToCel + '\xB0C.';
console.log(message);
}
cToF(60);
fToC(45);
See more about JAVA at brainly.com/question/12975450
discuss the information justify with two examples
Answer:
An example of information is what's given to someone who asks for background about something
Why do crawlers not use POST requests?
Answer:
Generally they do not do POST requests. This is just the current state of affairs and is not dictated anywhere, I believe. Some search engines are experimenting with crawling forms, but these are still GET requests.Explanation:
The implementation of mutex locks provided in Section 6.5 suffers from busy waiting. Describe what changes would be necessary so that a process waiting to acquire a mutex lock would be blocked and placed into a waiting queue until the lock became available.
The changes would be necessary so that a process waiting to acquire a mutex lock would be blocked and placed into a waiting queue is: Spinlocks.
What is spinlock?Spinlock can be defined as the process of enabling a thread to wait while looking for lock that are available.
Spinlock is important as it enable thread to partition processor based on their needs so as to make it possible for thread waiting for spinlock to make use of one processor while other threads can as well run on other processor without hindering or interrupting one another.
Inconclusion the changes would be necessary so that a process waiting to acquire a mutex lock is: Spinlocks.
Learn more about spinlock here:https://brainly.com/question/13766808
You have been asked to write a loop that outputs values in a database column ranging between 10 and 100. Any number that is not divisible by 5, and any value that is not an integer, should be ignored. When the value in the loop hits 95, break the loop prematurely. One of your team members has advised the use of break, continue, and pass statements.
Explanation:
This is going to depend on the language you're working in heavily.
First you will want to verify your number is an integer rather than a floating point which will completely depend on the language and whether you care if the floating point is 1.0 for example, which could still be converted a valid integer value.
After you've determined if it is an integer you can use modulo to check if the integer is evenly divisible by 5. In C-like languages you would write this as `x % 5`. Any result other than zero would mean it is not evenly divisible.
You also need to check if the integer is >= 10 and <= 100.
Read up on for/while loops and break/continue in those loops to understand that concept, it is pretty universal to all languages.
Good luck!
Match the product to its function.
Answer:
MYSQL: Database
MONGO DB: Database
SVELTE: Framework
JS: Language
VUE: Framework
PHP: Language
POSTGRES: Database
React: Framework (a JS library actually)
Python: Language
Restarting a computer which is already on is referred as
Answer:
what is compute
Explanation:
computer is machine
Explain the distinction between a real address and a virtual address.
Answer:
A real address is the physical address in main memory. Though a virtual address is the address of a storage location in virtual memory.
hopes this help (:`
Answer:
send to you and the world is
[ASAP] Choose the tool that best matches each description.
___ is an open-source library that can be used to develop mobile apps in Python, where all of the objects look the same, no matter what platform it is displayed on. In contrast, the ___ library uses native objects, so that applications built with it will look like other apps on that platform.
1. Kivy
2. BeeWare
BeeWare is an open-source library that can be used to develop mobile apps in Python, where all of the objects look the same, no matter what platform it is displayed on.
What is BeeWare used for?Others re:
In contrast, the Kivy library uses native objects, so that applications built with it will look like other apps on that platform.
The BeeWare framework is known to be a kind of open-source network that is known to be a reliable Python program that helps developer with some amount of tools that are used for coding.
Based on the above, BeeWare is an open-source library that can be used to develop mobile apps in Python, where all of the objects look the same, no matter what platform it is displayed on.
Learn more about library from
https://brainly.com/question/1348481
#SPJ1
What stands for “vlog”?
Answer:
Vlog means a Video Blog or log
Explanation:
Stay safe, stay healthy and blessed.
Have a blessed day !
Thank you
"vlog" stands for "video blog"
Explanation ↓If you have a vlog, you have a blog where most of the content is in video format. So your content is mostly videos.
hope helpful ~
PLEASE HELP WILL MARK BRAINLIEST
Answer:
Ok, first what do u think their action is saying/doing, then state if it's effective or ineffective.Explanation:
pls i need the answer rightnow pls pls pls im begging you pls
Answer:
1. scan
2. conduct
3. subject lines
4. firewalls
5. black
6. malware
7. scams
8. blocker
9. links
10. confidential
Explain why database management systems are used in hospitals? Discuss
The reason why database management systems are used in hospitals is because the use of Healthcare databases aids in terms of diagnosis and treatment, handle documentation and billing, and others.
What is a database management system in healthcare?A database management system (DBMS) is known to be a type of software that has been developed to help people to form and keep databases.
It is one that helps to lower the risk of errors associated with medical operations and management. It reduces paperwork and staff and also improves performance.
Learn more about database management from
https://brainly.com/question/24027204
Homework 8 Matlab Write a function called fibonacciMatrix. It should have three inputs, col1, col2, and n. col1 and col2 are vertical arrays of the same length, and n is an integer number greater than 2. It should return an output, fib, a matrix with n columns. The first two columns should be col1 and col2. For every subsequent column:
In this exercise we have to use the knowledge in computational language in python to write the following code:
We have the code can be found in the attached image.
So in an easier way we have that the code is:
function v = myfib(n,v)
if nargin==1
v = myfib(n-1,[0,1]);
elseif n>1
v = myfib(n-1,[v,v(end-1)+v(end)]);
end
end
function v = myfib(n,v)
if nargin==1
v = myfib(n-1,[0,1]);
elseif n>1
v = myfib(n-1,[v,v(end-1)+v(end)]);
elseif n<1
v = 0;
end
function [n] = abcd(x)
if (x == 1 || x==0)
n = x;
return
else
n = abcd(x-1) + abcd(x-2);
end
end
fibonacci = [0 1];
for i = 1:n-2
fibonacci = [fibonacci fibonacci(end)+fibonacci(end-1)];
end
>> myfib(8)
ans =
0 1 1 2 3 5 8 13
>> myfib(10)
ans =
0 1 1 2 3 5 8 13 21 34
See more about python at brainly.com/question/18502436
Complete the sentence.
Times New Roman, Courier New, Arial and Verdana are all examples of _____.
1. web-safe colors
2. web-safe fonts
3. formatting templates
4. accessible fonts
Answer:
web-safe fonts
Explanation:
Because if you look at the different fonts they are all readable
Answer: 2. web-safe fonts
Explanation: got it right on edgen
9.3 code practice
Write a program that creates a 4 x 5 array called numbers. The elements in your array should all be random numbers between -30 and 30, inclusive. Then, print the array as a grid.
For instance, the 2 x 2 array [[1,2],[3,4]] as a grid could be printed as:
1 2
3 4
Sample Output
18 -18 10 0 -7
-20 0 17 29 -26
14 20 27 4 19
-14 12 -29 25 28
Note: the numbers generated in your program will not match the sample output, as they will be randomly generated.
pls help
The program is an illustration of arrays; Arrays are variables that are used to hold multiple values of the same data type
The main programThe program written in C++, where comments are used to explain each action is as follows:
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main(){
//This declares the array
int myArray[4][5];
//This seeds the time
srand(time(NULL));
//The following loop generates the array elements
for(int i = 0; i< 4;i++){
for(int j = 0; j< 5;j++){
myArray[i][j] = rand()%(61)-30;
}
}
//The following loop prints the array elements as grid
for(int i = 0; i< 4;i++){
for(int j = 0; j< 5;j++){
cout<<myArray[i][j]<<" ";
}
cout<<"\n";
}
return 0;
}
Read more about arrays at:
https://brainly.com/question/22364342
Nhich of these is an optical medium of storage?
Answer:
Compact Disks, DVDs, Floppy Drives, Hard Disk Drives
what is an example of fibre optic cable
Answer:
printing cable
Explanation:
is a cable used to transfer information from a computer to the printer in packages
Misinformations about Corona virus
Answer:
be in a crowded place without a mark
Rewrite the following pseudocode segment using a loop structure in the specified languages: k = (j + 13) / 27 loop: if k > 10 then goto out k = k + 1 i = 3 * k - 1 goto loop out: . . . a. C, C++, Java, or C# b. Python c. Ruby Assume all variables are integer type. Discuss which language, for this code, has the best writability, the best readability, and the best combination of the two.
The pseudocode is simply the prototype of the actual program in C, C++, Java, C#, Python or Ruby
The program in C++The pseudocode written in C++ language is as follows:
#include<iostream>
using namespace std;
int main(){
int i, j, k;
cin>>j;
k = (j + 13) / 27;
while (k > 10){
k+=1;
i = 3 * k - 1;
}
return 0;
}
The program in PythonThe pseudocode written in Python language is as follows:
j = int(input())
k = (j + 13) / 27
while (k > 10):
k+=1
i = 3 * k - 1
The program in RubyThe pseudocode written in Ruby language is as follows:
j = gets.chomp.to_i
k = (j + 13) / 27
while k > 10
k = k + 1
i = 3 * k - 1
The code with the best writability and readabilityThe code with the best writability is C++ and the code with the best readability is the Ruby
The best combination of the twoThe best combination of the two languages is the Python language
Read more about pseudocode at:
https://brainly.com/question/11623795
A set of processes and procedures that transform data into information and knowledge is
a.
Computer system
b.
Business system
c.
Database system
d.
Knowledge system
e.
Information system
Answer:
the answer is information system
A set of processes and procedures that transform data into information and knowledge is an Information system, which is the correct answer that would be an option (D).
What is the information system?Information system(IS) refers to systematic, social, and technical, organizational systems that obtain, process, store, and distribute information. Information systems are made up of four components from a socio-technological standpoint: task, people, structure (or roles), and technology.
A computer information system is a system that processes or interprets data that is made up of people and computers.
The term is also used in more limited contexts to refer only to the software used to run a computerized database or to refer only to a computer system.
Thus, a set of processes and procedures that transform data into information and knowledge is an Information system.
Hence, the correct answer would be an option (D).
To learn more about the Information system click here:
https://brainly.com/question/28945047
#SPJ2
What statement is accurate in regards to
sharing workbooks?
Select an answer:
It is a legacy feature that is no longer a feature in Excel.
You must add the feature to the Quick Access Toolbar.
You can share and unshare from the Review option on the
ribbon.
You cannot track the changes of each user.
The statement that is accurate in regards to sharing workbooks is that You must add the feature to the Quick Access Toolbar
What does a shared workbook implies?The term connote the act of sharing an Excel file. Here, a person can give other users any form of access to the same document.
Sharing workbook is one that allow people to make any kinds of edits at the same time, which saves a person the trouble of keeping track of different versions.
Learn more about workbooks from
https://brainly.com/question/5450162