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

Answer 1

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;


Related Questions

which of the following would be an agent under the terms of the uniform securities act? a sales representative of a licensed broker-dealer who sells s

Answers

The agent under the terms of the uniform securities act is I and II.

What is agent?

Agent under the terms of the uniform securities act in sections 36b-2 to 36b-34 is "any individual, other than a broker-dealer, who represents a broker-dealer or issuer in effecting or attempting to effect purchases or sales of securities."

For the first statement, a sales that representative of a broker-dealer is a agent in terms of uniform securities act.

For the second statement, a assistant to the president of a broker-dealer is a administrative person if he/she take order individually from a public is considered as an agent, because he/she considered not part of broker-dealer.

For the third statement, is not agent because is registered as broker-dealer.

For the fourth statement, is not agent because is registered as issuer.

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

Which of the following would be an agent under the terms of the Uniform Securities Act?

I. A sales representative of a licensed broker-dealer who sells secondary securities to the general public

II. An assistant to the president of a broker-dealer who, for administrative purposes, accepts orders on behalf of senior partners

III. A subsidiary of a major commercial bank registered as a broker-dealer that sells securities to the public

IV. An issuer of nonexempt securities that are registered in the state and sold to the general public

Learn more about broker-dealer here:

brainly.com/question/28168486

#SPJ4

We are trying to turn a program prog owned by the seed user into a Set-UID program that is owned by root. Can running the following commands achieve the goal?
$ sudo chmod 4755 prog
$ sudo chown root prog
No. Upon chown, or even file copy, the Set-UID bit is reset. So running chmod 4755 should always be the last step in the set up.

Answers

No. The Set-UID bit is reset during chown or even file copy. The final step in the setup process should therefore always be running chmod 4755.

Files that have executable permissions contain the set user id bit (setuid). The Set-UID bit only indicates that the executable will set its permissions to the owner's rather than the user who launched it when it is executed. Setuid is a Linux file permission setting that enables a user to run a file or application with the owner's consent. This is mostly used to increase the current user's privileges.

Using the command chmod 4755, for instance, would grant the owner read, write, and execute permissions, the user and group read and execute permissions, and set the setuid bit.

Learn more about Set-UID bit here:

https://brainly.com/question/21602291

#SPJ4

erp is beneficial because it transforms transactional data into information that can be used to support decision making.

Answers

ERP is beneficial because it transforms transactional data into information that can be used to support decision making. [TRUE]

What is ERP

ERP (Enterprise Resource Planning) is an information system model that enables organizations to automate and integrate their main business processes. ERP breaks the deadlock of various traditional functional barriers within the organization by facilitating sharing/various data, multiple information flows, and introducing/channeling common business practices among all users in the organization.

ERP system implementation can be a massive undertaking that can take up to several years. Due to the complexity and size of ERP systems, only a minority of organizations are willing or able to deploy multiple physical and financial resources and take the risk of developing an ERP system in-house. Therefore, basically all ERP systems are commercial products. Products that are considered and recognized as leaders in the market are SAP, Oracle, Baan, J.D. Edwards & Co., and PeopleSoft Inc.

ERP packages are sold to various client organizations in the form of modules that support standard processes.

Some common ERP modules include:

Asset Management Financial Accounting (Fico or finance) Human Resources (HR) Industry-Specific Solutions Plant Maintenance Production Planning Quality Management Sales and Distribution Inventory Management

Learn more about ERP at https://brainly.com/question/13945630.

#SPJ4

write a flowchart to find the sum of the digits of a 3 digit number

Answers

The ways to write a flowchart to find the sum of the digits of a 3 digit number is given below

Start

Input: number (a 3-digit integer)

Set sum = 0

Divide number by 100 and assign the result to hundreds

Set number = number modulo 100

Divide number by 10 and assign the result to tens

Set number = number modulo 10

Set ones = number

Set sum = sum + hundreds + tens + ones

Output: sum

End

What is the steps about?

The above flowchart is one that uses the following steps:

Start: This marks the beginning of the flowchart.Input: The user inputs a 3-digit number.Set sum = 0: This initializes the variable "sum" to 0.Divide number by 100 and assign the result to hundreds: This step separates the hundreds place of the number.Set number = number modulo 100: This step sets "number" to the remainder of "number" divided by 100, which leaves only the tens and ones places.Divide number by 10 and assign the result to tens: This step separates the tens place of the number.Set number = number modulo 10: This step sets "number" to the remainder of "number" divided by 10, which leaves only the ones place.Set ones = number: This step sets the variable "ones" equal to the value of "number," which is the ones place of the original number.Set sum = sum + hundreds + tens + ones: This step adds the hundreds, tens, and ones places to find the sum of the digits.Output: The value of "sum" is output to the user.

Lastly, End: This marks the end of the flowchart.

Learn more about flowchart from

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

