Answer:
what is compute
Explanation:
computer is machine
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
Write a program that uses while loops to perform the following steps:
a. Prompt the user to input two positive integers. Variables: firstNum and secondNum
(firstNum must be less than secondNum) (use while loop); create a user-defined function
called validateUserInput() to validate the user's input. Use Call-by-Value.
validateUserInput() is a value returning function.
b. Output all odd numbers between firstNum and secondNum. (use while loop); create a
user-defined function called oddNumbers(). Use Call-by-Value. oddNumbers() is a void
function.
c. Output the sum of all even numbers between firstNum and secondNum. (use while
loop); create a user-defined function called sumEvenNumbers(). Use Call-by-Value.
Declare a variable called sumEven in the main() for the sumEvenNumbers().
sumEvenNumbers() is a valuereturning function. Use sumEven to hold a returned value.
d. Output the numbers and their squares between 1 and 10. (use while loop): create a
user-defined function called displaySquareNumbers(). Call-by-Value.
displaySquareNumbers() is a void function.
e. Output the sum of the square of the odd numbers between firstNum and secondNum.
(use while loop); create a user-defined function called sumSqureOddNumbers(). Use
Call-by-Value. Declare a variable called sumSquareOdd in the main(), for the
sumSqureOddNumbers(). sumSqureOddNumbers() is a value returning function. Use
sumSquareOdd to hold a returned value.
f. Output all uppercase letters. (use while loop); create a user-defined function called
displayUppercaseLetters(). Use Call-by-Value. displayUppercaseLetters() is a void
function.
The program is an illustration of the loop and functions
Loops are used to perform repetitive operationsFunctions are named code segments that ar executed when called or evokedThe main programThe program written in Python, where comments are used to explain each action is as follows:
#This function validates the user input
def validateUserInput(firstNum, secondNum):
if firstNum >= secondNum:
return False
return True
See attachment for the complete program
Read more about loops at:
https://brainly.com/question/19347842
What are the major benefits of preproduction?
Some of the benefits of preproduction are that it:
Saves time while producingKeeps you on a BudgetYou could have more time to think about how you are going to produce your production.Hope this could help?
How does a workstation differ from a server in terms of price processing power storage and computer memory
Workstations are laptops and PCs that quickly perform complex, technical tasks such as digital content creation and detailed analysis. Servers are software and hardware that store data, manage network resources, and fulfill client requests.
Which tags should be bolded?
Explanation:
As per the nature and importance of the context the certain words can be bolded to make them prominent.
It also refers to the type of sentence either .
negative interrogative simple sentenceWhat statement is accurate in regards to
sharing workbooks?
Select an answer:
It is a legacy feature that is no longer a feature in Excel.
You must add the feature to the Quick Access Toolbar.
You can share and unshare from the Review option on the
ribbon.
You cannot track the changes of each user.
The statement that is accurate in regards to sharing workbooks is that You must add the feature to the Quick Access Toolbar
What does a shared workbook implies?The term connote the act of sharing an Excel file. Here, a person can give other users any form of access to the same document.
Sharing workbook is one that allow people to make any kinds of edits at the same time, which saves a person the trouble of keeping track of different versions.
Learn more about workbooks from
https://brainly.com/question/5450162
Which of the following is a valid byte?
11100
11011011
00000000
10022011
Answer:
11011011
00000000
Explanation:
10022011 cant be an answer because bits are composed of 0s and 1s
and 11100 is too small.
12.2 E-Z LOAN
A loan obtained from a lending institution is typically paid off over time using equal monthly payments over a term of many months. For each payment, a portion goes toward interest and the remaining amount is deducted from the balance. This process is repeated until the balance is zero. Interest is calculated by multiplying the current balance by the monthly interest rate, which is usually expressed in terms of an Annual Percentage Rate (APR). This process produces an Amortization Schedule where the amount applied to interest is gradually reduced each month and the amount applied to the balance grows. For example, the following amortization schedule is for a loan of $ 10.000 at an APR of 3.9% over a term of 30 months:3 will match months 12, 24, and 30 respectively.
Following an amortization schedule, the monthly payments will be $350.39 and the total payment in 30 months will be $10511.7.
How much should be paid monthly to complete loan payment in 30 months?The loan payment follows an amortization schedule where the amount applied to interest is gradually reduced each month and the amount applied to the balance grows.
The amounts to be paid is calculated using the amortization formula:
P = a ÷ {{[(1 + r/n)^nt] - 1} ÷ [r/n(1 + r/n)^nt]}where
P is monthly paymenta is credit amountr is the interest ratet is the time in yearsn is number of times the interest is compoundedFor the loan of $10000;
a = $10000r = 3.9% = 0.039nt = 30 monthsHence,
P = $10000 ÷ {{[(1 + 0.039/12)^60] - 1} ÷ [0.039/12(1 + 0.0.039/12)^60]}
P = $350.39 per month
Total payment in 30 months = $350.39 × 30 = $10511.7
Therefore, the monthly payments will be $350.39 and the total payment in 30 months will be $10511.7.
Learn more about amortization schedule at: https://brainly.com/question/26433770
I need help with these certain questions on my activities in school
Answer:
*part 3 multiple choice*
1 d. none of the above
2d. water
3 a. insulator
*The Other Part*
4. electrons change direction of flow frequency in ""alternating current""
2. conductors
QUESTION
1.1 List 10 TEN advantages of word processing.
Quality : It produces error free documents. The spell and grammar check in word processing makes the document to be neat and error-free. We can get multiple copies of excellent formatted nature in word Processing.
! Storage of Text : We can take any number of copies with word processor. Not only that, if we need the same document with some slight changes, we need not type the same letter again. Just by making some slight changes, we can obtain a modified copy easily.Time Saving : We can get any number of copies of document in future without retyping. We can get the copy of document on any printer.
! Security : We can protect the documents in word processing by giving passwords. So there is a less chance of viewing the documents by unauthorized persons.
! Dynamic Exchange of Data : We can have dynamic exchange of objects and pictures from other documents into word processing documents. The documents can be linked to each other.
Improving Efficiency and Accuracy. Besides simply saving time, word processing offers ways to improve workers' efficiency and accuracy. Word processors contain software to automatically correct common errors and identify misspellings, improving overall speed and reducing
these may be some of them
can anyone tell me about Microsoft some important features for partical
Which one of the following tuned-adm commands will set the Tuning Profile to desktop?
The "yum search tuned" command. tuned-adm commands will set the Tuning Profile to desktop.
What is tuning profile?The term Tuned is known to be a form of daemon that employs the use of udev to look into connected devices and so it also statically or dynamically tunes system settings based on a clicked profile.
Conclusively, Tuned is known to often shared with a number of predefined profiles that are often used in some common use cases such as high throughput, low latency, etc.
Learn more about tuning profile from
https://brainly.com/question/23275071
discuss the information justify with two examples
Answer:
An example of information is what's given to someone who asks for background about something
Which evidence best addresses the counterclaim?
a story about a girl who becomes a professional athlete after she graduates
quotations from teens and parents who fight with coaches
a story about a boy who gets bad grades because he plays too many sports
an example of how sports may lead to many injuries
an exclamation point
an exclamation point
Answer:
A. a story about a girl who becomes a professional athlete after she graduates
Explanation:
i hope this helped
Ensure that the Facilities worksheet is active. Enter a reference to the beginning loan balance in cell B12 and enter a reference to the payment amount in cell C12.
A reference value to the beginning loan balance in cell B12 is E6 ($325,000.00) while a reference to the payment amount in cell C12 is $B$6.
What is a spreadsheet?A spreadsheet refers to a document which comprises cells that are arranged in a tabulated format with rows and columns. Also, a spreadsheet is typically used in various fiedls for calculating, sorting, formatting, arranging, analyzing, and storing data on computer systems.
In this scenario, a reference value to the beginning loan balance in cell B12 would be E6 with a value of $325,000.00 while a reference value to the payment amount in cell C12 would be $B$6.
In conclusion, cell B12 will always show the beginning loan balance and cell C12 will always show a static payment amount for all the other cells in this spreadsheet.
Read more on spreadsheets here: https://brainly.com/question/4965119
pls i need the answer rightnow pls pls pls im begging you pls
Answer:
1. scan
2. conduct
3. subject lines
4. firewalls
5. black
6. malware
7. scams
8. blocker
9. links
10. confidential
Match the product to its function.
Answer:
MYSQL: Database
MONGO DB: Database
SVELTE: Framework
JS: Language
VUE: Framework
PHP: Language
POSTGRES: Database
React: Framework (a JS library actually)
Python: Language
How many bytes/second is a 16Mbps cable modem connection?
Answer:
data transfer rate converter computer connection speed cable modem online converter page for a specific...cable modem to megabit per second(Mbps)
An onsite technician at a customer site installed a PERC 10 card in an R630 server. The first time the server booted, the customer was unable to see the drives. The customer restarted the server a second time. This time, the server is not booting at all. An issue with the installation of an unsupported PERC card is suspected. What is the next best step to take?
The next best step to take in the situation above is to remove the failed card from the system and one can use a replacement card to see if the same issue will arise.
What is an IL PERC card?PERC is a term that connote Permanent Employee Registration Card. If a person holds this card, it is a card that shows that one have undergone some specific state and federal background checks and fingerprinting to function as a security guard in Illinois.
The Potential employers of security guards is one that needs applicants to have a PERC card and when the card fails, it may be due to the machine or faulty card or corrupt card.
Learn more about installation from
https://brainly.com/question/17506968
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".
One problem with backlighting is that your subject may squint.
True
False
Answer:
I would say that's False. Backlighting would be behind them. So they wouldn't need to squint.
Explanation:
• Do you think documentaries are best delivered in media such as films or documentary?
• Do you think only thru survey can sustain authenticity of the information need within a study?
Answer:
I think documentaries are the best delivered in media format because it adds intrigue and lowers boredom.
I think surveys are nice for studies, but not good enough because people can click answers that they know to be false, at least, for them.
9.11: Array Expander
Write a function that accepts an int array and the array’s size as arguments. The function should create a new array that is twice the size of the argument array. The function should copy the contents of the argument array to the new array, and initialize the unused elements of the second array with 0. The function should return a pointer to the new array. Demonstrate the function by using it in a main program that reads an integer N (that is not more than 50) from standard input and then reads N integers from a file named data into an array. The program then passes the array to your array expander function, and prints the values of the new expanded array on standard output, one value per line. You may assume that the file data has at least N values.
Prompts And Output Labels. There are no prompts for the integer and no labels for the reversed array that is printed out.
Input Validation. If the integer read in from standard input exceeds 50 or is less than 0 the program terminates silently.
The Array Expander is an illustration of arrays and functions.
Arrays are variables that stores multiple valuesFunctions are named statements that are executed when calledThe Array Expander programThe Array Expander program written in C++, where comments are used to explain each action is as follows:
#include <iostream>
using namespace std;
//This declares the Array Expander function
int* ArrayExpander(int *oldArr, int size){
//This declares the new array
int *newArr = new int[size * 2];
//This iteration sets values into the new array
for (int i = 0; i < size * 2; i++) {
if(i < size){
*(newArr+i) = *(oldArr+i);
}
else{
*(newArr+i) = 0;
}
}
//This returns a pointer to the new array
return newArr;
}
//The main method begins here
int main(){
//This declares the length of the array, N
int N;
//This gets input for N
cin>>N;
int initArr[N];
//If N is between 1 and 50
if(N > 0 && N <=50){
//This iteration gets values for the array
for(int i = 0; i<N; i++){
cin>>initArr[i];
}
//This calls the Array Expander function
int *ptr = ArrayExpander(initArr, N);
//This iteration prints the elements of the new array
for (int i = 0; i < N*2; i++) {
cout << ptr[i] << " ";
}
}
return 0;
}
Read more abou C++ programs at:
https://brainly.com/question/27246607
20) Which of the following functions would take the word "Joe" (found in column A) and "Smith" (found in column B), and display "Joe Smith" in column C?
A. COMBINETEXT
B. TEXTJOIN
C. JOINTEXT
D. JOIN
Answer:
TEXTJOIN
Explanation:
TEXTJOIN is a common function of Ms Excel or Microsoft ExcelThis function requires three arguments
delimiterignore_empty text1.Answer:
TextJoinExplanation:
Is the functions would take the word "Joe" (found in column A) and "Smith" (found in column B), and display "Joe Smith" in column C.
How many intrusion switches are there in Dell Precision Tower 7920?
The number of intrusion switches in Dell Precision Tower 7920 is one.
What is an intrusion switch?There is an chassis intrusion switch that is often used in the detection of any unauthorized access that is found stepping into the interior of one's system.
This kind of switch is known to be often activated quickly when the system cover is removed and access is done or made to the interior of one's system.
Learn more about intrusion switch from
https://brainly.com/question/24369537
17) If you want to find the average salary (with each employee's salary found in column C) for those who are full time employees (which will have "FT" in column B), you would use the ________ function.
A. COUNTAVERAGE
B. IFAVERAGE
C. AVERAGE
D. AVERAGEIF
Answer:
AVERAGE
Explanation:
THIS is a function used in Microsoft Excel.
The steps to find average is
Sum/TotalHence
first we use AUtoSUM function to find sum then we use average to calculate
Answer:
AverageExplanation:
If you want to find the average salary (with each employee's salary found in column C) for those who are full time employees (which will have "FT" in column B), you would use the AVERAGE function.
You have been asked to write a loop that outputs values in a database column ranging between 10 and 100. Any number that is not divisible by 5, and any value that is not an integer, should be ignored. When the value in the loop hits 95, break the loop prematurely. One of your team members has advised the use of break, continue, and pass statements.
Explanation:
This is going to depend on the language you're working in heavily.
First you will want to verify your number is an integer rather than a floating point which will completely depend on the language and whether you care if the floating point is 1.0 for example, which could still be converted a valid integer value.
After you've determined if it is an integer you can use modulo to check if the integer is evenly divisible by 5. In C-like languages you would write this as `x % 5`. Any result other than zero would mean it is not evenly divisible.
You also need to check if the integer is >= 10 and <= 100.
Read up on for/while loops and break/continue in those loops to understand that concept, it is pretty universal to all languages.
Good luck!
Type the correct answer in the box. Spell all words correctly.
Craig has told his team to design a website, but he wants to see a fully laid out detailed version before functionality can be added. How can his team produce this?
Craig's team can demonstrate this by creating a(n) {----------}
.
Answer:
A project scope
Explanation:
I just took this on plato
The team designs the website according to the team leader by a project scope.
What is a website?The website is a set of web pages located under a single domain name, generated by a single person or any organization.
Craig has told his team to design a website, but he wants to see a fully laid out detailed version before functionality can be added.
A project can be introduced to create a website for the team members whether individually or in a team.
Thus, the team produce this by a project scope.
Learn more about website.
https://brainly.com/question/19459381
#SPJ2
how to Develop Administrative Assistant Skills
Answer:
Multitasking, Flexible and resourceful.
Explanation:
im not sure what your asking for but to be or i dont now how to explain to good but hope you get what im mean it no brainier
Luke is working on a layout for a catalog. He adds cross lines on the four corners of the layout to mark out a small extra margin. What are these lines called?
A.
edge
B.
dark
C.
index
D.
trim
Cross lines that are added on the four corners of a layout to mark out a small extra margin is called: D. trim.
What is layout design?Layout design can be defined as a graphical design process that involves the use of one or more grids for the design of a catalog and system, so as to make the designs visually appealing to end users.
In a layout design, trim refers to the cross lines that are added on the four (4) corners of a layout to mark out a small extra margin.
Read more on layout design here: https://brainly.com/question/13732745