The FindLargestNum program is an illustration of function; where its execution is done when its name is called or evoked
The function FindLargestNumThe FindLargestNum function written in Python, where comments are used to explain each action is as follows:
#Thie defines the FindLargestNum function
def FindLargestNum():
#This gets the first input
num = int(input())
#This initializes the minimum value
maxm = num
#The following is repeated until the user enters a negative input
while num >= 0:
#This determines the largest input
if num > maxm:
maxm = num
#This gets the another input
num = int(input())
#This prints the largest input
print(maxm)
Read more about functions at:
https://brainly.com/question/24941798
i need the full code for 6.1.3 code hs circles and squares please answer please help
In this exercise we have to use the knowledge in computational language in python to write a code with circles and squares.
how to draw geometric figures in python?inputs = 100
radius
draw_circle(radius);
pendown()
begin_fill()
circle(radius)
end_fill()
penup()
left(90)
forward(radius*2)
right(90)
penup()
setposition(0,-200)
color("gray")
bottom_radius = int(input("What should the radius of the bottom circle be?: "))
draw_circle(bottom_radius)
draw_circle(bottom_radius)
See more about python at brainly.com/question/18502436
what is the future of web development
Answer:
Creating websites that can execute automated tasks and new programing languages revolving around web development.
Explanation:
Mike logged into a shopping website and entered his username and password. Which protocol will the website use to verify his credentials?
Answer:
I think it is email or password
These are raised as livestock for meat and milk EXCEPT one
A. Hog
B. Goat
C. Carabao
D. Cattle
The livestock that is not raised for meat and milk is hog.
What are animals raised for meat?Livestock are known to be some domesticated animals that are said to be raised in an agricultural farm to give labor and produce things such as meat, eggs, milk, etc.
The animals that are raised for their meat and milk are:
Boar BroilerCattle, etc.Learn more about animals from
https://brainly.com/question/25897306
explains why it is important to select the correct data when creating a chart
Answer:
to be organized
Explanation:
because when you are organized to select the correct data, you won't confusedevery CAD application comes with a color menu to help you tailor your selections, mix them properly, and apply them in ways that meet your artistic expectations
true or false
every CAD application comes with a color menu to help you tailor your selections, mix them properly, and apply them in ways that meet your artistic expectations is a true statement.
What is a color CAD?In a CAD system, there is found to be colors that are known to be often and most commonly used to depict line weights.
Note that selecting different colors is easy using varying line thickness. One can then use these colors into layers to smooth the visibility of drawing components that you wants.
Learn more about CAD application from
https://brainly.com/question/9222927
Answer:true
Explanation:
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
The major goal of a good web information
a
retrieval system is
Answer:
Explanation:
The major objective of an information retrieval system is to retrieve the information – either the actual information or the documents containing the information – that fully or partially match the user's query.
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
what is the name of the extension used to save publisher
Answer:
PUB
Explanation:
PUB IS THE NAME OF THE EXTENSION USED TO SAVE PUBLISHER
What should I do instead of listen to music?
What is a value which we pass to the function to use in place of the parameter when we call it?
A. Parameter
B. Call
C. Procedure
D. Argument
Fumiko is a network technician. She is configuring rules on one of her company's externally facing firewalls. Her network has a host address range of 192.168.42.140-190. She wants to allow all hosts access to a certain port except for hosts 188, 189, and 190. What rule or rules must she write
The rule that she must write is that A single rule allowing hosts 140–187 is all that is necessary; the default-deny rule takes care of blocking the remaining nonincluded hosts.
What is a Firewall?A firewall is known to be a form of a network security device that helps one to manage, monitors and filters any form of incoming and outgoing network traffic.
This is often done based on an firm's formerly set up security policies. A firewall is known as the barrier that exist between a private internal network and the public Internet.
See options below
What rule or rules must she write?
a) A single rule allowing hosts 140–187 is all that is necessary; the default-deny rule takes care of blocking the remaining nonincluded hosts.
b) Multiple rules are necessary for this configuration; one or more rules must define Deny exceptions for 188, 189, and 190, followed by the Allow rule for the 140–190 range.
c) A Deny rule is needed for 188, 189, and 190, and then exception rules for the 140–187 range.
d) The default Deny all rule needs to be placed first in the list, and then an exception rule for the 140–187 range.
Learn more about firewalls from
https://brainly.com/question/13693641
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
Steps of booting a computer
nivel 1: operadores pedir 2 números al usuario y Sumarlos, restarlos, multiplicarlo y dividirlos
Answer:
¿Esta pregunta no tiene ningún sentido?
Explanation:
¿que estas pidiendo?
9.12: Element Shifter
Write a function that accepts an int array and the array’s size as arguments. The function should create a new array that is one element larger than the argument array. The first element of the new array should be set to 0. Element 0 of the argument array should be copied to element 1 of the new array, element 1 of the argument array should be copied to element 2 of the new array, and so forth. 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 element shifter function, and prints the values of the new expanded and shifted 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 Element shifter program illustrates the use of functions and arrays
Arrays are used to hold multiple valuesFunctions are used as subroutines of a programThe Element shifter programThe Element shifter program written in C++, where comments are used to explain each action is as follows:
#include <iostream>
using namespace std;
//This declares the ElementShifter function
int* ElementShifter(int *arr, int size){
//This declares the new array
int *newArr = new int[size * 2];
//The following loop populates the new array
for (int i = 0; i < size * 2; i++) {
if(i == 0){
*(newArr+i) = 0;
}
else if(i < size+1){
*(newArr+i) = *(arr+i-1);
}
else{
*(newArr+i) = 0;
}
}
//This returns a pointer to the new array
return newArr;
}
//The main method begins here
int main(){
//This declares and gets input for N
int N; cin>>N;
int myArr[N];
//If N is between 1 and 50
if(N > 0 && N <=50){
//This populates the array
for(int i = 0; i<N; i++){
cin>>myArr[i];
}
//This calls the Element shifter function
int *ptr = ElementShifter(myArr, N);
//This prints 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
what is computers machain?
Answer:
the electronic device which take data process it and give meaningful results is called computer machine
which of the following is an example of application software
Answer:
A messaging app
Explanation:
Its an software application you can download, so...yeah.
(You might've thought it was an anti-virus program lol)
Option-D.A messaging app is the correct answer.
A messaging app is an application software that can be installed jn your phone and computer in order to send messages.
To learn about the DIfference between application software and Opertaing system click here-
https://brainly.com/question/17798901
#SPJ2
positive and negative of adblock plus
Answer:
Pros and cons of ad blockers
Remove distracting ads, making pages easier to read.
Make web pages load faster.
Keep advertisers from tracking you across websites.
Reduce bandwidth (especially important with mobile devices)
Reduce battery usage (again, important for mobile devices)
p
a) Explain any two problems associated with the existing system used by the organization. (25 marks)
Answer:
Lack of Strategy
Many of the most common MIS issues can be traced back to a lack of a solid strategy. Information systems leaders are well aware of the many tools available to gather data on their network. But putting that information to use is often a challenge.
At one time, technology departments served as a separate operation, providing tech support and keeping an organization’s server equipment running. Today, MIS leadership often sits alongside other business leaders, working together to ensure that the technology being used supports the overall mission of the company moving forward.
Meeting Organizational Needs
MIS plays an ever-increasing role in organizations, with professionals relying on technology for every aspect of operations. Sales and marketing rely heavily on customer relationship software to track client interactions, for instance, while accounting needs its own software for billing, invoicing and financial tracking.
With more than half of all companies now relying on big data analytics, MIS is playing an even more important role. Before making a decision, today’s management teams are likely to pull reports on existing activity to ensure they use facts rather than make educated guesses.
Explanation:
Write a function named count_vowels that accepts two arguments: a string and an empty dictionary. The function should count the number of times each vowel (the letters a, e, i, o, and u) appears in the string, and use the dictionary to store those counts. When the function ends, the dictionary should have exactly 5 elements. In each element, the key will be a vowel (lowercase) and the value will be the number of times the vowel appears in the string. For example, if the string argument is 'Now is the time', the function will store the following elements in the dictionary: 'a': 0 • 'e': 2 'i': 2 'o': 1 'u': 0 The function should not return a value.
The function that counts the number of times a vowel exist in a string is as follows:
def count_vowels(string, dictionary):
vowels = 'aeiou'
dictionary = {}.fromkeys(vowels, 0)
for i in string:
if i in vowels:
dictionary[i] += 1
return dictionary
print(count_vowels("trouble", {}))
Code explanation.The code is written in python.
we defined a function named "count_vowels". The function accept a string and an empty dictionary.Then. we store the vowels in a variable vowels.The dictionary is used to store the key value pair i.e the vowels and the number of times they appear.We looped through the string.If any value in the string is in vowels, we increase the dictionary values by 1.Then, we return the dictionary.Finally, we call the function with it parameters.learn more on function here: https://brainly.com/question/27219031
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.
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:
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
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
Text based game project 1
Answer:
What is your question?
Explanation:
what is containment and why is it part of the planning process
Answer:
Isolating affected channels, processes, services, or computers; stopping the losses; and regaining control of the affected systems. It is part of the planning process to identify the best containment option for each scenario or system affected.
Explanation:
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
Which of the following are vector graphic file formats? Choose all that apply.
AI
PNG
RAW
SVG
Please help
There are different kinds of files. The option that is a vector graphic file formats is SVG.
What are vector files?Vector files are known to be a type of images that are created by using mathematical formulas that stands as points on a grid.
The SVG is known as Scalable Vector Graphics file and it is known to be a vector image file format as it make use of geometric forms such as points, lines, etc.
Learn more about vector graphic file from
https://brainly.com/question/26960102
Answer:
AI and SVG
Explanation:
learned it from a comment i give all credit to them