Answer:
In Python:
word = input("Enter word: ")
print("Length: "+str(len(word)))
Explanation:
This prompts the user for word
word = input("Enter word: ")
This calculates and prints the length of the input word
print("Length: "+str(len(word)))
<em>The length of the word is calculated using the len keyword</em>
Answer:
Logical Data Model
Explanation:
An Entity Relationship Diagram (ERD) is a model or a diagram designed to reveal the relationship between various entities such as people, places, objects, and so on within an institution. Entity relationship diagram is also known as Entity relationship model. This model is used to design relational database by various sectors such as education, engineering, business, etc.
<u>ERD is designed using conceptual data model, logical data model, and physical data model</u>.
The visual practice or model that gives more insight into the logical relations among the entity is the logical data model.
The logical data model is used to illustrate more detailed operational and relational data among the entities. It is more detailed than the conceptual data.
So, the correct answer is logical data model.
Moore’s law refers to the number of microchips increase by 2x each year but also decrease in price.
Answer:
Computer Security
Explanation:
if referring to only to a computer, then it can be considered secure when the computer does what is is supposed to do and only what it is supposed to do, but in more modern times the definition has shifted from the computer to the information being processed
Answer:
#include <iostream>
using namespace std;
int main(){
int a, b, c;
cout<<"Enter three integers: ";
cin>>a>>b>>c;
if(a<=b && a<=c){
cout<<"Smallest: "<<a; }
else if(b<=a && b<=c){
cout<<"Smallest: "<<b; }
else{
cout<<"Smallest: "<<c; }
return 0;
}
Explanation:
This line declares three integer variables a, b and c
int a, b, c;
This line prompts the user for three integer inputs
cout<<"Enter three integers: ";
This line gets the inputs
cin>>a>>b>>c;
This checks if the first is the smallest
if(a<=b && a<=c){
If yes, it prints the first as the smallest
cout<<"Smallest: "<<a; }
This checks if the second is the smallest
else if(b<=a && b<=c){
If yes, it prints the second as the smallest
cout<<"Smallest: "<<b; }
If the above conditions are not true, then the third number is printed as the smallest
<em> else{</em>
<em> cout<<"Smallest: "<<c;</em>
<em> }</em>
<em />