The long term memory used by the computer is called “RAM”
Answer
First part:
The transmitted 8-bit sequence for ASCII character '&' with odd parity will be 00100110. Here leftmost bit is odd parity bit.
Second part:
The invalid bit sequence are option a. 01001000 and d. 11100111
Explanation:
Explanation for first part:
In odd parity, check bit of either 0 or 1 is added to the binary number as leftmost bit for making the number of 1s in binary number odd.
If there are even number of 1s present in the original number then 1 is added as leftmost bit to make total number of 1s odd.
If there are odd number of 1s present in the original number then 0 is added as leftmost bit to keep the total number of 1s odd.
Explanation for second part:
A valid odd parity bit sequence will always have odd number of 1s.
Since in option a and d, total number of 1s are 2 and 6 i.e. even number. Therefore they are invalid odd parity check bit sequences.
And since in option b and c, total number of 1s are 5 and 7 i.e. odd numbers respectively. Therefore they are valid odd parity check bit sequences.
When working with a large worksheet, you can split the window into two or four panes.
Answer:
Java Applets are used to include java programs on web page.
Explanation:
Java Applets are small java programs that can be run on any browser with appropriate Java Plug-in and displays applet as a section of web page.
How to Create Applet
Create an applet class by extending it with JApplet and add a paint method in it. for example
import java.awt.*;
import javax.swing.*;
public class HelloWorld extends JApplet {
public void paint(Graphics graphic)
{
super.paint(graphic);
}
}
The above code will create an applet and super.paint(graphic) method will draw the applet for you.
In order to display "Hello World" string in applet. you just need to add the following line after super.paint(graphic); method.
graphic.drawString("Hello World" , 20, 20);
Run Code
Click on Run Button and you will able to see the applet in applet viewer window.