With a centralized database system, the databases used by the system are all located on a single computer, such as a server or mainframe computer.
<h3>
</h3><h3>
What are database systems?</h3>
Database is a collection of related data stored in a manner that it can be retrieved as needed. Database system or Database Management System (DBMS) are enables us to create, maintain, and access databases. A database typically consists of Tables, Fields (columns) and Records (rows).
Advantages of DBMS approach are low level of redundancy, faster response time, lower storage requirements, easier to secure, increased data accuracy. Disadvantage of DBMS approach is increased vulnerability (backup is essential).
To learn more about database systems refer to:
brainly.com/question/518894
#SPJ4
Answer:
Program :
list_1=[]#take the empty list.
size=int(input("Enter the size of the list: "))#take the size of the list from the user
for x in range(size): #for loop which insert the elemnt on the list.
list_1.append(int(input("Enter the "+str(x+1)+" element of the list: ")))#take the user input and insert the element.
element=int(input("Enter the element to be searched: "))#it take the elemnt to search.
loc=1#intialize the location value.
count=0
for x in list_1:#for loop to check the element.
if(x==element): #check the element.
print(loc,end=", ")#print the location of the element.
count=count+1
loc=loc+1
if(count==0):
print("The element is not present on the list")#print when elemnt are not present.
Output:
- If the user input 5 for the size and 1,2,3,4,5 for the list and 5 for the element, then it will print 5.
Explanation:
- The above code is in python language which is used to take the size for the list, then take the value to add on the list.
- Then the element is entered from the user to search on the list.
- Then the element is searched on the list with the help of for loop.
- It prints the location when the element is matched.
Answer:
The program in Python is as follows:
num1 = int(input())
num2 = int(input())
if num1 >=0 and num2 >= 0:
print(num1+num2)
elif num1 <0 and num2 < 0:
print(num1*num2)
else:
if num1>=0:
print(num1**2)
else:
print(num2**2)
Explanation:
This gets input for both numbers
num1 = int(input())
num2 = int(input())
If both are positive, the sum is calculated and printed
<em>if num1 >=0 and num2 >= 0:</em>
<em> print(num1+num2)</em>
If both are negative, the products is calculated and printed
<em>elif num1 <0 and num2 < 0:</em>
<em> print(num1*num2)</em>
If only one of them is positive
else:
Calculate and print the square of num1 if positive
<em> if num1>=0:</em>
<em> print(num1**2)</em>
Calculate and print the square of num2 if positive
<em> else:</em>
<em> print(num2**2)</em>
It is false, Its obligatory.
Answer:
The answer to this question is given below in the explanation section
Explanation:
This question is not complete and the completed question is given below:
Alexis has six different pieces of jewelry to show and describe on a web page. Two are gold, and the rest are silver. Based on the principles of proximity, how would she display these pieces on her page?
- She would separate each and provide some distance between
- them
- She would mix the pieces and keep them all close together
- She would make two columns of jewelry with an equal number of pieces in each
- She would group the gold together, and the silver together
Based on the principle of proximity, the correct answer to this question is:
She would group the gold together, and the silver together.
As you know that the principle of proximity states that things that are close together appear to be more related than things that are spaced farther apart. So based on this principle she needs to make two groups gold and silver. So, based on the proximity principle, she would group the gold together, and the silver together.