A network uses an SDN architecture with switches and a centralized controller. Which of the following terms describes a function or functions expected to be found on the switches but not on the controller?
A. A Northbound Interface
B. A Southbound Interface
C. Data plane functions
D. Control plane functions

Answers

A network uses an SDN architecture with switches and a centralized controller is Data plane functions.

What is functions of data plan?A data plan is an agreement between a mobile carrier and a customer that details how much mobile data the user can access, typically each month for a set charge. The part of a network's hardware where user traffic flows is called the data plane. The terms "data plane" and "forwarding plane" are interchangeable. The phrase "forwarding plane" is useful since it expresses clearly how user traffic is forwarded from a switching device to the subsequent hop. The data plane is the actual process of forwarding data, whereas the control plane is the component of a network that regulates how data is forwarded.The importance of a data strategy is that it shows funding organizations how your (data) collecting and analysis techniques will allow you to respond to your research topic. The sorts of data gathering and analysis methods required to complete your project can be ascertained with the use of a data plan.

To learn more about data plan refer to:

https://brainly.com/question/27034337

#SPJ4

If method A calls method B, and method B calls method C, and method C calls method D, when method D finishes, what happens?

Answers

Control is transferred to method C, which occurs A method can accept constants, variables, and the results of expressions as arguments.

when a method receives an object as an argument?

This is actually passed when an object is supplied as a parameter to a method. This is the name of a reference variable that identifies the object calling the method and is always accessible to instance methods.

What distinguishes a local variable from a global variable?

Local variables are created at the beginning of the function's execution and are destroyed at the end. On the other hand, global variables are created as the program is being executed and are destroyed when the program is finished.

To know more about method visit:-

https://brainly.com/question/14560322

#SPJ4

The disadvantage from using this device results from the fact that any incoming signal on any of its ports is re-created and sent out on any connected ports which has a negative impact on network performance.
Hub

Answers

Hub has a detrimental effect on the functioning of the network Any incoming signal on any of its ports is recreated and sent out on any associated ports, which is a drawback of utilising this device.

In a local area network, a hub is a layer one (physical) device that connects different network components like switches and routers (LAN). It has several ports that are used to link different local area network segments (LAN). Because frames are replicated to every other port on the network when they are received at a hub's port, hubs are typically thought of as being.

Due to the fact that each incoming signal on any of a hub's ports is recreated and sent out on any associated ports, employing a hub has a detrimental effect on network performance.

Learn more about Network here:

https://brainly.com/question/17272513

#SPJ4

how to decode visual information, including maps, illustrations, diagrams, sidebars, graphic organizers, and infographics

Answers

The core of our visual perception system is located in the occipital lobes decodes the visual information.

Processing of visual-spatial information, movement discrimination, and color discrimination all take place in the occipital lobe's peristriate region.

What is Occipital lobe?

The majority of the physical region of the visual cortex is located in the occipital lobe, which serves as the mammalian brain's visual processing center.

One of the four main lobes of the cerebral cortex of the mammalian brain is the occipital lobe.

Named for its location toward the back of the head, it comes from the Latin words ob, meaning "behind," and caput, meaning "head."

Of the four paired lobes in the human brain, the two occipital lobes are the tiniest. The posterior cerebrum includes the occipital lobes, which are situated in the back of the skull.

The occipital bone lies over the occipital lobes, and the names of the brain lobes are derived from the covering bone.

To know more about Graphics, visit: https://brainly.com/question/18068928

#SPJ4

Assign numMatches with the number of elements in userValues that equal matchValue. userValues has NUM_VALS elements. Ex: If userValues is {2, 1, 2, 2} and matchValue is 2 , then numMatches should be 3.

Your code will be tested with the following values:
matchValue: 2, userValues: {2, 1, 2, 2} (as in the example program above)
matchValue: 0, userValues: {0, 0, 0, 0}
matchValue: 10, userValues: {20, 50, 70, 100}

Answers

The numMatches with the number of elements in userValues that equal matchValue is explained in the explanation part.

What is programing?

Making a set of instructions that instruct a computer how to carry out a task is the process of programming. Computer programming languages like JavaScript, Python, and C++ can all be used for programming.

The program for the given scenario is:

import java.util.Scanner;

public class FindMatchValue {

  public static void main (String [] args) {

     Scanner scnr = new Scanner(System.in);

     final int NUM_VALS = 4;

     int[] userValues = new int[NUM_VALS];

     int i;

     int matchValue;

     int numMatches = -99;

     matchValue = scnr.nextInt();

     for (i = 0; i < userValues.length; ++i) {

        userValues[i] = scnr.nextInt();

     }

         numMatches = 0;

     for (i = 0; i < NUM_VALS; ++i) {

        if(userValues[i] == matchValue) {

                       numMatches++;

               }

     }

     System.out.println("matchValue: " + matchValue + ", numMatches: " + numMatches);

  }

}

Thus, this is the coding for the given situation.

For more details regarding programing, visit:

