Answer:
Option (D) i.e., s1.getClassRank( ); is the correct option to the following question.
Explanation:
Here, in the following option, the object "S1" is the object of the class "rank" and "getClassRank( )" is the function of that class "rank". so, in the following code the function "getClassRank( )" is called through the class object which computes and returns the class rank of the students.
So, that's why the following option is the correct way to call the function.
Answer:
The solution code is written in Python 3.
- def convertDate(date_string):
-
- date_list = date_string.split("/")
-
- for i in range(0, len(date_list)):
- date_list[i] = int(date_list[i])
-
- return date_list
-
-
- print(convertDate('06/11/1930'))
Explanation:
Firstly, create a function convertDate() with one parameter, <em>date_string</em>. (Line 1).
Next, use the Python string <em>split()</em> method to split the date string into a list of date components (month, day & year) and assign it to variable <em>date_list</em>. (Line 3) In this case, we use "/" as the separator.
However, all the separated date components in the <em>date_list</em> are still a string. We can use for-loop to traverse through each of the element within the list and convert each of them to integer using Python<em> int() </em>function. (Line 5 - 6)
At last return the final date_list as the output (Line 8)
We can test our function as in Line 11. We shall see the output is as follow:
[6, 11, 1930]
Answer:
Option 3 is the correct answer for the above question.
Explanation:
- A tarball is a software which is used to encrypt the other software or hide the other software and make it small. It again makes the original software program from the encrypted ones.
- It is used to make the file sort and can use for the transfer which takes some amount of memory.
- The above question asked about that technology which is used to make encrypted software from the original software and use it with the help of some script. Then the answer is tarball which is referred to from option 3. Hence Option 3 is the correct answer for the above question while the other is not because--
- Option 1 states about the package manager which is used to manage the library only.
- Option 2 states about the DBMS which is used to manage the database.
- Option 4 states about the router which is used for the internet.
Answer:
Information and communications technology is an extensional term for information technology that stresses the role of unified communications and the integration of telecommunications and computers, as Technology Trends 2016
#1: Spreading intelligence throughout the cloud. ...
#2: Self-managing devices. ...
#3: Communication beyond sight and sound. ...
#4: Fundamental technologies reshaping what networks can do. ...
#5: Weaving security and privacy into the IoT fabric.
Explanation:
look for a question that i have answered answer it and also plz give me brainliest on this one plz
The execution speed of machine language is faster than the execution speed of other languages. Machine or assembly language will execute the fastest as compared to high-level languages. No other language can execute faster than Machine language since instructions are directed straight to the CPU. Other high-level languages often add some non-zero amount of overhead to the execution time, thus, causing some delay.