1.The ____ operator executes one of two expressions based on the results of a conditional expression. conditional expressional comparison

Answers

Answer 1

Answer:

Ternary operator

Explanation:

Example if (a == 1) ? 'execute b' : 'execute c'


Related Questions

List the two examples of input devices

Answers

Answer:

Computer - Input Devices

•Keyboard.

•Mouse.

•Joy Stick.

•Light pen.

•Track Ball.

•Scanner.

•Graphic Tablet.

•Microphone.

Explanation:

hope this helps you

Toni is reviewing the status of his organization's defenses against a breach of their file server. He believes that a compromise of the file server could reveal information that would prevent the company from continuing to do business. What term best describes the risk that Tony is considering

Answers

Due to the fact that Toni is reviewing the status of his organization's defenses against a breach of their file server, the best describes the risk that Tony is considering is Strategic risk.

What is Strategic risk?

This is known to be a form of internal and external events that often render it hard, or lets say impossible, for a firm to achieve their aims and strategic goals.

Note that, Due to the fact that Toni is reviewing the status of his organization's defenses against a breach of their file server, the best describes the risk that Tony is considering is Strategic risk.

Learn more about file server from

https://brainly.com/question/17062016

#SPJ1

For the execution of a successful information strategy, staff synchronization _____. (Select all that apply.) relies on informed commander's guidance begins at the execution phase of operations requires cross-talk and cross-representation breaks down staff planning into clearly defined major subsets integrates products does not impact actions, words, and images

Answers

For the execution of a successful information strategy, staff synchronization relies on informed commander's guidance.

What is the above about?

A successful information strategy, staff synchronization is one that  depends on informed commander's guidance.

And as such, if one say that For the execution of a successful information strategy, staff synchronization relies on informed commander's guidance. it is a true statement.

Learn more about information strategy from

https://brainly.com/question/8368767

#SPJ1

Linux drivers may be delivered in an archive format called Stuffit. Group of answer choices True False

Answers

Answer:

False

Explanation:

______ feedback is a technology that sends resistance to the gaming device in response to actions of the user.

Answers

Force feedback is the name of the technology used that sends resistance to the gaming device in response to the actions of the user.

Gaming device

Gaming devices are a piece of hardware used by game players. For example, devices such as gamepads and joysticks all fall under the category of gaming devices. These gaming devices make use of a force feedback technology which sends resistance when users perform certain actions.

You can learn more about force feedback technology from a related question here https://brainly.com/question/1786465


#SPJ1

1. Explain what peer to peer networking is.
2. Describe at least one pro and one con of peer to peer networking.
3. Describe at least one pro and one con of network printer connections.
4. Describe at least one pro and one con of local printer connections.
5. Choose and explain, step by step, one method of backing up student files either manually or using a cloud service.

Answers

Peer-to-peer networking

Peer-to-peer networking is a term used to describe a system of communication that allows a group of computers to exchange information in a permissionless way.

One pro of -peer-to-peer networking is that it decentralizes how information is transferred and secured since files are stored on just a single device.

On the other hand, a con of peer-to-peer networking is the possible exposure to harmful data such as malware. been transferred from another computer.

You can learn more about peer-to-peer networks from a similar question here https://brainly.com/question/1932654

#SPJ1

prototypes remain largely unchanged throughout the design process. true or false?

Answers

Prototypes remain largely unchanged throughout the design process is said to be a false statement.

What is a prototype?

Prototyping is known to be a kind of an experimental process that is where design teams are known to often implement ideas into a kind of tangible forms such as from paper to digital.

It is said to be often prone to a lot of changes and as such, Prototypes remain largely unchanged throughout the design process is said to be a false statement.

Learn more about prototypes  from

https://brainly.com/question/7509258

#SPJ1

Organizations must ensure that proper consent is obtained from data subjects or establish some other lawful basis for processing before processing their personal data. what's another requirement that must be met before processing data?

Answers

Answer:Consent.

Explanation:

GDPR requires any organization processing personal data to have a valid legal basis for that processing activity. The law provides six legal bases for processing: consent, performance of a contract, a legitimate interest, a vital interest, a legal requirement, and a public interest. If the data subject, a.k.a. natural person, consents to processing without knowing the (several) purpose(s) in full and in an easy to understand way, then consent is not a legal ground for processing as it's by definition not freely given, specific, informed and unambiguous. Moreover, consent cannot be bundled. Consent needs to be an unambiguous indication. Consent is an act: it needs to be given by a statement or by a clear act. Consent needs to be distinguishable from other matters. The request for consent needs to be in clear and plain language, intelligible and easily accessible.

Cheryl is responsible for cybersecurity at a mid-sized insurance company. She has decided to use a different vendor for a network antimalware than she uses for host antimalware. Is this a recommended action, why or why not

Answers

yes, this a recommended action and this is known to be best described as vendor diversity.

What is Vendor diversity?

This is known to be one that gives two security benefits in regards to the fact that it does  not have a single point of failure if one vendor cease operations and also each vendor has their own methodology and algorithms used for known or seeing malware.

Hence in the above case, yes, this a recommended action and this is known to be best described as vendor diversity.

learn more about cybersecurity from

https://brainly.com/question/12010892

#SPJ1

When adopting and implementing a software as a service (saas) platform such as salesforce for your business, which responsibility falls on you, as the client company? managing the platform feature roadmap installing software updates and bug-fixes hosting data storage and backups complying with governance obligations i don't know this yet.

Answers

When adopting and implementing a software as a service (saas) platform such as salesforce for your business, the responsibility falls on you in Hosting data storage and backups.

What is  data storage?

Storage is known to be the  method used in keeping one's data in a secure location that one can be able to access readily.

Hence, When adopting and implementing a software as a service (saas) platform such as salesforce for your business, the responsibility falls on you in Hosting data storage and backups.

Learn more about saas from

https://brainly.com/question/24852211

#SPJ1

You are configuring shared storage for your servers and during the configuration you have been asked to a supply a LUN. What type of storage are you configuring

Answers

The type of storage you are said to be configuring is storage area network (SAN).

What is SAN storage?

A SAN is known to be a kind of block-based storage that is known to often bring about a high-speed architecture that links servers to their counterparts which are the logical disk units (LUNs).

Note that in the above case, The type of storage you are said to be configuring is storage area network (SAN).

Learn more about configuration from

https://brainly.com/question/24847632

#SPJ1

why over the course of time have more programming language been developed​

Answers

technology and being able to communicate?

Please compose an email back to your client mr. smith, letting him know we are unable to secure the requested reservation at eleven madison park tonight for a party of 2 at 6pm.

Answers

The compose an email back to your client Mr. smith is written above,

Mr Smith,

Manager Venus PLC.

Dear sir,

Issue with requested reservation

I wish to inform you concerning the requested reservation for the eleven Madison park tonight for a party of 2 at 6pm.

The place has been taken by another person as at that time and our request was said to be made too late but there are other options that have been given for  that time but in a letter date.

We are sorry for the inconveniences this may have cause you and we hope to meet you to discuss the way forward.

Thanks for your continuous patronage,

Mr. Rolls.

Manager Madison park

Learn more about Email from

https://brainly.com/question/24688558

#SPJ1

Write a program that lists all ways people can line up for a photo (all permutations of a list of strings). The program will read a list of one word names (until -1), and use a recursive method to create and output all possible orderings of those names, one ordering per line.
When the input is:
Julia Lucas Mia -1
then the output is (must match the below ordering):
Julia Lucas Mia Julia Mia Lucas Lucas Julia Mia Lucas Mia Julia Mia Julia Lucas Mia Lucas Julia ------File: main.cpp------
#include
#include
#include
using namespace std;
// TODO: Write method to create and output all permutations of the list of names.
void AllPermutations(const vector &permList, const vector &nameList) {
}
int main(int argc, char* argv[]) {
vector nameList;
vector permList;
string name;
// TODO: Read in a list of names; stop when -1 is read. Then call recursive method.
return 0;
}

Answers

The code that lists all the possible permutations until -1 that corrects the problem in your code is:

#include <algorithm>

#include <iostream>

#include <vector>

