the following employee class has a given salary. update the following class such that the method update salary() will take a number h which corresponds to a new salary an employee is given. i am looking for two pieces of code given below (given by the underlines). put what would go in the underlines below in your answer (be sure to label them 1 and 2 like in the example below) class employee: def init (self, salary): self salary = salary def update salary(self, 1. 2.

Answers

Answer 1

A constructor is a particular method used in class-based object-oriented programming to initialize a newly created object (class). There are a few guidelines you must follow while creating builders.

The three attributes for the Student class, which are seen in the code above, are FirstName, LastName, and Age. We'll go ahead and presume that the class is meant to be a representative sample for those looking to enroll students.

#include <stdio.h>

int main() {

char id[10];

int hour;

double value, salary;

printf("Input the Employees ID(Max. 10 chars): ");

scanf("%s", &id);

printf("\nInput the working hrs: ");

scanf("%d", &hour);

printf("\nSalary amount/hr: ");

scanf("%lf", &value);

salary = value * hour;

printf("\nEmployees ID = %s\nSalary = U$ %.2lf\n", id,salary);

return 0;

}

To learn more about constructor click on the link below:

https://brainly.com/question/13267121

#SPJ4


Related Questions

you are working as a network engineer at krofter securities. the organization uses cisco's linux os in all of its workstations. the network administrator has asked you to use the route utility to delete some static routes used by the router. which of the following commands will you use in this scenario?
1. route
2. route print
3. show ip route
4. show running-config

Answers

The command to use is route. You have been instructed by the network administrator to delete some static routes from the router using the route utility. in the course of a network engineer job.

A network is described as a collection of two or more connected computer systems. Computer networks come in a wide variety of forms, including the following: LANs, or local area networks: Geographically speaking, the computers are close by (that is, in the same building). These might include databases, unique group initiatives, etc. A network-connected equipment, like a printer or scanner, can be shared by a number of users. A piece of software can be set up on the server rather than having to be bought and installed on every computer. The programmed can then be accessed by all users.

Learn more about router here

https://brainly.com/question/29869351

#SPJ4

the html and css code above is completely correct. this code makes up a web page. when the following code renders onto the screen, which paragraph appears bolded?

Answers

In CSS, a norm is defined as a boldfaced text and size This will be described as bold or substantial that appears to be thicker or bolder.

The text will appear normal since the class standard is regular text weight.

classy and daring

This is a bold text weight, thus the text will seem bold.

HTML, or HyperText Markup Language, offers text structure and meaning by categorising it as headers, paragraphs, or graphics. CSS, or Cascading Modify Sheets, is a presentation language used to style the appearance of text by employing fonts and colours, for example.

HTML and CSS are completely independent of one another and should stay so. CSS should not be included within an HTML page, and vice versa. As a general rule, HTML will always represent content, while CSS will always represent how that stuff appears.

With this knowledge of the distinctions between HTML and CSS,

Learn more about CSS here:

https://brainly.com/question/29580872

#SPJ4

a network technician is setting up network devices at a remote branch office. a small switch in the corner of the office connects the various workstations using category 6 ethernet cables. a wireless access point in the center of the office connects company ipads. some workstations are given wireless network interface cards (nics) because they are harder to reach. which of the following devices in this scenario are layer 2 devices? (select all that apply.)

Answers

Wireless Access Point, Wireless NICs, Network Switch devices in this scenario are layer 2 devices.

Wireless range can be significantly impacted by the quality of the antenna and obstructions to the signal. A large electrical appliance, such as a cooler, meld box, metal pipe, or cooling unit, can block a signal from a remote organization. The theoretical maximum range of IEEE 802.11 is only possible under ideal circumstances, and the actual effective range is typically approximately half of the theoretical maximum[1]. More specifically, the maximum throughput speed can only be achieved at very close range (less than 25 feet, or about 0.6 m); At the extremes of a device's effective range, speed may drop to around 1 Mbit/s before completely degrading. This is because wireless devices constantly negotiate their maximum communication speed to avoid losing too many data packets. In an infrastructure mode network, the WNIC requires a wireless access point: All data transfer takes place at the access point, which acts as the central hub. Each wireless node in an infrastructure mode network is connected to an access point. All nodes connecting to the access point must have the same service set identifier (SSID) and the same keys or other authentication parameters if wireless security, such as WEP or WPA, is enabled on the access point.

To know more about Wireless NICs visit

/brainly.com/question/28498274

#SPJ4

column array origpricetable contains the price per pound of various deli items. column array changeprice indicates price adjustments for a given column. assign newpricetable with origpricetable plus the newpricetable added to origpricetable's column colnum. ex: if origpricetable is [19.99, 9.99; 14.99, 8.99;], changeprice is [ -1.00; -1.50; ], and colnum is 1, then newpricetable is [18.99, 9.99; 13.49, 8.99;].

Answers

The DataType class, the superclass of all kinds in Spark, is extended by the Spark Array collection data type.

We frequently encounter data with complex structures like MapType, Array Type, and Array[StructType] when working with Spark structured (Avro, Parquet, etc.) or semi-structured (JSON) files. A collection data type that extends the DataType class is Spark ArrayType (array). Here, we'll use the Spark SQL type org.apache.spark.sql.types to build a DataFrame array type column. ArrayType class and utilizing Scala examples to apply several SQL methods to the array column. The type of each element in ArrayType should be the same. On a Spark DataFrame, you may use DataTypes to generate an array column of type ArrayType. utilizing the ArrayType scala case class or createArrayType(). DataTypes. A DataFrame column of ArrayType is returned by the createArrayType() method.

Learn more about array here-

https://brainly.com/question/19570024

#SPJ4

show that if longitudinal parity is used as an error detection code, values in a database can still be modified without detection. (longitudinal parity is computed for the nth bit of each byte; that is, one parity bit is computed and retained for all bits in the 0th position, another parity bit for all bits in the 1st position, etc.)

Answers

A redundant bit is added to the entire block before it is sent to the receiver in order to detect errors. This redundant row is used by the recipient to identify errors.

The character "A" has the ASCII value of 01000001. For the character "A," we now need to create both the even and odd parity bits.

There are already two even 1s in the ASCII code for the letter "A." Therefore, the even parity bit will be "0," making the sum of all the 1s, including the parity bit, equal.

Peven = 0

The total number of 1s including the parity bit will be odd because the odd parity bit will be "1."

Podd = 1

Learn more about parity here-

https://brainly.com/question/10762605

#SPJ4

FILL IN BLANK. In a data warehouse, data is analyzed using business intelligence (BI) tools, ________ clients, and a variety of analytics applications designed to interpret the data.
Multiple Choice
SQL
MS Access
Window
analytical applications

Answers

Business intelligence (BI) techniques, analytical application clients, as well as a wide range of analytics applications made to interpret the data are used to analyse data in a data warehouse.

What is data?
Data, which can describe quantity, quality, fact, statistical data, other fundamental units of meaning, as well as simply sequences of symbols that can be further interpreted, is an accumulation of discrete values which convey information in the pursuit of knowledge. A datum is indeed a specific value contained in a group of data. Typically, data is arranged into tables or other structures that give it additional meaning and context and allow it to be used data in other, larger structures. It's possible to use data as variables in a computation. Data can represent both concrete measurements and abstract concepts. Data are frequently used in economics, science, and practically every other aspect of human organisational activity. Price indices (like the consumer prices index), unemployment levels, literacy levels, and census data are a few examples of data sets.

To learn more about data

https://brainly.com/question/27034337
#SPJ4

A LAN is a: O processing control unit network of computer systems that share the use of software and hardware
O type of modem O word processing software system O graphic design system

Answers

A LAN is a: B. network of computer systems that share the use of software and hardware.

What is a hardware?

In Computer technology, a hardware can be defined as a physical component of an information technology (IT) or computer system that can be seen and touched such as the following;

Central processing unit (CPU)KeyboardMonitorSwitchMouseRouter

What is a LAN?

In Computer networking, a LAN is an abbreviation for local area network and it can be defined as a group of personal computers (PCs), smartphones, printers, or terminals that are located within the same area and are connected by a common network cable or communication circuit.

In conclusion, a local area network (LAN) is composed of computer systems that make use of both software and hardware.

Read more on hardware here: brainly.com/question/959479

#SPJ1

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

A high-level, class-based, object-oriented programming language with the least amount of implementation dependencies feasible is called Java.

What is the method?

A high-level, class-based, object-oriented programming language with the least amount of implementation dependencies feasible is called Java.

The evenNumbers method, which reports different statistics about the integers and accepts a Scanner as a parameter for taking input from a file containing a series of integers. You can assume that the file contains * at least one integer. Report the overall number of numbers, their sum*, the number of even numbers, and their percentage.

/

public void evenNumbers(Scanner sc) {

   int count = 0;

   int evenCount = 0;

   int sum = 0;

   

   while(sc.hasNext()) {

       int num = sc.nextInt();

       count++;

       sum += num;

       

       if(num % 2 == 0)

           evenCount++;

   }

   

   double percent = (double)(evenCount * 100) / count;

   System.out.println(count + " numbers, sum = " + sum);

   System.out.println(evenCount + " evens (" +

       String.format("%.2f", percent) + "%)");

}

The complete question is write a method named evennumbers that takes two integer arguments (say, num1 and num2) and prints all even numbers in the range {num1, num2}. the method does not return any value to the caller. (10) call the above evennumbers method from main by passing two numbers input by the user. java.

To learn more about java refer to:

https://brainly.com/question/26789430

#SPJ4

In your Linux installation, modify the numbers.sh script, to do the following:
Add to the script commands to display the system time, before and after the process. Optional: store the system time in variables, to display just the difference at the end of the process, i.e. how many hours/minutes/seconds it took to run this script. Hint: use the built-in SECONDS variable to do most of the work.
Modify the "for" loop to repeat one million (1,000,000) times.
Save the script and delete file1.txt that was created from the previous exercise.
Run the script.
You should now have a file called file1.txt containing one million lines, with each line being a random number. You should also have information indicating how long this process took to run.
Create a C program to perform this task, to create file2.txt, and compare execution times. Can you use what you have learned in the last 2 modules, like multithreading or synchronization, to make this process run faster? How would you do that? Use at least 2 other methods to try to improve execution time.
Write down the summary of the results, with the following information:
Describe the different methods you used to perform this task
Explain why you chose each of those methods.
Did each of these methods perform as you expected them to, or were there any surprises? Describe your findings in detail.
If your system had double its current processing power (CPU power), how much of an improvement would you expect for this process? Explain the reasons for that estimate, and provide references to support your opinion.

Answers

A brainstorming session is one of the most efficient approaches to tackle any problem. It basically involves coming up with as many ideas as you can and using those ideas to solve problems.

Of course, a welcoming, judgment-free environment is necessary for every brainstorming session. By constantly asking "Why" (five times is a reasonable rule of thumb), the 5 Whys Problem Solving approach is a straightforward method to employ to solve any problem by removing the layers of symptoms that can lead to the problem's fundamental cause. This tactic adheres to the idea of methodical issue solving. Of course, a welcoming, judgment-free environment is necessary for every brainstorming session.

Learn more about fundamental here-

https://brainly.com/question/14885760

#SPJ4

which of the below are valid css selectors (check all applicable)? id element class doctype A. Element B. ID C. Class D. Doctype

Answers

The first line of any HTML document must include a "Document Type Declaration," also known as "doctype," which informs the browser of the page's HTML version.

The document can be rendered in standards mode by the browser thanks to this declaration.

Browsers display the page in quirks mode without it.

If you haven't heard of quirks mode, it was introduced by browsers to make pages written in an "old style" compatible with new features and standards. Without it, older pages would lose their appearance as browsers and HTML changed, and the Web Platform has always been very protective in this regard.

Unless the page is written for standards mode, browsers basically default to quirks mode. Because the DTD declaration is nearly impossible to remember, those doctype declarations always required you to save it somewhere. Additionally, there were distinct DTDs for transitional mode and strict mode, which was less stringent.

HTML4 and lower is an SGML application, whereas XHTML is an XML vocabulary. Although HTML5 is not an SGML application and has abandoned many of the strict rules of XHTML, it is heavily influenced by HTML4.

To know more about doctype visit https://brainly.com/question/14980446?referrer=searchResults

#SPJ4

norma is a graphic designer creating a logo that will be resized often. which of the following file formats should she choose to create the logo?

Answers

Digital visuals including logos, icons, text, and flat images are best suited for PNG file formats. PNG is the only format you may use if you need a digital image with a transparent backdrop. PNG files are recommended if your logo will be used digitally for anything, such as a PowerPoint presentation.

PNG vs. JPEG: Which is superior?

Because PNG uses lossless compression, there is no quality degradation when it is opened and saved multiple times, which is the largest advantage it has over JPEG. Detailed, high-contrast photos can be handled effectively by PNG as well.

What are JPG and PNG?

Raster image files come in both JPEG and PNG varieties. Instead of the grids, points, and mathematical formulae present in vector files, they are composed of a set number of color pixels. Raster files can exhibit a lot of information, but when they are drastically scaled, their resolution is lost.

To know more about PNG visit;

https://brainly.com/question/24742808

#SPJ4

Answer:

B) Problems

