Answer:
In Python:
def is_power(n):
if n > 2:
n = n/2
return is_power(n)
elif n == 2:
return True
else:
return False
Explanation:
This defines the function
def is_power(n):
If n is greater than 0
if n > 2:
Divide n by 2
n = n/2
Call the function
return is_power(n)
If n equals 2
elif n == 2:
Return True
return True
If n is less than 2
else:
Then, return false
return False
Answer:
The correct answer for the given question is true .
Explanation:
SQL is an Structural query language that is used for accessing the database basically it is an query language which is used for communicating with database by executed the query .
The following are the function of SQL
SQL can insert the data into database
it can update the record into database
SQL can retrived the database.
We do not use SQL for writing application it is only used to accessing the database
For create application we can use programming language Like PHP,ASP,JAVA ,PYTHON.etc.
Answer:
The Internet has changed business, education, government, healthcare, and even the ways in which we interact with our loved ones—it has become one of the key drivers of social evolution. The changes in social communication are of particular significance.
Answer:
A) False
Explanation:
Extranet
An extranet acts as a shared network, disseminating information present on the intranet. That is, if a private intranet shares some of its content with other users (be they sellers, customers, etc.), this shared network is what we call the extranet.
Intranet
Today, companies are looking for tools and methods to align internal communication, reduce costs, and centralize information and files. The intranet is one of these tools, which works restricted to a specific audience, such as a company. This way, collaborators can access it with their specific username and password.
The intranet is, then, a closed and internal network, and still allows the use of more communication protocols besides HTTP. Intranet access is typically done on a local server and a local network, which we call LAN, which means Local Area Network installed within the company.
This internal network connects users, allowing information exchange, file and document management, centralizing communication between users. With this tool, you can quickly and securely and efficiently connect companies and departments.
Answer:
A binary system is a system that functions on zeros and ones (0's and 1's).
A decimal system is an Arabic numeric system that has 10 as its base and uses a dot which is also called a decimal point to show fractions.
Differences
- A decimal uses ten different digits which is 0-9 while a binary system uses just two digits 0 and 1
- Decimal system was historically a Hindu-Arabic system while the binary system is just an Arabic system
Similarities
- They are capable of performing arithmetic operations
- They both can be represented in decimal form