The parameter and the argument in the code below is that the parameter is speed, the argument is 5 or 2.
Can programmers be said to be gamers?Gaming is known to be a kind of starting point for new set of programmers as a lot of game designers do uses different kinds of skills.
Note that in the above scenario, it the parameter is speed, the argument is needs to be 5 or 2 for it to work well.
Learn more about code from
https://brainly.com/question/25605883
Question 1 (1 point)
Jenna has created a wizard class. She has used the class to build two wizard objects
a
in her game. Which programming term describes the objects that Jenna built using
the wizard class?
A. Occurrences
B. Subclasses
C. Instances
D. Methods
Answer:
Subclasses
Explanation:
It's B for Plato students, took this not that long ago!
A laser printer uses...........
A. Correction fluid
B. Ink cartridge
C. Photocopy ink
D. Toner cartridge
Answer:
Toner cartridge
Explanation:
What service handles the execution of missed cron jobs in the /etc/cron.hourly, /etc/cron.daily, /etc/cron.weekly and cron.monthly files?
The service handles the execution of missed cron jobs is /etc/crontab.
Where are /etc/crontab is system crontabs file?This is a command that is often used by root user or daemons. It is used to configure system different kinds of jobs.
Vonclusively, Cron jobs are often seen in the spool directories. They are known to be often stored in tables known as crontabs. This /etc/crontab. is a service handles the execution of missed cron jobs.
Learn more about commands from
https://brainly.com/question/25243683
A common test for divisibility by 3 is to add the individual digits of an integer. If the resulting sum is divisible by 3 then so is the original number. Program this test. To do this, first define a function: reduce(number) which returns the sum of the digits of the number argument. The sum returned must be < 20 i.e. if the sum is >= 20, the function must add the digits of the resulting sum. It should repeat this procedure until the sum is < 20. Use this function in a python program that inputs an integer from the user and prints out whether or not the integer is divisible by 3.
The function to test for divisibilty by 3 will accept an input integers and divide it by three to check if its divisible by 3.
The function to test for divisiblity by 3 is as follows:
integer = input("input the integer to check if it's divisible by 3: ")
def reduce(integer):
list1 = []
sum1 = 0
for i in str(integer):
list1 += i
results = list(map(int, list1))
for x in results:
sum1 += x
if sum1 < 20 and sum1%3==0:
return "The integer is divisible by 3"
elif sum1 < 20 and sum1%3 != 0:
return "The integer is not divisible by 3"
else:
while sum1 >= 20:
z = sum(list(map(int, list(str(sum1)))))
if z%3==0:
return "The integer is divisible by 3"
else:
return "The integer is not divisible by 3"
print(reduce(integer))
Code explanationThe integer variable stores the users input.We define a function called "reduce". The reduce function accepts the interger variable as a parameter.The code loop through the integer and check if it is divisible by 3. If the sum of the integer number is greater or equals to 20, we divide the resulting sum by 3 .If the integer is divisible by 3, we return "it is divisble by 3" and if it is not dividible by 3, it will return "it is not divisble by 3".learn more on python here: https://brainly.com/question/13437928
Which line of code will use the overloaded division operation?
class num
definit__(self,a):
sell number = a
del_add___(self,b)
return self. number + 2 b.number
def__mul_(self, b)
return self.number + b.number
def_pow_(self, b):
return selt number + b number
def_truediv_(self,b);
return self number + 10 b.number
numA = num(5)
numB = num(10)
A.result = truediv(numA, numB)
B.result = numa/numB
C.result.truediv(numA, numB)
Answer:
B. result = numA/numB
Explanation:
__truediv__ overloads the / operator in Python. Since that has been defined in the class "num" and numA and numB are both objects of type "num" (numA / numB) will call num.__truediv__ using numA as "self" and numB as "b".
Put the steps of the decision-making process in the correct order.
1. Step 1
Gather data.
2. Step 2
Analyze choices.
3. Step
Make the decision.
4. Step 4
Evaluate the decision.
5. Step 5
Determine the goals.
Answer:
step 5, step 1, step 2, step 3, step 4
Explanation:
I belive that would be the answer. I hope this helps.
19) If you want to find your lowest paid, full time employee (with "FT" in column B and each employee's salary found in column C), you would use the ________ function.
A. IFSMAX
B. MAXIF
C. MIN
D. MINIFS
Answer:
MAXIF
Explanation:
The MAXIF function is a function used in Ms Excel.
This function indicates the maximum value located on an array .Option B
Answer:
MaxifExplanation:
If you want to find your lowest paid, full time employee (with "FT" in column B and each employee's salary found in column C), you would use the MAXIF function.
What are the four steps of the binary search algorithm
Answer:
Step 1 - Read the search element from the user.
Step 2 - Find the middle element in the sorted list.
Step 3 - Compare the search element with the middle element in the sorted list.
Step 4 - If both are matched, then display "Given element is found!!!" and terminate the function.
Answer:
These are the main steps are given the photo below
I hope my answer helps you.
I of 60
MUL
FINISI
a
The view in which the field data types and field properties for a database table can be seen in Microsoft
Access is called the...
0.5 POINTS
A
00
Datasheet view
B
design view
с
D
SQL view
dashboard view
E
field view
The view in which the field data types and field properties for a database table can be seen in Microsoft Access is called the Datasheet view.
What is datasheet view?A datasheet form is known to be the view that shows a user the information recorded using a table.
Note that the properties of a field tells users the characteristics and attributes of data added to that field. A field's data type is therefore a vital property as it helps one to know the kind of data the field can save.
Learn more about database from
https://brainly.com/question/26096799