Explanation:

took the text and got 100%

match each cloud computing definition on the left with the appropriate characteristic on the right. each characteristic may be used once, more than once, or not at all.

Answers

The distinctive qualities or traits of anything are its characteristics. Consider traits as the attributes that set one object or a person apart from another. The chameleon, for instance, is known for its capacity for camouflage.

What makes a person who they are?

A person or thing's characteristics are the traits or aspects that belong to them and help people identify them. Every living thing's qualities are determined by its genes. [ + of]

What is an effective way to describe a characteristic?

Every living thing's qualities are determined by its genes. The Mallorcan countryside is characterized by windmills. Nehru answered with his customary generosity.

To know more about Characteristics visit;

https://brainly.com/question/22813270

#SPJ4

which of following modules would warrant the use of the reload() function in a script?a module that appends a new line to an existing ms excel file.a module that scrapes off data from a list of websites which are updated every day.a module that calculates the earth's orbital speed using constants.a module that generates random numbers between two values and appends the number to a list.

Answers

the use of a script's reload() function in a module that uses constants to determine the earth's orbital speed.

How do I utilize JavaScript's reload function?

To refresh the current URL, use the JavaScript method location.reload(). Comparable in operation to the browser's Refresh button is this method. The primary method in charge of reloading pages is reload().

