Answer:
// program in C++.
// headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// Variable
int num;
cout << "Enter a number between 1 and 10: ";
// read input
cin >> num;
// validate input number
while(num<1||num>10)
{
// if input is wrong then print error message
cout<<"Wrong input!!Enter again:";
// read again
cin>>num;
}
// print output
cout << "The Roman numeral for "<<num<<" is:";
// switch
switch (num)
{
case 1:
// if input is 1
cout<<"I"<<endl;
// exit the switch
break;
case 2:
// if input is 2
cout<<"II"<<endl;
// exit the switch
break;
case 3:
// if input is 3
cout<<"III"<<endl;
// exit the switch
break;
case 4:
// if input is 4
cout<<"IV"<<endl;
// exit the switch
break;
case 5:
// if input is 5
cout<<"V"<<endl;
// exit the switch
break;
case 6:
// if input is 6
cout<<"VI"<<endl;
// exit the switch
break;
case 7:
// if input is 7
cout<<"VII"<<endl;
// exit the switch
break;
case 8:
// if input is 8
cout<<"VIII"<<endl;
// exit the switch
break;
case 9:
// if input is 9
cout<<"IX"<<endl;
// exit the switch
break;
case 10:
// if input is 10
cout<<"X"<<endl;
// exit the switch
break;
// default
default:
break;
}
return 0;
}
Explanation:
Read a number from usr and assign it to variable "num". If the input number is less than 1 or greater than 10 then ask again to enter a number until user enter a number between 1-10 only.Then with the help of switch() function print the equivalent Roman number.
Output:
Enter a number between 1 and 10: -5
Wrong input!!Enter again:12
Wrong input!!Enter again:6
The Roman numeral for 6 is:VI
Answer:
Phishing.
Explanation:
Networks and computer systems in a network are susceptible to cyber attacks. A cyber attack is a networking term that describes a situation where a network is penetrated by a malicious process or program induced by an attacker or attackers.
A cyber attacker's sole intention is to steal information needed to achieve a malicious and devastating action to a client's personal assets. An example of such attacks is phishing.
Phishing is an attack that collects client's personal information at an imposter website after receiving an email from a person masquerading as an employee from a bank.
Answer:
Domain model.
Explanation:
A domain model is a type of conceptual model used to show the structural elements and their conceptual constraints within a domain of interest. A domain model will include the various entities, their attributes and relationships, plus the constraints governing the conceptual integrity of the structural model elements comprising that problem domain.
Answer:
MS access objects help the user list , information and designed reports .
Explanation:
MS access objects are create a forms, data base, tables,queries, and modules. There are many objects are following:-Tables, Forms,Reports, Queries.
Table:- These are objects used into a define and store the data,tables are contain the columns and the store of different data.
Form:- Form is the object that designed by the data input and control application queries or tables, forms are used in viewing records.
Reports:- Reports are the designed to the printing and calculating data,reports are used because data in read to easy format.
Queries:- Queries are provides that data from one or more table,you can define the update ,delete, insert, select data.
Answer:
#include <iostream>
using namespace std;
int main(){
int arr1[5], arr2[5], k = 7;
arr1 = {1,3,5,3,6}
arr2 = {1,3,2,4,4}
int reverseA2[5];
for (int x = 5; x > 0; x++){
reverseA2[5-x] = arr2[x-1];
}
for (int i = 0; i < 5; i++){
if ( arr1[i] + reverseA2[i] < k){
cout<< arr1[i] << " , "<<reverseA2[i];
}
}
}
Explanation:
The C++ source code prints a pair of values from the arr1 and reverse arr2 arrays whose sum is less than the value of the integer variable value k.