Answer:
D) They are coded.
Explanation:
Java comments are notes in a Java code file that are ignored by the compiler and runtime engine. They are used to annotate the code in order to clarify its design and purpose. You can add an unlimited number of comments to a Java file, but there are some "best practices" to follow when using comments.
Answer:
A traffic controller is basically a system design to regulate traffic in a controlled manner with a set of traffic rules to follow so as to ensure public safety .
The main functions of a traffic light controller are listed below:
- To direct and regulate vehicular and pedestrian traffic
- To ensure safety of construction workers, emergency response team and public in general in order to avoid accidents
- These also uses CCTV and other monitoring system to manage flow of traffic and suggestion concerned with traffic congestion. These are provided by local or state authorities.
- To ensure smooth traffic flow in order to save time and chaos.
It’s true because the optimization is the software that cleans up the fragments in a hard drive.
//=indicating you to do the programming part on your own relating to the description provided against. This done because different programming languages require different coding for that.
n=integer value
n1=dummy storage for n
r=variable used to do the function
{
int n,r,n1,rev=0;
//do the coding here for storing the integer in the variable n
n1=n;
while(n>0){
r=n%10;
rev=(rev*10)+r;
n=n/10;
}
//now add a command for displaying the value of rev
}
this is just a logic i used for java
done.
Answer:
101.1
Explanation:
Keep in mind that octal has 8 numbers
Step 1: Split your number in 2 parts (integer part and decimal part):
- integer part 65
- decimal part 0.125
Step 2: Convert the decimal part. For this step you need to multiply your decimal part and 8 (8 correspond the octal base) and get the integer part until you need it:
0.125 * 8 = 1
So your decimal part correspond to number 1 in octal = (1)8
Step 3: Convert integer part: for this step you need to divide your integer part by 8 until you can and get the remainder
65 / 8 = 8 remainder 1
8 / 8 = 1 remainder 0
1 / 8 = 0 remainder 1
Step 4: join the remainders from bottom to top and get the integer part
101
Step 5: join the integer part and the decimal part to get the octal convertion
101.1