https://brainly.com/question/11023419

#SPJ1

How do I make Karel slide

Answers

Answer:

1.3.4 Slide Karel

putBall();

move();

turnRight();

move();

putBall();

turnLeft();

move();

turnRight();

move();

putBall();

turnLeft();

function turnRight() {

   turnLeft();

   turnLeft();

   turnLeft();

}

Explanation:

you are the network administrator for stormwind studios. your network corttaind an active directory domair. the domain contains 300 computers that run

Answers

The method should be use for automatically register all the existing computers to the Azure AD network and enroll all of the computers in Intune is use a Windows Autopilot deployment profile.

What is Windows Autopilot deployment profile?

Windows Autopilot deployment profile is a feature in Windows operating system that can be used to automatically configure devices up to 350 profiles tenant. It feature will save each device configuration.

Windows Autopilot deployment profile also can be used to enroll device to Microsoft Intune and Azure AD network if previously the network administrator has been create profile for each device in Windows Autopilot deployment profile.

You question is incomplete, but most probably your full question was (image attached)

Learn more about Azure AD network here:

brainly.com/question/29315329

#SPJ4

a user reports that she can't access the internet. you investigate the problem and find that she can access all hosts on the private network, including subnets, but no hosts on the internet.

Answers

The issue is probably caused by a missing default route on a router.

Which configuration parameter would need to be changed the most frequently?

Verify your computer's default gateway settings. For forwarding packets to other subnets, utilize the default gateway setting. The packets won't go to the right router if the value is wrong.

What factors are considered when choosing the optimal route when there are several options for getting somewhere?

Through the use of algorithms, dynamic routing calculates a variety of potential routes and chooses the most efficient path for traffic to follow throughout the network. The distance vector protocols and link state protocols are two different sorts of sophisticated algorithms that are used.

To know more about internet  visit:-

https://brainly.com/question/12996796

#SPJ4

What happens to an open destination file if the source file is edited while both are open?
a) Antivirus software blocks the changes.
b) The source file receives an error.
c) The destination asks if you would like to accept updates to the source file.
d) The destination file updatesd) The destination file updates

Answers

The source file is edited while both are open - The destination file update.

What is source file?
A source file is a file containing source code that is used to create an executable program. It is the human-readable text of a computer program that is written using a programming language, such as C++, Java, or Python. Source files are the fundamental building blocks of computer programs. They contain all the instructions necessary to turn a program into a working application. The code in a source file is written in a language that is understood by a compiler, which is a program that translates the code into a language that can be understood by a computer. Once a program has been compiled, it can be executed on a computer.

To learn more about source file
https://brainly.com/question/14928584
#SPJ4

which it job designs parts of applications that complies with the head application developers design principles? cis 105

Answers

Applications architect is the IT job that deals with designing parts of applications that complies with the head application developer's design principles.

Application architects administer the design and development of software applications. They collaborate with internal stakeholders and application development teams on application design, implement and monitor the development stages of the application, as well as document processes of application development.

Therefore, it is concluded that application architect professionals design parts of applications, such as screen interfaces, programming infrastructure, and middleware, that comply with the head applications developer's design principles and fall into line with their Software Development Life Cycle.

You can learn more about applications architect at

https://brainly.com/question/13183882

#SPJ4

you need to send several large files containing proprietary data to a business partner. which of the following is the best choice for this task?

Answers

To deliver multiple sizable files containing confidential information to a business partner, SFTP (Secure File Transfer Protocol) is required. SFTP, or SSH File Transfer Protocol, is a protocol.

It allows for safe file transfers between networked hosts. It is frequently used by businesses and people to enable secure file access, file transfers, and file management over a secure shell data stream. A protocol called SSH File Transfer Protocol (SFTP) is used to provide secure file transfers between networked hosts. It is frequently used by businesses and people to enable secure file access, file transfers, and file management over a secure shell data stream. A VPN is a safe encrypted tunnel for data, whereas SFTP is a protocol.

Learn more about Transfer Protocol here

https://brainly.com/question/23091934

#SPJ4

The complete question is -

you need to send several large files containing proprietary data to a business partner. which of the following is the best choice for this task?

A. FTP B. SNMP C. SFTP D. SSH

here is a description of variables used in a gas station class. customer - represents the name of the person buying gas vehicle - represents the type of vehicle of the person buying gas gasprice - represents the cost per gallon of gas on one specific day customerbill - represents the total amount of money owed by person buying gas based on these descriptions, which of the following variables would be static?

Answers

The variable that would be static is D. gas price.

What is a static variable?

A static variable is one that has been "statically" allocated in computer programming, which means that its lifetime (or "extent") is the entire execution of the program. This contrasts with objects, whose storage is dynamically allocated and deallocated in heap memory, and with shorter-lived automatic variables, whose storage is stack allocated and deallocated on the call stack.

In contrast to information that varies from instance to instance, static variables are used to store data that logically relates to an entire class.