How is a script loaded?

The fundamental actions for dynamically loading a script file with JavaScript are: The script element must be created. Set the script element's src attribute to point at the file you wish to load. Fill out the DOM with the script element.

To know more about function visit:-

https://brainly.com/question/21145944

#SPJ1

list four significant differences between: processing data by writing programs that manipulate files. using a database management system and query language.

Answers

Literal gathering of information in a particular format. Conversion: The process of converting data to the proper format for an EDP system. Validation.

What distinguishes the processing of databases from the processing of files?

File processing systems and database management systems differ in the following ways: A group of programs known as a file processing system are used to store and handle files on computer hard drives. In contrast, a database management system is a group of applications that makes it possible to build and maintain a database.

What are the database approach's four primary advantages over the file processing approach?

Data abstraction, the self-describing character of a database system, separation of programs and data, support for numerous views of the data, sharing of the data, and multiuser transaction processing.

To know more about EDP visit :-

https://brainly.com/question/13002249

#SPJ4

White Hawks runs a baseball stadium, and it would like to set up a network that has a reasonable level of availability and effectiveness so that fans can receive a close and strong signal throughput when they watch a game. Which one of the following statements will help in understanding why a 5G service is ideal in this scenario?
a.
Higher frequency for bands would increase the throughput.
b.
The cell density for the network specifies many small 5G antennas to be installed near each other.
c.
Wider channels would help increase the speed.
d.
Client volume will increase the throughput.

