Answer:
Hello
Explanation:
Hello profile picture of a nub how are you doing today?
False......................
Answer:
The solution code is written in Python:
- sec = int(input("Enter number of seconds: "))
-
- if(sec >=60):
- min = sec // 60
- sec = sec % 60
- else:
- min = 0
-
- print(str(min) + " minutes " + str(sec) + " seconds")
Explanation:
Firstly, use input function to prompt user to enter number of seconds and assign the input value to variable sec (Line 1).
Next, create an if statement to check if the sec is bigger or equal to 60 (Line 3). If so, we user // operator to get minutes and use % operator to get the seconds (Line 4 - 5).
Then we use print function to print the minutes and seconds (Line 9).
Answer:
polymorphic
Explanation:
An example of polymorphic reference, suppose you have 3 classes: Main, Product and SpecificProduct. If SpecificProduct extends Product this means it is a product class but with something else to complement.
Say you want to reference an object of product in the main class, you can do it the classic way:
Product pd = new Product();
Or you can do it polymorphic, like this:
Product pd = new SpecificProduct();
The program will accept just fine because SpecificProduct is extending Product. When you do it like this, we say the reference you made was a polymorphic reference
Answer
Hi,
With the help of <u>random access memory(RAM)</u> a computer can read as well as write or modify data.
Explanation
Memory is a vital element in computers because it allows it to perform simple tasks. The random access memory/read write memory/main memory/primary memory is a volatile memory data stores the programs and data that the CPU requires for execution. This type of memory can easily be written as well as read from using the software associated with its functioning.
Hope this Helps!