Tic Tac Toe 1 Main Method Create 2d String Array Populate 0 1 2 Etc B Call Method Prints Q43807671
NEEDIT IN JAVA PLEASE
Tic-Tac-Toe 1. In the main method a. Create a 2D String array and populate it with “0”,”1″,”2″, etc. b. Call a method which prints the board. You will write this method in a bit. C. Create a scanner which takes keyboard input and loop until the game ends. d. Take input for player X i. Then call a method to mark the board ii. Then check to see if Player X won. e. Take input for player 0 i. Then call a method to mark the board ii. Then check to see if Player O won. f. Thank the players for playing. g. My code is <20 lines. 2. Create the following methods a. public static void printBoard(String a[[ ]][/your code} i. Ugly output takes <10 lines. Get this working first ii. Later, you can make it pretty. That takes about 20 lines b. public static void placeMark(String board[][], int spot, String mark) i. spot is a variable that contains a number 1-9. ii. mark contains either “X” or “O”. iii. My code is <10 lines C. public static boolean checkWin(String b[0][//your code} i. Do one of the following 1. Print “Player X is the winner!” 2. Print “Player O is the winner!” 3. Print “The game is a tie.” 4. Return to game play if there is no winner and no tie. 5. My code is ~40 lines but it is simple. a. Check for a winner in rows b. Check for a winner in columns C. Check for a winner diagonally d. If there is a winner, print results e. Return to main method and keep on playing Show transcribed image text Tic-Tac-Toe 1. In the main method a. Create a 2D String array and populate it with “0”,”1″,”2″, etc. b. Call a method which prints the board. You will write this method in a bit. C. Create a scanner which takes keyboard input and loop until the game ends. d. Take input for player X i. Then call a method to mark the board ii. Then check to see if Player X won. e. Take input for player 0 i. Then call a method to mark the board ii. Then check to see if Player O won. f. Thank the players for playing. g. My code is
Expert Answer
Answer to Tic-Tac-Toe 1. In the main method a. Create a 2D String array and populate it with “0”,”1″,”2″, etc. b. Call a method wh…
Tic Tac Toe Java Programming Need Help Simple Tic Tac Toe Java Game Gui Q43792751
TicTac Toe Java ProgrammingI need help in a simple tic tac toe java game with noGUI
• All game data and logic must be handled by an object called board (An instance of a class called Board) The user interactions (printing the board and accepting the player input) must be handled by an instance (view) of a class called View An instance (ctrl of a third class called the Controller is used to glue the above two classes together. To do so, it creates instances of the 1″ two classes and provides a method (play) to link their interfaces together. . Here is an example of a game play session: You: X Computer: 0 1 Row: 2 col. 2 1 0 Row: 3 Col: 3 12 You won! Show transcribed image text • All game data and logic must be handled by an object called board (An instance of a class called Board) The user interactions (printing the board and accepting the player input) must be handled by an instance (view) of a class called View An instance (ctrl of a third class called the Controller is used to glue the above two classes together. To do so, it creates instances of the 1″ two classes and provides a method (play) to link their interfaces together. . Here is an example of a game play session: You: X Computer: 0 1 Row: 2 col. 2 1 0 Row: 3 Col: 3 12 You won!
Expert Answer
Answer to Tic Tac Toe Java ProgrammingI need help in a simple tic tac toe java game with no GUI…
Tile Matching Game Tiles Arranged Grid Rows Columns Two Tiles Turned Time Match Player Ear Q43868017
How to do this in Java should be 4 classes


![A Picture class is given to you. It has methods public void load(String source] public int getWidth() public int getHeight()](https://media.cheggcdn.com/media/444/44495fc3-bcd4-41af-9795-da8a985c161b/image.png)
8.5 Problem Solving: Solve a Simpler Problem First When developing a solution to As you learn more about programming, the complexity of the tasks that you are asked to solve will increase. When you face a complex a complex problem, first solve task, you should apply an important skill: simplifying the problem, and solving the simpler problem first. a simpler task. This is a good strategy for several reasons. Usually, you learn something useful from solving the simpler task. Moreover, the complex problem can seem unsurmountable, and you may find it difficult to know where to get started. When you are successful with a simpler problem first, you will be much more motivated to try the harder one. It takes practice and a certain amount of courage to break down a problem into a sequence of simpler ones. The best way to learn this strategy is to practice it. When you work on your next assignment, ask yourself what is the absolutely simplest part of the task that is helpful for the end result, and start from there. With some experience, you will be able to design a plan that builds up a complete solution as a manageable sequence of intermediate steps. Let us look at an example. You are asked to arrange pictures, lining them up along the top edges, separating them with small gaps, and starting a new row whenever you run out of room in the current row. starting a new row whenever you run Make a plan consisting of a Series of tasks, each a simple extension of the previous one and ending with the original problem We ve updated our read aloud featurel
A Picture class is given to you. It has methods public void load(String source] public int getWidth() public int getHeight() public void move(int dx, int dy) Instead of tackling the entire assignment at once, here is a plan that solves a series of simpler problems. 1. Draw one picture. 2. Draw two pictures next to each other. 3. Draw two pictures with a gap between them. 4. Draw all pictures in a long row. We’ve updated our read aloud feature! Give it a try here.
Expert Answer
Answer to How to do this in Java should be 4 classes …
Time Complexity Analysis Equation Associated Heap Sort Building Heap N Total Number Nodes Q43782491
this is a time complexityanalysis equation associated with heap sort and building heap,where n is the total number of nodes and k is the height of thetree.please give detail process of the derivation thank you!
2. Please give the “detailed process” of the following equation derivation (note that answer without any process will be not accepted) Eisisk 21-1(k – i)=21sisk-1 2k-i-1 * i s n * Eisisk-1»< 2n = O(n) Show transcribed image text 2. Please give the “detailed process” of the following equation derivation (note that answer without any process will be not accepted) Eisisk 21-1(k – i)=21sisk-1 2k-i-1 * i s n * Eisisk-1»
Expert Answer
Answer to this is a time complexity analysis equation associated with heap sort and building heap ,where n is the total number of …
Time Complexity Following Fragment Code Big O Notation K 0 K N 2 K Statements J 0 J N N J Q43883032
The time complexity of the following fragment of code in thebig-O notation is:
for (k = 0; k , n/2; ++k)
{
some statements ………
for (j = 0; j < n*n; ++j)
{
some statements ………
}
}
In the possible answers, n^n denotes nn
a) O(n)
b) O(n^2)
c) O(log n)
d) O(n^3)
Expert Answer
Answer to The time complexity of the following fragment of code in the big-O notation is: for (k = 0; k , n/2; ++k) { some stateme…
Time Object Select Editing Gor Displayed Improperly 1 I213 4 51 Homework 1 Homework 1 Yor Q43868701
Write in Python 3.7 please

Expert Answer
Answer to time object Select all Editing gor displayed improperly. 1.-I213 . 4 51 Homework 1 Homework 1: The Yorktown theatre has …
Tiple Choice Questions 1 10 4 Points E Questions 1 4 Use Following Partial Class Definitio Q43890354
hi I need help answering these questions.
TIPLE CHOICE QUESTIONS 1-10. (4 points each) e questions 1-4 below, use the following partial class definitions: public class A protected int b; private int ; public void doThis) b2; C3b; System.out.println (b+”, “+c); public int gets() { return b; } public class B extends Al private int d; public void do this super.do This(); // line 4 deb System.out.println b”,”+d); public class Tester public static void main(String[] args) A new B() a.doThis(); // line 1 71 line 2 System.out.println(a.get(); // line 3 1. Which of the following is true with respect to A, B and Tester? a. Bis a subclass of A and A is a subclass of Tester b. B is a subclass of A but A is not a superclass of B c. A is a superclass of B and Tester is not a subclass of A d. Tester and B are both subclasses of A e. None of the above 2. Which of the following data are accessible in class B? a. a, b, c, d b. b, c, d c. b, d, do This d. b, d e. None of the above 3. What is True about the lines commented as line 1, line 2, line 3, respectively, in class Tester: a. Line I will compile but line 2 will throw an exception b. Line 1 and line 2 will run and print only the values of b, and d c. Line I will not compile because type of a does not match the type of object d. Line 3 will not compile because class B does not contain a method getB() Show transcribed image text TIPLE CHOICE QUESTIONS 1-10. (4 points each) e questions 1-4 below, use the following partial class definitions: public class A protected int b; private int ; public void doThis) b2; C3b; System.out.println (b+”, “+c); public int gets() { return b; } public class B extends Al private int d; public void do this super.do This(); // line 4 deb System.out.println b”,”+d); public class Tester public static void main(String[] args) A new B() a.doThis(); // line 1 71 line 2 System.out.println(a.get(); // line 3 1. Which of the following is true with respect to A, B and Tester? a. Bis a subclass of A and A is a subclass of Tester b. B is a subclass of A but A is not a superclass of B c. A is a superclass of B and Tester is not a subclass of A d. Tester and B are both subclasses of A e. None of the above 2. Which of the following data are accessible in class B? a. a, b, c, d b. b, c, d c. b, d, do This d. b, d e. None of the above 3. What is True about the lines commented as line 1, line 2, line 3, respectively, in class Tester: a. Line I will compile but line 2 will throw an exception b. Line 1 and line 2 will run and print only the values of b, and d c. Line I will not compile because type of a does not match the type of object d. Line 3 will not compile because class B does not contain a method getB()
Expert Answer
Answer to TIPLE CHOICE QUESTIONS 1-10. (4 points each) e questions 1-4 below, use the following partial class definitions: public …
Tlsissl Lab Discussion Using Wireshark Capture Visit Browser Website Supporting Https Anal Q43855403


TLSISSL Lab Discussion Using Wireshark, capture a visit from your browser to a website supporting https. Analyze the packets captured following the eight steps below. In the discussion forum for Module 4, start a thread for your post and report on the following: • In step 4 for Server Hello, what did you observe for Cipher Suites and Extensions? In step 5 for Certificate Traffic, what did you observe for the certificate information, as well as the public key and signature? Add one other observation from the packets you captured that you found interesting or weren’t sure how to interpret. If someone else has posted a question with their report thread that you can answer, please add a response to their report. 1. Select Destination Traffic Observe the traffic captured in the top Wireshark packet list pane. To view only HTTPS traffic, type ssl (lower case) in the Filter box and press Enter Select the first TLS packet labeled Client Hello. Observe the destination IP address To view all related traffic for this connection, change the filter to ip addr destination, where destination is the destination address of the HTTP packet. 2. Analyze TCP Connection Traffic • Observe the traffic captured in the top Wireshark packet list pane. The first three packets (TCP SYN, TCP SYNACK, TCP ACK) are the TCP three way handshake. Select the first packet Observe the packet details in the middle Wireshark packet details pane. Notice that it is an Ethernet II / Internet Protocol Version 4 / Transmission Control Protocol frame. Expand Ethernet II to view Ethernet details Observe the Destination and Source fields. The destination should be your default gateway’s MAC address and the source should be your MAC address. You can use ipconfig /all and arp -a to confirm. Expand Internet Protocol Version 4 to view IP details Observe the Source address. Notice that the source address is your IP address. Observe the Destination address. Notice that the destination address is the IP address of the HTTPS server Expand Transmission Control Protocol to view TCP details. Observe the Source port. Notice that it is a dynamic port selected for this HTTPS connection Observe the Destination port. Notice that it is https (443). Note that all of the packets for this connection will have matching MAC addresses, IP addresses, and port numbers. • • • 3. Analyze SSL/TLS Client Hello Traffic • Observe the traffic captured in the top Wireshark packet list pane. Select the first TLS packet, labeled Client Hello. Observe the packet details in the middle Wireshark packet details pane. Notice that it is an Ethernet II / Internet Protocol Version 4 / Transmission Control Protocol /Secure Sockets Layer frame. Also notice that the Ethernet II. Internet Protocol Version 4, and Transmission Control Protocol values are consistent with the TCP connection analyzed above. Expand Secure Sockets Layer, TLS, and Handshake Protocol to view SSL/TLS details. Observe the Cipher Suites and Extensions supported Observe the traffic captured in the top Wireshark packet list pane. Select the next packet, labeled TCP ACK. This is the server TCP acknowledgement of receiving the Client Hello request. 4. Analyze SSL/TLS Server Hello Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the second TLS packet, labeled Server Hello Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer, TLS, and Handshake Protocol to view SSL/TLS details Observe the Cipher Suites and Extensions supported. 5. Analyze SSL/TLS Certificate Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the third TLS packet, labeled Certificate, Server Key Exchange, Server Hello Done. Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer, TLS, Handshake Protocol, and Certificates to view SSL/TLS details. Observe the certificate information provided Expand TLS, Handshake Protocol, and EC Diffie-Hellman Server Params to view the public key and signature. The client uses the certificate to validate the public key and signature. Observe the traffic captured in the top Wireshark packet list pane. Select the next TCP packet, labeled TCP ACK. This is the client TCP acknowledgement of receiving the Server Hello and Certificate responses 6. Analyze SSLITLS Client Key Exchange Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the fourth TLS packet, labeled Client Key Exchange, Change Cipher Spee, Encrypted Handshake Message Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer, TLS, Handshake Protocol, and Encrypted Handshake Message to view SSL/TLS details. Observe the encrypted handshake message. This encrypted handshake contains the session key that will be used to encrypt session traffic 7. Analyze SSL/TLS New Session Ticket Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the TLS packet labeled New Session Ticket. Observe the packet details in the middle Wireshark packet details pane. • Expand Secure Sockets Layer, TLS, Handshake Protocol, TLS Session Ticket, and Encrypted. Handshake Message to view SSL/TLS details. • Observe the encrypted handshake message. This is the server confirming the encrypted session. 8. Analyze HTTPS Encrypted Data Exchange • Observe the traffic captured in the top Wireshark packet list pane. Select the various TLS packets labeled Application Data. Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer and TLS to view SSL/TLS details Observe the encrypted application data. Notice that the application data protocol is http. Observe the data in the bottom Wireshark packet bytes pane. Notice that the application data is encrypted. Show transcribed image text TLSISSL Lab Discussion Using Wireshark, capture a visit from your browser to a website supporting https. Analyze the packets captured following the eight steps below. In the discussion forum for Module 4, start a thread for your post and report on the following: • In step 4 for Server Hello, what did you observe for Cipher Suites and Extensions? In step 5 for Certificate Traffic, what did you observe for the certificate information, as well as the public key and signature? Add one other observation from the packets you captured that you found interesting or weren’t sure how to interpret. If someone else has posted a question with their report thread that you can answer, please add a response to their report. 1. Select Destination Traffic Observe the traffic captured in the top Wireshark packet list pane. To view only HTTPS traffic, type ssl (lower case) in the Filter box and press Enter Select the first TLS packet labeled Client Hello. Observe the destination IP address To view all related traffic for this connection, change the filter to ip addr destination, where destination is the destination address of the HTTP packet. 2. Analyze TCP Connection Traffic • Observe the traffic captured in the top Wireshark packet list pane. The first three packets (TCP SYN, TCP SYNACK, TCP ACK) are the TCP three way handshake. Select the first packet Observe the packet details in the middle Wireshark packet details pane. Notice that it is an Ethernet II / Internet Protocol Version 4 / Transmission Control Protocol frame. Expand Ethernet II to view Ethernet details Observe the Destination and Source fields. The destination should be your default gateway’s MAC address and the source should be your MAC address. You can use ipconfig /all and arp -a to confirm. Expand Internet Protocol Version 4 to view IP details Observe the Source address. Notice that the source address is your IP address. Observe the Destination address. Notice that the destination address is the IP address of the HTTPS server Expand Transmission Control Protocol to view TCP details. Observe the Source port. Notice that it is a dynamic port selected for this HTTPS connection Observe the Destination port. Notice that it is https (443). Note that all of the packets for this connection will have matching MAC addresses, IP addresses, and port numbers. • • •
3. Analyze SSL/TLS Client Hello Traffic • Observe the traffic captured in the top Wireshark packet list pane. Select the first TLS packet, labeled Client Hello. Observe the packet details in the middle Wireshark packet details pane. Notice that it is an Ethernet II / Internet Protocol Version 4 / Transmission Control Protocol /Secure Sockets Layer frame. Also notice that the Ethernet II. Internet Protocol Version 4, and Transmission Control Protocol values are consistent with the TCP connection analyzed above. Expand Secure Sockets Layer, TLS, and Handshake Protocol to view SSL/TLS details. Observe the Cipher Suites and Extensions supported Observe the traffic captured in the top Wireshark packet list pane. Select the next packet, labeled TCP ACK. This is the server TCP acknowledgement of receiving the Client Hello request. 4. Analyze SSL/TLS Server Hello Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the second TLS packet, labeled Server Hello Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer, TLS, and Handshake Protocol to view SSL/TLS details Observe the Cipher Suites and Extensions supported. 5. Analyze SSL/TLS Certificate Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the third TLS packet, labeled Certificate, Server Key Exchange, Server Hello Done. Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer, TLS, Handshake Protocol, and Certificates to view SSL/TLS details. Observe the certificate information provided Expand TLS, Handshake Protocol, and EC Diffie-Hellman Server Params to view the public key and signature. The client uses the certificate to validate the public key and signature. Observe the traffic captured in the top Wireshark packet list pane. Select the next TCP packet, labeled TCP ACK. This is the client TCP acknowledgement of receiving the Server Hello and Certificate responses 6. Analyze SSLITLS Client Key Exchange Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the fourth TLS packet, labeled Client Key Exchange, Change Cipher Spee, Encrypted Handshake Message
Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer, TLS, Handshake Protocol, and Encrypted Handshake Message to view SSL/TLS details. Observe the encrypted handshake message. This encrypted handshake contains the session key that will be used to encrypt session traffic 7. Analyze SSL/TLS New Session Ticket Traffic Observe the traffic captured in the top Wireshark packet list pane. Select the TLS packet labeled New Session Ticket. Observe the packet details in the middle Wireshark packet details pane. • Expand Secure Sockets Layer, TLS, Handshake Protocol, TLS Session Ticket, and Encrypted. Handshake Message to view SSL/TLS details. • Observe the encrypted handshake message. This is the server confirming the encrypted session. 8. Analyze HTTPS Encrypted Data Exchange • Observe the traffic captured in the top Wireshark packet list pane. Select the various TLS packets labeled Application Data. Observe the packet details in the middle Wireshark packet details pane. Expand Secure Sockets Layer and TLS to view SSL/TLS details Observe the encrypted application data. Notice that the application data protocol is http. Observe the data in the bottom Wireshark packet bytes pane. Notice that the application data is encrypted.
Expert Answer
Answer to TLSISSL Lab Discussion Using Wireshark, capture a visit from your browser to a website supporting https. Analyze the pac…
Today Recommend Identity Management Processes Multi Factor Authentication Identity Managem Q43879171
Today we recommend identity management processes andmulti-factor authentication. Identity management influencessecurity risks, cost, and productivity.
Security processes should be measured with formal metricsincluding password management and access patterns to name a few.Samples of identity management metrics include?
Expert Answer
Answer to Today we recommend identity management processes and multi-factor authentication. Identity management influences securit…
Today S Attacks Defenses Beginning Chapter Illustrated Security Researcher Could Manipulat Q43868915
“Today’s Attacks and Defenses at the beginning of this chapterillustrated how a security researcher could manipulate a help desksupport technician into compromising security. If you were tocreate your own social engineering attack, what would it be? Usingyour place of employment or school, first determine exactly whatyour goal would be in the attack, and then craft a detaileddescription of how you would carry out the attack using only socialengineering to achieve your goal. You might want to search theInternet for examples of previously successful attacks that usedsocial engineering. Why do you think your attack would besuccessful? Who would be involved? What would be the problems inachieving your goal? Why? Write a one-page paper on yourresearch”
Expert Answer
Answer to “Today’s Attacks and Defenses at the beginning of this chapter illustrated how a security researcher could manipulate …