Answers

The correct option is A.

Higher frequency for bands would increase the throughput.

Higher frequency

The mmWave technology, which enables high frequency operating bands that operate in the spectrum region of 30GHz and 300GHz, is used by the 5G equipped network. With full capacity and efficiency, the 5G network's high-frequency bands allow for coverage and transmission of a baseball game to a sizable user base. As a result, this assertion supports the 5G service for the given scenario and is thus accurate.

VHF, or very high frequency, is a part of the electromagnetic spectrum that is often defined as having a wavelength between one and ten metres and a frequency between three and thirty megahertz. VHF signals are frequently used for radio and television transmissions. VHF frequencies are used by FM radio stations as well as television stations that broadcast on channels 2 through 13 in the United States and Canada. Additionally, a lot of amateur radio operators use frequencies in the VHF range to broadcast.

To know more about Higher frequency, Check out:

https://brainly.com/question/18651058

#SPJ4

which of the following is not used to identify or enforce what mobile devices can do based on the location of the device

Answers

The option that is not used to identify or enforce what mobile devices can do based on the location of the device is option A. Geo-spatial

What exactly does geo-spatial mean?

Geospatial information is just geography and mapping. It is "locational" or "place based" information. The information is shown and connected to a map.

A sort of spatial analysis known as "geospatial mapping" uses software that can create maps, process spatial data, and apply analytical techniques to datasets that are either terrestrial or geographical, including the usage of geographic information systems.

Therefore, based on the definition of the term, you can see that it is not linked to mobile devices.

Learn more about   Geo-spatial from

https://brainly.com/question/4915516

#SPJ1