In this case, the variable that would be static is the gas price. Therefore, the correct option is D.

Learn more about variables on:

https://brainly.com/question/25223322

#SPJ1

Complete question

here is a description of variables used in a gas station class. customer - represents the name of the person buying gas vehicle - represents the type of vehicle of the person buying gas gasprice - represents the cost per gallon of gas on one specific day customerbill - represents the total amount of money owed by person buying gas based on these descriptions, which of the following variables would be static?

customer

customer bill

vehicle

gas price.

Consider the following scenario. You have many friends, each of whom has several phone numbers (home, work, cell, and perhaps others). You want to create a phone book program that stores all of this data. Which of the following data structures would be best suited to this task? a. a list of strings b. a set of integers c. a list of lists d. a dictionary of lists

Answers

The following data structure would be best suited to this task

d. a dictionary of lists

What is data structure?

A data structure in computer science is a format for managing, organizing, and storing data that is typically selected for fast access to data. A data structure, or algebraic structure about data, is more specifically a collection of data values, the relationships among them, and the functions or operations that can be applied to the data.

Abstract data types are based on data structures (ADT). The logical form of the data type is specified by the ADT. The physical representation of the data type is implemented by the data structure.

Different types of data structures are appropriate for various applications, and some are highly specialized for particular tasks.

Learn more about data structures

https://brainly.com/question/24268720

#SPJ4

consists of related technologies that try to simulate and reproduce human thought behavior, including thinking, speaking, feeling, and reasoning. AI technologies apply computers to areas that reuire knowledge, perception, reasoning, understanding, and cognitive abilities.

Answers

True, Artificial intelligence (AI) refers to a group of related technologies that aim to emulate and replicate human thought processes, such as reasoning, speaking, emotion, and thinking.

In contrast to the intelligence exhibited by humans and animals, artificial intelligence (AI) refers to the perception, synthesis, and inference of information made by computers. Speech recognition, computer vision, interlanguage translation, and various mappings of inputs are a few examples of activities where this is done. Artificial intelligence is defined as "the theory and development of computer systems able to perform tasks that typically require human intelligence, such as visual perception, speech recognition, decision-making, and language translation," according to the Oxford English Dictionary published by Oxford University Press.

The AI effect is a phenomena where actions once thought to require "intelligence" are frequently taken out of the definition of AI as machines grow more and more capable. For instance, despite being a commonplace technique, optical character recognition is typically left out of the list of items that are regarded to be AI.

Learn more about Artificial intelligence here

https://brainly.com/question/25523571

#SPJ4

FILL IN THE BLANK. __ ___ memory is a small, high-speed, high-cost memory that serves as a buffer for frequently accessed data.

Answers

Cache memory, is a tiny, expensive, high-speed memory that acts as a buffer for data that is frequently accessed.

What is Cache memory?
Cache memory
is a type of high-speed memory that is located on the CPU and can be accessed more quickly than regular memory. It is a type of static random-access memory that stores recently used data and instructions so that they can be quickly accessed by the processor. Cache memory is used to improve system performance by reducing the amount of time required to access data from the main memory. It stores frequently used instructions and data that are needed by the processor, which reduces the amount of time spent accessing the main memory. Cache memory helps the processor to access data quickly, which improves system performance. It also reduces the number of times the processor needs to access the slower main memory. Cache memory is also known as CPU cache, and it is an important part of the computer's memory hierarchy.

To learn more about Cache memory
https://brainly.com/question/12975846
#SPJ4

Chapter 9 : Photoshop

Use settings in item 4 change the zoom level in preview window

a. True
b. Falso

Answers

Use settings in item 4 change the zoom level in preview window is a true statement.

What is zoom Level?

Choose to magnify the entire screen (Full Screen), a specific portion of the screen (Split Screen), or simply the region where the pointer is when you use a keyboard shortcut, trackpad motion, or scroll gesture with a modifier key (Picture-in-Picture).

When using full-screen zoom, you can enlarge the image on a second display if one is available (sometimes called Zoom Display). Select a display by clicking Choose Display.

Click Size and Location to resize and relocate the zoom area or window while utilizing the Split Screen or Picture-in-Picture zoom styles.

Therefore, Use settings in item 4 change the zoom level in preview window is a true statement.

To learn more about Zoom, refer to the link:

https://brainly.com/question/30034927

#SPJ1

now, suppose that we have observations with . recall . compute the maximum likelihood estimate (mle). (enter numerical answers accurate up to at least 3 decimal places.)

Answers

Maximum likelihood estimation (MLE) is a statistical technique for estimating the parameters of a probability distribution that has been assumed given some observed data. This is accomplished by maximizing a likelihood function to make the observed data as probable as possible given the assumed statistical model.

Why is estimate using maximum likelihood used?

Finding the set of parameters (theta) that maximize the likelihood function, or produce the highest likelihood value, is the goal of maximum likelihood estimation. The conditional probability determined by the likelihood function can be broken down.

