Answer:
constraint
Explanation:
Which expansion slot is used by an NVMe compliant device?
1. PCI
2.USB-C
3.PCIe
4. SATA.
Answer:
3. PCIe
Explanation:
An expansion card is a slot on the motherboard of a computer which allow users use an additional feature such as network, video, sound that may not be available before.
PCIe is an expansion slot that is used by an NVMe compliant device. NVMe is the short form or acronym for “Non–Volatile Memory express. ”
Which of these is NOT a desktop computer operating system?
iOS
Linux
macOS
Windows
Answer:
IOS
Explanation:
IOS is used for mobile devices
IOS is not a desktop computer operating system. The correct option is A.
What is an operating system?A computer's operating system is a piece of software that enables users to run other programs on the system. Almost all programs are created to operate on an operating system in order to be independent of the hardware design and are not typically intended to communicate directly with the hardware.
The main function of an operating system are:
Control the central processing unit, memory, disk drives, and printers of a computer.Create a user interface to make human-computer interaction easier.Run software programs and offer related services.Apple Inc. conceived and developed the mobile operating system known as iOS specifically for its hardware. Many of the company's mobile devices, notably the iPhone, run on this operating system.
Therefore, IOS is a mobile operating system.
To know more about an operating system follow
https://brainly.com/question/22811693
#SPJ2
Write a program that simulates a lottery. The program should havean array of five integers named lottery, and shouldgenerate a random number in the range of 0 through 9 for eachelement in the array. The user should enter five digits whichshould be stored in an integer array named user. Theprogram is to compare the corresponding elements in the two arraysand keep a count of the digits that match. For example, thefollowing shows the lottery array and the user array with samplenumbers stored in each. There are two matching digits (elements 2and 4).
lottery array: 7,4,9,1,3
user array: 4,2,9,7,3
The program should display the random numbers stored in the lotteryarray and the number of matching digits. If all the digits match,display a message proclaiming the user as a grand prize winner.
Answer:
Here is the C++ program that simulates lottery:
#include<iostream> //to use input output functions
using namespace std; //to access objects cin cout
int main(){ //start of main function
int size= 5; // size of arrays
int range = 10; //range of random numbers from 0 to 9
int user[size]; // user array
int lottery[size]; // lottery array
for(int i=0;i<size;i++) //iterates through the array
lottery[i]=rand()%range; // generates random number in specified range
cout<<"Enter "<<size<<" digits: "; //prompts user to enter 5 digits
for(int i=0;i<size;i++) //loops through the user array
cin>>user[i]; //reads input digits from user
int match=0; //stores number of matching digits
for(int i=0;i<size;i++) //iterates through array to compare user and lottery arrays
if(user[i]==lottery[i]) //if digit at i-th index of user array matches to that of lottery array
match++; //increments count of matching digits by 1
cout<<"Lottery array: "; // display digits of lottery array
for(int i=0;i<size;i++) //iterates through elements of lottery array
cout<<lottery[i]<<" "; //prints elements of lottery array with a space between them
cout<<endl; //prints a new line
cout<<" User array: "; // prints digits of user array
for(int i=0;i<size;i++) //iterates through elements of user array
cout<<user[i]<<" "; //prints elements of user array
cout<<endl; // prints a new line
if(match==size){ //if all the digits match
cout<<"Congratulations. You are a grand prize winner! "; }//displays this message proclaiming the user as a grand prize winner
else{ // if all digits of user array do not match with lottery array digits
cout<<"Number of digits matched: "<<match<<endl; //displays the number of matched digits
cout<<"Sorry! Better luck next time!" ; //displays this message when all digits don't match
}
}
Explanation:
If you want to keep the size and range fixed then you can use #define before the main() function to give a constant value to size and range as:
#define size 5
#define range 10
The program uses rand() function in order to generate random numbers for lottery array in the range of 0 through 9.
Then the program declares a user array with size = 5 and prompts user to enter 5 digits to stores in user array.
Next the program matches each digit of user array to the corresponding digit of lottery array and if the two digits match then the program increments the match variable by 1 to count the matched digits. For example, lets say lottery has the following elements:
lottery: 7,4,9,1,3
Lets say user array has following elements input by user at console
user: 4,2,9,7,3
Now at first iteration the digit 7 at 0-th index of lottery array is matched to the digit 4 at 0-th index of user array. This index is specified using variable i. These means the first element of lottery array is matched with first element of user array. As these digits are not equal so they don't match and the variable i is incremented to point to the position of next digit.
Now at second iteration the digit 4 in lottery array is matched to the digit 2 of user array. As these digits are not equal so they don't match and the variable i is incremented.
at third iteration the digit 9 in lottery array is matched to the digit 9 of user array. As these digits equal so they match and the variable match is incremented to 1 in order to count the number of matches. So value of match = 1
Now at fourth iteration the digit 1 in lottery array is matched to the digit 7 of user array. As these digits are not equal so they don't match and the variable i is incremented. The value of match also remains the same i.e. 1
at fifth iteration the digit 3 in lottery array is matched to the digit 3 of user array. As these digits equal so they match and the variable match is incremented to 1 in order to count the number of matches. So value of match = 2
Next the loop ends because the value of exceeds 5 which is the size of the array.
Next if(match==size) statement has an if condition which checks if all digits match. This is checked by comparing the count of match variable to the size of the array. The value of match is 2 and value of size is 5 so this means that all the digits do not match. Hence this condition evaluates to false. So the statement in if part will not execute and program moves to the statement: cout<<"Number of digits matched: "<<match<<endl; which displays the value of match variable i.e. 2 as:
Number of digits matched: 2
followed by statement cout<<"Sorry! Better luck next time!" ; which displays the message:
Sorry! Better luck next time!
Analyze the problem statement. Select the correct answer. Vision: We want to decrease errors in our billings to clients. Issue: It may be that we have too many new clients. Method: Develop new software that has multiple checkpoints of billing amounts before invoices are issued. This is a clear, well-defined problem statement. This problem statement will help the staff to focus. This problem statement does not provide a useful issue statement. This problem statement is specific.
Answer:
answer is B :)
Explanation:
Vision: We want to decrease errors in our billings to clients. This is a clear, well-defined problem statement was the solution.
What is clients?The individual or customer who utilizes the services of a company, client, or organization is referred to as a “client.” The customer both uses the company's services and pays for them. The customer mostly purchases the company's services in accordance with her preferences and choices.
According to the vision of the given statement. Vision: We want to decrease errors in our billings to clients. It was the issued that so many clients. It was the clear, well-defined issue statement. It was the clear on the statement as easy to analyze that.
As a result, the conclusion of the is a clear, well-defined issue statement was the solution are the aforementioned.
Learn more about on client, here:
https://brainly.com/question/29051195
#SPJ3
as future software developer what is the difference between
1. Are we developing the software right?
2. Are developing the right software?
Answer:
Well There are alot of different softwares so thats where "Are developing the right software?" Starts But Sometimes Its easy to mix up! Now, "Are we developing the software right?" Get the code and enter it into google docs, it will show your mistakes. Your welcome.
Verified By Al ✔️
What is the purpose of application software policies?
a. They define boundaries of what applications are permitted.
b. They use a database of signatures to identify malware.
c. They take log data and convert it into different formats.
d. They serve to help educate users on how to use software more securely
Answer:
d. They serve to help educate users on how to use software more securely.
Explanation:
A software policy can be defined as a set of formally written statements that defines how a software application or program is to be used.
The purpose of application software policies is that they serve to help educate users on how to use software more securely. It must be easy to read, learn and understand by the end users.
The purpose of application software policies is that they serve to help educate users on how to use software more securely. Thus, option D is correct.
A software policy can be defined as a set of formally written statements that defines how a software application or program is to be used.
The purpose of application software policies is that they serve to help educate users on how to use software more securely. It must be easy to read, learn and understand by the end users.
Therefore, The purpose of application software policies is that they serve to help educate users on how to use software more securely.
Learn more about software on:
https://brainly.com/question/32393976
#SPJ6