See full question below

Which of the following is NOT used to identify or enforce what mobile devices can do based on the location of the device?

A. Geo-spatial

B. Geolocation

C. Geo-tagging

D. Geofencing

the unix system does not attempt to avoid cycles. instead, it restricts access to the linking capability of the system. normal users may only create hard links to files, but not to . this prevents normal users from inadvertently creating cycles.

Answers

Option B is correct. Maintaining the "safety" of computers, their programs, and the data they manage is the goal of computer security.

This specifically implies ensuring the confidentiality, integrity, and availability of three domains. The CIA Triad is the name given to these three (no relation to the Central Intelligence Agency).

When we maintain confidentiality, we prevent access to a system's data and resources (including the hardware it links to and its computing power). Access should only be granted to legitimate individuals and procedures. Confidentiality offers a way to prevent access to such information, whereas privacy sets restrictions on what information can be shared with others. Confidentiality exists for reasons of privacy. Confidentiality is violated if someone has unauthorized access to a secured file holding your medical information.

Learn more about information here-

https://brainly.com/question/15709585

#SPJ4

given the following array, after how many values in the array are tested against with a binary search looking for 35? index 0 1 2 3 4 5 6 7 data 12 19 35 39 41 42 57 68

Answers

JavaScript and many other programming languages already include methods for identifying whether a particular element is in an array and, if it is, where it is located.

Let's say we want to know if 67 is a prime number. 67 is a prime number if it appears in the array.

We may also be interested in the number of primes that are lower than 67. We may use the location of the number 67 in the array to determine how many smaller primes there are.

The index of an element in an array is its location. Indexes for arrays begin at 0 and go up from there. If an element has an index of 0, it is the array's initial element. If an element is at index 3, then there are 3 elements in the array that come before it.

Know more about array here:

https://brainly.com/question/13107940

#SPJ4

from the following list, select all the departments or area of an organization that provife customer interaction metrics

Answers

The departments or area of an organization that provide customer interaction metrics are: Options A, B and C:

where customers are locatedwhat customers buy and how oftenwhy customers make their purchaseWhere can I find customers?

Typically, customers can be found in their homes, offices, or places of employment, as well as nearby shops and eateries where they launch or eat dinner. When drafting your marketing and sales plans, try to think of as many places where your target clients might hang out.

Therefore, When buying a new product, buyers are primarily motivated by seven fundamental variables. Along with security, FOMO, identity and belonging, pricing, peer recommendations, obligation, anxiety, price, and enjoyment, our motivations also include necessity and convenience.

Learn more about customer interaction metrics from

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

See options below

where customers are located

what customers buy and how often

why customers make their purchase

how customers comparison shop online

write an if-else statement that assigns safetycheck with 1 if the sum of passengerweight and cargoweight is less than or equal maxweight. otherwise, assign safetycheck with 0. ex: if passengerweight is 200, cargoweight is 100, and maxweight is 500, then safetycheck is assigned with 1. if passengerweight is 300, cargoweight is 275, and maxweight is 500, then safetycheck is assigned with 0.

Answers

The if-else phrase is used to execute both the true and false sections of a given condition. If the condition is true, the if block's code is run; if it's false, the else block's code is run.

if age >= 18, enter if not: age = int("Enter your age: ") You have the option to vote! You can see that this looks like an if-else statement with an invisible else. Use the if statement to instruct a block of code to execute only if a specific condition is true. Use else to specify that a new piece of code should be executed if the same condition is false. Use else if to establish a new conditional if the first one is untrue.

   // code here

   if (!condition 2) {

       return;

   }

   else {

       // code here

   }

}

Learn more about conditional here-

https://brainly.com/question/15000185

#SPJ4

management has reason to believe that someone internal to the organization is committing fraud. to confirm their suspicion, and to collect evidence, they need to set up a system to capture the events taking place. evaluate which option will best fit the organization's needs. group of answer choices

Answers

The option that will best fit for organization's needs is honeypot.

What is honeypot?

Honeypot is a system for computer security mechanism to detect, deflect, or counteract the attackers or unauthorized use of internal system including internal fraud, malpractice, and snooping. Honeypot will be placed in current network.

Honeynet is a decoy network which is can be actual network or simulated to trap attackers or unauthorized use of internal system.

Exploitation framework is to running intrusive scanning for uses the vulnerabilities of identified by a scanner. Metasploit is one of exploit framework.

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

