Suppose you are starting work on a project for an organization that has never used any modeling techniques or tools in designing a system. (Yes, it is hard to imagine, but it does exist.) Your manager is reluctant to change from the way they have always done things. Write a one- to two-page issue paper (or a PowerPoint presentation as an alternative) on why systems modeling is worth the time and resources involved. ONE TO TWO PAGE ISSUE PAPER!
In: Computer Science
Enter the first usable host address on the network 181.15.144.200 255.255.255.192.
Please show work.
In: Computer Science
Discuss how you would network AIT-Sea View campus, taking into account the various sections of that campus (computer labs, health clinic, offices, security post, etc)
In: Computer Science
Database Design CIW
State_Capitals Physical Database
Create primary and secondary keys for the attached unfinished physical database design.
CREATE DATABASE STATE_CAPITALS; | ||
GO | ||
USE STATE_CAPITALS; | ||
GO | ||
CREATE TABLE Country( | ||
Country_Code varchar(10) NOT NULL, | ||
Country_Name varchar(50) NOT NULL, | ||
Population int NOT NULL, | ||
Country_Size float NOT NULL | ||
) | ||
GO | ||
CREATE TABLE Region( | ||
Country_Code varchar(10) NOT NULL, | ||
Region_Code varchar(10) NOT NULL, | ||
Region_Name varchar(50) NOT NULL | ||
) | ||
GO | ||
CREATE TABLE State( | ||
Region_Code varchar(10) NOT NULL, | ||
State_Code char(2) NOT NULL, | ||
State_Name varchar(50) NOT NULL, | ||
Date_of_Statehood int NOT NULL, | ||
State_Size float NOT NULL, | ||
State_Population int NOT NULL | ||
) | ||
GO | ||
CREATE TABLE Capital( | ||
State_Code char(2) NOT NULL, | ||
Capital_Code tinyint NOT NULL, | ||
Capital_Name varchar(50) NOT NULL, | ||
Capital_Since smallint NOT NULL, | ||
Land_Area float NOT NULL, | ||
Most_Populous_City bit NOT NULL, | ||
Municipal_Population int NOT NULL, | ||
Metropolitan_Population int NULL, | ||
Note varchar(300) NULL | ||
) | ||
GO | ||
Ensure your submission addresses each of these components:
Submit your project in a word document format
In: Computer Science
Fly By Night Games Company has decided to hire you to program their new board game simulator for the game “Chutes & Ladders”. The board has squares which are numbered from 1 to 100 and players have counters which start on the theorectical square 0. The players take turns at spinning a spinner with the numbers 1 to 6 on it, and each moves his or her counter forward the number of squares corresponding to the number on the spinner. The first person to reach square 100 is the winner. The interest is caused by the fact that pairs of squares are connected together by "ladders" (which connect a lower-numbered square to a higher-numbered square) and "chutes" (which run from high to low). If a counter lands on the start of a chute or ladder, the counter is moved to the corresponding square at the end of the chute or ladder. Note that landing on the end square of a ladder or a chute has no effect, only the start square counts. If a player is on square 95 or higher, then a spin which takes them past 100 must be ignored (for example, a player on square 99 must ignore all spins which are not 1) and the player should be told that the spin is ignored. Ladders and Chutes are shown in the tables below (on page 2). In C++, using functions and loops: 1. Design your game so the user plays in the following manner: Allow two players to play the game and ask the users for their names. The player "spins" and is told the result of their spin. If they land on the start of a chute or ladder, they are told about it. The player should be told where they end up. The other player then spins. Once a player has reached 100, the game ends with an appropriate message. Then, offer to play again. 2. Note that once a player has reached 100, the game should immediately end. The other player does not get another turn. 3. When your program starts execution, it needs to display a welcome message that describes the program to user in a short, but clear message. Blank lines appear before and after the welcome message to help user read the screen. In addition, goodbye message should be displayed to wrap up the program before exiting. Again, blank lines appear before and after the goodbye message to help user read the screen.
In: Computer Science
Which of the following situations described is a good situation to use an abstract class, and where it would be better to use than either a concrete class or an interface?
When some methods in the class are abstract and some are concrete, and some variables in the class need to be private, while other variables need to be public |
||
When the inheriting class is closely related to the abstract class, such as with an "is-a" relationship |
||
When the objects instantiated from the abstract class hierarchy need to be grouped together |
||
When the class will have both concrete and abstract methods |
||
All of the above are reasons to use an abstract class over a concrete class or an interface |
In: Computer Science
Van Bemmel’s model of applications in medicine and health care where he assigns a sliding scale of what is being accomplished by man vs. computer. This model was published in 1984. Do you think that this model would look the same today? If not how would it change? Please justify your answers.
In: Computer Science
Having read chapter 7, discuss how web sites are being promoted. Also, explain what is monetization? What is the connection between promotion of web sites and monetization?
In: Computer Science
dont use loops for it and each problem solving process needs a seperate statement within a function. also create a range for each of the functions to limit input to the max points for each section. also make a dictionary to associate names with student id and hard code some examples in there to return string with students name, their id number, total score, and lab number
using python You will be writing a program that can be used to sum up and report lab scores. Your program must allow a user to enter points values for the four parts of the problem solving process (0-5 points for each step), the code (0-20 points), and 3 partner ratings (0-10) points each. It should sum the points for each problem-solving step, the code, and the average of the three partner ratings and print out a string reporting the student’s information, points earned, and lab number. Each function referred to below must be implemented and have an appropriate docstring. Please work in order of the steps listed below.
Define the function called grade_lab that takes in the lab number and student id as parameters. Have it return a string in the form “Student: XXX earned 50 points on lab Y”. You may start by assuming all students earn 50 points.
Call the function with student id 12345 and for lab 3 and print the string it returns to the screen. Evaluate whether or not it is correct, and whether it could be improved (e.g, with spacing and formatting). Call again with different values and re-evaluate.
Define a function for grading parts of the problem solving process that takes the problem-solving step number (1-4) as a parameter, and prompts the user with a detailed message to enter the score for the giving problem-solving set (e.g., “Please enter a score 0 - 5 earned for understanding the problem: ”). The prompt must be specific to the step number entered.
In the grade_lab function, call the function for grading parts of the problem solving process and replace the 50 point value (referred to in step 1) with the score returned. Then, call the function for steps 2 - 4, and print the total of all scores.
Define a function that prompts the user to enter a score grading code. Be sure to know what values are expected.
In the grade lab function, call the function for grading code and add its value to the total score reported. Test your code to make sure the total score is being calculated correctly.
Define a function that prompts the user to enter 3 partner rating scores (be sure to include expected values) and returns the average of those scores.
In the grade lab function, call the function for getting partner ratings and it to the total score reported. Test this partner function with at least the following values: 10, 10, 10; and then 0, 5, 10. Evaluate whether or not the function is working correctly.
Update your grade_lab function to store names associated with various student ids. Hard code some example id numbers and student names. Update the string returned to include the student name along with their id number.
Execute your code for two different students who received different scores. Evaluate the values printed to screen and update your code as needed.
In: Computer Science
Design an FA (Finite automaton) and RE to accept the set of all strings over the alphabet {0,1} which contains even number of 0's and odd number of 1's.
In: Computer Science
Java
Write a program that will only accept input from a file provided as the first command line argument. If no file is given or the file cannot be opened, simply print “Error opening file!” and stop executing.
A valid input file should contain two lines. The first line is any valid string, and the second line should contain a single integer.
The program should then print the single character from the string provided as the first line of input which is at the index given in the second line.
If this cannot be done for any reason, the program should simply print “Error reading input!” and stop executing.
Complete your solution to this example in Exercise.java, which is open to the left. You may use any combination of If-Then statements and Try-Catch statements to either prevent exceptions from occurring or catching them when they do occur. Either approach is valid.
Example input:
Testing123 7
Here is the correct output for that input:
1
Here’s one more input:
abcd 75
and the correct output:
Error reading input!
In: Computer Science
Peform realistic simulation and visualization for boosting of a campus network design for interconnection and coding of IoE devices with Cisco packet tracer simulator software. In implementation of the design use the following devices like 1941-router, 2960 and 3560 switch, server, cell tower, MCU, fan, webcam, siren, light, motion detector, motion sensor, smart door etc. a. Construct the IoE devices for campus network design b. perform registration and device conditions for IoE devices c. use blockly or python programming with Micro controller unit to control smart things d. Justify the device conditions used and proposed better solutions to improve standards .
In: Computer Science
Write two algorithms to find both the smallest and largest
numbers in a list of n numbers.
In first algorithm, you simply write one loop to find the minimum
and maximum. So there will be 2(n - 1) comparisons.
In second algorithm, you try to find a method that does at most
1.5n comparisons of array items.
Determine the largest list size (i.e., n) that Algorithm 1 can
process and still compute the answer within 60 seconds. Report how
long it takes Algorithm 2 to compute this answer.
In: Computer Science
Serial.flush() and Delay() are the two built-in functions. Place them in the following code to remove the garbage data printing as discussed in class.
Code:
char data;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
while(Serial.available()==NULL){
data = Serial.read();
Serial.print("given character is: ");
Serial.println(data);
}
Serial.end();
}
In: Computer Science
How do I write a program in MIPS that will change all the characters in a string into lowercase.
For instance: string: " CANBERRA AUSTRALIA"
Output: "canberra australia"
In: Computer Science