Answer:
The answer is "All of these could make good functions
".
Explanation:
In the given question some information is missing, that is options which can be described as follows:
a. Ask the user to confirm an input with a yes/no answer
b. Sort some input data into an ordered list
c. All of these could make good functions
d. Calculate a complex mathematical expression
A method is a collection of ordered code and provides a generic code, that is used to execute a single, connected operation.
- A good function is a function, which takes values from the user and it will sort all the data and store in memory, and whenever we call the function, it will give the values.
- It is also used to calculate some complex values,
Answer:
1. Classes and objects
2. Inheritance
3. Polymorphism
4. Data hiding/ encapsulation
5. Interfaces.
Explanation:
Classes and objects depict the major component of the OOP (object oriented programming). It explains the object like a ball in a soccer game development.
The inheritance is like the subclass of the object. Data hiding is a stage in oop where the codes or data are hidden from another users.
In the polymorphism stage, the object is given the ability to change to a sub-object, while in the interface stage a function or method signature is defined without implementing it.
Answer:
The offset
Explanation:
In the question, we understand that the original text is HELLO and the encrypted text is OLSSV.
It should be noted that O replaced H, L replaced E, S replaced L and V replacement O.
This is made possible by a term refered to as offset.
The offset is used to determine the character that will replace another when it is encrypted.
7 characters after H is O; this is same for every other characters in the text.
As many as it takes of course ;)