Question
Which of the accompanying articles situated programming standards epitomizes polymorphism?Total units: 4Total charge: $124.00======================================Please enter an order: enrollPlease enter the class name: Data StructurePlease enter
Which of the accompanying articles situated programming standards epitomizes polymorphism?Total units: 4Total charge: $124.00======================================Please enter an order: enrollPlease enter the class name: Data StructurePlease enter the quantity of units for this class: 5You are enrolled.Please enter an order: enrollPlease enter the class name: C++ ProgrammingPlease enter the quantity of units for this class: 3You are enrolled.Please enter an order: detail======================================List of classes:Class: Introduction to C++ Units: 4Class: Data Structure Units: 5Class: C++ Programming Units: 3Total classes: 3Total units: 12Total expense: $372.00======================================Please enter an order: searchPlease enter the hunt word: C++======================================Class: Introduction to C++ Units: 4Class: C++ Programming Units: 3======================================Please enter an order: searchPlease enter the pursuit word: Data======================================Class: Data Structure Units: 5======================================Please enter an order: searchPlease enter the inquiry word: Class======================================Search matched no class.======================================Please enter an order: searchPlease enter the pursuit word: Units======================================Search matched no class.======================================Please enter an order: searchPlease enter the inquiry word: Java======================================Search matched no class.======================================Please enter an order: units>=Please enter the hunt units: 10======================================Search matched no class.======================================Please enter an order: units>=Please enter the hunt units: 3======================================Class: Introduction to C++ Units: 4Class: Data Structure Units: 5Class: C++ Programming Units: 3======================================Please enter an order: units>=Please enter the pursuit units: 4======================================Class: Introduction to C++ Units: 4Class: Data Structure Units: 5======================================Please enter an order: units>=Please enter the inquiry units: 5======================================Class: Data Structure Units: 5======================================Please enter an order: units>=Please enter the inquiry units: 6======================================Search matched no class.======================================
/* ------------------------------------------------------
verbalization will integrate the OrderDate and the ShippedDate; the results will not contain negative numbers.) d.Run the request and examine the results. Does the data in the DaysToShip deal with look definite? Save the request. e.Add rules to confine the inquiry results to consolidate simply demands that necessary north of 30 days to ship. f.Add the Quantity field from the Order Details table and the ProductName field from the Products table to the inquiry. Sort the inquiry by climbing OrderID. Right when the specialists contact these clients, these two fields will give significant information about the orders. g.Add the engraving Days to Ship to the DaysToShip field. Change to Datasheet view to see the results. Change section widths as needs be. h.Save and close the inquiry. Demand Summary Query
The CEO is contemplating the financial impact of cutoff points. She mentioned an inquiry showing the delegate name, number of solicitations they have taken, and the full scale discount total they have given clients. She wants to check whether there is an association between's the markdown offered and the amount of arrangements.
a.uery using Query Design and add the Orders, Order Details, Products, and Customers tables. Add the fields OrderID and OrderDate from the Orders table. Set the two fields' Total segment to Group By. b.Add a decided field in the third fragment. Name the field ExtendedAmount. This field should expand the sum mentioned (from the Order Details table) by the unit cost for that thing (from the Products table). This will find out the total aggregate for each solicitation. Plan the decided field as Currency and change the caption to Total Dollars. Change the Total line to Sum. c.Add a decided field in the fourth segment. Name the field DiscountAmount. The field should build the sum mentioned, the unit cost for that thing, and the markdown field (from the Customers table). This will register the hard and fast discount for each solicitation. Plan the decided field as Currency and add a caption of Discount Amt. Change the Total line to Sum. d.Run the request. Check the results out. Most clients should have a discount of 10% of the hard and fast dollars, yet a couple of clients will have no markdown. Save the inquiry as Order Summary. Return to Design view.Tackle issue, plan and execute utilizing C++Learn how to utilize key C++ develops and control C++ arraysHandle various types of information blunders Description:command-driven program named "searchClasses" that will look for courses utilizing orders enrolldetailsearchunits>=helpexit-"select" solicitation will examine in the class name and how much units-"detail" solicitation will print out the concise understudy determination data: name, id, by and large number of classes, rigid number of units and the absolute expense considering $31.00 per unit and the authentic synopsis of classes-"search" solicitation will print out the quick overview of courses that contains the pursuit keyword-"units>=" solicitation will print out the outline of courses that have more fundamental or equivalent the given pursue units-"help" solicitation will print out the quick overview of certifiable commands-"leave" solicitation will leave the program Requirements:1. The program should convey a near expected yield as provided.2. Since this program is utilizing gatherings, you can express these constants globallyconst int MAX_NUM_OF_CLASSES = 5 ;const twofold FEE_PER_UNIT = 31.0 ;3. This endeavor is about gathering and you should incorporate presentation of string for class names and show of numbers for class units. int numOfClasses = 0 ; string classList[MAX_NUM_OF_CLASSES] ; int unitList[MAX_NUM_OF_CLASSES] ;These should be reported locally and they are basically nearby variables.4. There ought to be no general factors. If nobody truly minds one way or another, utilization just region components and cutoff points instead5. You should depict and use something like 6 cutoff points including head() in your program and you should encourage the best method for passing shows to the functions6. Scanf and printf are not permitted (Please use C++ cin and cout and C++ formatting)7. Considerate affiliation blame for just 2 decimal spots after the period. The quick overview of classes should be aligned.8. There is no goof checking expected in this program9. Precisely when look for name and units, accepting nobody minds one way or another, show "Search matched no class." when search found no result.and you should screen the confirmed number of dynamic classes unreservedly in its own whole number variable. Delineation of expected output:E:\>searchClassesPlease enter a solicitation: menuInvalid demand. If nobody truly minds one way or the other, enter "help" for the outline of huge commands.Please enter a solicitation: helpList of open commands:enroll - to seek after a classdetail - to list the determination in detailssearch - to look for a word in the class listunits>= - to look for classes with units more obvious and equalhelp - to show once-over of veritable commandsexit - to leave the programPlease enter a solicitation: enrollPlease enter the class name: Introduction to C++Please enter how much units for this class: 4You are enrolled.Please enter a solicitation: The CEO is contemplating the financial impact of cutoff points. She mentioned an inquiry showing the delegate name, number of solicitations they have taken, and the full scale discount total they have given clients. She wants to check whether there is an association between's the markdown offered and the amount of arrangements.
a.uery using Query Design and add the Orders, Order Details, Products, and Customers tables. Add the fields OrderID and OrderDate from the Orders table. Set the two fields' Total segment to Group By. b.Add a decided field in the third fragment. Name the field ExtendedAmount. This field should expand the sum mentioned (from the Order Details table) by the unit cost for that thing (from the Products table). This will find out the total aggregate for each solicitation. Plan the decided field as Currency and change the caption to Total Dollars. Change the Total line to Sum. c.Add a decided field in the fourth segment. Name the field DiscountAmount. The field should build the sum mentioned, the unit cost for that thing, and the markdown field (from the Customers table). This will register the hard and fast discount for each solicitation. Plan the decided field as Currency and add a caption of Discount Amt. Change the Total line to Sum. d.Run the request. Check the results out. Most clients should have a discount of 10% of the hard and fast dollars, yet a couple of clients will have no markdown. Save the inquiry as Order Summary. Return to Design view.Tackle issue, plan and execute utilizing C++Learn how to utilize key C++ develops and control C++ arraysHandle various types of information blunders Description:command-driven program named "searchClasses" that will look for courses utilizing orders enrolldetailsearchunits>=helpexit-"select" solicitation will examine in the class name and how much units-"detail" solicitation will print out the concise understudy determination data: name, id, by and large number of classes, rigid number of units and the absolute expense considering $31.00 per unit and the authentic synopsis of classes-"search" solicitation will print out the quick overview of courses that contains the pursuit keyword-"units>=" solicitation will print out the outline of courses that have more fundamental or equivalent the given pursue units-"help" solicitation will print out the quick overview of certifiable commands-"leave" solicitation will leave the program Requirements:1. The program should convey a near expected yield as provided.2. Since this program is utilizing gatherings, you can express these constants globallyconst int MAX_NUM_OF_CLASSES = 5 ;const twofold FEE_PER_UNIT = 31.0 ;3. This endeavor is about gathering and you should incorporate presentation of string for class names and show of numbers for class units. int numOfClasses = 0 ; string classList[MAX_NUM_OF_CLASSES] ; int unitList[MAX_NUM_OF_CLASSES] ;These should be reported locally and they are basically nearby variables.4. There ought to be no general factors. If nobody truly minds one way or another, utilization just region components and cutoff points instead5. You should depict and use something like 6 cutoff points including head() in your program and you should encourage the best method for passing shows to the functions6. Scanf and printf are not permitted (Please use C++ cin and cout and C++ formatting)7. Considerate affiliation blame for just 2 decimal spots after the period. The quick overview of classes should be aligned.8. There is no goof checking expected in this program9. Precisely when look for name and units, accepting nobody minds one way or another, show "Search matched no class." when search found no result.and you should screen the confirmed number of dynamic classes unreservedly in its own whole number variable. Delineation of expected output:E:\>searchClassesPlease enter a solicitation: menuInvalid demand. If nobody truly minds one way or the other, enter "help" for the outline of huge commands.Please enter a solicitation: helpList of open commands:enroll - to seek after a classdetail - to list the determination in detailssearch - to look for a word in the class listunits>= - to look for classes with units more obvious and equalhelp - to show once-over of veritable commandsexit - to leave the programPlease enter a solicitation: enrollPlease enter the class name
hq1 = self.addHost( 'hq1', ip='10.0.0.1', mac='00:00:00:00:00:1e', **hconfig) hq2 = self.addHost( 'hq2', ip='10.0.0.2', mac='00:00:00:00:01:1e', **hconfig) hq3 = self.addHost( 'hq3', ip='10.0.0.60', mac='00:00:00:00:02:1e', **hconfig) hq4 = self.addHost( 'hq4', ip='10.0.0.63', mac='00:00:00:00:03:1e', **hconfig) hq5 = self.addHost( 'hq5', ip='10.0.0.220', mac='00:00:00:00:04:1e', **hconfig)
us1 = self.addHost( 'us1', ip='10.0.1.1', mac='00:00:00:01:00:1e', **hconfig) us2 = self.addHost( 'us2', ip='10.0.1.2', mac='00:00:00:02:01:1e', **hconfig) us3 = self.addHost( 'us3', ip='10.0.1.33', mac='00:00:00:03:02:1e', **hconfig) us4 = self.addHost( 'us4', ip='10.0.1.34', mac='00:00:00:04:03:1e', **hconfig) us5 = self.addHost( 'us5', ip='10.0.1.125', mac='00:00:00:05:04:1e', **hconfig)
in1 = self.addHost( 'in1', ip='10.0.20.1', mac='00:00:00:06:00:1e', **hconfig) in2 = self.addHost( 'in2', ip='10.0.20.2', mac='00:00:00:07:01:1e', **hconfig) in3 = self.addHost( 'in3', ip='10.0.20.3', mac='00:00:00:08:02:1e', **hconfig) in4 = self.addHost( 'in4', ip='10.0.20.126', mac='00:00:00:09:03:1e', **hconfig) in5 = self.addHost( 'in5', ip='10.0.20.125', mac='00:00:00:0a:04:1e', **hconfig)
cn1 = self.addHost( 'cn1', ip='10.0.30.1', mac='00:00:00:0b:00:1e', **hconfig) cn2 = self.addHost( 'cn2', ip='10.0.30.2', mac='00:00:00:0c:01:1e', **hconfig) cn3 = self.addHost( 'cn3', ip='10.0.30.3', mac='00:00:00:0d:02:1e', **hconfig) cn4 = self.addHost( 'cn4', ip='10.0.30.4', mac='00:00:00:0e:03:1e', **hconfig) cn5 = self.addHost( 'cn5', ip='10.0.30.5', mac='00:00:00:0f:04:1e', **hconfig)
uk1 = self.addHost( 'uk1', ip='10.0.40.1', mac='00:00:00:10:00:1e', **hconfig) uk2 = self.addHost( 'uk2', ip='10.0.40.128', mac='00:00:00:11:01:1e', **hconfig) uk3 = self.addHost( 'uk3', ip='10.0.40.129', mac='00:00:00:02:02:1e', **hconfig) uk4 = self.addHost( 'uk4', ip='10.0.40.130', mac='00:00:00:03:03:1e', **hconfig) uk5 = self.addHost( 'uk5', ip='10.0.40.131', mac='00:00:00:14:04:1e', **hconfig)
1,Block,- ,- ,10.0.0.1/32,10.0.1.0/24,6,- ,80,Block 10.0.0.1 host from getting to a web
server on the 10.0.1.0/24 organization
2,Allow,- ,- ,10.0.0.1/32,10.0.1.125/32,6,- ,80,Allow 10.0.0.1 host to get to a web server
on 10.0.1.125 abrogating past rule
Task 1: On the base camp organization, you have two dynamic DNS servers (involving both the standard UDP administration as well as the more current DNS-over-TLS standard). hq1 gives DNS administration to people in general (the world) and hq2 gives a confidential DNS administration that ought to be open just to the 5 corporate organizations (i.e., the US, China, India, UK,
furthermore, Headquarters organization). (DNS and DNS-over-TLS is limited to UDP Protocols 53 and 853)
Rule Objective: UDP 53/853 ought to work for any host on the planet to hq1. UDP 53/853 on have hq2 ought to simply be available to the US, CN, IN, UK, and HQ organizations.
Any remaining hosts ought not be ready to associate with the DNS Server UDP 53/853 on have hq2.
Task 2: On the base camp organization, the host hq3 goes about as a VPN server that interfaces with every one of different locales (has us3, uk3, in3, and cn3) utilizing the OpenVPN server (standard ports - both TCP and UDP Ports 1194). Make a bunch of firewall decides that will just permit the 4 offsite has (us3, uk3, in3, and cn3) admittance to the hq3 OpenVPN server. No different hosts on the planet ought to have the option to get to the OpenVPN server on hq3.
Rule Objective: Only has us3, uk3, in3, and cn3 ought to interface with TCP and UDP Port 1194 on have HQ3. No other host ought to have the option to associate with TCP and UDP 1194 on hq2 hq3. Note that no other potential VPN servers on different servers that might exist will be affected by this standard
Task 3: Allow the hosts on the Headquarters organization to be reachable by means of an ICMP ping from the world (counting from the us, uk, in, and cn networks). Nonetheless, the us, uk, in, and cn organizations ought not be reachable from the world (because of firewall execution limits, the hq organization would have the option to ping the us, uk, in, and cn network. Why? What changes could be made to the execution necessities to permit this?)
Rule Objective: All hosts can get a total ping demand/reaction to any HQ network PCs. Any hosts endeavoring to ping the US, UK, IN, and CN organizations shouldn't get a total ping demand/reaction from these hosts EXCEPT for the HQ organization. To fulfill the initial segment of this standard, the HQ network should have the option to ping the US, UK, IN, and CN organization.
Task 4: One of the fundamental courses for ransomware to enter a corporate organization is through a far off work area association with either an uncertain rendition of a server convention or by means of spilled or feeble certifications (utilizing either the Microsoft Remote Desktop convention or the Virtual Networking Computing (VNC) conventions as the distant work area server). For this errand, compose a bunch of decides that will hinder the web from interfacing with a distant work area server on the five corporate organizations. Permit the uk, us, in, and cn to associate with a far off work area server on the base camp
network. (Use TCP Port 3389 for Remote Desktop and TCP Port 5900 for VNC)
Rule Objective: Block any hosts beyond the HQ, US, UK, IN, and CN from associating with any hosts on the HQ, US, UK, IN, and CN network on TCP ports 3389 and 5900). PCs on the HQ, US, UK, IN, and CN organizations can get to TCP port 3389 and 5900 on the HQ, US, UK, IN, and CN organizations.
Task 5: The servers situated on has us3 and us4 run a miniature webservice on TCP Port 8510 that processes monetary data. Admittance to this help ought to be hindered from has uk2, uk3, uk4, uk5, in4, in5, us5, and hq5. (Here's a clue: Note the IP Addresses for these hosts and you might utilize the littlest subnet cover that handles the recorded hosts utilizing CIDR documentation).
Rule Objective: This standard is intended to test utilizing different CIDR documentations to section has together. In any case, the standard is to be deciphered as composed. You don't have to utilize CIDR documentation to consolidate has, yet it will bring about numerous extra standards.
Task 6: Block the entrance of the GRE IP Protocol into the HQ Network. GRE is an exemplification convention fundamentally utilized in PPTP-based VPN associations. You just have to impede the IP convention and no ports related to PPTP-based VPN associations. Try not to impede TCP 1723 (PPTP port).
Rule Objective: Block any host from associating with any hosts utilizing the GRE IP Protocol on the HQ organization At the point when a similar technique is called with an item, the result can shift contingent upon the sort of item at runtime. An OOP object consolidates information and the techniques work on that information into a solitary element. Classes in OOP are often based after existing classes, permitting new items to acquire properties from existing articles. A few classes in OOP can't be broadened, so they have no kid classes. 5 focuses for Question 33 Both connection point and class legacy in object-arranged programming bunch object credits and ways of behaving that can be shared by different items. If it's not too much trouble, make sense of how they vary and why you incline toward one over the other. Table 12pt Paragraph Edit View Insert Format Tools O words BI VA 2 T2v p 11 The letter U D 5 focuses for Question 34 You were entrusted with making a data framework for vehicles, vehicles, bikes, wheels, and motors. If it's not too much trouble, make sense of how class organization ought to be utilized in this framework to accomplish code reuse in light of your common sense of the connection between these genuine articles and OOP plan standards. Table 12pt Paragraph | BIUA TU: p O words | Edit View Insert Format Tools Question 35 (2 focuses) Given the accompanying JSON record: "firstName": "John"; "lastName": "Smith", "age": 25, "address": "21 second Street", "city": "New York" "state": "New York"; "postal district": "10021" 1. "phone number": [("type": "home"]. "telephone": "212 555-1234" 3. "type":"fax", "telephone number": "646 555-4567" 3]] The JavaScript variable client alludes to the previously mentioned JSON object. Which of the accompanying JavaScript codes is right for recovering a client's home telephone number? "telephone number," client (O) . ["phone number")[0] home client .customer.phone.number".home.number Past request
Is the cut the longest kind of film? 35. Most chiefs and makers are artistically gifted and can deftly haggle with the arranger how music ought to be utilized in their movies. A certifiable B misleading 36. It has no effect who you know around here, no matter what your end and limit. A. Solid B. Giggling 37. The "restrain person" is the essential music copyist at an it. A gathering to score focuses. Affirmed Sham B. 38. Alex North's score for what film was cleared? The Exorcist A. Unit B. C. Unfortunate vision A Space Odyssey, 2001 Rapa Nui E. 39. Workshop 3 part 1 Module: N/A Author: Mohammad Shamas Filename: main.cpp Version 1.0
-------------------------------------------------------*/ #include
il======================================List of classes:Class: Introduction to C++ Units: 4Total classes: 1 // Test 1 cout << "----------------------------------------" << endl; cout << "1. Testing the display function and constructors." << endl; cout << "----------------------------------------" << endl; displayDetails(herolist, 5); cout << "----------------------------------------" << endl << endl; // Test 2 cout << "----------------------------------------" << endl; cout << "1. Testing the += operator" << endl; cout << "----------------------------------------" << endl; Power testing1 = { "Phasing through objects", 10 }; herolist[1] += testing1; cout << herolist[1] << endl; herolist[2] += testing1; cout << herolist[2] << endl; cout << "----------------------------------------" << endl << endl; // Test 3 cout << "----------------------------------------" << endl; cout << "3. Testing the -= operator" << endl; cout << "----------------------------------------" << endl; herolist[1] -= 10; cout << herolist[1] << endl; cout << "----------------------------------------" << endl << endl; // Test 4 cout << "----------------------------------------" << endl; cout << "4. Testing the >> and << operators" << endl; cout << "----------------------------------------" << endl; Power testing2 = { "Regeneration", 5 }; testing2 >> herolist[4]; cout << herolist[4] << endl; herolist[0] << testing2; cout << herolist[0] << endl; cout << "----------------------------------------" << endl << endl; // Test 5 cout << "----------------------------------------" << endl; cout << "5. Testing the < and > operators" << endl; cout << "----------------------------------------" << endl; cout << ((herolist[0] > herolist[2]) ? "Superman is stronger than Martian-Man-Hunter" : "Double check your < operator"); cout << endl; cout << ((herolist[4] < herolist[3]) ? "Green-Lantern is weaker than Aquaman" : "Double check your < operator"); cout << endl; cout << "----------------------------------------" << endl << endl;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started