Answer:
a. 2^6, or 64 opcodes.
b. 2^5, or 32 registers.
c. 2^16, or 0 to 65536.
d. -32768 to 32768.
Explanation:
a. Following that the opcode is 6 bits, it is generally known that the maximum number of opcodes should be 2^6, or 64 opcodes.
b. Now, since the size of the register field is 5 bits, we know that 2^5 registers can be accessed, or 32 registers.
c. Unsigned immediate operand applies to the plus/minus sign of the number. Since unsigned numbers are always positive, the range is from 0 to 2^16, or 0 to 65536.
d. Considering that the signed operands can be negative, they need a 16'th bit for the sign and 15 bits for the number. This means there are 2 * (2^15) numbers, or 2^16. However, the numbers range from -32768 to 32768.
Answer:
B. Graphs
Explanation:
Graphs are used to put certain things into categories. In this case Jamie has to enter different categories such as names, grades and the scored of the students. C and D don't make sense for this problem since they aren't actually what he is looking for. A is plausible but he needs it into a worksheet and labels aren't worksheets they are just labels. So B would be your answer. Also I took the quiz this is the correct answer.
import turtle
window = turtle.Screen()
tr = turtle.Turtle()
tr.forward(100)
tr.left(90)
tr.forward(100)
tr.left(90)
tr.forward(100)
tr.left(90)
tr.forward(100)
tr.back(100)
tr.left(120)
tr.forward(75)
tr.right(78)
tr.forward(60)
window.mainloop()
In my code, we use the turtle module for the graphics to draw the house with a roof.
Answer:
B. Symmetric key encryption
Explanation:
Symmetric key encryption is one in which a single encryption key is sent to the receiver so both sender and receiver share the same key. In this type of encryption, the sender uses a particular key to encrypt the data and sends the encrypted data (cipher data) to the receiver and then the receiver uses the same key to decrypt the data.
Public key encryption, or asymmetric encryption uses two keys - a private key and a public key. The public key is know to everyone while the private key is known only to those for whom the message is intended. An application of this type of encryption is in SSL (Secure Sockets Layer) - a protocol for transmitting data privately on the internet.
Private key encryption is not exactly one of the encryption methods but rather, a private key and a public key are used in encryption.
The best option is therefore <em>symmetric key encryption</em>.
<em>Hope this helps!</em>