Answer:
1. Option A: for loop is correct
2. Option B: while loop is correct
Explanation:
Two loops are used commonly. For and while
For is used when the number of iterations are already known and while is used when number of iterations is not known and the loop has to be terminated based on any condition.
<u>1. You are finding the batting average of 13 baseball players.
</u>
For loop will be used as the number of iterations is already known. The score of 13 players has to be used to calculate the average so there will be 13 iterations. Hence, for loop will be used.
<u>2. You are asking your users for the names of all the stores where they shopped to find their friend's birthday present. They will show they are done by entering the word "done."</u>
While loop will be used as the termination of loop depends on the input given by the user so the number of iterations are not already known.
Hence,
1. Option A: for loop is correct
2. Option B: while loop is correct
Answer: Query
Explanation:
It is through the process of queries a user is able to ask questions about the data stored in the database and view specific fields as required. These queries can be of many type and each time using a query would give us the desired fields.
Answer:
(B) SMS text messages are likely to reach recipients quickly.
(D) SMS text messages can be sent to multiple recipients.
Explanation:
Short message service (SMS) refers to the a service for the transmission of messages from or to a mobile phone.
An short message service is usually not longer than 160 characters consisting of alphabets and numerical values and they also do not contain images.
Computers are the excellent means for storage of patient related data.It is often necessary to maintain detailed records of the medical history of patients. Doctors often require the information about a patient's family history, physical ailments, already diagnosed diseases and prescribed medicines.
Answer:
Explanation:
A relational database is designed to enforce the uniqueness of primary keys by allowing only one row with a given primary key value in a table. A foreign key is a column or a set of columns in a table whose values correspond to the values of the primary key in another table.