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:
Answer to the following question is CoC(chain of custody
).
Explanation:
- CoC(chain of custody
) is the legal document and it is the evidence that is handled during an investigation of the case.
- In the criminal trials, prosecution must be typically proved that all the evidences is handled according the documented and unbroken CoC.
- In the court, CoC(chain of custody) documentation has been presented by prosecutions to prove the evidence, related to an alleged crimes, and it has been in possession of defendant.
Answer:
Via Remote desktop connection or device sharing via network.
Explanation:
We need to enable remote desktop connection on the Apple desktop, or we can enable device sharing with our iPhone or any device in fact. And then when we are on the move, we can connect with the Apple desktop through iPhone, or through any other Apple device or any in fact. Gone are those days when such facility was available with only Apple devices.
Solution:
It is done Motherboard.
The motherboard includes most of the slots that we'll run into these days. It's a little unusual in that we don't often see motherboards which have both PCI-Express slots and an AGP slot. The best slot to use for video cards is the PCI-Express x16 slot. The next best is the AGP slot. The next best is a PCI-Express x1 slot but video cards which fit that slot are very hard to find as of late 2006. Some low-budget computers are sold with integrated video and have neither PCI-Express x16 slot or an AGP slot.