Answer:
The correct answer to the following question will be "Magnetic medium".
Explanation:
Some storage device that portrays details or information using magnetic patterns is called a magnetic device.
- Magnetic tape, and hard drives are the commonly used magnetic storage devices.
- This will be the method by which magnetic methods are used to hold and retrieve information on tapes.
So, it's the right answer.
Answer:
C++.
Explanation:
#include <iostream>
#include <string>
using namespace std;
////////////////////////////////////////////////////////////
class Television {
string brand;
float screen_size;
bool powerOn;
int volume;
int channel;
public:
// Comments
Television(string brand, int screen_size) {
this->brand = brand;
this->screen_size = screen_size;
powerOn = false;
volume = 20;
channel = 2;
}
//////////////////////////////////////////
// Comments
int getVolume() {
return volume;
}
// Comments
int getChannel() {
return channel;
}
// Comments
string getManufacturer() {
return brand;
}
// Comments
float getScreenSize() {
screen_size;
}
///////////////////////////////////////////
// Comments
void setChannel(int channel) {
this->channel = channel;
}
// Comments
void power() {
if (!powerOn)
powerOn = !powerOn;
}
// Comments
void increaseVolume() {
volume = volume + 1;
}
// Comments
void decreseVolume() {
volume = volume - 1;
}
};
Answer:
This code will no get executed properly.It will give keyerror Brianna.
Explanation:
In this dictionary we defined in the code the there is no key Brianna hence there is no corresponding value to Brianna.So assigning ages['Brianna] to value will obviously give error since there exits no key with this name.So the code will give error.
Answer:
Statement:
print("first is "+str(first)+" second = "+str(second)) # It is a python statement where first and second are variable of any type.
Explanation:
- The above statement is the print statement that prints the value of first and second variables like in the form of "first is" value of the first variable, then space, then "second = b" and then the value of the second variable.
- The value for the first and the second variable of any type but it convert it into string form with the help of str() function in the print statement.
- The string of the print statement can be formed by the help '+' operator which adds the string with the value and the other string in print statement in java and python language.
Answer:
There is nothing to change.
Explanation:
In the following configuration given in the problem, the necessary IP addresses and the subnet masks have been included in the configuration. The computers can be used to send and/or receive information to/from each other. The computers have been properly set-up and there is nothing to be done to the settings or configurations.