Questions
Project Part 2: Gap Analysis Plan and Risk Assessment Methodology   Scenario After the productive team meeting,...

Project Part 2: Gap Analysis Plan and Risk Assessment Methodology  

Scenario

After the productive team meeting, Fullsoft’s chief technology officer (CTO) wants further analysis performed and a high-level plan created to mitigate future risks, threats, and vulnerabilities. As part of this request, you and your team members will create a plan for performing a gap analysis, and then research and select an appropriate risk assessment methodology to be used for future reviews of the Fullsoft IT environment.

An IT gap analysis may be a formal investigation or an informal survey of an organization's overall IT security. The first step of a gap analysis is to compose clear objectives and goals concerning an organization's IT security. For each objective or goal, the person performing the analysis must gather information about the environment, determine the present status, and identify what must be changed to achieve goals. The analysis most often reveals gaps in security between "where you are" and "where you want to be."

Tasks:

  1. Create a high-level plan to perform a gap analysis.
  2. Review the following two risk assessment methodologies:
    1. NIST SP 800-30 rev. 1, Guide for Conducting Risk Assessments (formerly titled " Risk Management Guide for Information Technology Systems")
    2. Operationally Critical Threat, Asset, and Vulnerability Evaluation (OCTAVE), Allegro version
  3. Create a report that includes the gap analysis plan, a brief description of each risk assessment methodology, a recommendation for which methodology Fullsoft should follow, and justification for your choice

In: Computer Science

Linux Fundamentals part 3 Below are questions related to the command line use of Linux. You...

Linux Fundamentals part 3

Below are questions related to the command line use of Linux.  You can use the videos, man pages, and notes to answer these questions. 

Remember that Linux is CASE SENSITIVE.  Rm and rm are NOT the same command.  I will count off totally for a question if you do not take this into account.

For each command give me the ENTIRE COMMAND SEQUENCE.  If I ask you  'What command would I use to move the file one.txt to the parent directory and rename it to two.txt?", the answer is NOT 'mv'. That is only part of the command. I want the entire command sequence.

10. Find all files under the current directory with an accessed time was more than 2 days ago.


11. I have a file called 'BackupLogs.tar.bz2' in my home directory (because you made it from Questions 4 and 8, right? Right!). I want to uncompress and unarchive the files in it. What single command would I use?


12. I have a file called BackupLogs.tar.bz2 and I want to uncompress and ONLY uncompress the file (NOT uncompress and unarchive). What command would I use?


13. I want to search for all files in the directory ~/Documents which contain the keyword "add", case sensitive, and as the whole word only. Words like addendum, addition, etc, should not be found in the results; just 'add'. Additionally, I only want to see the name(s) of the file(s) that have matches as a result of running the command. This means your result should show not the keyword hit AND surrounding text, but rather suppress that output and instead display just the file name. What command would I use? This may sound complicated, but break down each step and use the man page.


14. I have a large file named walloftext.txt and I want to view only the first 5 lines of the file. What command would I use?


15. Same as file as Question 14, but I want to view only the last 7 lines.

In: Computer Science

Add a CountGroups method to the linked list class below (OurList). It returns the number of...

Add a CountGroups method to the linked list class below (OurList). It returns the number of groups of a value from the list. The value is passed into the method. A group is one or more values.

Examples using strings:
A list contains the following strings: one, one, dog, dog, one, one, one, dog, dog, dog, dog, one, one, dog, one
   CountGroup(“one”) prints 4 groups of one's
   CountGroup(“dog”) prints 3 groups of dog's

Do not turn in the code below. Turn in only your method.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LinkListExample
{
    public class OurList<T>
    {
        private class Node
        {
            public T Data { get; set; }
            public Node Next { get; set; }
            public Node(T paramData = default(T), Node paramNext = null)
            {
                this.Data = paramData;
                this.Next = paramNext;
            }
        }

        private Node first;

        public OurList()
        {
            first = null;
        }

        public void Clear()     // shown in class notes
        {
            first = null;
        }

        public void AddFirst(T data)     // shown in class notes
        {
            this.first = new Node(data, this.first);
        }

        public void RemoveFirst()     // shown in class notes
        {
            if (first != null)
                first = first.Next;
        }

        public void AddLast(T data)     // shown in class notes
        {
            if (first == null)
                AddFirst(data);
            else
            {
                Node pTmp = first;
                while (pTmp.Next != null)
                    pTmp = pTmp.Next;

                pTmp.Next = new Node(data, null);
            }
        }

        public void RemoveLast()     // shown in class notes
        {
            if (first == null)
                return;
            else if (first.Next == null)
                RemoveFirst();
            else
            {
                Node pTmp = first;
                while (pTmp.Next != null && pTmp.Next.Next != null)
                    pTmp = pTmp.Next;

                pTmp.Next = null;
            }
        }

        public void Display()     // shown in class notes
        {
            Node pTmp = first;
            while (pTmp != null)
            {
                Console.Write("{0}, ", pTmp.Data);
                pTmp = pTmp.Next;
            }
            Console.WriteLine();
        }

        public bool IsEmpty()     // shown in class notes
        {
            if (first == null)
                return true;
            else
                return false;
        }
     }
}