int main() {

   std::vector<std::string> names{

       "Julia", "Lucas", "Mia"

   };

   // sort to make sure we start with the combinaion first in lexicographical order.

   std::sort(names.begin(), names.end());

   do {

       // print what we've got:

       for(auto& n : names) std::cout << n << ' ';

       std::cout << '\n';

       // get the next permutation (or quit):

   } while(std::next_permutation(names.begin(), names.end()));

}

Read more about permutations here:

https://brainly.com/question/1216161

#SPJ1

Select the correct answer.
What does firewall software do?
A.
It improves network connectivity.
B.
It monitors network traffic to block malicious content.
C.
It adds some new features to the operating system.
D.
It installs viruses in the system.

Answers

Answer:

A. It improves network connectivity.

Answer:

B. It monitors network traffic to block malicious content.

Interactivity and Blank______ are two important capabilities of the Internet in the Blank______ relationship.

Answers

Interactivity and individuality are two important capabilities of the Internet in the buyer-seller relationship.

What is  individuality?

The Definition of the term individuality connote the full character that is specific to and set apart a person from another.

Note that Interactivity and individuality are two important capabilities of the Internet in the buyer-seller relationship.

Learn more about individuality from

https://brainly.com/question/18405002

#SPJ1

What should the status of your cpt application be in order for a student to be e-verified and eligible work?.

Answers

The status of your cpt application be in order for a student to be e-verified and eligible work are:

Applied statusApproved status

What is CPT?

Curricular Practical Training (CPT) is known to be a legal off-campus employment that is known to be linked to one's major and an integral part of one's degree program.

Therefore, The status of your cpt application be in order for a student to be e-verified and eligible work are:

Applied statusApproved status

Learn more about cpt application from

https://brainly.com/question/17216580

#SPJ1

The response of the DBMS to a query is the ___________ The response of the DBMS to a query is the ___________ ad hoc response query result set integrated view of the data ad hoc query

Answers

The response of the DBMS to a query is the query result set.

What is a query ResultSet?

A resultset is known to be a form of an object that is made up of the results that are used in the executing of an SQL query.

Note that the data from a resultset is gotten back through the use of the fetch functions in python and as such, The response of the DBMS to a query is the query result set.

Learn more about  Query result from

https://brainly.com/question/19338967

#SPJ1

A security engineer implemented once-only tokens and timestamping sessions. What type of attacks can this type of security prevent

Answers

The type of attacks that this type of security prevent are:

A replay attack A pass-the-hash-attack

What is a replay attack?

A replay attack is known to be a form of network attack where a said attacker is known to detects a data transmission and he or she is the one that fraudulently delayed it or repeated it.

Based on the above scenario, The type of attacks that this type of security prevent are:

A replay attack A pass-the-hash-attack

Learn more about A replay attack  from

https://brainly.com/question/25807648

#SPJ1

Which is true about arrays and methods? Group of answer choices Arrays cannot be passed to methods An array is passed to a method as a reference Passing an array to a method creates a copy of the array within the method A programmer must make a copy of an array before passing the array to a method

Answers

Answer:

Correct option is: Arrays are passed to methods by reference.

Explanation:

Arrays are passed to methods by reference. This means that if the content of the array is changed in a method, the change will be reflected in the calling method.

What technology uses mathematical algorithms to render information unreadable to those lacking the required key

Answers

Data encryption is the name of the technology that uses mathematical algorithms to render information unreadable to those lacking the required key.

What is Data encryption technology?

This is a technology that helps to secure data by applying a technique known as cryptography. What this basically means is that a secret code (or key) is generated which would provide access to the cryptographically stored information, and failure to provide the correct key makes the data or information unreadable.

You can learn more about how data encryption works here https://brainly.com/question/9238983

#SPJ1

You are the computer specialist in a small business. Your company server is named FS1 and has an IP address of 10.0.0.2. The hardware in your company server started to experience intermittent failures, so you transferred the shares on the server to a spare server and took the main server offline. The spare server has an IP address of 10.0.0.3. You edit the existing A record for FS1 on your company's DNS server and redirect the hostname to the spare server's IP address of 10.0.0.3. Afterward, most users are able to access the shares on the spare server by hostname, but several users cannot. Instead, they see an error message indicating that the FS1 server could not be found. Enter the command you can run from the command prompt on these workstations that will allow them to access the shares on FS1 without performing a full restart.