What characteristics distinguish the maximum likelihood estimator?

The maximum likelihood estimator is reliable, effective, and normally distributed for large samples. It satisfies an invariance property in small samples, is a function of sufficient statistics, and in some cases—but not always—is objective and distinct.

To know more about Parallel speedup visit;

https://brainly.com/question/28964634

#SPJ4

set the sort order so the reuslts will display records with the highest number of credits first. run the query and review the results

Answers

The way to set the sort order so the results will display records with the highest number of credits first. When you run the query and review the results are:

After expanding the list of sort options by clicking the Credits field's sort row, you chose the Ascending option. You pressed the View button arrow on the Home Ribbon Tab of the Views Ribbon Group. You choose the Datasheet View menu option from the View menu.

What is the main goal of a database query?

In a database, queries can execute a wide range of operations. Retrieving specific data from the tables is their most frequent use. Most of the time, the data you want to examine is dispersed across numerous tables, but queries let you view it all in a single datasheet.

Therefore one can say that the database management system (DBMS), the computer program that manages data, responds to information requests by way of queries. Users have the option to run a query to add or remove data from a database or to obtain data from it.

Learn more about query from

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

data collection takes place in which of the following activities? multiple choice processing. input. review. output.

Answers

Data collection takes place in Processing process.

Data collection

Data collection is the process of compiling precise data from numerous sources and evaluating it to identify trends, possibilities, and solutions to research problems, as well as to assess potential consequences.

The researchers must specify the data sources, data types, and methodologies used during data gathering. We'll quickly find that there are numerous approaches of gathering data. Data collecting is heavily utilised in the domains of study, business, and government.

As we'll discover later, the idea of data collection is nothing new, but times have changed. Today, there is a lot more data available in formats that were unheard of a century ago. The process of gathering data had to evolve and develop to stay up with modern technology.

To know more about Data collection, Check out:

https://brainly.com/question/29457263

#SPJ4

Write a GUI program that converts Celsius temperatures to Fahrenheit temperatures. The user should be able to enter a Celsius temperature, click a button, then see the equivalent Fahrenheit temperature. Use the following formula to make the conversion:F= (9/5)C+32F is the Fahrenheit temperature, and C is the Celsius temperature.

Answers

To write a GUI program that converts Celsius temperatures to Fahrenheit temperatures, check the given code below.

What is GUI program?

An interactive visual component system for computer software is known as a GUI (graphical user interface). A GUI shows objects that represent the user's actionable options and convey information. In response to user interaction, the objects alter in size, color, or visibility.

Alan Kay, Douglas Engelbart, and a team of other researchers created the GUI for the first time at Xerox PARC in 1981. On January 19, 1983, Apple later released the Lisa computer with a GUI.

↓↓//CODE//↓↓

#importing tkinter to use GUI

from tkinter import *

#function to covert Celsius to Fahrenheit

def toFahrenheit():

#calculating Fahrenheit

res=(9/5)*float(e1.get())+32

#setting the result to the string myText

myText.set(res)

#function to covert Celsius to Fahrenheit

def toCelsius():

#calculating Celsius

res=(float(e2.get())-32)*(5/9)

#setting the result to the string myText

myText.set(res)

#inotializing window

root = Tk()

#creating a string variable to store the result

myText=StringVar();

#creating the first frame

firstframe = Frame(root)

firstframe.pack()

#creating the second frame

secondframe = Frame(root)

secondframe.pack( side = BOTTOM )

#creating 3 labels and placing them in the first frame

#Celsius label in row 0

Label(firstframe, text='Celsius').grid(row=0)

#Fahrenheit label in row 1

Label(firstframe, text='Fahrenheit').grid(row=1)

#Result label in row 2

Label(firstframe, text='Result:').grid(row=2)

#creating 2 text box to get celsius and fahrenheit from the user

e1 = Entry(firstframe)

e2 = Entry(firstframe)

#e1 adjacent to label Celsius, so row 0 column 1

e1.grid(row=0, column=1)

#e2 adjacent to label Farhenheit, so row 1 column 1

e2.grid(row=1, column=1)

#creating a label to diplay the resut. Here the textvariable attribute gets the string from variable 'myText' and displays here

#answer label adjacent to label Result , so row 2 column 1

Label(firstframe,text="",textvariable=myText).grid(row=2,column=1)

#creating a Celsius to Fahrenheit button. When the button is clicked toFahrenheit function is called.

#command attribute is for on click event.

ctofbutton = Button(secondframe, text ='Celsius to Fahrenheit', command=toFahrenheit)

ctofbutton.pack()

#creating a Celsius to Fahrenheit button. When the button is clicked toCelsius function is called.

ftocbutton = Button(secondframe, text ='Fahrenheit to Celcius', command=toCelsius)

ftocbutton.pack()

