in this chapter, the class datetype was designed to implement the date in a program, but the member function setdate and the constructor do not check whether the date is valid before storing the date in the member variables. rewrite the definitions of the function setdate and the constructor so that the values for the month, day, and year are checked before storing the date into the member variables. add a member function, isleapyear, to check whether a year is a leap year. moreover, write a test program to test your class.

Answers

Answer 1

To rewrite the definitions of the function setDate and the constructor so that the values for the month, day, and year are checked before storing the date into the member variables.

What is a constructor?

Constructors are not explicitly called and are only used once during their lifetime. When there is a hierarchy of classes and a derived class inherits from a parent class, the execution sequence of the constructor is a call to the constructor of the parent class first, followed by the constructor of the derived class. Constructors cannot be inherited.

Users are not required to create constructors for every class. Any of the access modifiers can be used to declare a constructor. A constructor with the appropriate access modifier is required.

#include <iostream>

#include "dateType.h"

using namespace std;

//fixed some syntax issues related to brackets

void dateType::setDate(int month, int day, int year)

{

 int noDays;

   if(year<=2008)

   {

       dYear=year;

       if(month<=12)

       {

           dMonth=month;

           switch(month)

           {

               case 1:

               case 3:

               case 5:

               case 7:

               case 8:

               case 10:

               case 12: noDays=31;

                        break;

               case 4:

               case 6:

               case 9:

               case 11: noDays=30; //changed this to 30

                         break;

               case 2: if(isLeapYear(year))

                           noDays=29;

                           else

                           noDays=28;

           }

           if(day<=noDays)

           {

               dDay=day;

           }

           else

           {

               cout<<"Invalid Day"<<endl;

               dDay=0;

           }

       }

       else

       {

           cout<<"Invalid Month"<<endl;

           dMonth=0;

       }

   }

   else

   {

       cout<<"Invalid Year"<<endl;

       dYear=0;

   }

}

//added logic for leap year

bool dateType::isLeapYear(int year)

{

   if((year % 400) == 0 || year%4==0)

       return true;

   else

       return false;

}

void dateType::printDate()const

{

   cout<<"Date #: "<<dMonth<<"-"<<dDay<<"-"<<dYear;

}

int dateType::getMonth()const

{

   return dMonth;

}

int dateType::getDay()const

{

   return dDay;

}

int dateType::getYear()const

{

   return dYear;

}

//calling setdate method here to accomplish validations

dateType::dateType(int month, int day, int year)

{

   setDate(month, day, year);

}

int main()

{

   int m,d,y;

       dateType date(0,0,0);

   cout<<"Enter Month: ";

   cin>>m;

   cout<<"Enter day: ";

   cin>>d;

   cout<<"Enter Year: ";

   cin>>y;

   date.setDate(m,d,y);

   bool check =date.isLeapYear(y);

   date.printDate();

   if(check)

       cout<<" which is a leap Year";

   else

   cout<<" which is not a leap year";

}

Learn more about constructor

https://brainly.com/question/13267121

#SPJ4


Related Questions

you work in the computer repair department of a large retail outlet. a customer comes in with a workstation that randomly shuts down. you suspect that the power supply is failing.

Answers

The most frequent reason for a computer to go down unexpectedly is overheating.

The computer may shut down at random for a number of reasons. Let's first examine their causes:Your computer's hardware malfunction may also cause this problem.These issues are frequently caused by malware and viruses.Your computer's erratic shutdowns may also be caused by the unstable power supply.This problem is also attributed to the Fast starting feature.Another frequent root cause of this issue is an out-of-date graphics driver.If the Operating System Software  becomes corrupt, your computer may shut down at any time.This problem may also be brought on by damaged system files.

To learn more about Operating System Software refer https://brainly.com/question/15050987

#SPJ4

Answer: Use a known good spare to swap with the existing power supply.

Explanation: Known good spares are sets of components that you know are in proper functioning order. If you suspect a problem with a component, first try to swap it with a known good component. If the problem is not resolved, you can then continue troubleshooting other possible issues.

the following provides details on the building class. instance variables all instance variables must be specified as private instance variables. constructor the constructor should accept four parameters: 1) the length of the building, 2) the width of the building, 3) the length of the building's lot, and 4) the width of the building's lot. the constructor parameters should be used to initialize the length, width, lotlength, and lotwidth instance variables, respectively. you may assume the values passed will be valid values for the purposes of the fields.

Answers

The center and radius of several of the instance variables in circle are initialized using the constructor's parameters.

A variable that is declared in a class but not within constructors, methods, or blocks is referred to as an instance variable. When an object is generated, instance variables are created that are available to all of the constructors, methods, and blocks in the class.

