Answer:
#include <stdio.h>
#Include<iostream>
using namespace std;
//Define required function
PersonalInfo( )
{
printf("Name : Robert Josh\n");
printf("DOB : July 14, 1975\n");
printf("Work Phone : 00-00000000\n");
printf("Cell Phone : 11-777777777\n");
return(0);
}
int main()
{
//Call function
PersonalInfo( );
return 0;
}
Explanation:
Its just a simple code to print required details when the function PersonalInfo is called.
Answer:
a.JavaScript
Explanation:
<em>Form validation</em> is adopted to prevent the abuse of web form by malicious users, data that are not properly validated causes or leads to security vulnerabilities, thereby making a website to be at a risk of being attacked by malicious users.
<em>Validation rules</em> checks that the data a user enters in a record meets the specify standards before the user is allowed to save the record, a validation rule evaluates the data in one or more fields and return it as true or false.
<em>JavaScript form validation can be used to check all required fields, the steps are adopted are:</em>
<em>i) Basic validation − The form is first checked to make sure that all the mandatory fields are filled.</em>
<em>ii) Data format validation −The data that is entered is then checked for correct form and value before allowing to proceed, submit or save the record.</em>
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is an online decision support system. Because the decision support systems process the data, evaluate and predict the decision, and helps the decision-makers, and offer real-time information immediately in making the decision in an organization. So the correct answer to this question is the decision supports system.
Why other options are not correct
Because the transaction processing system can only process the transaction and have not the capability to make the decision for the future. Office support processing system support office work, while the batch processing system process the task into the batch without user involvement. however, online executive processing does not make decisions and offer timely information to decision-makers in an organization.
The below code will help you to solve the given problem and you can execute and cross verify with sample input and output.
#include<stdio.h>
#include<string.h>
int* uniqueValue(int input1,int input2[])
{
int left, current;
static int arr[4] = {0};
int i = 0;
for(i=0;i<input1;i++)
{
current = input2[i];
left = 0;
if(current > 0)
left = arr[(current-1)];
if(left == 0 && arr[current] == 0)
{
arr[current] = input1-current;
}
else
{
for(int j=(i+1);j<input1;j++)
{
if(arr[j] == 0)
{
left = arr[(j-1)];
arr[j] = left - 1;
}
}
}
}
return arr;
}
Answer:
Please check options are not given. Please check explanation for corrected version.
Explanation:
Options are not mentioned. Please post the complete question.
However, if "below" is removed, the question makes sense. I am taking it that way.
Dichotomous question means those questions which has two outcomes: true or false.
For the given condition, this is possible only if:
- coin shows head and dice shows 1
- coin shows head and dice shows 2
- head, 3
- head, 4
- head, 5
- head, 6
- tails, and all above cases
However, each time, each mentioned condition should be strictly followed.
And fewer outcome than 1 is virtually or realistically impossible, as both coin and dice will roll out one outcome in any condition certainly.