Answers

The command for the above case is:

ipconfig /flushdns

Deletes local DNS name cache

What is  system command?

This is known to be a form of a user's instruction that is often given by the computer and it is one that requires for action to be done by the computer's executive program.

Note that The command for the above case is:

ipconfig /flushdns

Deletes local DNS name cache

Learn more about  IP address from

https://brainly.com/question/24930846

#SPJ1

Write a method reverse that takes an array as an argument and returns a new array with the elements in reversed order. Do not modify the array.

Answers

Answer:

public class ArrayUtils

{

//function to reverse the elements in given array

public static void reverse(String words[])

{

//find the length of the array

int n = words.length;

//iterate over the array up to the half

for(int i = 0;i < (int)(n/2);i++)

{

//swap the first element with last element and second element with second last element and so on.

String temp;

temp = words[i];

words[i] = words[n - i -1];

words[n - i - 1] = temp;

}

}

public static void main(String args[])

{

//create and array

String words[] = {"Apple", "Grapes", "Oranges", "Mangoes"};

//print the contents of the array

for(int i = 0;i < words.length;i++)

{

System.out.println(words[i]);

}

//call the function to reverse th array

reverse(words);

//print the contents after reversing

System.out.println("After reversing............");

for(int i = 0;i < words.length;i++)

{

System.out.println(words[i]);

}

}

Explanation:

9) WAp to display the given series
1 2
1 2 3
1 2 3 4
1 2 3 4 5​

Answers

The program that displays the given series is exemplified below. Also, see the meaning of Java.

What is Java?

Java is a class-based, object-oriented general-purpose programming language.

The programming language is designed so that developers may write code anywhere and run it anywhere, regardless of the underlying computer architecture.

It is also known as write once, run anywhere (WORA)

Sample program:

public class KboatPattern

{

   public static void main(String args[]) {

       for (int i = 1; i <= 5; i++) {

           for (int j = i; j >= 1; j--) {

               System.out.print(j + " ");

           }

           System.out.println();

       }

   }

}

Learn more about Java at;
https://brainly.com/question/26642771
#SPJ1

Last week I was able to go to see the new Dr. Strange movie. I thought it was pretty awesome. When I was looking at buying tickets I wanted to make sure I got as many discounts as I could get. By default a movie ticket is $15. If you go before 5pm, the ticket price is $12.50. If you plan on buying in bulk (5 or more tickets) you will receive a 10% discount. If you are a student, you get a 15% discount.
Write a program that asks the user if they are going to the movie before 5PM (1 for yes, 0 for no), how many tickets they are going to buy (an integer greater than 1), and if they are a student (1 for yes, 0 for no). Print out the total cost for the amount of tickets you would like to buy.
Sample Case 1:
Are you going to the movie before 5PM? (1 - Yes, 0 - No)
0
How many people are going?
2
Are you a student? (1 - Yes, 0 - No)
0
The group’s price is $30.00.

Answers

The program is an illustration of conditional statements.

Conditional statements can have single condition or multiple conditions

The complete program

The program written in Python is as follows:

price = 15

timeCheck = int(input("Are you going to the movie before 5PM? (1 - Yes, 0 - No)"))

if timeCheck == 1:

   price = 12.5

numPeople = int(input("How many people are going?"))

if numPeople>= 5:

   price = price * 0.90 * numPeople

else:

   price = price * numPeople

student = int(input("Are you a student? (1 - Yes, 0 - No)"))

if student == 1:

   price = price * 0.85

print("The group's price is",price)

Read more about Python programs at:

https://brainly.com/question/13246781

#SPJ1

Write the logical Expression and Draw the Truth table for the
following questions

Answers

The logical expressions are

(X NOR Y ) OR Z ⇒ [tex](\bar X \bar + \bar Y) + Z[/tex](A NAND B) AND NOT C ⇒ [tex](\bar A \bar \cdot\bar B) \cdot \bar C[/tex]

How to determine the logical expressions?

Logical expression 1

X and Y are linked by the NOR gate.

So, we have:

X NOR Y

The X NOR Y is linked to Z by the OR gate.