A class instance-specific variable is called an instance variable. For instance, each new instance of a class object that you create will have a copy of the instance variables. The variables that are specified inside a class but outside of any methods are known as instance variables.

The many access modifiers available in Java, such as default, private, public, and protected, can be used to declare instance variables.

Know more about instance variable here:

https://brainly.com/question/20658349

#SPJ4

you have 3 pairs of pants or skirts, 4 shirts or blouses, and 5 pairs of shoes. you can use them to wear different outfits. you are a participant in a peace conference with 10 participants. everybody shakes everybody else's hand. there are handshakes altogether. a family of five is taking an extended vacation. every day at lunch they stand in line at a cafeteria in a different order than ever before. on the last day, however, they can't help repeating a previous order. their vacation lasted days

Answers

1) There are 60 different ways to pair pants, shirts, and shoes altogether. 2) There were 45 handshakes overall. 3) The 120-day trip was taken by the family.

Combinatorics, a branch of discrete mathematics, is based on combinations and permutations. In combinatorics, the only operation is counting. Counting seems straightforward at first. It should come as no surprise that it was the first sort of mathematics taught in school. It turns out that counting is very non-trivial, and there are currently a huge number of outstanding combinatorial problems that mathematicians are trying to answer.

Combinations are any unordered subsets of the given set of n unique pairs with size rn. "N select r" means that "n separate things can be combined in n unique ways to make n number of combinations of size r," without repetition. Some sources may substitute nCr in its place.

Know more about subsets here:

https://brainly.com/question/28705656

#SPJ4

Given an integer vector of size NUM_ELEMENTS, which XXX, YYY, and ZZZ will count the number of times the value 4 is in the vector? Choices are in the form XXX/YYY / ZZZ. vector NUMELEMENTS;/cnt Fours - cntFours + 1; cnt Fours - myVect.at(); /i> myVect.size: cnt Fours - Vect.at(1);

Answers

Given an integer vector of size NUM_ELEMENTS, the option that XXX, YYY, and ZZZ will count the number of times the value 4 is in the vector is option D:  cntFours = 0; / i < NUM_ELEMENTS; / ++cntFours;

How can one determine whether a vector is an integer?

The atomic vector R Integer Vector has the "integer" vector type. A vector of integers can only contain NA or integers as entries. This article will demonstrate how to generate an integer vector in R.

Therefore, one can say that a vector in R can be rounded using the floor function, the vector's values can be subtracted from it, and the result can then be checked to see if it is zero or not. The value is an integer if the output is zero; otherwise, it is not.

Learn more about  integer vector from

https://brainly.com/question/14483631
#SPJ1

See full question below

Given an integer vector of size NUM_ELEMENTS, which XXX, YYY, and ZZZ will count the number of times the value 4 is in the vector? Choices are in the form XXX / YYY / ZZZ.

vector<int> myVect(NUM_ELEMENTS);int cntFours;XXXfor (i = 0; YYY; ++i) {if (myVals.at(i) == 4) {ZZZ;}}

cntFours = myVect.at(0); / i > myVect.size(); / cntFours = myVect.at(i);

cntFours = myVect.at(1); / i < myVect.size(); / cntFours = myVect.at(i) + 1;

cntFours = 1; / i > NUM_ELEMENTS; / cntFours = cntFours + 1;

cntFours = 0; / i < NUM_ELEMENTS; / ++cntFours;

are web-based journals in which writers can editorialize and interact with other internet users.

Answers

Blogs. Weblogs, often known as blogs, are frequently updated online pages used for personal or professional material.

What a blog means?A blog, often known as a weblog, is a frequently updated online page that is used for commercial or personal comments. A area where readers can leave comments is usually included at the bottom of each blog article because blogs are frequently interactive.Most blogs are written in a conversational tone to show the author's personality and viewpoints. Some companies utilise blogs to reach out to their target markets and sell products.Weblogs, which were webpages with a series of entries arranged in reverse chronological order so that the most recent posts were at the top, were the precursor to the term "blog." They were often updated with fresh data on many subjects.

To learn more about Blogs refer :

https://brainly.com/question/10893702

#SPJ4

spreadsheets are super helpful in helping you stay organized when calculating recipe costs because they have different rows and columns to track all your individually and what they cost.

Answers

Additionally, spreadsheets can help you to quickly add up all your ingredient costs and track the total cost of the recipe. This makes it much easier to determine your profit margins and adjust the cost of ingredients to reach a desired price point.

