Answer:
Following are the code to this question:
public class M//defining class M
{
public static void main(String[] as)//defining main method
{
int i,j;//defining integer variable
for (i= 1; i <=10; i++)//defining for loop for print column
{
for (j = 1; j<=15; j++)//defining for loop for print rows
{
System.out.print("#");//print # value
}
System.out.println();//print space
}
}
}
Output:
###############
###############
###############
###############
###############
###############
###############
###############
###############
###############
Explanation:
The code defines a class "M" and the main method is defined within a class and two integer variables I and j" are defined within the primary procedure, while the next step defines two for a loop.
In the first loop, the column value is printed, and a further loop that prints the row value is declared inside the loop.
Answer:
Yes, The overall cost of wiring in addressable fire alarm system is significantly cheaper than the conventional one.But the addressale fire alram system is more reliable than a conventional system.
Explanation:
Conventional systems are hardware-based and use analog technology. where addressable fire alarm use digital technology. addressable system is generally more reliable than a conventional system mainly due to how the different systems are wired. With a conventional system, if a device’s wire is damaged or severed, its signal and the signal of other devices down the line cannot be transmitted to the control panel.
With an addressable system, both ends of the wire connect to the control panel. Therefore, if one end becomes damaged or severed, signals can still reach the control panel through the other end of the loop. In addressable systems, a device can be removed or disabled and it will not affect the other devices in the loop.
<span>CNET hope this helps</span>
Answer: The how-to statements
Explanation:
The mission statement is simply a short summary of the purpose of a company. It is the guideline on how a company will operate. The mission statement states the reason for the existence of a company, products sold or service rendered and the company's goals.
The mission statement should be brief but comprehensive, consist of simple words and describe the “who, what, and where” of the organization.
Therefore, the incorrect option based on the explanation above is "The how-to statements". This shouldn't be part of the mission statement.
Answer:
For 32 bits Instruction Format:
OPCODE DR SR1 SR2 Unused bits
a) Minimum number of bits required to represent the OPCODE = 3 bits
There are 8 opcodes. Patterns required for these opcodes must be unique. For this purpose, take log base 2 of 8 and then ceil the result.
Ceil (log2 (8)) = 3
b) Minimum number of bits For Destination Register(DR) = 4 bits
There are 10 registers. For unique register values take log base 2 of 10 and then ceil the value. 4 bits are required for each register. Hence, DR, SR1 and SR2 all require 12 bits in all.
Ceil (log2 (10)) = 4
c) Maximum number of UNUSED bits in Instruction encoding = 17 bits
Total number of bits used = bits used for registers + bits used for OPCODE
= 12 + 3 = 15
Total number of bits for instruction format = 32
Maximum No. of Unused bits = 32 – 15 = 17 bits
OPCODE DR SR1 SR2 Unused bits
3 bits 4 bits 4 bits 4 bits 17 bits