True
All the programming languages mentioned above synchronizes
best with contemporary mobile platforms. Corona, for instance, is built on the
programming language LUA and is used in the creation of Android mobile apps,
primarily games.
Swift on one hand is best for an apple creation (IOS and OSX).
Swift is an open source which is extremely easy to learn, and is the future of
mobile app development.
On the other hand, scratch is a programming language
where children can program and is used as an introductory language. Skills
learned from using scratch can be applied to other basic languages like Java
and python.
Answer:A) Create collisions
Explanation: Hash codes are the numeric codes present in the programming infrastructures which are responsible for focusing on the object while the equality testing is in process. Hash codes does not display the property of having a permanent value.
When there is the creation of the duplicate hash codes then ,chances of collision arise because they search for the particular object and cannot have the same numeric value.
The part of an I-statement that involves a description of
your needs or feelings is the Feelings Statement.
The feelings statement is a description of your feelings that is linked to a
particular situation. Vague feelings often create frustration in the listener.
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: Replace Button
EXPLANATION: After opening the replace dialog box and putting the desired values in the boxes, we need to click the 'Replace' button to change the highlighted text. If the word which needs to be changed appear multiple times in the document, then clicking on 'Replace All' is advised as it would change all the old words with the new ones.