What is spreadsheet?
A spreadsheet is a type of computer program used to store and manipulate data arranged in a tabular format. It is typically used to create tables of data and to perform calculations on the data. Spreadsheets contain cells, which can hold data, formulas, or references to other cells. Cells can also contain formatting information such as font type and size. Spreadsheets are used to store, analyze, and share data for many different applications such as business, finance, scientific research, and personal organization. Spreadsheets can be used to create charts and graphs. They can also be used to automate repetitive tasks, such as invoicing and payroll. Spreadsheets are used by people in all walks of life, from students to entrepreneurs to government agencies.

To learn more about spreadsheet
https://brainly.com/question/4965119
#SPJ1

you want to set up a service on your company network that can be configured with a list of valid websites. the service should give employees a certificate warning if they try to visit a version of an untrusted site.

Answers

When a browser declares a certificate to be untrusted, it either indicates that the certificate cannot be linked to a trusted root certificate or that it was not signed by a trusted root certificate.

What is an untrusted site?

If a browser reports a certificate as untrusted, it signifies that it isn't signed by a trusted root certificate or that it can't be linked to a trusted root certificate.

Avoid downloading software from unreliable sources or accessing unknown websites. These websites frequently host malware that will automatically install on your computer (sometimes covertly) and compromise it. Avoid clicking on any links or attachments in emails that are unexpected or questionable for any reason.

When a web browser is unable to validate the SSL certificate that has been put on a website, an SSL certificate error occurs. An error notice alerting users that the site might not be safe will be shown by the browser rather than connecting users to your website.

To learn more about  untrusted site refer to:

https://brainly.com/question/30029128

#SPJ4

Assume that the boolean variables a and b have been declared and initialized. Consider the following expression.
(a && (b || !a)) == a && b
Which of the following best describes the conditions under which the expression will evaluate to true?
A Only when a is true
B Only when b is true
C Only when both a and b are true
D The expression will never evaluate to true.
E The expression will always evaluate to true.

Answers

A boolean expression, named after mathematician George Boole, is a statement that can be either true or false when evaluated.

What are the 3 Boolean values?

An expression that may only be evaluated as true or false is known as a boolean expression (after mathematician George Boole).

Boolean variables are stored as 16-bit (2-byte) values and can only have a value of True or False. Boolean variables are presented as either True or False. Similar to C, when other numeric data types are transformed to Boolean values, a 0 becomes False and any other values become True.

The truth value, TRUE or FALSE, is represented by a Boolean value. A Boolean expression or predicate may produce an unknown value, which is represented by the null value.

Therefore, the correct answer is option b) B Only when b is true.

To learn more about boolean variables refer to:

https://brainly.com/question/26041371

#SPJ4

Under which of these conditions should method overloading be used?: *
A) When you want to override the functionality of an inherited method with another one having the same name
B) When the methods have different parameter names
C) When the methods have similar behavior but they differ in their arity or parameter types
D) Two methods with the same name will cause a compilation error

Answers

B! I hope this helps!

which of the following code segments alters the sequential flow of control based on a boolean expression

Answers

A control structure modifies a program's usual sequential flow of execution. The outcome of a logical expression can be assigned to a bool variable but not an int variable.

In a computer program, variable are used to hold data that can be accessed and changed. They also give us the means to give data a name that is descriptive, which helps the reader and us understand our programs better. Variables can be thought of as storage spaces for data, which is a useful metaphor. Labeling and storing information in memory is their only function. You can use this information later on in your program.

One of the trickiest tasks in computer programming is naming variables, according to many experts. Consider your name choices carefully before naming variables. Make an effort to call your variable something that is both accurately descriptive and clear to a different reader.

Learn more about variable here:

https://brainly.com/question/13375207

#SPJ4

item(s) in your bag are not available for delivery to the destination you selected. please select a different recipient or remove the item from your shopping bag.

Answers

Certain sorts of addresses are not deliverable by some carriers. Due to manufacturer constraints, government import/export regulations, or warranty concerns, we are unable to ship to your region.

You may find out if a product can be shipped to the address of your choice via the product page by using our address widget, which is located at the top of every Amazon page and on the Amazon app. Every time you shop with us, please make sure you have your intended address chosen.

You might not be able to ship to an address for a few reasons.

For the following reasons, you might not be able to ship to an address:

The item's dimensions go over the shipment restriction. A maximum of 108 inches in length or width and 70 pounds in weight are required for the package.

Due to its size or unusual shape, the item cannot be shipped.

The product is a restricted one.

Know more about address here:

https://brainly.com/question/29834857

#SPJ4

Affect the sequential flow of control by executing different statements based on the value of a Boolean expression. A logical statement that has two parts (if p, then q).

Answers

Conditional Statement. A compound statement that meets the "if...then" condition is known as a conditional statement.