So, we have:

(X NOR Y) OR Z

Hence, the logical expression is (X NOR Y ) OR Z ⇒ [tex](\bar X \bar + \bar Y) + Z[/tex]

Logical expression 2

A and B are linked by the NAND gate.

So, we have:

A NAND B

The A NAND B is linked to C by the AND gate.

So, we have:

(A NAND B) AND C

Hence, the logical expression is (A NAND B) AND NOT C ⇒ [tex](\bar A \bar \cdot\bar B) \cdot \bar C[/tex]

See attachment for the truth tables

Read more about truth tables at:

https://brainly.com/question/27989881

#SPJ1

Answer the following 8-mark question in your book.

Discuss the ethical issues in the growing use of mobile technology.

You may wish to include the following points:

cyberbullying
confidential data stored on the devices
health
social pressure
digital divide
high cost

Answers

Health effects of mobile phones owing to RF radiation include "thermal" effects, which refer to a rise in body temperature.

What is mobile technology?

Technology that travels with the user is called mobile technology. It includes of computer equipment, portable two-way communication devices, and the networking technology that links them.

Currently, internet-capable gadgets like smartphones, tablets, and watches best represent mobile technology

Our culture is experiencing ethical problems as a result of mobile technology. According to research by Archie Carroll, some users of mobile technology disregard personal responsibility.

People are using their cell phones while driving through congested crossings. Carroll claims that mobile phones have caused driving distractions.

A sort of bullying or harassment that uses technology is called cyberbullying or cyber harassment.

There are worries that the RF radiation that mobile phones generate, even at low doses, might result in headaches or brain tumors.

To learn more about mobile technology refer;

https://brainly.com/question/2500723

#SPJ1

An IEEE 802.11ac radio card can transmit on the _____________________ frequency and uses __________________ spread-spectrum technology.

Answers

An IEEE 802.11ac radio card can transmit on the 5 GHz frequency and uses DSSS spread-spectrum technology.

What is 802.11ac?

A 802.11ac is one of the wireless network standards which was developed by the Institute of Electrical and Electronics Engineers (IEEE) which operates on a 5 GHz microwave bandwidth (frequency) and as a result it is faster and can transmit over a long distance.

In this context, we can logically deduce that an IEEE 802.11ac radio card can transmit on the 5 GHz frequency and uses direct-sequence spread spectrum (DSSS) technology.

Read more on 802.11ac here: https://brainly.com/question/18370953

#SPJ1

Which component of CIA triad ensures that the connectivity and performance are maintained at the highest possible level

Answers

The component of CIA triad ensures that the connectivity and performance are maintained at the highest possible level is Availability.

What is Availability in CIA triad?

Availability is known to be the information that needs to be consistently and one that is said to be readily accessible in times of need by authorized parties.

Note that for a thing to be available, it means that that thing can be accessible at any time and any day. it is an attribute that is not very common and as such, it brings about high performance and easy connectivity.

Hence, in the above case, The component of CIA triad ensures that the connectivity and performance are maintained at the highest possible level is Availability.

Learn more about CIA triad from

https://brainly.com/question/17269063

#SPJ1

compare the two methods of creating table in ms access ( Datasheet view and Design view) which one wouldyou prefer to use to record the advantages and dis advantages of using the internet?

Answers

The main difference between the datasheet view and the design view is in the datasheet view, we can only view and do minor changes but in the design view, we can edit the table and modify it.

What is MS Access?

MS Access is a service of Microsoft, that is used in the sector of business and other companies, to store and manage data.

Datasheet view and design view are the two types of tables in ms access, the design view has more functions, you can change and edit the table.

Thus, the primary distinction between the datasheet view and the design view is that while we can examine and make some minor adjustments in the datasheet view, we can edit and amend the table in the design view.

Learn more about MS Access, here:

https://brainly.com/question/17135884

#SPJ1