Management has reason to believe that someone internal to the organization is committing fraud. In order to confirm their suspicion, and to collect evidence, they need to set up a system to capture the events taking place. evaluate which option will best fit the organization's needs.

Option answer is

HoneynetHoneypotExploitation frameworkMetasploit

Learn more about exploitation framework here:

brainly.com/question/22371817

#SPJ4

Which of the following is the correct way to declare a class in C++?
A. class Circle
{
private:
double radius;
public:
void Circle::setRadius(double radius);
double Circle::getDiameter();
double Circle::getArea();
double Circle::getCircumference();
}
B. class Circle
{
private:
double radius;
public:
void setRadius(double radius);
double getDiameter();
double getArea();
double getCircumference();
};
C. class Circle
{
private double radius;
public void setRadius(double radius);
public double getDiameter();
public double getArea();
public double getCircumference();
};
D. Circle::Circle(double radius)
{
private:
double radius = radius;
public:
void setRadius(double radius);
double getDiameter();
double getArea();
double getCircumference();
}

Answers

The correct way to declare a class in C++ is option b.

What is class in C++?

Class in C++ is a building block of object-oriented programming. Class created by user as object constructor in programming.

To create class in C++ first type class following by class name. In the given option, option D is wrong for this step.

Then, declare variable in body of class. But, before declare variable choose variable type private or public. Variable type only needs to be typed once. In the given option, option C is wrong for this step.

To declare variable, we only need declare data type and then variable name. In the given option, option A is wrong for this step.

So, only option B is correct to declare class in C++.

Learn more about C++ here:

brainly.com/question/27019258

#SPJ4

A company's new mobile app uses Amazon API Gateway. As the development team completes a new release of its APIs, a developer must safely and transparently roll out the API change.
What is the SIMPLEST solution for the developer to use for rolling out the new API version to a limited number of users through API Gateway?
A. Create a new API in API Gateway. Direct a portion of the traffic to the new API using an Amazon Route 53 weighted routing policy.
B. Validate the new API version and promote it to production during the window of lowest expected utilization.
C. Implement an Amazon CloudWatch alarm to trigger a rollback if the observed HTTP 500 status code rate exceeds a predetermined threshold.
D. Use the canary release deployment option in API Gateway. Direct a percentage of the API traffic using the canarySettings setting.

Answers

The SIMPLEST solution for the developer to use for rolling out the new API version to a limited number of users through API Gateway is D. Use the canary release deployment option in API Gateway; Direct a percentage of the API traffic utilizing the canarySettings setting.

An API gateway is an API management tool that resides between a client and a collection of backend services. An API gateway acts like a reverse proxy to accept all API or application programming interface calls, aggregate the various services needed to fulfill them and return the appropriate result.

Moreover, through API gateways are used to limit the number of users accessing an application; this can be achieved by using canary release deployment option in API Gateway.

You can learn more about API gateway at

https://brainly.com/question/14666512

#SPJ4

Variables are also known as: a. l values, but can be used as values. b. lvalues, and cannot be used as values c. rvalues, and cannot be used as values. d.Constant variables.

Answers

Variables are also known as:

c. rvalues, and cannot be used as values. rvalue can be a variable, value, constant, operation result or a combination thereof.

About variable in computer programming

In computer programming, a variable or scalar is a storage address (identified by a memory address) paired with an associated symbolic name, which contains a known or unknown amount of information called a value. Variable names are the usual way of referencing the stored value, in addition to referring to the variable itself, depending on the context.

This screening of name and content ensures the name is used independently of the exact information it represents. Identifiers in computer source code can be bound to values during run time, and variable values can thus change during program execution.

Variables are used to store information to be referenced and manipulated in computer programs. They also provide a way of labeling data with descriptive names, so that our programs can be understood more clearly by readers and ourselves.

It's helpful to think of variables as containers that store information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.

Learn more about variable in computer at https://brainly.com/question/13375207.

#SPJ4

If the heap memory location starts at 9403, what is the value of the integer variable myAge at position 1? #include using namespace std; int a = 10; int main() { int b; int* myAge nullptr; b = 20; myAge = new int; // Position 1 *my Age = 30; delete myAge; return 0; } O nullptr O 9403 O 30 O not allocated

Answers

similar to how the stack is stored in computer RAM. On C++, variables that are stored in the heap memory location must be explicitly deleted and never exit their scope.

Briefly stated:- 