What is a conditional statement ?Conditionals are programming language directives used in computer science to handle decisions. Particularly, conditionals carry out various calculations or actions according on whether a boolean condition set by the programmer evaluates to true or false.An if-then statement, also known as a conditional statement, is a set of hypotheses followed by a conclusion. Read this: if p, then q. If the hypothesis is correct but the conclusion is untrue, a conditional statement is false. If the statement in the example above read, "If you achieve good marks then you will not get into a good college," it would be untrue.

There are the following types of conditional statements in C.

If statement, If-Else statement, Nested If-else statement, If-Else If ladder, Switch statement.

To learn more about Conditional Statement refer :

https://brainly.com/question/27839142

#SPJ4

Consider the following C++ skeletal program: class Big { int i; float f; void funi () throw float { try { throw i; throw f; } catch (int) { ... } ----- 1 } } class Small { int j; float gi void fun2() throw float { try { try { Big.funi (); throw j; throw g; } catch (int) { } <------ 2 } catch (float) { } <------ 3 } } In each of the throw statements, which catch handles the exception - 1, 2, 3, or none? Note that fun1 is called from fun2 in class Small. 7. throw i; 1 2 3 none 8. throw f; 1 2 3 none 9. throw j; 1 2 3 none 10. throw g; 1 2 3 none

Answers

In C/C++, a long long int can only contain a maximum of 20 digits. The problem is how to store the 22-digit number because no simple type makes this easy.

To solve this kind of issue, let's develop a new data type called BigInt. This article uses the new data type with a few basic operations.

'#include bits/stdc++.h'

using namespace std;

class BigInt{

   string digits;

public:

    //Constructors:

   BigInt(unsigned long long n = 0);

   BigInt(string &);

   BigInt(const char *);

   BigInt(BigInt &);

    //Helper Functions:

   friend void divide_by_2(BigInt &a);

   friend bool Null(const BigInt &);

   friend int Length(const BigInt &);

   int operator[](const int)const;

Learn more about operations here-

https://brainly.com/question/28335468

#SPJ4

tim's laptop was recently upgraded to windows 11 but is now running more slowly due to the increased memory requirements. he has decided to install some additional ram to speed up the laptop. which of the following should he install?

Answers

We can Increase RAM speed By doing Some work.

What makes a laptop’s RAM or processor faster?

A faster CPU will aid with things like streaming and running numerous apps. Simultaneously, huge quantities of RAM will aid in multitasking while essentially improving performance in complicated applications and tasks.

Start your computer again. Restarting your computer is the first thing you may attempt to free up RAM, Update Your Software, Use a Different Browser, Clear Your Cache, Uninstall Browser Extension,  Monitor Memory and Clean Up Processes, Disable unnecessary startup programs, Turn off background apps.

The topic of whether RAM speed matters is more pressing today, because Intel’s 12th-generation Alder Lake CPUs will be available in late 2021 and will support both DDR4 and DDR5 RAM. DDR4’s official highest clock speed was 3200MHz, but DDR5 starts at 4800MHz, a 50% increase.

To learn more about RAM speed refer:

https://brainly.com/question/271859

#SPJ4

Ronald is a software architect at MindSpace Software. He has been approached to develop a critical application for a finance company. The company has asked him to ensure that the employed coding process is secure. They have also requested that the project be completed in a few months, with a minimum version of the identified functionalities provided. The other functionalities can be developed later and added to the software while the application is live. Which development process would be ideal for Ronald to employ to achieve this objective? Ronald can employ a waterfall model to meet the requirements by testing the code at every phase of development. Ronald can employ an agile development model to meet the requirements with penetration testing done on the modules. Ronald can employ the rapid development model to meet the requirements of the client. Ronald can employ the SecDevOps model to meet the requirements of the client.

Answers

Ronald can employ the SecDevOps Model to meet the requirements of the client. Normalization it is the process of organizing data in tables and we use to remove redundancy.

In measurements and uses of insights, standardization can have a scope of implications. In the simplest of scenarios, normalizing ratings entails moving values measured on various scales to a scale that is conceptually comparable, frequently prior to averaging. In situations that are more complicated, the term "normalization" may refer to more complex adjustments whose goal is to align all adjusted-value probability distributions. In educational assessment, normalization of scores may be done with the intention of aligning distributions with a normal distribution. Quantile normalization, in which the quantiles of the various measures are aligned, is a different method for normalizing probability distributions.

Another way that normalization is used in statistics is when shifted and scaled versions of statistics are made. The idea is that these normalized values will make it possible to compare the corresponding normalized values for different datasets in a way that will remove the effects of some big influences, like in an anomaly time series. In order to arrive at values in relation to a size variable, some forms of normalization only require a rescaling. As far as levels of estimation, such proportions just appear to be legit for proportion estimations (where proportions of estimations are significant), not stretch estimations (where just distances are significant, however not proportions).

To know more about normalization visit

brainly.com/question/1798626

#SPJ4

on the statement of cash flows prepared by the indirect method, the operating activities section would include

Answers

The operating activities portion of the statement of cash flows includes non-cash expenses in addition to net income when using the indirect method.

What Is Operating Cash Flow?A company's regular operational procedures produce cash flow, which is known as operating cash flow. Investors place a high value on a company's capacity to produce positive cash flows on a consistent basis from its ongoing operations. The true profitability of a corporation can be found, in particular, by analyzing operating cash flow. It's one of the most accurate ways to measure the sources and uses of money.An organization's sources and uses of cash during a specific time period are shown on a cash flow statement. Although the cash flow statement is typically regarded as being less significant than the income statement and the balance sheet, it can be used to analyze trends in a company's performance that cannot be understood through the other two financial statements.Investors view the cash flow statement as the most transparent of the three financial statements, despite the fact that it is regarded as the least significant. They therefore depend more than on any other financial statement when making investing decisions because of this.

To Learn more About cash flows refer to:

https://brainly.com/question/735261

#SPJ4

Which of the following are good candidates for a primary key field for a Customer table? Select all the options that apply.IdentificationNumber
CustomerNumber
CustomerID

Answers

Good possibilities for a primary key field in a customer table are Identification Number.

What field should be the employee table's primary key?

Why and which field in the Employee table should serve as the primary key? The primary key serves as a special code for the information and records in the table. The Social Security Number should be used as the primary key in the Employee table. Each individual allocated to the sheet has a different code.

What do the table's candidate and primary key represent?

Describe a candidate key. Another term for a candidate key is a collection of several properties (or a single feature) that aid in distinctly distinguishing the tuples present in a table or relation.

To know more about primary key visit :-

https://brainly.com/question/13437797

#SPJ4

The layers of enterprise architecture are: business, application, information, and:
a)Enterprise software
b)centralized architecture
c) IT systems
d)Technology
e) frameworkd)Technology