#creating a Celsius to Exit button. root. destroy will exit the window

exitbutton = Button(secondframe, text ='Exit', fg ='red', command=root. destroy)

exitbutton.pack()

root.mainloop()

Learn more about GUI

https://brainly.com/question/22811693

#SPJ4

Which of the following wireless communication technologies can be described as follows
1. Has a very limited transmission range, of less than two inches
2. Used with credit cards and passports
3. Slower than other wireless technologies
4. Constantly emitting a signal
NFC

Answers

Wireless communication technologies can be described as NFC. NFC stands for Near-Field Communication.

What is Near-Field Communication?

Near-Field Communication (NFC) is a short-range wireless technology that enhances the intelligence of your smartphone, tablet, wearables, payment cards, and other gadgets. The pinnacle of connection is near-field communications.

Whether paying bills, swapping business cards, downloading coupons, or sharing a research paper, NFC allows you to communicate information between devices swiftly and simply with a single touch.

Through the use of electromagnetic radio signals, two devices can communicate with one another through near-field communication. Due to the close proximity of the transactions, both devices must have NFC chips in order for the system to function. Data communication between NFC-enabled devices only happens when they are physically contacting or within a few centimeters of one another.

Know more about Near-Field Communication:

https://brainly.com/question/14326616

#SPJ4

Mary and Pablo share a customer support workstation. Mary works in the morning, and Pablo works in the evening. One day Mary is helping a customer with a support issue. Because her shift is over, she creates a Word document with details about the customer she is helping. She saves it to the C:\Customer folder on the computer. When Pablo comes in, he is unable to open the file.
Which of the following will MOST likely allow Pablo to open the file?

Answers

If you're using Windows 10 or 8.1, File Explorer, or Windows Explorer, if you're using Windows 7, is the easiest way to view the shared folders in Windows.

Click or press on the name of your Windows PC after opening it, expanding the Network area from the left side of the window. To view programs or navigate between them, choose the Task View icon from the taskbar or press Alt-Tab on your keyboard. Grab the top of an app window and move it to the side to use two or more apps at once. Then select a different app, and it will integrate seamlessly.

Learn more about network here-

https://brainly.com/question/13992507

#SPJ4

In the winter, municipal snowplows must plow both sides of city streets that are bidirectional
(two-way traffic) but they only make a single pass over unidirectional (one-way) streets. We can
represent city streets as the edges in a graph using nodes for intersections. Of course, it is a
requirement that every street be plowed appropriately (once in each direction for bidirectional
streets and only once in the proper direction for unidirectional streets). Write a program that
uses integers to represent nodes, and tuples (pairs of integers enclosed in parentheses, e.g., (4
7), to represent a street from node 4 to node 7, and a second tuple, (7 4) to represent the fact
that this is a bidirectional street). Assume that there is but a single snowplow and it must start
and return to node 1. Your program must read a collection of tuples from a file and then
produce driving instructions for the snowplow operator telling the sequence of intersections
(nodes) to visit so that all the streets are appropriately plowed. If it is impossible to perform a
correct plowing (some street would be left unplowed or some street would be plowed twice)
your program must report this fact. Your program should repeatedly read collections of tuples
and processes the information until an end-of-file is encountered. Your program will lose a
significant number of points if your algorithm fails to work properly for cities (graphs)
containing both bidirectional and unidirectional streets.
Your solution must include the data file that it uses for input. Remember NOT to use an
absolute path to access the data file – use a relative path. Be certain your data describes several
different city street situations so that your program can demonstrate that it meets all the
requirements.

Answers

Using the knowledge in computational language in python it is possible to write a code that represent city streets as the edges in a graph using nodes for intersections.

Writting the code:

#include <cv.hpp>

#include <opencv2/highgui/highgui.hpp>

#include "caliberate.h"

#include <iostream>

#include <ctime>

#include <cmath>

using namespace std;

using namespace cv;

VideoCapture capture; //The capture class captures video either from harddisk(.avi) or from camera

Mat frameImg;

Mat g_image;

double dist(Point2i x1, Point2i x2)

{

return sqrt( pow((x1.x-x2.x),2) + pow((x1.y-x2.y),2) );

}

int main()

