Answer:
first:
def is_multiple(n, m):
return (m % n) == 0
second:
for i in range(100):
print "I will never spam my friends again."
Answer:
The primary objective of communication in management is to convey information—instructions, policies, procedures, decisions, etc., so the listener will hear, read, understand what is said, agree and accept the message, and react as intended by the manager or sender of communication.
Explanation:
I guess the correct answer is Formatting and style commands.
Answer:
1. G
2. J
3. I
4. B
5. A
6. H
7. C
8. F
9. E
10. D
11. D
12. C
13. A
14. B
Explanation:
1. OCR: converts paper based text to digital form. OCR is an acronym for Optical Character Recognition.
2. OMR: marks candidates' responses on a multiple choice exam. OMR is an acronym for Optical Mark Recognition.
3. Printer: produces a hard copy document. It is an output device that accepts electronic data and prints them on a paper (hardware document).
4. Joystick: used for playing a car racing game on the computer
5. Sensor: turns on the light when someone enters the room. It can be defined as a device designed to detect changes or events within its immediate surroundings and then transfers this data to the central processing unit of a computer.
6. ROM: Contains 'boot up' instructions. ROM is acronym for read only memory and it contains the basic input and output system (BIOS) used during a computer start-up.
7. Pad and tablet: draws lines in an architectural design. They are an electronic device that can be used two or three dimensional shapes.
8. Modem: Modulates and demodulates signals. Modulation refers to the conversion of digital signals into an analogue signal while transmitting it over a line. Demodulation is the conversion of analogue signal into a digital signal.
9. Barcode reader: Reads data containing information on a product
10. MICR: reads digit specially printed on a cheque. MICR is an acronym for Magnetic Ink Character Recognition.
Section B
11. Banking industry: managing user accounts through the use of software applications.
12. Weather forecasting: predicting the weather through the use of software programs.
13. Household appliance: sequencing wash cycle tasks in a washing machine.
14. Manufacturing industry: using robots to assemble a car components.
Answer:
(d) mysqldump websites -u root -p > websites_backup.sql
Explanation:
To create a backup mysqldump is used.It is a data backup program.This program was originally written by Igor Romanenko. It creates a backup of file name websites_backup.sql.
So among the given options in the question option d is the correct option which backs up the single database websites in the file website_backup.sql.