Answer:
An assembler.
Explanation:
Input is (as with any programming language) files with lists of instructions (typically assembler mnemonics), output is a binary format representing these instructions in machine language.
Answer:
The answer is "Pass the cable into the ceiling instead of over the floor".
Explanation:
Network access explains the complex process of link different parts of the network with each other, e.g. while using switches, routers, and access points, and whether, that system works.
- To replace the cable with a pair cable graded in plenum, covered, twisted.
- We use the cable to pass through the ceiling rather than through the concrete, eliminating the issue and stopping it from occurring again.
Answer:
The code is given in the explanation section
Explanation:
//Class Airconditioner
public class AirConditioner {
private boolean turnOnOff;
//The Constructor
public AirConditioner(boolean turnOnOff) {
this.turnOnOff = turnOnOff;
}
//method turn_on
public void turn_on(){
this.turnOnOff = true;
}
//method turn_off
public void turn_off( ){
this.turnOnOff = false;
}
}
// A new class to test the airconditional class
class AircondionTest{
public static void main(String[] args) {
//Creating an object of the Aircondional class
AirConditioner office_a_c = new AirConditioner(false);
//Using the reference varible to call method turn_on
office_a_c.turn_on();
}
}
Answer:
Program source code found in explaination
Explanation:
Recursive int function of the asked question.;
int productOfOdds(int array[],int length) {
int product=1;
if(length==0)
return -1;
else if(length==1) {
if(array[length-1]%2!=0)
return array[length-1];
else
return 1;
}
else {
product=productOfOdds(array,--length);
if(array[length]%2!=0) {
product=product*array[length];
}
}
return product;
}
Answer:
Following are the program in the Python Programming Language.
# define function.
def return_second_word(sentence):
#remove all the spaces from the sentence
sentence=' '.join(sentence.split())
#the list is split from spaces
my_list = sentence.split(" ")
#return the list
return my_list[1]
#define main function
def main():
#get input from the user
se = input("Enter the sentence: ")
#print and call the function
print(return_second_word(se))
#condition to execute the main function
if __name__ == "__main__":
#call main function
main()
<u>Output:</u>
Enter the sentence: I love python
love
Explanation:
Here, we define the function i.e., "return_second_word()" and pass an argument "sentence", inside the function.
- Remove all the spaces from the variable "sentence" and again store in the variable "sentence".
- Set the variable "my_list" that store the split value of the variable "sentence".
- Return the list and close the function.
Finally, we define the main function and inside the main function.
- Get input from the user in the variable "se"
- And pass the variable "se" in the argument list during the calling of the function "return_second_word()".
- Then, print and call the function "return_second_word()".
- Set the if statement to call the main function then, call the main function.