Answer:
B. a tag
Explanation:
In the structure definition given below:
struct Employee
{
string name;
int idNum;
};
Employee corresponds to the tag of the structure. The tag is used to create additional instances of the structure. For example:
struct Employee e1;
struct Employee e2;
name and idNum are members of the Employee structure and are referenced using the dot notation. e.g.,
struct Employee e1;
e1.idNum=1;
<u>Answer</u>:
To quickly modify fonts, colours, and effects on a slide, a user can modify the Theme.
<u>Explanation</u>:
In Microsoft power point a theme is a group or collection of fonts , colours and effects that are pre-formatted to improve or enhance the presentation. We can start changing the font , colours or effects or any pre-existing themes by selecting them.
To Change colour:
- In Design tab, under the Variants group, click on the downward and choose one colour from the colour variant gallery.
- Now click on the customise colours which opens the "Create New Theme Colours" dialog box. In this dialog box , in the theme colours we can make the necessary changes and save them as a new theme.
To change fonts:
- In the View tab, choose Slide Master.In this tab, select "Fonts" and then select Customise Fonts.
- Now "Create New Theme Fonts" dialog box opens where use can choose the required font size under the Heading font and Body font boxes. Again this can be saved as a new theme. Changing the font of theme changes all the bullet texts and title.
Answer:
from socket import *
hostname = input('Enter the host to be scanned: ')
ip_add = gethostbyname(hostname)
connections = [ ]
for i in range(133, 136):
s = socket(AF_INET, SOCK_STREAM)
conn = s.connect_ex((ip_add, i))
print(conn)
connections.append(conn)
if 0 in connections:
print ('Host is online')
s.close()
else:
print ('system is unreachable')
Explanation:
The python source code above scans for all the available range of ports in the provided hostname, if any port is available, the host is online else the program print the error message "system is unreachable.