Answer:
1000 megabytes are in a gigabyte
Explanation:
Answer:
Start
Input n, 2
Calculate if (n%2==0) then is divisible else not divisible
Output number is divisible or not
Stop
Explanation:
Answer:
listNumbers = [34,56,23,56,78,89,98,45,34,33,25,26,67,78]
listString = [ ]
for i in range(14):
if listNumbers[i]%2!=0 and listNumbers[i]%5==0:
listString.append("five odd")
elif listNumbers[i]%5==0 and listNumbers[i]%2==0:
listString.append("five even")
elif listNumbers[i]%2==0:
listString.append("even")
elif listNumbers[i]%2!=0:
listString.append("odd")
print(listNumbers)
print(listString)
Explanation:
In python programming language;
- Create two lists
- The first is a list of numbers and initialize it with random values: listNumbers = [34,56,23,56,78,89,98,45,34,33,25,26,67,78]
- The second list is empty and will hold the string values listString = [ ]
- Use a for loop to iterate over all the elementts in the list of numbers
- Use the modulo operator (%) to chech for multiples of particular numbers as stipulated by the question
- Use combination of if/elif statements for each condition
- Use the .append method to add the elements into the list of strings
- finially output both lists
See attached code and output
Answer:
Correct answer is (C) Configure the Store the zone in Active Directory option.
Explanation:
To create dynamic DNS records in the zone, the first thing is to add an Active Directory data store by configuring the data store name, connections, credentials, and search attributes.
Answer:
Connection
Explanation:
We can get DatabaseMetaData from the java.sql.Connection object.
The relevant API call is Connection.getMetaData().
This returns an object of the type DatabaseMetaData.
Some of the methods available as part of the DatabaseMetaData object are:
- getDatabaseMajorVersion()
- getDatabaseMinorVersion()
- getDriverName()
- getDriverVersion()
- isReadOnly()
- getCatalogs()
- getTables()
- supportsBatchUpdate()
- supportsUnion()