Answer:
The function in Python is as follows:
def d2x(d, x):
if d > 1 and x>1 and x<=9:
output = ""
while (d > 0):
output+= str(d % x)
d = int(d / x)
output = output[::-1]
return output
else:
return "Number/Base is out of range"
Explanation:
This defines the function
def d2x(d, x):
This checks if base and range are within range i.e. d must be positive and x between 2 and 9 (inclusive)
if d >= 1 and x>1 and x<=9:
This initializes the output string
output = ""
This loop is repeated until d is 0
while (d > 0):
This gets the remainder of d/x and saves the result in output
output+= str(d % x)
This gets the quotient of d/x
d = int(d / x) ----- The loop ends here
This reverses the output string
output = output[::-1]
This returns the output string
return output
The else statement if d or x is out of range
<em> else:</em>
<em> return "Number/Base is out of range"</em>
<em />
A <u>schema </u>describes the structure, content, and access controls of a physical data store or database.
<h3>What is the kind of database that stores data in a different physical location?</h3>
Distributed databases are that are distributed across several physical locations. In distributed databases, the data are placed where they are used most often, but the whole database is available to each licensed user.
<h3>What is the structure of database management system?</h3>
The database system is separated into three components: Query Processor, Storage Manager, and Disk Storage.
To learn more about Distributed databases, refer
brainly.com/question/28236247
#SPJ4
Complete Question is ,
a. relation
b. DBMS
c. schema
d. attribute
Answer:
4.01 version .
Explanation:
A hypertext Markup language is used for designing the web page when we added the CSS on the web page we can create the web page more efficient manner and also there is more control over the web page because we can easily call the classes of CSS.
The Hypertext Markup language version 4.01 provides greater flexibility on the web page also We can also control the page layout in a very easy manner. The appearance of the web page is good as compared to version HTML 4
Answer:C)Defeated the two most successful human Jeopardy! champions in a three-game match.
Explanation: Watson emerged from the IBM supercomputer made by Thomas Watson .It is made from the two main component analytical software and the artificial intelligence which made it a optimal for the question-answer feature.
Watson defeated Ken Jennings and Brad Rutter(earlier successful contestants) in the program named Jeopardy by answering questions correctly and quickly in 2011.Other options are incorrect because it did not worked as the software engineer,humane genome or won crossword puzzle.Thus the correct option is option (c).