Answer:
In Python:
def split(A):
L=[]; G=[]
for i in range(1,len(A)):
if (A[i] != A[0] and A[i] < A[0]):
L.append(A[i])
if (A[i] != A[0] and A[i] > A[0]):
G.append(A[i])
return L, G
Explanation:
This defines the function
def split(A):
This initializes the L and G lists
L=[]; G=[]
This iterates through the original list A
for i in range(1,len(A)):
This populates list L using the stated condition
<em> if (A[i] != A[0] and A[i] < A[0]):</em>
<em> L.append(A[i])</em>
This populates list G using the stated condition
<em> if (A[i] != A[0] and A[i] > A[0]):</em>
<em> G.append(A[i])</em>
This returns the two lists L and G
return L, G
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.
When an important file is saved on two different computers, the name of the file that is housed on the second computer is 'back up'. Back up refers to the process of copying and archiving a particular computer data in order to have an extra copy to fall back on in the event of data loss. <span />
Yes
Explanation: Information technology, or IT, describes any technology that powers or enables the storage, processing and information flow within an organization. Anything involved with computers, software, networks, intranets, Web sites, servers, databases and telecommunications falls under the IT umbrella.