Answers

(D) The layers of enterprise architecture are: business, application, information, and Technology.

The broad design for a major organization's IT systems is referred to as the "enterprise architecture" by IT specialists. They can state, "Our company's corporate architecture is multicloud (or hybrid cloud, private cloud, or public cloud)," as an example.

Some businesses use the idea in a somewhat more formal way. For them, the term "enterprise architecture" refers to a real collection of charts or diagrams that demonstrate how the various components of an organization's IT systems interact. Typically, it might demonstrate the information flow between a data center and the cloud provider that offers a remote platform.

However, a lot of businesses are significantly more knowledgeable about enterprise architecture. They view enterprise architecture as encompassing both business processes and IT. When the expression was originally used in the 1980s, this was its historical meaning. Early enterprise architectural frameworks kept track of information on people, networks, business processes, technology, time, and motivation.

To know more about enterprise architecture:

https://brainly.com/question/29102532

#SPJ4

you have been tasked with removing malware from an infected system. you have confirmed that there is an infection, and you continue running scans and removing the malware, but every time the system is rebooted, the malware comes back. which of the following should you do to help prevent this from happening?

Answers

The system is rebooted, the malware comes back, The following should you do to help prevent this from happening:

1. Identify the source of the infection.
2. Change all passwords associated with the system.
3. Update the operating system and all programs to their latest versions.
4. Install an anti-malware program and enable real-time protection.
5. Run a deep scan with an up-to-date anti-malware program.

What is malware?
Malware
is a type of malicious software designed to gain access to a computer system without the owner's knowledge or permission. It can be used to gain control of a system, steal data, and cause damage to hardware, software, and networks. Malware typically infiltrates computers through malicious web links, email attachments, or drive-by downloads. It can spread rapidly, making it difficult to detect and remove. Common types of malware include viruses, worms, Trojans, ransomware, spyware, and adware. Malware can be used for a variety of malicious activities, including identity theft, financial fraud, data theft, and censorship. As malicious software continues to evolve, it is important to have strong security measures in place to protect against malware threats.

To learn more about malware
https://brainly.com/question/399317
#SPJ1

participation activity 5.5.2: multiple arrays. 1) using two separate statements, declare two related integer arrays named seatposition and testscore (in that order) each with 130 elements. C++

Answers

Finding the intersection of two arrays and storing that intersection in a temporary array before searching for the intersection of the third array and temporary array is a straightforward approach.