Arrays, global variables (with global scope/accessible from any function), and any created class instances (objects) at runtime in Java that are referred by the reference variables from Stack memory are all stored in heap memory, which dynamically allocates memory (its size fluctuates as a program runs). The Java heap is where objects are stored.

When the JVM first starts, the heap is created, and when an application is running, the heap's size may change. The heap is a significant memory chunk that the application can utilize. It is possible for the software to request specific memory "blocks" from the heap.

To know more about heap memory visit:-

https://brainly.com/question/29851290

#SPJ4

When converting from analog to digital form, an A-to-D converter samples the wave at regular intervals and stores the sample as a binary value. The result is a digital representation of an analog wave. O This process is called signal code modulation (SCM). O pulse code modulation (PCM). O analog code modulation (ACM). O digital code modulation (DCM).

Answers

An analog wave is converted into a digital representation as a consequence. The technique is known as pulse code modulation (PCM).

In the process of digital-to-analog conversion known as pulse code modulation (PCM), the data included in the samples of an analog signal may be represented or shown as digital words in a serial bit stream of words. Each coded word has a certain amplitude level, and if each digital word contains n binary digits, then M = 2n different words are available. This technique, known as quantizing, replaces an exact sample of the analog waveform value with the closest permitted value that corresponds to one of the code words instead.

To know more about analog waveform click on the below link:

https://brainly.com/question/29232007

#SPJ4

Kabuki shares her username and password with a colleague friend. What security risk has she taken by this action?

Data
Informatics
Information
Technology

Answers

Forceful assaults. When an attacker employs a system of trial and error to try to guess legitimate user credentials, this is known as a brute-force attack. The majority of these assaults are automated and use wordlists of usernames and passwords.

What security risk related to username and password?

                             

By disclosing your password, you run the danger of giving that person access to all of your accounts, including likely accounts with similar passwords. If one of these passwords is for a social media site, an irate co-worker might alter your profile image to make you look bad.  

Therefore, Data security risk has she taken by this action.

Learn more about security risk here:

https://brainly.com/question/17156947

#SPJ1

an engineer hears about dhcp snooping and decides to implement it. which of the following are the devices on which dhcp snooping could be implemented? (choose two answers.)\

Answers

These two devices are implemented for DHCP snooping.

Layer 2 switches

Multilayer switches

DHCP snooping

DHCP snooping is a set of techniques used in computer networking to increase the security of a DHCP infrastructure.

Clients on a LAN are given IP addresses by DHCP servers. On LAN switches, DHCP snooping can be configured to filter out malicious or corrupted DHCP communication as well as rogue DHCP servers. Additionally, details on the hosts that successfully completed a DHCP transaction are accumulated in a database of bindings that can later be used by other security or accounting features.

In order to guarantee IP integrity on a Layer 2 switched domain, other features may use data from the DHCP snooping database. Using this knowledge, a network is able to:

IP address location tracking when paired with SNMP or AAA accounting.When used with source-guard, make sure hosts only use the IP addresses allotted to them. also known as source-lockdown.Sanitize ARP queries via arp-inspection, also known as arp-protect.

To Know more about DHCP snooping, Check out:

https://brainly.com/question/28197272

#SPJ4

However the question you are looking for:

"An engineer hears about DHCP snooping and decides to implement it. The network includes devices that act primarily as Layer 2 switches, multilayer switches (that is, they perform both Layer 2 and Layer 3 switching), and routers. Which of the following are the devices on which DHCP snooping could be implemented? (Choose two answers.)

a. Layer 2 switches

b. Routers

c. Multilayer switches

d. A LAN hub"

Type the correct answer in the box. Spell all words correctly.
Which SRS attribute enables you to follow the client's requirements back to their origin?
is an SRS attribute that enables you to follow the client's requirements back to their ori
Reset
Next

Answers

Answer:

The SRS attribute that enables you to follow the client's requirements back to their origin is called "traceability". This attribute allows you to trace each requirement in the SRS back to its source, such as a specific client requirement or a design specification. Traceability is important because it helps you understand the rationale behind each requirement and ensure that it is properly implemented in the final product.

How do I fix 0xc1900101 - 0x20017 error: the installation failed in the SAFE OS phase with an error during BOOT operation?

Answers

Fix Disconnect all external devices, Update the drivers, Run the Windows Update Troubleshooter to resolve, Remove any third-party applications, Repair, Clear the disk, Turn off network adapters.

The generic rollback code, also known as 0xC1900101, is a frequently seen code that can appear at any point throughout the upgrade process and indicates the presence of an incompatible driver. Before beginning the upgrade process, it is advised to conduct a clean boot and run Windows Setup with the bare minimum of startup apps and drivers.