{

string fileName = "traffic.avi";

capture.open(fileName);

if( !capture.isOpened() )

{

cerr<<"video opening error\n"; waitKey(0); system("pause");

}

Mat frameImg_origSize; //image taken from camera feed in original size

namedWindow( "out" , CV_WINDOW_AUTOSIZE); //window to show output

namedWindow( "trackbar", CV_WINDOW_AUTOSIZE); //Trackbars to change value of parameters

resizeWindow( "trackbar", 300, 600); //Resizing trackbar window for proper view of all the parameters

capture>>frameImg_origSize;

if( frameImg_origSize.empty() ) { cout<<"something wrong"; }

resize(frameImg_origSize, frameImg, SMALL_SIZE, 0, 0, CV_INTER_AREA); //Resize original frame into smaller frame for faster calculations

g_image = Mat(SMALL_SIZE, CV_8UC1); g_image.setTo(0); //Gray image of frameImg

Mat roadImage = Mat(SMALL_SIZE, CV_8UC3); //Image of the road (without vehicles)

roadImage = findRoadImage();

calibPolygon(); //Polygon caliberation: Select four points of polygon (ROI) clockwise and press enter

Mat binImage = Mat(SMALL_SIZE,CV_8UC1); //white pixel = cars, black pixel = other than cars

Mat finalImage = Mat(SMALL_SIZE, CV_8UC3); //final image to show output

time_t T = time(0); //Current time

float fps = 0, lastCount = 0; //frames per second

int thresh_r = 43, thresh_g = 43, thresh_b = 49; //Threshold parameters for Red, Green, Blue colors

createTrackbar( "Red Threshold", "trackbar", &thresh_r, 255, 0 ); //Threshold for Red color

createTrackbar( "Green Threshold", "trackbar", &thresh_g, 255, 0 ); //Threshold for Green color

createTrackbar( "Blue Threshold", "trackbar", &thresh_b, 255, 0 ); //Threshold for Blue color

int dilate1=1, erode1=2, dilate2=5; //Dilate and Erode parameters

Mat imgA = Mat(SMALL_SIZE, CV_8SC3); //Used for opticalFlow

int win_size = 20; //parameter for opticalFlow

int corner_count = MAX_CORNERS; //no of points tracked in opticalFlow

vector<Point2i> cornersA, cornersB;

frameImg.copyTo(imgA);

int arrowGap = 5; //distance between consecutive tracking points (opticalFlow)

createTrackbar("dilate 1","trackbar", &dilate1, 15, 0);

createTrackbar("erode 1","trackbar", &erode1, 15, 0);

createTrackbar("dilate 2","trackbar", &dilate2, 15, 0);

See more about python at brainly.com/question/18502436

#SPJ1

A developer is creating a script to automate the deployment process for a serverless application. The developer wants to use an existing AWS Serverless
Application Model (AWS SAM) template for the application.
What should the developer use for the project? (Choose two.)
A. Call aws cloudformation package to create the deployment package. Call aws cloudformation deploy to deploy the package afterward.
B. Call sam package to create the deployment package. Call sam deploy to deploy the package afterward.
C. Call aws s3 cp to upload the AWS SAM template to Amazon S3. Call aws lambda update-function-code to create the application.
D. Create a ZIP package locally and call aws serverlessrepo create-application to create the application.
E. Create a ZIP package and upload it to Amazon S3. Call aws cloudformation create-stack to create the application.

Answers

Call aws s3 cp to upload the AWS SAM template to Amazon S3. Call aws lambda update-function-code to create the application and  Create a ZIP package and upload it to Amazon S3. Call aws cloud formation create-stack to create the application.

AWS is designed to help application providers, ISVs, and vendors quickly and securely host their applications, whether they are existing applications or new SaaS-based applications. You can access the AWS application hosting platform using the AWS Management Console or well-documented web services APIs. Amazon Web Services (AWS) is the world's most comprehensive and widely used cloud platform, offering over 200 fully functional services from data centers around the world. If you enjoy working with technology and are passionate about expanding your knowledge, AWS is a great career. AWS provides opportunities to work on cutting-edge projects and develop in-demand skills. PRO TIP: AWS is a good career for those who are interested in working in the cloud computing industry.

To know more about AWS, visit:-

https://brainly.com/question/29708909

#SPJ4

use information systems for communicating policies and performance reports up and down the corporate ladder.

Answers

Top level managers use information systems for communicating policies and performance reports up and down the corporate ladder.

What are information systems?

A formal, sociotechnical, organizational structure called an information system is created to gather, process, store, and distribute information. Four elements make up information systems from a sociotechnical standpoint: task, people, structure, and technology In the field of information systems, issues affecting businesses, governments, and society are resolved through the efficient design, delivery, and use of information and communications technology. The four phases of planning, analysis, design and implementation must be completed by all information systems projects. Part of the system development life cycle is these stages (SDLC).

The following factors are listed by Avison and Fitzgerald (1995) as criteria for evaluating the quality of an information system: acceptability, availability, cohesiveness, compatibility, documentation, learning simplicity, economy, efficiency, development speed, flexibility, functionality, and implementation capability.

To learn more about information systems, use the link given
https://brainly.com/question/24944623
#SPJ4

brandon is assisting an internal employee with their mobile device. upon further diagnosing, brandon can see that the mobile device is currently not opening one of the company's applications. to further assist brandon will begin to do some troubleshooting. which of the following choices is not a form of troubleshooting?

Answers

A few examples of IoT goods are smart phones, smart refrigerators, smart watches, smart fire alarms, smart door locks, smart bicycles, medical sensors, fitness trackers, smart security systems, etc.

What kinds of things can you synchronize?

The coordination of activities to make a system work as a whole is known as synchronization. As an illustration, the conductor of an orchestra keeps the ensemble in time or synchronization. Systems are referred to as synchronous or in sync if all components work together in unison, and asynchronous if not.

When ought you to sync?

When sharing data between many invocations and there is a chance that the data may be changed, resulting in inconsistency, synchronization is typically required. You don't need to synchronize if the data is read-only. There is no shared data in the snippet of code above.

To know more about Synchronize visit;

https://brainly.com/question/27189278

#SPJ4

Other Questions
Jonah needs to determine the dimensions of a rectangular poster that will cover an area represented by7x + 3x - 10. Which of the following expressions is equivalent to the area of the rectangular poster?A (x+1)(7x-10)B (x-1)(-7x+10)C(x-1)(7x+10)D(x-7)(x+10)E(7x-1)(x+10) a mass of sunken lead is resting against the bottom in a glass of water. you take this lead, put it in a small boat of negligible mass, and float the boat in the water.A. The sunken lead displaces a volume of water equal to the lead's own volume.B. The floating lead displaces a volume of water equal to the lead's own volume.C. The sunken lead displaces a volume of water whose weight equals the lead's weight.D. The floating lead displaces a volume of water whose weight equals the lead's weight. a data display showing the number of children per household in the us is strongly skewed right. the mean number of children per household is 3. what is a possible value for the median? check all that apply. If the child had been brought into a foster home and given this chore to have a place to live, we might say this is a good example of aGroup of answer choicesToken EconomyPrimary ReinforcementSecondary ReinforcementReinforcement Contingency At the city museum, child admission is $5.20 and adult admission is $9.70. On Thursday, 142 tickets were sold for a total sales of $1107.40. How many child tickets were sold that day? the surfaces of a dewar flask are silvered for the purpose of minimizing heat transfer by what process? There are 8 ounces in a cup, 2 cups in a pint, 2 pints in a quart, and 4 quarts in a gallon.1 L 0.26 gallons7 KL= cups a car dealership is pressuring its customers to purchase its products. what philosophy is the car dealer following? how do vertebrates differ from other chordates internal links are limited since search engine bots do not follow these links to see what content is on the linked-to page are helpful because they can help search engines and visitors discover your new content are hurtful because they complicate site navigation and user experience none of the above explain why a mating between a normal male and a female homozygous for a loss-of-function bicoid mutation produces misshapen embryos, but the reciproc combine 3 times j and 16 is 7 times j That ame bird 2KG wa flying at 4MS toward my car and my car 12000 KG what wa going 30MS toward the bird what i not happening in term of velocity There are two traffic lights on a commuter's route to and from work. Let X1 be the number of lights at which the commuter must stop on his way to work, and X2 be the number of lights at which he must stop when returning from work. Suppose that these two variables are independent, each with the pmf given in the accompanying table (so X1, X2 is a random sample of size n = 2).x1 0 1 2 = 1.2, s2 = 0.56p(x1) 0.2 0.4 0.4(a) Determine the pmf of To = X1 + X2. to 0 1 2 3 4 p(to)(b) Calculate To. To = How does it relate to , the population mean? To = (c) Calculate sTo2. sTo2 How does it relate to s2, the population variance?sTo2 = s2(d) Let X3 and X4 be the number of lights at which a stop is required when driving to and from work on a second day assumed independent of the first day. With To = the sum of all four Xi's, what now are the values of E(To) and V(To)?E(To) =V(To) =(e) Referring back to (d), what are the values ofP(To = 8) and P(To = 7)[Hint: Don't even think of listing all possible outcomes!] (Enter your answers to four decimal places.)P(To = 8) =P(To = 7) = The best alternate headline for this article would be... A. Mexico Wages War Against Illegal Loggers B. Rising Monarch Populations Raise Hopes C. Monarchs Mark Mexican Wintering Grounds D. Butterfly Population Hits Historic Low FILL INTHE BLANK under the hipaa privacy rule, when an individual asks to see his or her own health information, a covered entity_____ . must always provide access can deny access to psychotherapy notes can demand that the individual pay to see his or her record can always deny access produced critical x-ray crystallography data for the modern model of dna. group of answer choices linus pauling meselson and stahl franklin and wilkins erwin chargaff watson and crick rowan got fired from their job. when they get home, they yells at their kids despite the children not doing anything to warrant their aggression. what defense mechanism is rowan most likely displaying? b. prepare the adjusting entry to record bad debts expense using the estimate from part a. assume the unadjusted balance in the allowance for doubtful accounts is a $4,800 credit. Braden knows how to sing 6 vocal pieces, thanks to his choir class. Now he's about to startprivate lessons. His teacher says he will learn 1 new piece each week.Write an equation that shows the relationship between the number of weeks Braden takesvoice lessons, x, and the number of pieces he knows, y.y =