Answer:
- import datetime
-
- def get_year_of_birth():
- age = int(input("Enter your age: "))
- current_year = datetime.datetime.now().year
- year_of_birth = current_year - age
- return year_of_birth
-
- print(get_year_of_birth())
Explanation:
Firstly, we import datetime module as we need it to get the current year (Line 1).
Next, create a function named it as get_year_of_birth (Line 3). Prompt user to input age and assign it to a variable (Line 4). Next, we use now() method from datetime module to get the current date and time and extract the year component (Line 5). At last, calculate the year of birth by subtracting the current_year with age and return it as output (Line 6-7).
Answer:
Options Include:
<em>A) Server-side validation
</em>
<em>B) Client-side validation
</em>
<em>C) Validate in trust
</em>
D) Client-side and server-side validation
<em>Client-side and server-side validation is Correct</em>
Explanation:
The best option is to validate the client side with the server side. Using these together would provide the best testing option for Sharon.
<em>This keeps user feedback instantly without wasting postbacks while also protecting against JavaScript disabled users. That's how the validation controls for ASP.NET operate. </em>
This is definitely not over-engineering as there are risks of using one without the other.
Individual validation on the server side and individual validation on the client side are both incorrect. Trust validation is not a form of validation.
Answer: Business intelligence system is a system that is used in the field of business and organizations for generations of the strategy and plans to make decision. This system consist of the business intelligence(BI) tools. It creates a connection in the different information/data and takes them to the business organization.
Business intelligence system has goals like:-
- Increasing daily sales
- Fast the growth rate of the business
- improving the rental performance
- Gaining more profit
Answer:
I am pretty sure for the first option the answer is tasks, and for the second option, it is logical.
Explanation:
"tasks to be performed in a logical manner" sounds right to me.
Answer:
- Because the page is not in its page table
- The operating system could allow access to other memory by allowing entries for non-process memory to be added to the process page table
Explanation:
On a system with paging, a process cannot access memory that it does not own because the page is not in its page table also the operating system controls the contents of the table,therefore it limits a process of accessing to only the physical pages allocated to the process.
The operating system could allow access to other memory by allowing entries for non-process memory to be added to the process page table.that way two processes that needs to exchange data can efficiently do that . i.e creating a very efficient inter-process communication