This solution's time complexity is O(n1 + n2 + n3), where n1, n2 and n3 are the corresponding sizes of ar1[], ar2[] and ar3[].

The common elements can be found using a single loop and without the need for extra space, unlike the above solution that uses extra space and two loops. The concept is comparable to how two arrays intersect. We traverse three arrays in a loop similar to two arrays looping. Let x, y, and z represent the current elements being traversed in ar1, ar2, and ar3, respectively. The following scenarios are possible inside the loop.

Learn more about array here-

https://brainly.com/question/19570024

#SPJ4

you are working as a junior security technician for a consulting firm. one of your clients is upgrading their network infrastructure. the client needs a new firewall and intrusion prevention system installed. they also want to be able to block employees from visiting certain types of websites. the client also needs a vpn.which of the following internet appliances should you install?

Answers

Since the client needs a new firewall and intrusion prevention system installed, block employees from visiting certain types of websites, and needs a VPN, an internet appliance which you should install is: C. Unified Threat Management.

What is information security?

In Computer technology, information security can be defined as a preventive practice which is used to protect an information system (IS) that use, store or transmit information, from potential theft, attack, damage, or unauthorized access, especially through the use of a body of technology, frameworks, processes and network engineers.

Additionally, an access control (ACL) can be configured to only allow a certain amount of space for domains to be added to a blocklist through the use of an intrusion prevention system (IPS).

Read more on firewall here: brainly.com/question/16157439

#SPJ1

Complete Question:

You are working as a junior security technician for a consulting firm. One of your clients is upgrading their network infrastructure. The client needs a new firewall and intrusion prevention system installed. They also want to be able to block employees from visiting certain types of websites. The client also needs a VPN.

Which of the following internet appliances should you install?

Spam gateway

Load balance

Unified Threat Management

Proxy server

You have been contacted by OsCorp to recommend a wireless internet solution. The wireless strategy must support a transmission range of 150 feet, use a frequency range of 2.4 GHz, and provide the highest possible transmission speeds. Which of the following wireless solutions would you recommend?
802.11g
802.11n
802.11b
802.11a802.11n

Answers

802.11n would offer the fastest wireless alternatives for transmission.

Which wireless technology can use the 2.4 and 5 GHz bands and operate at speeds greater than 100 MB per second?

The AC10 standard enables a concurrent dual band communication bandwidth of up to 1167 Mbps using the generation 802.11ac wave 2.0 standard. Your WiFi coverage is increased by wireless signal boosting technology on the 2.4 GHz and 5 GHz bands, and Beamforming+ technology makes the WiFi signal of AC10 exceptional behind many barriers.

What wireless LAN standard uses radio frequencies of 2.4 GHz and 5 GHz?

Wi-Fi 6/802.11ax is backward compatible with Wi-Fi 4 and 5 and runs in the 2.4 GHz and 5 GHz frequency ranges. to accomplish the noticeable boost in speed and capacity.

To know more about wireless  transmission visit:-

https://brainly.com/question/25881547

#SPJ1

which of the following sources contains standards and templates for the rmf assessment and authorization process?

Answers

DSS Risk Management Framework contains standard and templates for the RMF assessment and authorization process.

The NIST SP 800-37 manual, "Applying the Risk Management Framework to Federal Information Systems: A Security Life Cycle Approach," which has been accessible for FISMA compliance since 2004, is most frequently linked to the Risk Management Framework (RMF). It was revised to version 2 in December 2018.

Every U.S. government agency must now adhere to and incorporate this into their operations; it was the outcome of a Joint Task Force Transformation Initiative Interagency Working Group. The RMF was most recently incorporated into DoD directives, and other organizations are now developing new advice for RMF compliance.

RMF outlines the procedure that must be followed to secure, authorize, and manage IT systems for all federal agencies. An RMF process cycle is defined.

Know more about information systems here:

https://brainly.com/question/28945047

#SPJ4

your organization is planning to deploy a new e-commerce website. management anticipates heavy processing requirements for a back-end application used by the website. the current design will use one web server and multiple application servers. additionally, when beginning a session, a user will connect to an application server and remain connected to the same application server for the entire session. which of the following best describes the configuration of the application servers?

Answers

Multiple application servers are being used in the design to distribute the load. Due to the large processing demands in this case, it is clear that numerous servers will be used, and load balancing accomplishes this.

Explain about the application servers?

A contemporary type of platform middleware is an application server. It is system software that sits between the operating system (OS) on the one hand, the external resources (such a database management system [DBMS], communications, and Internet services) on the other hand, and the user applications on the third.

When executing web applications, application servers offer a framework for their development and deployment as well as a number of services. These services include, among others, security, transactions, performance-enhancing clustering, and diagnostic tools.

