Question 1: IT Governance [50 marks]
According to a variety of studies, IT governance is usually implemented so as to ensure that IT operations and investments deliver more value to the business.
a) Discuss the activities that are required to setup IT governance in an organization. [25 marks]
b) With the aid of examples, discuss the factors that could affect IT governance. [25 marks]
In: Computer Science
In: Computer Science
C Programming Language
Problem Title : Museum Heist
Jojo loves art. In his free time, he usually goes to the museum and admires the artwork there. since Jojo loves are so much, he is planning a heist at the museum. Jojo knows the price of every piece of art and doesn't want to raise suspicion, so he decided to steal the second most expensive art piece. It is guaranteed that there are at least two art pieces with different prices.
Format Input
A line with integer N followed by another line of N numbers denoting the value of Ai.
Format Output
A single line of integer denoting the price of the second most expensive art piece.
Constraints
¶ 2 ≤ N ≤ 10^5
¶ 1 ≤ Ai ≤ 10^9
Sample Input 1
5
1 7 2 5 3
Sample Output 1
5
Sample Input 2
4
1 7 9 9
Sample Output 2
7
Sample Input 3
7
11 11 13 13 13 12 11
Sample Output 3
11
In: Computer Science
Question 2: Strategic Management of IT [50 marks]
The strategic management of IT can be achieved through the use of various resources.
a) With the aid of examples, discuss the role played by policies and procedures in the strategic management of IT. [25 marks]
b) Propose and discuss the aspects that should be considered during the drafting of an Information Security policy document [25 marks]
In: Computer Science
Question 3: Risk Management [50 marks]
Risk management was identified in the NamCode as being an important activity during governance.
a) Outline how you would develop a risk management program in IT [25 marks]
b) Critically evaluate the strengths and weakness of the various risk analysis methods in IT. [25 marks]
In: Computer Science
c. Why declaring data as protected doesn’t serve any meaningful purpose?
e. How does constructor calling works in an inheritance hierarchy?
In Java. Please answer give thorough answers 200-300 words
In: Computer Science
1. Create a PHP page with standard HTML tags. Remember to save
the file with
the .php extension.
Inside the <body> tag, create a PHP section that will show
the text "Hello
World!"
2. For this exercise, echo the phrase "Twinkle, Twinkle little
star." Create
two variables, one for the word "Twinkle" and one for the word
"star". Echo
the statement tothe browser.
3. PHP includes all the standard arithmetic operators. For this
PHP
exercise, you will use them along with variables to print equations
to the
browser. In your script, create the following variables:
$x=10;
$y=7;
Write code to print out the following:
10 + 7 = 17
10 - 7 = 3
10 * 7 = 70
10 / 7 = 1.4285714285714
10 % 7 = 3
Use numbers only in the above variable assignments, not in the
echo
statements. You will need a third variable as well.
Note: this is intended as a simple, beginning exercise, not using
arrays or
loops.
4. Arithmetic-assignment operators perform an arithmetic operation
on the
variable at the same time as assigning a new value. For this PHP
exercise,
write a script to reproduce the output below. Manipulate only one
variable
using no simple arithmetic operators to produce the values given in
the
statements.
Hint: In the script each statement ends with "Value is now
$variable."
Value is now 8.
Add 2. Value is now 10.
Subtract 4. Value is now 6.
Multiply by 5. Value is now 30.
Divide by 3. Value is now 10.
Increment value by one. Value is now 11.
Decrement value by one. Value is now 10.
In: Computer Science
PLEASE NOTE:1)-DO NOT USE FUNCTIONS USE ONLY DO WHILE LOOP.
2)DO NOT USE IN-BUILT FUNCTIONS.
3)Use of string and char is not allowed.
Write a program in c laungage that prints a table of the binary, octal and hexadecimal equivalents of the decimal numbers in the range1 through 256.
In: Computer Science
MONGODB Question (Similar to JSON) NOSQL QUESTION
1. Describe a scenario and write a query that uses any two of these functions: $concat, $substr, $toLower, $toUpper
2. Describe a scenario and write a query that uses any two of these functions: $add, $divide, $mod, $multiply, $subtract
3. Describe a scenario and write a query that uses $redact, $$descend and $$prune command
In: Computer Science
For your analysis of this module's material, think about the growing capabilities of technology to connect people and the potential opportunities and challenges of the increasing connectivity throughout the world. What is your outlook on the importance of the Internet, IoT (the Internet of Things) and other connectivity technology? Do you agree with Gilder's concept of the "Telecosm" (see module Overview)? In your discussion share an example of at least one benefit and one challenge (that weren't already covered in the module) of the continued development of global connectivity.
In: Computer Science
1. Write a function named ”ThreeDicesAdd” to perform the
following ”experiment” 1000 times: roll 3
six-sided dice and add their values. Put the outcomes in a list
called addDiceList. So addDiceList should
have length 1000, and each of the 1000 elements should be an
integer from 3 to 18. Plot the histogram of
the outcomes.
2. For the same experiment as in question 1, write a function named
”ThreeDicesAdd2” to increase the
experiment times (N) and see how the histogram of the outcomes
changes. For each N, you will have one
histogram plot. Output all plots as a GIF file. (Choose N= 1000 :
10,000 : 1,000,000). matlab question
In: Computer Science
4 visa
5 mastercard
34 and 37 amex
30, 36, 38, 39 diners
60, 64, 65 discover
In: Computer Science
The following code must be written in Matlab
I want to print the following in Matlab (x1,x2, x3) = (0.33333, 0.33333, 0.33333) . The whole thing should be on the same line.
I need to use fprintf and write out the coordinates with 5 decimal places of variable x = (0.33333, 0.33333, 0.33333)
Thanks!
In: Computer Science
I WANT TO IMPLEMENT THIS IN JAVA PLEASE I want to create a small user input system for a university student, where they put the season and year of when they started their uni course. For example the system will ask "What year did you start your degree?", the user will input "Autumn/2022" as a string. Now from a string format as shown, it should take that user input and calculate for example +2 or +3 years to the date. Also it needs to be able to change from Autumn, to another season depending on the amount of years it takes. So if the course will take 3 years, the student will finish "Summer/2025". How can I implement this?
In: Computer Science
I made the command cp code in c language. But when I copy a file, file permissions are not copied equally. So I want to copy the file authority as well. What should I do?
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(int argc, char *argv[])
{
struct stat st;
char ch;
int src, dst;
if(argc != 3)
{
printf("argument error \n");
printf("usage: ./a.out src dest \n");
exit(0);
}
src = open(argv[1], O_RDONLY);
if(src == -1){
perror("open source");
exit(errno);
}
dst = open(argv[2], O_WRONLY | O_CREAT|O_TRUNC,
st.st_mode&(S_IRWXU | S_IRWXG | S_IRWXO));
if(dst == -1){
perror("open source");
exit(errno);
}
while(read(src, &ch,1))
write(dst,&ch,1);
close(src);
close(dst);
return 0;
}
In: Computer Science