Answer:
Benefits of Headings
Making texts larger helps guide the eye around the page. Using headings and making them visually apparent is especially helpful for users with cognitive disabilities. If the underlying code for a pages headings is correct, screen reader users can also benefit from headings.
Explanation:
Answer:
Python - Functions
Advertisements
A function is a block of orgaof code that is used to perform a single, related action. Functions provide better modularity for your application and a high degree ofAdvertisement
As you already know, Python gives you many built-in functions like print(), etc. but you can also create your own functions. These functions are called user-defined functions.
Defining a Function
You can define functions to provide the required functionality. Here are simple rules to define a function in Python.
Function blocks begin with the keyword def followed by the function name and parentheses ( ( ) ).
Any input parameters or arguments should be placed within these parentheses. You can also define parameters inside these parentheses.
The first statement of a function can be an optional statement - the documentation string of the function or docstring.
The code block within every function starts with a colon (:) and is indented.
The statement return [expression] exits a function, optionally passing back an expression to the caller. A return statement with no arguments is the same as return None.
The Writing Process- Drafting and Editing. Writing is a process that involves several distinct steps: prewriting, drafting, revising, editing, and publishing. It is important for a writer to work through each of the steps in order to ensure that he has produced a polished, complete piece.
Graphs are used to represent functions and equations
<h3>How to graph the functions</h3>
The expressions of the functions are given as:
8n, 4nlog(n), 2n^2. n^3 and 2^n
Rewrite the expressions as functions.
So, we have:
y = 8n
y = 4nlog(n)
y = 2n^2
y = n^3
y = 2^n
Next, we plot the graph of the functions
See attachment for the graph of the functions, where n is represented on the x-coordinate, and y is represented on the y-coordinate
Read more about graphs and functions at:
brainly.com/question/13473114
Answer:
Array of Strings
Explanation:
I believe the best data type for this information would be an Array of Strings. This array would have a fixed size of 5 elements. One for each one of the five electives that the student will have. Then the individual electives will be String elements that are saved in the 5 indexes of the Array. This would allow all of the electives to be bundled into a single variable and accessed together or individually by the user. This would be the best and most efficient data type to store this information.