In: Computer Science

In the funcs directory create a file named funcs.py. This section requires that you implement and...

In the funcs directory create a file named funcs.py. This section requires that you implement and test multiple functions. You should develop these functions and their tests one at a time. The function implementations must be placed in funcs.py. The test cases will, of course, be placed in the provided funcs_tests.py.

You must provide at least two test cases for each of these functions. In addition, you should separate your testing into multiple functions (the file includes stubs for the first two testing functions to get you started).

This part will be executed with: python funcs_tests.py

f(x) = 7x2 + 2x

Write a function, named f (a poor name, really, but maps from the context), that corresponds to the stated mathematical definition.

g(x, y) = x2 + y2

Write a function, named g (again, a poor name), that corresponds to the stated mathematical definition.

hypotenuse

Write a function, named hypotenuse, that takes two arguments corresponding to the lengths of the sides adjacent to the right angle of a right-triangle and that returns the hypotenuse of the triangle. You will need to use the math.sqrt function from the math library, so be sure to import math at the top of your source file.

is_positive

Write a function, named is_positive, that takes a single number as an argument and that returns True when the argument is positive and False otherwise. You must write this function using a relational operator and without using any sort of conditional (i.e., if); the solution without a conditional is actually much simpler than one with. Your test cases should use assertTrue and assertFalse as appropriate.

NOTE:All of the files said to be provided are just templates for the solution but are not needed to do the problem

In: Computer Science

[JAVA SCRIPT] Please create an array of student names and another array of student grades. Create...

[JAVA SCRIPT]

Please create an array of student names and another array of student grades.

Create a function that can put a name and a grade to the arrays.

Keep Read student name and grade until student name is “???”. And save the reading by using a function

Create another function to show all the grade in that object.

Create the third function that can display the maximum grade and the student’s name.

Create a sorting function that can sort the arrays based on the student’s grade.

Display all the grades and names sorted by the grade.

In: Computer Science

Python file def calci(): grade = float(input("Enter your grade:")) while (grade <= 4): if (grade >=...

Python file

def calci(): grade = float(input("Enter your grade:")) while (grade <= 4): if (grade >= 0.00 and grade <= 0.67): print("F") break elif (grade >= 0.67 and grade <= 0.99): print("D-") break elif (grade >= 1.00 and grade <= 1.32): print("D") break elif (grade >= 1.33 and grade <= 1.66): print("D+") break elif (grade >= 1.67 and grade <= 1.99): print("C-") break elif (grade >= 2.00 and grade <= 2.32): print("C") break elif (grade >= 2.33 and grade <= 2.66): print("C+") break elif (grade >= 2.67 and grade <= 2.99): print("B-") break elif (grade >= 3.00 and grade <= 3.32): print("B") break elif (grade >= 3.33 and grade <= 3.66): print("B+") elif (grade >= 3.67 and grade <= 3.99): print("A-") break elif (grade == 4.00): print("A") break elif (grade == 4.00): print("A+") else: print("Invalid input enter FLOAT only") def main2(): question = input("Continue (y/n)") if question == "y" or question == "Y": calci() if question == "n" or question == "N": print("Bye") print("ISQA 4900 quiz") main2() TWO PROBLEM1)it need to ask question everytime 2) it should show an invalid message

In: Computer Science

I need to create a monthly loan Calculator in C++. I know the formula but can't...

I need to create a monthly loan Calculator in C++. I know the formula but can't figure out what's wrong with my code. Any clarification would be appreciated!


// Only add code where indicated by the comments.
// Do not modify any other code.
#include <iostream>
#include <cmath>
using namespace std;