The update fails because the driver is causing illegal operation, preventing the OS from migrating the driver. The operating system is rolled back as a result of it. This SafeOS boot problem is generally brought on by drivers or disk encryption software that isn't made by Microsoft. The system checks that everything, including the drivers, are acting as they should throughout the SAFEOS phase.

Know more about drivers here:

https://brainly.com/question/14334010

#SPJ4

Other Questions
if the correlation is 0, then there is no relationship between the two variables. hintlinks to an external site. textbook pageslinks to an external site. group of answer choices true false 2. What were the early policies of the Romans against the Christians? How did the Romanssee the Christians? Discuss illegal associations, superstitions, and subversive nature andhow did that influence the treatment of the early Christians and the shift withConstantine? Why do some allergens stimulate similar Type 2 immune responses which are typically mounted in response to parasitic worms? Group of answer choicesa. Both allergens and worms contain T-independent antigensb. Both allergens and worms are only recognized by basophilsc. Both allergens and worms contain proteases that trigger inflammationd. Both allergens and worms enter the host through the skin The most effective prevention programs for children and teens are programs that highlight the dangerous effects of alcohol and illegal drugs.You Answered use moral training.boost self-esteem.Correct Answerteach social skills.Answer: teach social skills. Find all relative extrema in the function h(x)=cos((2/3)x) on the interval [0, 2]Find all ABSOLUTE extrema in the function h(x)=cos((2/3)x) on the interval [0, 2]HELP!!! A furnace is located next to a dense array of cryogenic fluid piping. The ice-covered piping approximates a plane surface an average temperature of T, = 0C and an emissivity of E, = 0.6. The furnace wall has a temperature of T;= 200C and an emissiv- ity of &r=0.9. To protect the refrigeration equipment and piping from excessive heat loading, reflective aluminum radiation shielding with an emissivity of Es = 0.1 is placed between the piping and the furnace wall, as shown in the schematic. Assume all surfaces are diffuse-gray. Dense piping array, T, = 0C, Furnace wall T = 200C, E = 0.9 P & = 0.6 000000000000Installation criterion TIN < 30C -Radiation shields, N Es = 0.1 If the temperature of the shield closest to the piping Ts, y must be less than 30C, how many radiation shields, N, must be installed between the piping and the furnace wall? The two lines graphed below are not parallel. How many solutions are there tothe system of equations?SX#OA. One solutionOB. Infinitely many solutionsOC. No solutionsOD. Two solutions which of the following entries reflects the original cost assignment to spoiled units before considering rework cost? question 20 options: finished goods control xxx work-in-process control xxx manufacturing overhead allocated xxx materials control xxx wages payable control xxx work-in-process control xxx materials control xxx wages payable control xxx work-in-process control xxx manufacturing overhead allocated xxx work-in-process control xxx materials control xxx wages payable control xxx manufacturing overhead allocated xxx which of the following could explain the widening wage gap between unskilled and skilled workers in the united states? The following equation i true for all value of x. What number complete the equation?Show your work. 5y 2(3y 1) = y (y 2) What should you not do to hang Christmas lights? PLEASE HELP 40 POINTS PLEASE 40 POINTS ASAP THIS IS A EXZAM PLEASE Which two regions of the United States were most opposed to slavery in the mid-19th century?A.The South and the SouthwestB.The North and the MidwestC.The North and the SouthwestD.The South and the MidwestSUBMIT Shade 1 circle. Shade 9/4 more which of the following is false regarding chorionic villus sampling (cvs)? it is a genetic test that is done when a fetal genetic defect is suspected. it can be done earlier than an amniocentesis can be done. it samples the chorionic villi of the placenta. it takes cells from the cervix to detect dysplasia and cancer. Susanna is an emerging adult who has to think about what career she wants to pursue. She is also acutely aware of the possibility that she may have to to leave her work to raise a family and be a mother. According to research, if Susanna is typical of most girls her age she:Realizes that motherhood may affect her career choices help me pls with this crazy questionplspls pls What is 2(11-4)-3^2 answer _____ occurs after a person experiences a fearful event and then transfers that fear to similar events. what is upwelling A. when infertile species reproduce B. the productivity of an ecosystem C. the mixing of 2 biomes D. water moving up from the benthic zone. a patient is receiving heparin intravenously. what signs and symptoms would alert you to the patient having adverse effects of heparin?