Answer:
p(x,n)
1. if(n==0) [if power is 0]
2. then result =1.
3.else
4. { result=1.
5. for i=1 to n.
6. { result = result * x. } [each time we multiply x once]
7. return result.
8. }
Let's count p(3,3)
3
0, so come to else part.
i=1: result = result *3 = 3
i=2: result = result *3 = 9
i=2: result = result *3 = 27
Explanation:
here the for loop at step 4 takes O(n) time and other steps take constant time. So overall time complexity = O(n)
A compiler, which has several parts, translates source code to executable code.
The answer that is a record in a relational database is called; A row
<h3>What is a record in relational database?</h3>
In relational databases, a record is defined as a group of related data held within the same structure. Furthermore, we can say that a record is a grouping of fields within a table that reference one particular object.
Now, in relational database, a row is called a record because each row, contains a unique instance of data or key for the categories defined by the columns.
Read more about Relational Database at; brainly.com/question/13262352
#SPJ12
The type of file which is needed to manage OpenLDAP policies over Command Line Interface (CLI) is called: LDIF files.
<h3>What is OpenLDAP?</h3>
OpenLDAP can be defined as a free, open-source version of the Lightweight Directory Access Protocol (LDAP) that was developed in 1993 by the OpenLDAP Project.
Basically, it is the server software implementation of the Lightweight Directory Access Protocol (LDAP).
<h3>The uses of
OpenLDAP.</h3>
- It is used for LDAP database control.
- It allow end users to browse, create, remove and change data on a LDAP server.
- It allows end users to manage their passwords and browse through data schema.
In conclusion, LDAP Data Interchange Format (LDIF) file is a type of file which is needed to manage OpenLDAP policies over Command Line Interface (CLI).
Read more on LDAP here: brainly.com/question/25998402
Answer and explanation : The TCP/IP means TRANSMISSION CONTROL PROTOCOL AND INTERNET PROTOCOL It governs all the communication which are performed over network it has a set of protocol. It defines how different types of conversation are performed without any fault through a network
THERE ARE 5 TYPES OF LAYER IN TCP/IP MODEL
- APPLICATION LAYER: It is present at upper level it is used for high level products for the network communication
- TRANSPORT LAYER: This layer is used for transfering the message from one end to other end
- NETWORK LAYER : Routers are present in network layer which are are responsible for data transmission
- DATALINK LAYER : it is used when there is any problem in physical layer for correcting this datalink are used
- PHYSICAL LAYER: Physical; layer are responsible for codding purpose which we used in communication process