1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
makkiz [27]
4 years ago
6

An expression using the logical operator ____ will evaluate to true when either of the compound conditions is true.

Computers and Technology
1 answer:
Lostsunrise [7]4 years ago
5 0
The logical operator is "||". for example if a==b || b==c
You might be interested in
Consider the problem of making change for n cents using the fewest number of coins. Assume that each coins value is an integer.
Oksana_A [137]

Answer:

There are two algorithms in which apply different optimal solutions.

They are: A Dynamic and Naive recursive programs

Explanation:

// A Naive recursive C++ program to find minimum of coins  

// to make a given change V  

#include<bits/stdc++.h>  

using namespace std;  

// m is size of coins array (number of different coins)

int minCoins(int coins[], int m, int V)  

{  

// base case  

if (V == 0) return 0;  

// Initialize result

int res = INT_MAX;  

// Try every coin that has smaller value than V  

for (int i=0; i<m; i++)  

{  

if (coins[i] <= V)  

{  

 int sub_res = minCoins(coins, m, V-coins[i]);  

 // Check for INT_MAX to avoid overflow and see if  

 // result can minimized

 if (sub_res != INT_MAX && sub_res + 1 < res)  

  res = sub_res + 1;  

}  

}  

return res;  

}  

// Driver program to test above function  

int main()  

{  

int coins[] = {9, 6, 5, 1};  

int m = sizeof(coins)/sizeof(coins[0]);  

int V = 11;  

cout << "Minimum coins required is "

 << minCoins(coins, m, V);  

return 0;  

}  

.........................................

// A Dynamic Programming based C++ program to find minimum of coins  

// to make a given change V  

#include<bits/stdc++.h>  

using namespace std;  

// m is size of coins array (number of different coins)  

int minCoins(int coins[], int m, int V)  

{  

// table[i] will be storing the minimum number of coins  

// required for i value. So table[V] will have result  

int table[V+1];  

// Base case (If given value V is 0)  

table[0] = 0;  

// Initialize all table values as Infinite  

for (int i=1; i<=V; i++)  

 table[i] = INT_MAX;  

// Compute minimum coins required for all  

// values from 1 to V  

for (int i=1; i<=V; i++)  

{  

 // Go through all coins smaller than i  

 for (int j=0; j<m; j++)  

 if (coins[j] <= i)  

 {  

  int sub_res = table[i-coins[j]];  

  if (sub_res != INT_MAX && sub_res + 1 < table[i])  

   table[i] = sub_res + 1;  

 }  

}  

return table[V];  

}  

// Driver program to test above function  

int main()  

{  

int coins[] = {9, 6, 5, 1};  

int m = sizeof(coins)/sizeof(coins[0]);  

int V = 11;  

cout << "Minimum coins required is "

 << minCoins(coins, m, V);  

return 0;  

}  

5 0
3 years ago
You are part of a testing team at a software business. Your job is to see how many concurrent users the system can host and how
fgiga [73]

Answer: volume testing

Explanation:

Volume testing is a non-functional test that looks into the performance of a software or database whenn handling a particular amount of data. It can be used to determine how much data or users a database or software can handle without a substantial change in the performance.

8 0
4 years ago
What does phishing mean?
Ilya [14]
<span>the activity of defrauding an online account holder of financial information by posing as a legitimate company

</span>
8 0
3 years ago
Read 2 more answers
What are the pros and cons of using the internet in a medical office setting
kherson [118]
The Pros of using the internet in a medical office setting are mostly that an unlimited amount of knowledge can be gained with the click of a button, and communications between doctors are practically instantaneous. The cons are mostly that these systems can be hacked into, which can leak patient information, and that sometime the Internet can "go down", which can reduce productivity. 
4 0
3 years ago
How do you start using the Internet?
fgiga [73]

Answer:

it's

D. open web browser

3 0
3 years ago
Read 2 more answers
Other questions:
  • 4. Explain the term prejudice. What is an example of prejudice as it relates to parenting?
    11·1 answer
  • In their legacy system. Universal Containers has a monthly accounts receivable report that compiles data from Accounts, Contacts
    6·1 answer
  • For a loop counter, the appropriate data type would be:
    9·1 answer
  • Which statement gives an advantage of multicellular organisms?
    7·2 answers
  • The __________ on a mouse is used to select or place the cursor where you want on the page
    13·1 answer
  • Explain Text align , Text Decoration, colour, Text shadow..​
    11·1 answer
  • Complete the code to convert a float to a string. <br> answer=5.3 <br> strAnswer=__ (answer)
    12·2 answers
  • Join the class <br> The class code is hello112
    5·2 answers
  • In binary, if there is a 1 in the 1s place the number is always
    9·1 answer
  • Write a sub-program to display the acceleration of car. The program should ask initial velocity, final velocity, and time taken
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!