Description
U need to use quantopian to do this work, and finish part A to part E. Everything in the file, please deilver on time.
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Explanation & Answer
Hi,Pleas...
Completion Status:
100%
Review
Review
Anonymous
Really great stuff, couldn't ask for more.
Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Most Popular Content
CSCI1145 Columbus State Community College Unit 8 HTML Table Project
https://courses.cscc.edu/bbcswebdav/pid-12342528-dt-content-rid-77225528_1/courses/CSCI-1145-W02-32402-AU-2019/endresultHW ...
CSCI1145 Columbus State Community College Unit 8 HTML Table Project
https://courses.cscc.edu/bbcswebdav/pid-12342528-dt-content-rid-77225528_1/courses/CSCI-1145-W02-32402-AU-2019/endresultHW7.PNGThis is how this assignment needs to look when completed. 1145 – Exercise 7 In this assignment you will create a webpage that has an HTML table on it. The HTML table will consist of data that reflects the names of a few of your family members or friends (made up names will suffice too), and their birthday. Your page and table should look like the example you can view in Blackboard. Perform the following tasks to complete the assignment: Create an external style sheet using a text editor of your choosing. In the CSS file add the following style rules:Set table layout to be fixed.Ensure the table width is set to 100%.Apply a border to the table, table headers, and table data.Make sure the table borders as set to collapse.Configure 20px of padding for table headers and table data and make sure text is center aligned for these elements.Configure a black background with white text color that is bold for <thead>.Configuring zebra striping for the rows in <tbody> that displays even rows with this shade of blue - #0056ED and odd rows with this shade of blue - #D7FAFE.Configure a black background with white text color that is 9px in size and centered for <tfoot>.Configure the caption to have a font size of 25px and padding of 10px.Save the file as styles.css.Create a webpage using a text editor of your choosing. In the html file add the following:Make sure to include the standard HTML 5 template.In the <head> section link to the stylesheet you created earlier.In the <body> section use an <h1> that contains the text “My First HTML Table”Under that <h1> open your <table> and configure a caption for the table using the <caption> element.Under <caption> you will begin coding your table. The table needs to have a header row, and at least three rows of table data consisting of the First Name, Last Name, and Birthday. The header row needs to be configured in <thead> and should use the <th> element. The table data needs to be configured within <tbody>. Finally, configure a footer for the table in <tfoot> that contains the text “Last updated on XX/XX/YYYY” with the values filled in for whatever date you created the table. It should span 3 columns. Make sure the text is centered.Close the table with the appropriate closing tag.Save the file as table.htmlOnce finished creating these two files, log in to your citWebDev account using FileZilla.Create a new folder within the public_html/csci1145/ folder named exercise7.Upload both the CSS file and HTML file to the public_html/csci1145/exercise7/ folder.Submit the complete URL of this work to this Blackboard assignment in the "Submission" text field.A correctly formatted URL should look like http://citwebdev.cscc.edu/~username/csci1145/exercise7/ where username is your CSCC username. <h1>
Snake Game for Java Code
Problem 1: SnakeGamePanel.javaCreate a public class SnakeGamePanel which is a sub-class of JPanelpublic class SnakeGamePan ...
Snake Game for Java Code
Problem 1: SnakeGamePanel.javaCreate a public class SnakeGamePanel which is a sub-class of JPanelpublic class SnakeGamePanel extends JPanelThis class will implement the Snake game on a JPanel. Here is the basic setup:The screen of the game is 320x320 pixels large. The apple’s size is 20x20 pixels. At the beginning of the game, the snake is also has the size of an apple.The positions of the snake and apple are randomly selected and cannot be the same. Their x and y coordinates have to be multiples of 20 and in the range of [0, 300].Paint your snake red and apple green.The snake does not move at the beginning. As an arrow key is pressed, the snake starts tomove in the direction of the arrow.As the game starts, the snake moves with a constant speed of 20pixels/0.25second. The jump is precisely 20 pixels. Use a Timer with the delay time set to be 250 milliseconds to fire an action event periodically and then update the animation graphics in the action listener.In detail:During the (delay) time between two consecutive animation graphics updates, the player can hit multiple and different arrow keys. Still, the last key will override all previous keys, and you need to use the last key for graphics updates. Write a class DirectionListener that implements the interface KeyListener to keep track of the (final) pressed key during any delay time.private class DirectionListener implements KeyListenerYou only need to implement the method keyPressed() of this interface and leave the implemen- tations of other methods empty. Remember the role of this class is to obtain the direction of the snake. Do not update the snake’s position or call the repaint() method.Write a class MovingListener to implement the interface ActionListener. 1 Figure 1: The snake is moving to the left, before and after eating an apple. After the snake eats an apple, another apple is generated. A sequence is added to the tail of the snake.private class MovingListener implements ActionListenerIn implementing the actionPerformed() method, use the arrow key obtained from the keyPressed() method to update the snake’s position. You need to make sure that the snake cannot reverse its direction. For example, if the snake is moving right and the player presses the left arrow key, the snake does not change its direction. Instead, the left arrow key is ignored, and the snake keeps moving right. One important thing: if no arrow key is pressed, the snake keeps going in the same direction.In the implementation of actionPerformed(), you will need to call repaint() and override the paintComponent(..) method:protected void paintComponent (Graphics g)This method will repaint the panel, as well as the snake and apple.After eating an apple, the snake increases its length by one sequence (a square with the same size as the apple). Add that sequence to the tail of the snake. Then generate a new apple by implementing the method nextApple()private void nextApple ()The apple position should also be random, and cannot be located on the body of the snake.After eating every four apples, the game speed increases: reducing the delay time of the Timer by 20 milliseconds. Let the minimum delay time be 50 milliseconds (highest speed). So there will be 11 levels in this game, corresponding to delay times 250, 230, . . . 70, 50. After reaching level 11, the speed does not change no matter how many more apples the snake eats.Write the method isGameOver() to check whether the game is over: private boolean isGameOver()The game is over when the snake hits itself or hits the panel border. The function will return true if the game is over, and false otherwise. Naturally, you will check whether the game is over before calling the repaint() method. The other way around might be ok but not encouraged since we2can assume the snake is in-compressible.While playing the game, if the space key is hit, the game pauses and a dialog box appears saying “Pause, continue?” with a “OK” button. The game will resume as the space key is pressed again or you click the OK button. The snake will continue to move in the same direction as before the pause.When the game is over, show a dialog box with message “Game Over, New Game?” and an “OK” button. You can use either ConfirmDiaglog or OptionDiaglog. Once the play hits the button, a new game is generated. You might need to implement a method newGame() to set this up.private void newGame ()In this method, you will reset the timer’s delay time, restart the timer, and generate a new snakeas well as a new apple.Create an private inner-class Sequence to store the 2D coordinates of apples and snake’s body. Class Sequence provides a parametric constructorpublic Sequence(int x, int y)The class has two instance variables x and y which are the coordinates of a sequence. You can setthese fields public so you can access them directly. Use ArrayList to store the snake (its sequences):ArrayList <Sequence > snake = new ArrayList <>()You will learn ArrayList in detail soon. ArrayList is similar to vector in C++ where its ele- ments are stored contiguously in memory and you do not need to worry about the change of the array size. The class provides some useful methods such as get(int index), add(Object obj), remove(int index), and size(). You can use these methods for this project.A little bit in detail: a snake is like a FIFO (first in first out) data structure.• When the snake grows by one bit, we push a sequence on top of the stack. When it moves by one square, we push a sequence on top and pop an element off the bottomYou will see that Queue or LinkedList is probably a better data structure for this program. However, ArrayList can access data with a constant time. So there is always a tradeoff among these data structures. You will soon learn how to implement & use LinkedList efficiently, but you do not know it now. ArrayList is good enough for now.3Problem 2: SnakeGame.javaIn this java file, create a static method main()public static void main(String args[])In this method, you will create a JFrame with name “Snake Game.” Add a SnakeGamePanel tothis JFrame, set its size un-resizable.We may take off up to 20% of the total marks for poor style; make sure to name your variablesreasonably, indent properly, and comment sufficiently.
CUMS Well Novels Bigram Networks Project Overview Report
Create notwork graph of bigrams in a Wells' novels. Do not include stop words. Make the links darker the more common the b ...
CUMS Well Novels Bigram Networks Project Overview Report
Create notwork graph of bigrams in a Wells' novels. Do not include stop words. Make the links darker the more common the bigram is. Use arrows at the end of the line toward the second word. Colorize the central node. Show a chart and your code with line-by-line comments. Create a count_bigrams function to reuse for counting bigrams in other texts. Comment your code line by line. Create a visualize_bigrams function to reuse for visualizing network graphs of other texts. Comment your code line by line. Show an example network graph.Please add your commentary, in your own words, on what the graphs are showing. Related materials and code for references can be found here: https://www.tidytextmining.com/ngrams.htmlI need the rmd file so that I can execute the code on my mac and pdf of the output you executed. Always repeat the question you are answering. Thank you!
7 pages
Osi Layers
Telecommunication network protocols are the transfer of information over a distance, which is done electronically using gu ...
Osi Layers
Telecommunication network protocols are the transfer of information over a distance, which is done electronically using guidelines and rules for ...
Similar Content
i don't know why char don't wanna go throw?
#include <iostream>
#include <string>
using namespace std;
int main()
{
&nb...
hw python
9 questions.And i will run all questions through grade scope. and we are done with those questions once they all got passe...
sys admin test do not bid
please do not bid...
Website Design Question
...
This is what I was referring to
This is what I was referring to...
6 java questions
I've 6 questions in java. I need them solved with some explanation, especially questions #: 1, 4, 6 ...
Makeup Lab 2 Python
Begin your code with a Python comment that has your name and section number. This program is to illustrate working with a ...
Project
• In modern day, the messaging app is only consist of and include the features of augmented reality. So, user feel his f...
Plots
q=Medellin&APPID=b5904b7602f68fcca1d8886d36b36c4e'); q=Miami&APPID=b5904b7602f68fcca1d8886d36b36c4e');...
Related Tags
Book Guides
The 5 Love Languages
by Gary Chapman
Killers of the Flower Moon
by David Grann
Wuthering Heights
by Emily Brontë
Silas Marner
by George Eliot
A Wrinkle as Time
by Madeleine L'Engle
How to Win at the Sport of Business
by Mark Cuban
Homo Deus
by Yuval Noah Harari
All the Kings Men
by Robert Penn Warren
Get 24/7
Homework help
Our tutors provide high quality explanations & answers.
Post question
Most Popular Content
CSCI1145 Columbus State Community College Unit 8 HTML Table Project
https://courses.cscc.edu/bbcswebdav/pid-12342528-dt-content-rid-77225528_1/courses/CSCI-1145-W02-32402-AU-2019/endresultHW ...
CSCI1145 Columbus State Community College Unit 8 HTML Table Project
https://courses.cscc.edu/bbcswebdav/pid-12342528-dt-content-rid-77225528_1/courses/CSCI-1145-W02-32402-AU-2019/endresultHW7.PNGThis is how this assignment needs to look when completed. 1145 – Exercise 7 In this assignment you will create a webpage that has an HTML table on it. The HTML table will consist of data that reflects the names of a few of your family members or friends (made up names will suffice too), and their birthday. Your page and table should look like the example you can view in Blackboard. Perform the following tasks to complete the assignment: Create an external style sheet using a text editor of your choosing. In the CSS file add the following style rules:Set table layout to be fixed.Ensure the table width is set to 100%.Apply a border to the table, table headers, and table data.Make sure the table borders as set to collapse.Configure 20px of padding for table headers and table data and make sure text is center aligned for these elements.Configure a black background with white text color that is bold for <thead>.Configuring zebra striping for the rows in <tbody> that displays even rows with this shade of blue - #0056ED and odd rows with this shade of blue - #D7FAFE.Configure a black background with white text color that is 9px in size and centered for <tfoot>.Configure the caption to have a font size of 25px and padding of 10px.Save the file as styles.css.Create a webpage using a text editor of your choosing. In the html file add the following:Make sure to include the standard HTML 5 template.In the <head> section link to the stylesheet you created earlier.In the <body> section use an <h1> that contains the text “My First HTML Table”Under that <h1> open your <table> and configure a caption for the table using the <caption> element.Under <caption> you will begin coding your table. The table needs to have a header row, and at least three rows of table data consisting of the First Name, Last Name, and Birthday. The header row needs to be configured in <thead> and should use the <th> element. The table data needs to be configured within <tbody>. Finally, configure a footer for the table in <tfoot> that contains the text “Last updated on XX/XX/YYYY” with the values filled in for whatever date you created the table. It should span 3 columns. Make sure the text is centered.Close the table with the appropriate closing tag.Save the file as table.htmlOnce finished creating these two files, log in to your citWebDev account using FileZilla.Create a new folder within the public_html/csci1145/ folder named exercise7.Upload both the CSS file and HTML file to the public_html/csci1145/exercise7/ folder.Submit the complete URL of this work to this Blackboard assignment in the "Submission" text field.A correctly formatted URL should look like http://citwebdev.cscc.edu/~username/csci1145/exercise7/ where username is your CSCC username. <h1>
Snake Game for Java Code
Problem 1: SnakeGamePanel.javaCreate a public class SnakeGamePanel which is a sub-class of JPanelpublic class SnakeGamePan ...
Snake Game for Java Code
Problem 1: SnakeGamePanel.javaCreate a public class SnakeGamePanel which is a sub-class of JPanelpublic class SnakeGamePanel extends JPanelThis class will implement the Snake game on a JPanel. Here is the basic setup:The screen of the game is 320x320 pixels large. The apple’s size is 20x20 pixels. At the beginning of the game, the snake is also has the size of an apple.The positions of the snake and apple are randomly selected and cannot be the same. Their x and y coordinates have to be multiples of 20 and in the range of [0, 300].Paint your snake red and apple green.The snake does not move at the beginning. As an arrow key is pressed, the snake starts tomove in the direction of the arrow.As the game starts, the snake moves with a constant speed of 20pixels/0.25second. The jump is precisely 20 pixels. Use a Timer with the delay time set to be 250 milliseconds to fire an action event periodically and then update the animation graphics in the action listener.In detail:During the (delay) time between two consecutive animation graphics updates, the player can hit multiple and different arrow keys. Still, the last key will override all previous keys, and you need to use the last key for graphics updates. Write a class DirectionListener that implements the interface KeyListener to keep track of the (final) pressed key during any delay time.private class DirectionListener implements KeyListenerYou only need to implement the method keyPressed() of this interface and leave the implemen- tations of other methods empty. Remember the role of this class is to obtain the direction of the snake. Do not update the snake’s position or call the repaint() method.Write a class MovingListener to implement the interface ActionListener. 1 Figure 1: The snake is moving to the left, before and after eating an apple. After the snake eats an apple, another apple is generated. A sequence is added to the tail of the snake.private class MovingListener implements ActionListenerIn implementing the actionPerformed() method, use the arrow key obtained from the keyPressed() method to update the snake’s position. You need to make sure that the snake cannot reverse its direction. For example, if the snake is moving right and the player presses the left arrow key, the snake does not change its direction. Instead, the left arrow key is ignored, and the snake keeps moving right. One important thing: if no arrow key is pressed, the snake keeps going in the same direction.In the implementation of actionPerformed(), you will need to call repaint() and override the paintComponent(..) method:protected void paintComponent (Graphics g)This method will repaint the panel, as well as the snake and apple.After eating an apple, the snake increases its length by one sequence (a square with the same size as the apple). Add that sequence to the tail of the snake. Then generate a new apple by implementing the method nextApple()private void nextApple ()The apple position should also be random, and cannot be located on the body of the snake.After eating every four apples, the game speed increases: reducing the delay time of the Timer by 20 milliseconds. Let the minimum delay time be 50 milliseconds (highest speed). So there will be 11 levels in this game, corresponding to delay times 250, 230, . . . 70, 50. After reaching level 11, the speed does not change no matter how many more apples the snake eats.Write the method isGameOver() to check whether the game is over: private boolean isGameOver()The game is over when the snake hits itself or hits the panel border. The function will return true if the game is over, and false otherwise. Naturally, you will check whether the game is over before calling the repaint() method. The other way around might be ok but not encouraged since we2can assume the snake is in-compressible.While playing the game, if the space key is hit, the game pauses and a dialog box appears saying “Pause, continue?” with a “OK” button. The game will resume as the space key is pressed again or you click the OK button. The snake will continue to move in the same direction as before the pause.When the game is over, show a dialog box with message “Game Over, New Game?” and an “OK” button. You can use either ConfirmDiaglog or OptionDiaglog. Once the play hits the button, a new game is generated. You might need to implement a method newGame() to set this up.private void newGame ()In this method, you will reset the timer’s delay time, restart the timer, and generate a new snakeas well as a new apple.Create an private inner-class Sequence to store the 2D coordinates of apples and snake’s body. Class Sequence provides a parametric constructorpublic Sequence(int x, int y)The class has two instance variables x and y which are the coordinates of a sequence. You can setthese fields public so you can access them directly. Use ArrayList to store the snake (its sequences):ArrayList <Sequence > snake = new ArrayList <>()You will learn ArrayList in detail soon. ArrayList is similar to vector in C++ where its ele- ments are stored contiguously in memory and you do not need to worry about the change of the array size. The class provides some useful methods such as get(int index), add(Object obj), remove(int index), and size(). You can use these methods for this project.A little bit in detail: a snake is like a FIFO (first in first out) data structure.• When the snake grows by one bit, we push a sequence on top of the stack. When it moves by one square, we push a sequence on top and pop an element off the bottomYou will see that Queue or LinkedList is probably a better data structure for this program. However, ArrayList can access data with a constant time. So there is always a tradeoff among these data structures. You will soon learn how to implement & use LinkedList efficiently, but you do not know it now. ArrayList is good enough for now.3Problem 2: SnakeGame.javaIn this java file, create a static method main()public static void main(String args[])In this method, you will create a JFrame with name “Snake Game.” Add a SnakeGamePanel tothis JFrame, set its size un-resizable.We may take off up to 20% of the total marks for poor style; make sure to name your variablesreasonably, indent properly, and comment sufficiently.
CUMS Well Novels Bigram Networks Project Overview Report
Create notwork graph of bigrams in a Wells' novels. Do not include stop words. Make the links darker the more common the b ...
CUMS Well Novels Bigram Networks Project Overview Report
Create notwork graph of bigrams in a Wells' novels. Do not include stop words. Make the links darker the more common the bigram is. Use arrows at the end of the line toward the second word. Colorize the central node. Show a chart and your code with line-by-line comments. Create a count_bigrams function to reuse for counting bigrams in other texts. Comment your code line by line. Create a visualize_bigrams function to reuse for visualizing network graphs of other texts. Comment your code line by line. Show an example network graph.Please add your commentary, in your own words, on what the graphs are showing. Related materials and code for references can be found here: https://www.tidytextmining.com/ngrams.htmlI need the rmd file so that I can execute the code on my mac and pdf of the output you executed. Always repeat the question you are answering. Thank you!
7 pages
Osi Layers
Telecommunication network protocols are the transfer of information over a distance, which is done electronically using gu ...
Osi Layers
Telecommunication network protocols are the transfer of information over a distance, which is done electronically using guidelines and rules for ...
Earn money selling
your Study Documents