Other Questions
At McDonald's, you can get several items together as a meal, for less than purchasing those items separately. This is an example of Blank______. The label of a vial states that it contains 1g in 10ml.you know that 9.6 ml were added.what is the powder volume Suppose Congress enacts a new Medicare benefit and finances it by raising payroll taxes such that each year's additional outlay is matched by additional revenue. Would this be considered fiscally sustainable On January 1, year 1, Roark Corp. purchased equipment for $120,000. The equipment has a residual value of $20,000, and has a life of 1,000,000 hours. Roark uses the activity-based method of depreciation. In year 1, Roark used the machine 30,000 hours, and in year 2, Roark used the machine 50,000 hours. What is the depreciation expense for year 2 Triangles A B C and L M N are shown. Angle B A C is 58 degrees. Angle M L N is 78 degrees. Sides A B and L M are congruent. Sides A C and L N are congruent.Given AC = LN and BA = ML, which statement must be true?BC < MNBC > MN BC = MNBA = LN which you will prove or disprove by conducting further research on the topic. As you look for answers, make sure to complete your research with historical ? A local pizza shop has a membership for frequently buyers. The membership cost $5 per month and members get a diamond price of 1.75 per slice of pizza. Lamonte purchased a membership to this pizza shop. How much would lamonte have to pay the pizza shop if he brought 20 slices of pizza this month? What would be the monthly cost for x slices of pizza? Which of the following best describes habituation?A. A change in response that stems from experienceB. An association between two events in the environmentC. An involuntary response to intermittent stimuliD. A permanent change in behavior Read the excerpt from "Why the Sun Is Brighter Than the Moon.When they were very young, Buwan pushed Araw into a fast-flowing stream."Sister, my sister, Im losing my grip! Grab my hand! cried Araw, her small hands clinging onto the slippery banks."No, sister, I wont, replied Buwan, "for you will pull me in too!Another time, Araw caught a cicada and put it in a cage shed made out of bark. Buwan grabbed the cage and shook it."Sister, my sister, cried Araw, "please be careful, because that is a present for our father.The details in the excerpt show readers that Buwan Which combined sentence contains a participial phrase?Soon it would be dark, and then the desert would lose its heat and become quite chilly.The trail wound through scrub brush and passed into the shadow of a rock, where it became quite dark.Squinting into the sunset, Armando wiped his forehead and trudged on.The moon was shining brightly enough that he could see the trail. Hi- I need help please to get my HS diploma...did not graduate :(For the inequality y+4xx2+2, where is the graph shaded and is the curve solid or dotted? You would like to help your political party succeed at the local level, so you join the partys efforts by working as a volunteer. Which of the following tasks would most likely be one of your responsibilities? Which of the following is a valid probability distribution? Probability distribution A is shown. The probabilities of 1, 2, 3, 4, 5 and 6 are all 0.2. Probability distribution B is shown. The probability of 1 is 0.1; 2 is 0.2; 3 is 0.3; 4 is 0.3; 5 is 0.2; 6 is 0.1. Probability distribution C is shown. The probability of 1 is 0.1; 2 is 0.2; 3 is 0.4; 5 is 0.1; 6 is 0.1. Probability distribution D is shown. The probability of 1 is 0.2; 2 is 0.1; 3 is 0.1; 4 is 0.5; 5 is 0.1. Solve for xx - 20 + 2x = 35 I need help with turning my notes into sentences and making it a three page reflection paper for TED Talk (Ford's Message)Take another careful look at Fords ad. Which of these statements best matches Fords message?Ford vehicles were meant only for the rich.The Model T was an exclusive vehicle.The Model T would meet a buyers every need.Buying the Model T would require a great amount of saving. ure andmicalations33PosttestMoleulationFormulasWhat happens when hydrogen and oxygen react?OHydrochloric acid is produced.Water is produced.O Sulfuric acid is produced.No product is formed. Benot has a home business selling antique watches. If he sells x watches, in thousands, his profit, P, in thousands of dollars, is given by P=50x^2 + 550x 900Determine Benots break-even points Determine his maximum profit and how many antique watches he must sell to achieve this profit. Triangle A B C is shown. Side A C has a length of 27. Side C B has a length of 54.Based on the diagram, which expresses all possible lengths of segment AB?AB = 2527 < AB < 81AB = 85AB< 27 or AB > 81 In 2015, California voters backed a $2-a-pack increase in the cigarette tax with the revenue being used to fund health care for the poor. Which principle of fairness would California use to justify this tax hike