The exercise contains 15 questions. The solution is provided for each question.
Each question contains the necessary skills you need to learn.
I have added tips and required learning resources for each question, which helps you solve the exercise. When you complete each question, you get more familiar with a control structure, loops, string, and list.
Use Online Code Editor to solve exercise questions.
Also, try to solve the basic Python Quiz for beginners
Exercise 1: Given two integer numbers return their product. If the product is greater than 1000, then return their sum
Reference article for help:
Accept user input in Python
Calculate an Average in Python
Given 1:
number1 = 20
number2 = 30
Expected Output:
The result is 600
Given 2:
number1 = 40
number2 = 30
Expected Output:
The result is 70
Explanation:
Answer:
The work with city government is better than outside city government due to the reasons given below.
Explanation:
There are many differences while working in city government or outside city government. I choose city government job in data and digital service due to the following reasons.
- City government provides all types of facilities that are required in data management and digital services.
- Provision of more benefits along with salary from city government.
- City government arrange different training and development sessions for their employ.
- There are many learning and development opportunities, because they provide opportunity to work in different departments.
- City Government have better HR policies as compared to outside government.
<span>Disk Defragmenter,
is a windows utility that rearranges the records and unused space on the PC's hard
disk so that the operating system accesses data more rapidly and projects run
quicker. Disk Defragmenter keeps running on a timetable, yet you can likewise
break down and defragment your disk and drives manually.</span>
Answer:
b. data type of arguments
Explanation:
One of the ways to overload a method is using different type of arguments. Let's say we have a method that finds and returns two integer values
public int sumValues(int num1, int num2){
return num1 + num2;
}
We can overload this method by passing double values as arguments
public double sumValues(double num1, double num2){
return num1 + num2;
}
In the Analysis phase of the SecSDLC, the team studies documents and looks at relevant legal issues that could affect the design of the security solution.
<h3>What is this stage about?</h3>
This is known to be the phases of development where there is Analysis or one can say requirements gathering and where one has clearly set out problem or project as well as others.
Note that In the Analysis phase of the SecSDLC, the team studies documents and looks at relevant legal issues that could affect the design of the security solution.
Learn more about Analysis phase from
brainly.com/question/13897351
#SPJ1