int main() {
   // ---------------- Add code here --------------------
   // -- Declare necessary variables here              --
  
    int years = 0; //n
    int LoanAmount = 0;
    double AnnualRate = 0.0; //r
    double payment = 0.0;
  
    // --
    cout << "Enter the amount, rate as a percentage (e.g. 3.25), and number of years\n";
    cout << " separated by spaces: " << endl;

   // ---------------- Add code here --------------------
   // -- Receive input and compute the monthly payment --
   cin >> LoanAmount >> AnnualRate >> years;

   AnnualRate = AnnualRate / 100;
   years = years * 12;

   payment = ((LoanAmount * AnnualRate) / 1 - (1 + AnnualRate) * -years);
  
   // ---------------- Add code here ------------------
    // Print out the answer as a double, all by itself
    // (no text) followed by a newline
    // Ex. cout << payment << endl;

   cout << payment << endl;

  
    return 0;
}

In: Computer Science

Develop a C program for matrix multiplication focusing on using malloc and pointers WITHOUT USING BRACKETS...

Develop a C program for matrix multiplication focusing on using malloc and pointers WITHOUT USING BRACKETS [] !!

* DO not use [ ] 'brackets', focus on using malloc, calloc, etc...

Program will ask user for the name of the text file to be read
Read the datafile with format:
1
2
1
1 2
3
4
So the first three lines will represent m, n, p (Matrix A: m x n ||| Matrix B: n x p), follwing are the two matrices.
Representing:
A = |1 2|     B = |3|
                         |4|

------------------------------------------------
example input and output:
Matrix A contents:
    1    2
    3    4
    5    6

Matrix B contents:
    7    8    9   10
   11   12   13   14

Matrix A * B is:
   29   32   35   38
   65   72   79   86
101 112 123 134

The datafile read for this example is:
3
2
4
1 2
3 4
5 6
7 8 9 10
11 12 13 14

In: Computer Science

Specification This script reads in class data from a file and creates a dictionary. It then...

Specification

This script reads in class data from a file and creates a dictionary.

It then prints the data from the dictionary.

The script has the following functions

  • class_tuple_create
  • print_classes

class_tuple_create

This function has the following header

def class_tuple_create(filename):

The function reads in a file with four fields of data about a class.

The fields are

        
Course ID       Room number     Instructor      Start time

The function must print an error message if the file cannot be opened for any reason.

The function should read in each line of the file and split it into a list of 4 elements.

It should add the information in the line into a dictionary, where the key is the course number and the value is a tuple consisting of the room number, the instructor and the start time.

The function should return this dictionary when it has read all the lines in the file.

print_classes

This function has the following header

def print_classes(class_info):

It should print the following table header

ID      Room            Instr   Start

Then it should print out the data for each class in alphabetical order by Class ID.

The data for each course should align with the labels.

Test Code

The script must contain the following test code at the bottom of the file

class_information = class_tuple_create('xxxxx')
class_information = class_tuple_create('courses.txt')
print_classes(class_information)

For the test code to work you must copy into your hw3 directory the file from /home/ghoffman/course_files/it117_files.

cp  /home/ghoffman/course_files/it117_files/courses.txt  .

Suggestions

Write this script in stages, testing your script at each step

  1. Create the file hw3.py and copy the function header for class_tuple_create into it.
    For the body of this function enter pass. Copy the function header for print_classes into the script.
    Again use pass as the function body.
    Copy the test code above into the script.
    Make the script executable and run it.
    You should see nothing.
    If you get an error message, fix the problem before proceeding.
  2. Remove the pass statement in class_tuple_create.
    Create a file object so you can read the file given as a parameter.
    Write an error message if the file cannot be opened.
    Run the script.
    You should see one error message.
  3. Using a for loop print each line of the file.
    Run the script and fix any errors.
  4. Remove the print statement you just created.
    In it's place use the split string method to create a list of words in the line.
    Print the list of words.
    Run the script and fix any errors.
  5. Remove the print statement you just created.
    Define the variable course_id and set its value to the first element of the list.
    Print the value of this variable.
    Run the script and fix any errors.
  6. Create the variable class_data and set its value to a tuple consisting of the remaining fields in the list.
    You might want to use a slice to do this and tuple conversion function to do this.
    Print course_id and class_data.
    Run the script and fix any errors.
  7. Create an empty dictionary at the top of the function.
    Inside the for loop add an entry to the dictionary where the key is the class ID and the value is the tuple.
    Outside the loop but still inside the function, print this dictionary.
    Run the script and fix any errors.
  8. Remove all print statements from class_tuple_create.
    Have the function return the dictionary you just created.
    Remove the pass statement from print_classes and replace it with a statement that prints the parameter.
    Run the script and fix any errors.
  9. Using a for loop, print the class IDs in sorted alphabetical order.
    Run the script and fix any errors.
  10. Inside the loop use the create the variable course_data and assign it the tuple associated with each class ID.
    Print the class ID and tuple for each class.
    Run the script and fix any errors.
  11. Change the print statement so that it prints the class ID and each element of the tuple with a Tab between each value.
    Run the script and fix any errors.
  12. Print the labels for each column and a line of dashes underneath it.

