When she was seven years old, Sonia Sotomayor was diagnosed with diabetes, ending her dream of becoming a detective
Sonia SotomayorSotomayor, the daughter of Puerto Rican immigrants who settled in New York City, grew up in a Bronx housing complex. Her mother put in a lot of overtime as a nurse to support the family when her father passed away. Sotomayor attributes her decision to become a lawyer to the episodes of the 1957–1966 television crime series Perry Mason that she watched as a young girl. She earned a B.A. with honours from Princeton University in 1976 before enrolling in Yale Law School, where she served as the Yale Law Journal's editor. She earned her degree in 1979 and served as an assistant district attorney in New York County for five years before deciding to work in private practise in a New York company, where she focused on intellectual property law
To know more about law,click on the link :
https://brainly.com/question/6590381
#SPJ1
How can we improve the following program?
function start() {
move();
move();
move();
move();
move();
move();
move();
move();
move();
}
Answer:
Your professor may be looking for something simple. I am not sure the caliber your professor is expecting. But for a basic. You could make a simple loop to improve the code.
function start() {
for (var i = 0; i < 9; i++) {
move();
}
}
With less text, this code will do the same task as the original program. We can prevent repeatedly repeating the same code by utilizing a loop.
From there you could make the moves dynamic...
function start(numMoves) {
for (var i = 0; i < numMoves; i++) {
move();
}
}
This passes the number of mes as an argument..the code will move forward a specified number of times based on the value of the numMoves parameter.
Then from there we could add error handling to have it catch and handle any errors that may occur. This of course is if the move() function displays an error.
function start(numMoves) {
try {
for (var i = 0; i < numMoves; i++) {
move();
}
} catch (e) {
console.error(e);
}
}
BONUS
Here is a combined executable code...explanation below...
// Define the move function
function move() {
console.log("Moving forward");
}
// Define the start function
function start(numMoves) {
try {
for (var i = 0; i < numMoves; i++) {
move();
}
} catch (e) {
console.error(e);
}
}
// Call the start function with 9 as an argument
start(9);
Explanation for bonus:
The move() and start() functions are defined in the code.
A message indicating that the object is moving forward is logged to the console by the straightforward move() function. The start() function calls this function.
Start() only accepts one argument, numMoves, which defines how many times to advance the object. To deal with any errors that might arise when calling the move() method, the function employs a try...catch block.
Based on the value of numMoves, the move() method is called a given number of times using the for loop.
Lastly, the object is advanced nine times by calling the start() procedure with the value 9.
This code requires that the move() function is defined someplace else in the code, or is provided by the environment where the code is being executed (such as a browser or Node.js).
When this code is executed, the start() function is invoked with the input 9 and the object is advanced nine times. Every time the loop executes, the move() function is invoked, which reports a message to the console indicating that the object is moving ahead. Any mistakes that can arise when invoking the move() function are caught and recorded to the console thanks to the try...catch block.
you work at a large department store selling computer products. iwina walks in and wants to buy a wireless router. she explains that the media streaming device she ordered online supports a transmission speed of up to 200 mbps. what type of router should you recommend?
If Iwina's media streaming device supports a transmission speed of up to 200 Mbps, I would recommend a wireless router that supports at least 802.11n wireless standard.
What is a 802.11n wireless standard?802.11n is a wireless networking standard that operates on both the 2.4 GHz and 5 GHz frequency bands. It offers higher speeds and greater range compared to earlier wireless standards, and is commonly used in home and small business networks.
Thus, if Iwina's media streaming device supports a transmission speed of up to 200 Mbps, I would recommend a wireless router that supports at least 802.11n wireless standard. This wireless standard supports a theoretical maximum speed of up to 600 Mbps, which should provide enough bandwidth to support Iwina's device. Alternatively, a router that supports the newer 802.11ac wireless standard could also be considered, as it offers even higher theoretical speeds.
Learn more about wireless router on:
https://brainly.com/question/30079964
#SPJ1
Data is being sent from a source PC to a destination server. Which three statements correctly describe the function of TCP or UDP in this situation? (Choose three.) 1. The TCP source port number identifies the sending host on the network 2. UDP segments are encapsulated within IP packets for transport across the network. 3. The source port field identifies the running application or service that will 4. The TCP process running on the PC randomly selects the destination port when 5. TCP is the preferred protocol when a function requires lower network
6. The UDP destination port number identifies the application or service on the handle data returning to the PC establishing a session with the server. overhead server which will handle the data.
The correct answer is TCP and UDP are two transport layer protocols that are used for sending data over a network. The following three statements correctly describe their functions:
The TCP source port number identifies the sending host on the network: TCP uses a 16-bit source port field to identify the sending process or application on the host. This helps the receiving host to identify the source of the data. UDP segments are encapsulated within IP packets for transport across the network: UDP does not have any built-in error recovery mechanism, so it simply encapsulates its segments within IP packets and sends them over the network. The source port field identifies the running application or service that will handle data returning to the PC establishing a session with the server: Both TCP and UDP use the source and destination port fields to identify the applications or services that will handle the data. The source port field helps the server to identify the process or application that sent the data and establish a session with the PC. In summary, TCP and UDP are transport layer protocols that use source and destination port numbers to identify the sending and receiving hosts and the applications or services that will handle the data. UDP simply encapsulates its segments within IP packets, while TCP establishes a reliable, connection-oriented session between the hosts.
To learn more about transport layer click on the link below:
brainly.com/question/27961606
#SPJ1