Answer:
<em>import java.util.Scanner;</em>
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> System.out.println("Please Enter Your Student ID");</em>
<em> Scanner in = new Scanner(System.in);</em>
<em> int yourId = in.nextInt();</em>
<em> int chapterToRead = (yourId%3)+3;</em>
<em> System.out.println("You are to read chapter: "+chapterToRead);</em>
<em> }</em>
<em>}</em>
Explanation:
This solution is implemented in Java programming language. The scanner class is used to receive user input which is saved in an int variable yourId. In order to obtain the remainder when the students' ID is divided by 3, we use the modulo (%) operator which returns the remainder
Answer:
Implementing client side validation
Explanation:
Given that this type of attack is known as Integer Overflow, the best means or practices to prevent this kind of attack is " implementing client-side validation."
This is because implementing client-side validation assists to prevent the validation errors that will arise from the integer overflow thereby resulting in a reduction of the network and server load.
Hence, in this case, the correct answer is "Implementing the client-side validation."
Answer:
B:Flexability
Explanation:
He wants some one flexable so they fit in with the schedule and jobs he has for the employee
Answer:
1. Processor communication -- this involves the following tasks:
<em>a. exchange of data between processor and I/O module</em>
<em>b. command decoding - I/O module accepts commands sent from the processor. E.g., the I/O module for a disk drive may accept the following commands from the processor: READ SECTOR, WRITE SECTOR, SEEK track, etc. </em>
<em>c. status reporting – The device must be able to report its status to the processor, e.g., disk drive busy, ready etc. Status reporting may also involve reporting various errors. </em>
<em>d. Address recognition – Each I/O device has a unique address and the I/O module must recognize this address. </em>
<em />
2. Device communication – The I/O module must be able to perform device communication such as status reporting.
3. Control & timing – The I/O module must be able to co-ordinate the flow of data between the internal resources (such as processor, memory) and external devices.
4. Data buffering – This is necessary as there is a speed mismatch between speed of data transfer between processor and memory and external devices. Data coming from the main memory are sent to an I/O module in a rapid burst. The data is buffered in the I/O module and then sent to the peripheral device at its rate.
5. Error detection – The I/O module must also be able to detect errors and report them to the processor. These errors may be mechanical errors (such as paper jam in a printer), or changes in the bit pattern of transmitted data. A common way of detecting such errors is by using parity bits.
The kinds and ways to improve your diagnostic and troubleshooting skills are:
- Be Relax and never panic when you encounter it.
- Know everything about your computer.
- Look for solutions and clues and state them down.
- Find out the repeatability.
<h3>What is diagnostic and troubleshooting?</h3>
Diagnosing is known to be the act of finding out the root cause of any issue through an act of elimination but troubleshooting is known to be the act of fixing of the problem after diagnosis is said to have been carried out.
Therefore, The kinds and ways to improve your diagnostic and troubleshooting skills are:
- Be Relax and never panic when you encounter it.
- Know everything about your computer.
- Look for solutions and clues and state them down.
- Find out the repeatability.
Learn more about troubleshooting skills from
brainly.com/question/14983884
#SPJ1