Answer:
According to the information presented in this video, a spreadsheet is effective for managing information about one thing (e.g., items for sale), but a
C. database
is better for managing information about more than one thing (e.g., items for sale and suppliers of items).
Explanation:
- The option A is not correct as the flowchart is a step-by-step explanation of a procedure. It is visual presentation in which we explain a whole process.
- The option B is not correct as network is defined as the group of different computers, servers and other machines that helps the exchange of data.
- The option c is correct as database is the means of storage of data as well as we can access this data at any time and it let you manage the data as well so we can manage a lot of information about multiple things at a time.
- The option d is also incorrect as workflow is the visual presentation of sequence in which tasks are performed so it doesn't have to do anything wit the managing the information.
- The option e is also incorrect as data model defines the properties of data of different things and it is used in database. It sets the rule of storing, managing and accessing the data in a database.
Answer:
The function in python is as follows:
def twice(num):
return 2 * num
Explanation:
This defines the function; The function receives num as its parameter
def twice(num):
This returns twice of num
return 2 * num
Answer:
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
Explanation:
JFrame is the swing class that is used to display a frame object. The JFrame display contains an X button on the top right position which is used to turn off the display of the frame. However if we want to terminate the program on pressing the X button, we need to update the DefaultCloseOperation for the frame. JFrame provides a method ''setDefaultCloseOperation' for this purpose. When this method is called with the argument JFrame.EXIT_ON_CLOSE , it will cause the program to exit when the close button is pressed.
def even_checker(lst):
for x in lst:
if x%2==0:
print(x)
l = [1,2,3,4,5,6,7,8,9,10]
even_checker(l)
I wrote my code in python 3.8. I hope this helps.