The term "desktop platform applications" refers to software that may be used with desktop operating systems like macOS, Windows, Linux, etc. applications that run on mobile platforms and mobile operating systems, such as Android, iOS, Blackberry OS, etc.

To learn more about application servers refer to:

https://brainly.com/question/14922758

#SPJ4

______is not a legal variable name in Python?
.apple
• apple1
. apple_1
• 1apple

Answers

Answer:

apple_1

Explanation:

In python the variable name must start with an alphabetic or the underscore character

Write a method named EvenNumbers that takes two integer arguments (say, num1 and num2) 1. and prints all even numbers in the range (num1, num2). The method does not return any value to the caller. Call the above EvenNumbers method from main by passing two numbers input by the user.

Answers

#include<studio.h> the main () {num1, num2, int; &num1,&num1; scanf("%d%d", printf ('%d', 'num1*num1'); deliver 0;}.

Using the formula for the sum of all natural numbers as well as arithmetic progression, it is simple to calculate the sum of even integers from 2 to infinity.

A Scanner object, reader is created in the Java program to read a number from the user's keyboard. After that, the entered number is kept in the variable num.

Now, we use the % operator to calculate the remainder of num and determine whether or not it is divisible by two to determine if it is even or odd.

Java's if...else statement is used for this. If num is divisible by 2, "num is even" is printed. If anything, we print num is weird.

In Java, the ternary operator can be used to determine whether num is even or odd.

Know more about Java here:

https://brainly.com/question/12978370

#SPJ4

you will write the code segment for the body of the method getplayer2move, which returns the number of coins that player 2 will spend in a given round of the game. in the first round of the game, the parameter round has the value 1, in the second round of the game, it has the value 2, and so on. the method returns 1, 2, or 3 based on the following rules. if round is divisible by 3, then return 3. if round is not divisible by 3 but is divisible by 2, then return 2. if round is not divisible by 3 and is not divisible by 2, then return 1.

Answers

Player 2 will always use the same tactic in the scenario. By providing the appropriate value to the result that will be returned, the method getPlayer2Move below is finished.

You will create the method getPlayer2Move, which returns how many coins Player 2 will use in a certain game round. The parameter round has a value of 1 in the first round of the game, 2 in the second round, and so on.

#include

using the std namespace;

getplayer2move bool (int x, int y, int n)

{

dp[n + 1] int;

dp[0] = untrue

If dp[1] is true,

i++ for (int I = 2; I = n);

If both!dp[i - 1] and I - 1 >= 0)

If dp[i] is true,

Alternatively, if (i-x >= 0 and!dp[i-x])

If dp[i] is true,

If I - y >= 0 and!dp[i - y]), then

If dp[i] is true,

else

dp[i] = untrue;

}

deliver dp[n];

}

the main ()

{

When (findWinner(x, y, n))

cout << 'A';

else

cout << 'B';

deliver 0;

}

Know more about namespace here:

https://brainly.com/question/13108296

#SPJ4

which of the following hardware devices regenerate a signal out of all connected ports without examining the frame or packet contents? (select two.)

Answers

Repeater, Hub are the following hardware devices regenerate a signal out of all connected ports without examining the frame or packet contents.

Explain about repeater and hub hardware devices?All additional ports are used to transmit signals received by a hub or repeater. These gadgets don't check the packet or frame contents.Bridges and switches make forwarding decisions based on a frame's MAC address. A router makes forwarding decisions based on the IP address included in a packet.There are no more network segments produced by a hub. A network segment is a section with various media, collision domains, or broadcast domains. A hub only links gadgets that use the same media type. The same collision and broadcast domains apply to all devices.Each switch port on a switch is in a different collision domain. Each connected network is a distinct broadcast domain with a router or firewall.

To learn more about hardware device refer to:

https://brainly.com/question/29609961

#SPJ4

a distributed database is a single logical database that is physically divided among computers at several sites on a network.

Answers

The statement for distributed database is a single logical database that is physically divided among computers at several sites on a network is true.

What is distributed database?

Distributed database is a single database but its stored in different location it can be in different computer but in same physical location it called as data center or in different physical location which it required connections from network.

Distributed database don't share any physical component. So basically distributed database have multiple of computer and it will improve performance at end-user worksite. For access, only system administrator can distribute the data across multiple computer.

You question is incomplete, but most probably your full question was

A distributed database is a single logical database that is physically divided among computers at several sites on a network.

True

False

Learn more about data center here:

brainly.com/question/13441094

#SPJ4

as a binary tree, a heap is ....... ? group of answer choices full and complete. neither full nor complete. not full but complete. full but not complete.