Output

The output should look something like this

Error: Unable to open xxxxx
ID  Room    Instr   Start
-------------------------------
CM241   1411    Lee 13:00
CS101   3004    Haynes  8:00
CS102   4501    Smith   9:00
CS103   6755    Rich    10:00
NT110   1244    Burke   11:00

In: Computer Science

Implement an infix expression to postfix expression convertor in C++. Note: - Support +, -, *,...

Implement an infix expression to postfix expression convertor in C++.

Note: - Support +, -, *, /, ( and ) in infix expressions.

- Operands will be nonnegative only.

- Assume infix expressions are valid and well formatted (one blank space to separate operand/operator)

For example,

- 3 * 4 + 5 ➔ 3 4 * 5 +

- 3 + 4 * 5 ➔ 3 4 5 * +

- (3 + 4) * (5 + 6) ➔ 3 4 + 5 6 + *

In: Computer Science

Write a C# console program that continually asks the user "Do you want to enter a...

Write a C# console program that continually asks the user "Do you want to enter a name (Y/N)? ". Use a "while" loop to accomplish this. As long as the user enters either an upper or lowercase 'Y', then prompt to the screen "Enter First and Last Name: " and then get keyboard input of the name. After entering the name, display the name to the screen.

In: Computer Science

Describe how cloud computing may lead to “intelligent fabrics” in the future and how this will...

Describe how cloud computing may lead to “intelligent fabrics” in the future and how this will impact companies and consumers. Use real-world examples to support your assertions.

In: Computer Science

Write a C# console program that continually asks the user "Do you want to enter a...

Write a C# console program that continually asks the user "Do you want to enter a name (Y/N)? ". Use a "while" loop to accomplish this. As long as the user enters either an upper or lowercase 'Y', then prompt to the screen "Enter First and Last Name: " and then get keyboard input of the name. After entering the name, display the name to the screen.

In: Computer Science

Linux Fundamentals part 4 final Below are questions related to the command line use of Linux....

Linux Fundamentals part 4 final

Below are questions related to the command line use of Linux.  You can use the videos, man pages, and notes to answer these questions. 

Remember that Linux is CASE SENSITIVE.  Rm and rm are NOT the same command.  I will count off totally for a question if you do not take this into account.

For each command give me the ENTIRE COMMAND SEQUENCE.  If I ask you  'What command would I use to move the file one.txt to the parent directory and rename it to two.txt?", the answer is NOT 'mv'. That is only part of the command. I want the entire command sequence.

16. Find all files under ~ whose content contain the keyword taco OR Taco OR taCo OR tacO. NOT all variations in case for 'taco', but just the variations listed meaning a keyword of tAco, tACO, tACo, etc, will not produce a result.


17. Find all files under the current directory which ends in '.txt' (just the .txt not the single quotes) and use -exec to create a listing of each files inode number. Since we're using -exec, this means we will call another command to produce the inode based on the results found. What command do we use to make listings? Now you just need to find how to make it produce an inode result. To the man page!


18. What command would I run to update the database of file names used by the locate command?


19. Find all files under the /var directory with a size less than 1 kilobyte. Use -exec and an appropriate command to copy those files to ~/Documents/FallFun/sep.


20. Find all files under the ~ directory that are named 'Picard' ignoring case.

In: Computer Science

Prove that the following language are NOT regular using the pumping lemma (20 pt.) ? =...

Prove that the following language are NOT regular using the pumping lemma

  1. (20 pt.) ? = {? ∈ {?, #}∗ | ? = ??#??# ... #?? ??? ? ≥ ?, ?? ∈ ?∗ ??? ????? ?, ??? ?? ≠?? ???????? ?≠?}
    Hint: choose a string ? ∈ ? that contains ? #’s.

In: Computer Science