Answers

As a binary tree, a heap is binary. A rooted tree with at most two children per node is referred to as a binary tree, sometimes known as a plane tree.

A (non-empty) binary tree is represented by the tuple (L, S, R), where L and S are singleton sets that contain the root and L and R are binary trees or the empty set. The binary tree can also be the empty set, according to certain writers. The binary (and K-ary) trees that are described here are arborescences from the viewpoint of graph theory. Thus, a binary tree may alternatively be referred to as a bifurcating arborescence, a word that dates back to very early programming manuals, before the current computer science jargon took hold. A binary tree can also be seen as an undirected graph rather than a directed graph, in which case it is an ordered, rooted tree. Some authors prefer to stress the fact that the tree is rooted by using the term rooted binary tree rather than binary tree, however as previously stated, a binary tree is always rooted. An ordered K-ary tree, where K is 2, is a special example of a binary tree. The definition of a binary tree in mathematics might vary greatly from one source to the next. Others define it as every non-leaf having exactly two offspring, without necessarily ordering the children (as left/right) and using the concept that is frequently used in computer science.

Learn more about binary tree here

https://brainly.com/question/16644287

#SPJ4

Other Questions
if a man is arrested because his home was searched by police without a legal warrant, he could argue in court that he had been denied The diagram shows the process of photosynthesis and cellular respiration in relation to each other.What can be concluded from the diagram?O Light energy is converted into chemical energy in photosynthesis.O Light energy is converted into chemical energy in cellular respiration.O Cellular respiration utilizes ATP to release energy in the form of heat.O Photosynthesis releases oxygen and ATP that are used in cellular respiration. Energy from the sun sets in motion extraordinary interactions between the atmosphere,organisms and minerals,energy from the earth's core profoundly affects theshape of the ground we walk on.A ConsequentlyB MeanwhileC In conclusionD For example how did the african-american civil rights protesters that marched in june 1963 in more than 186 cities feel about the danger of getting arrested? The ____ approach to scheduling concurrent transactions assigns a global unique stamp to each transaction. Steady-state creep data takenfor an iron at a stress level of 140 MPa (20,000 psi) are givenhere:es T(K)6.6*10-4 10908.8*10-2 1200If it is known that the valueof the stress exponent n for this alloy is 8.5, compute thesteady-state creep rate at 1300 K and a stress level of 83 MPa(12,000 psi). What are the properties of the angles and sides of a triangle? How do you use these properties to solve problems involving triangles? Give an example and show your work. I am very confused can someone help with this problem? wo cyclists leave towns kilometers apart at the same time and travel toward each other. one cyclist travels faster than the other. if they meet in hours, what is the rate of each cyclist? when a person causes harm to another but is not aware that he or she possesses this power, this is called substance found in eukaryotic chromosomes that consists of dna tightly coiled around histones Assume that price is greater than average variable cost. If aperfectly competitive seller is producing at an output where price is $11 and the marginal cost is $14.54 (alongthe upward-sloping portion of the MC curve), then tomaximize profits the firm shouldA.continue producing at the current output.B.produce a smaller level of output.C.produce a larger level of output.D.not enough information given to answer the question. the practice of assisting people who are terminally ill to die more quickly is called:______. Problem 1: For each of the following integrals, specify the values of the real parameter o which ensure that the integral converges. Your expression for o should be in the form of an inequality. dt (a) je seloojazd tent 0 (b) Sete-(0-jwt dt o (c) Seste-lonjw)t dt (a) Je * -(0-ja)i dt You are designing a hydraulic lift for an automobile garage. It will consist of two oil-filled cylindrical pipes of different diameters. A worker pushes down on a piston (with a diameter of 25 cm) at one end, raising the car on a platform at the other end. To handle a full range of jobs, you must be able to lift cars up to 3,471 kg, plus the 451 kg platform on which they are parked. To avoid injury to your workers, the maximum amount of force a worker should need to exert is 106 N. What should be the diameter of the pipe under the platform if the diameter? Use g = 9.8 . Express answers in meters (m). what term describes the structural relationship between (2r,3r,4s)-2,3,4-trichloroheptane and (2r,3r,4r)-2,3,4-trichloroheptane? Ceil gets paid biweekly. Her biweekly salary is $1,763. 28. What is her annual salary?. consider a tax credit of $75 for an individual in the 28% income tax bracket. the credit will reduce taxes owed by: Please kindly answer the question with a quick answer. multiple-step income statements: never include a computation for gross profit. list cost of goods sold as an operating expense. have three main parts: gross profit, income from operations, and net income. are required for the periodic inventory system. are only used in perpetual inventory systems.