at the moment of creation of a new object, php looks at the definition to define the structure and capabilities of the newly created object

Answers

Answer 1

Python looks at the class definition when creating a new object to define the structure and capabilities of the newly created object.

What is a class?A class is a user-defined type that describes the appearance of a specific type of object. A declaration and a definition make up a class description. Typically, these pieces are separated into separate files. A single instance of a class is referred to as an object.A Class is a type of construct that can be used to create instances of itself. Members of a class can be fields and methods that allow a class object to maintain state and behaviour, respectively. To have objects in object-oriented programming, you must first instantiate a class.Objects are the first things that come to mind when designing a program, as well as the units of code that are eventually derived from the process.

To learn more about class refer to :

https://brainly.com/question/4560494

#SPJ4


Related Questions

1. Write a program that finds all students who score the highest and lowest average marks of the first two

homework in CS (I). Your program should read the data from a file called "hw2. Txt" and displays the output to

another file called "hw2. Txt" and on the screen. Each data line contains student name and his/her marks. The

output should display all student names, marks, numerical grades and letter grades. In addition, you should

output the highest and lowest marks and those who earned. Sample input

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that finds all students who score the highest and lowest average marks of the first two homework in CS.

Writting the code;

import java.io.BufferedWriter; //for bufferedWriter

import java.io.*; //for basic input/output

import java.io.IOException; //for IOException

//parent class

public class dataReadWrite {

//main function

public static void main (String[] args) throws IOException

{

//declare & initialize required variables

int count=0;

float m1=0,m2=0,avgM=0,maxAvg=0,minAvg=101,cAvg=0;

String fName="",lName="",grade="",cGrade="",topper="",bottomer="";

//create a file object using its location(file to be read)

File file = new File("");

//attach a readeer to file

BufferedReader reader = new BufferedReader(new FileReader(file));

//create a file to be writtem

BufferedWriter writer = new BufferedWriter(new FileWriter(""));

//write file header

writer.write("Student Name Mark1 Mark2 Avg. Mark Grade\n");

writer.write("-----------------------------------------------------------------------------------------------------\n");

//read file line by line

count = Integer.parseInt(reader.readLine());

//read data

String str;

//iterate till last line of the file

while((str = reader.readLine()) != null)

{

//split read data by one or more space

String[] eachLine = str.split("\\s+");

//store data's first member as firstName

fName = eachLine[0];

//store data's second member as lastName

lName = eachLine[1];

//store data's third member as marks 1

m1 = Float.parseFloat(eachLine[2]);

//store data's fourth member as marks 1

m2 = Float.parseFloat(eachLine[3]);

//find average for each student

avgM = (m1+m2)/2;

//store data for topper

if(avgM > maxAvg)

{

maxAvg=avgM;

topper = fName + " " + lName;

}

//store data for bottomer

if(avgM < minAvg)

{

minAvg=avgM;

bottomer = fName + " " + lName;

}

//cumulate marks for class average

cAvg += avgM;

// calculate grade for each student

if(avgM>=90)

grade="A";

else if(avgM>=80)

grade="B";

else if(avgM>=70)

grade="C";

else if(avgM>=60)

grade="D";

else if(avgM>=50)

grade="E";

else

grade="F";

//write student data to file

writer.write(fName+" "+lName+" "+m1+" "+m2+" "+avgM+" "+grade+"\n");

}

//calculate class average by dividing by the count

if(count!=0)

cAvg/=count;

//find class grade

if(cAvg>=90)

cGrade="A";

else if(cAvg>=80)

cGrade="B";

else if(cAvg>=70)

cGrade="C";

else if(cAvg>=60)

cGrade="D";

else if(cAvg>=50)

cGrade="E";

else

cGrade="F";

//print data to output file

writer.write("The Maximum average mark is: "+maxAvg+" Scored by: " +topper+"\n");

writer.write("The Minimum average mark is: "+minAvg+" Scored by: " +bottomer+"\n");

writer.write("The average of the class: "+cAvg+"\n");

writer.write("The Grade of the class: "+cGrade+"\n");

//close the file

reader.close();

writer.close();

}

}

See more about JAVA at brainly.com/question/12974523

#SPJ1

1. Will the usability of a website be a part of Ul or UX?
A. Usability is a part of UI.
B. Usability is a part of both UI and UX.
C. The usability of a website is a part of UX design.
D. Usability has got nothing to do with UI and UX.

Answers

The usability of a website would be a part of UX. Therefore, the correct answer option is: C. The usability of a website is a part of UX design.

What is a website?

A website can be defined as a collective name which connotes a series of webpages that are interconnected and linked together with the same domain name, so as to provide certain information to end users.

What is usability?

In Computer technology, usability can be defined as a measure of the perceived ease in which end users are able to perform a task efficiently, effectively, and satisfactorily on a website.

Generally speaking, usability is generally classified as a component of user experience (UX) design, rather than a user interface (UI).

Read more on website here: https://brainly.com/question/15827053

#SPJ1

In which of the following modes of the CLI could you configure the duplex setting for interface Fast Ethernet 0/5?
a. User mode
b. Enable mode
c. Global configuration mode
d. VLAN mode
e. Interface configuration mode

Answers

Interface configuration mode are the following modes of the CLI could you configure the duplex setting for interface Fast Ethernet 0/5.

What is Interface configuration mode ?Commands for configuring the interface alter how it functions. A global configuration command that specifies the interface type is always followed by an interface configuration command. To reach interface configuration mode, use the interface interface-id command. The new prompt implies interface configuration modeAll system Administrators have access to the Configuration Mode option. Configuration Mode provides a simpler technique for accessing and modifying information. Administrators have access to the configuration through a record. Configuration Mode is not accessible to users without the Administrator role.There are five different command modes: line configuration mode, router configuration mode, interface configuration mode, and global configuration mode.

Learn more about configuration mode refer to :

https://brainly.com/question/24229583

#SPJ4

Question 1 (1 point)
(8.01 LC)

What are the factors modeled by this array? (1 point)

an array with four rows and seven columns

a
4 x 7

b
6 x 4

c
7 x 5

d
8 x 2

Answers

The factors modeled by this array is ''4 x 7''.

What do you mean by array?A data structure called an array consists of a set of elements (values or variables), each of which is identifiable by an array index or key. Depending on the language, additional data types that describe aggregates of values, such lists and strings, may overlap (or be associated with) array types.A grouping of comparable types of data is called an array. For instance, we may build an array of the string type that can hold 100 names if we need to record the names of 100 different persons. array of strings = new String[100]; In this case, the aforementioned array is limited to 100 names.Indexed arrays, multidimensional arrays, and associative arrays are the three types of arrays.

Learn more about arrays refer to :

https://brainly.com/question/28061186

#SPJ1

from the top of page gallery, insert an accent bar 1 page number. close header and footer.

Answers

In order to execute the above,

Click the Insert tab.In the Header & Footer group, select the Page Number button.The Page Number menu opens.On the Page Number menu, point to Top of Page.A gallery of page number formats opens.In the gallery, select  the Accent Bar 2 option.The pre-formatted text "Page" and the page number appear in the header.In the Close group, select the Close Header and Footer button.

What is the function of the Top Page Gallery in MS Office?

The Microsoft Gallery is a collection of reusable pieces of material, such as AutoText entries, document attributes (such as title and author), and fields.

The In-Ribbon Gallery is a control in the Ribbon that presents a collection of related objects or commands. If the gallery contains too many items, an expanded arrow is provided to display the remainder of the collection in an expanded pane.

Learn more about Gallery in MS Office:
https://brainly.com/question/1281752
#SPJ1

Mathematical Operators In Python
1} Select the mathematical statement that is false.

A) 22 % 2 > −3

B) 22 % 2 < 5

C) 22 % 2 != 1

D) 22 % 2 = = 4


2} You have been asked to create a program for an online store that sells their items in bundles of five. Select the appropriate code that would display how many bundles are available for sale.

A) print(5 // totalItems)

B) print(totalItems // 5)

C) print(totalItems(5) )

D) print(5(totalitems) )

Answers

1. The mathematical statement that is false is D) 22 % 2 = = 4

2. The appropriate code that would display how many bundles are available for sale is B) print(totalItems // 5)

What is python?

Python is a general-purpose, high-level programming language. Its design philosophy prioritizes code readability by employing significant indentation. Python is garbage-collected and dynamically typed. It is compatible with a variety of programming paradigms, including structured, object-oriented, and functional programming.

It is a computer programming language that is frequently used to create websites and software, automate tasks, and analyze data. Python is a general-purpose programming language, which means it can be used to create a wide range of programs and is not specialized for any particular problem.

It is developed under an OSI-approved open source license, which allows it to be freely used and distributed, even for commercial purposes.

In conclusion, the correct options are D and B.

Learn more about python on:

https://brainly.com/question/26497128

#SPJ1

Network and Computer Systems Administrator Career


What industries do network administrators work in?

What are the main functions of network administration?

How do you think each function supports each part of the CIA (Confidentiality, Integrity, Availability) Triad?

Answers

The  industries that network administrators work in is computer systems design as well as its related services industry.

The main functions of network administration are:

The network administrator's job is to make sure the computer networks run smoothly. All network hardware, software, and communication links must be planned, developed, installed, configured, supported, and optimized.

How do you think each function supports each part of the CIA Triad?

Data, items, and resources must be shielded from illegal sight and other access in order to be considered confidential. Integrity refers to the safeguarding of data from unauthorized modifications to maintain its accuracy and dependability. When systems and resources are available, it indicates that authorized users have access to them.

Despite the fact that many network and computer system administrators work for companies in the computer systems design and related services sector, they are employed in a variety of locations. Some might manage networks and systems for financial companies, while others might work in clinics or regional government agencies.

Learn more about network administration from

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

Which of the following is an example of the principle of animation known as secondary action?

A.
a ball bouncing less and less as its momentum slows

B.
a character’s face turning bright red when hitting a wall

C.
different kinds of walks (e.g., angry, calm, frantic) that change with the scene or mood

D.
a truck gradually increasing speed

Answers

I think it is B
Hope this is correct??

Any data sent from a program to a device. This is usually observable by the person using the program. This data can take on many forms such as tactile, audio, visual, or text. A programs output is usually based on a program's input or prior state.

Input


Output


Hardware


Software

Answers

Answer:its hardware

Explanation:

as a network analyst, you want the acl (access control list) to forward the icmp (internet control message protocol) traffic from host machine 2.2.2.2 to host machine 5.5.5.5. which of the following commands will you use in this scenario? 1. access-list acl_2 permit icmp any any2. access-list acl_2 deny icmp any any3. access-list acl_2 permit tcp host 2.2.2.2 host 5.5.5.54. access-list acl_2 permit tcp host 2.2.2.2 host 3.3.3.3 eq www

Answers

The third option, "access-list acl 2 permit tcp host 2.2.2.2 host 5.5.5.5" is what I must select as a network analyst if I want the ACL (Access Control List) to forward the ICMP (Internet Control Message Protocol) traffic from host machine 2.2.2.2 to host machine 5.5.5.5.

What is Access Control List ?

In particular in computer security settings, the term "Access Control List" (ACL) refers to a specific set of rules used for filtering network traffic. ACLs also grant authorized users access to specific system objects like directories or files while denying unauthorized users access.

ACLs are primarily found in switches and routers that have packet filtering capabilities.

What is the Internet Control Message Protocol ?

Network devices use the Internet Control Message Protocol (ICMP), a network layer protocol, to identify problems with network communication. ICMP is primarily used to check whether data is arriving at its target location on time. The ICMP protocol is frequently used on network equipment, such as routers. Although ICMP is essential for error reporting and testing, distributed denial-of-service (DDoS) attacks can also make use of it.

To know more about ACL, check out:

https://brainly.com/question/13198620

#SPJ1

today, most organizations use the traditional approach to data management, where multiple information systems share a pool of related data.

Answers

The most common style of organizational chart is one with a hierarchical structure.

Traditional relational databases: what are they?

Users can manage preset data relationships across various databases using standard relational databases. Standard relational databases include the likes of IBM DB2, Microsoft SQL Server, Oracle Database, and MySQL.

Traditional data management: What is it?

Traditional data: The structured data that is primarily maintained by all sizes of businesses, from very small to large organizations, is referred to as traditional data. A fixed format or fields in a file were used to store and maintain the data in a traditional database system's centralized database architecture.

To know more about traditional data visit:-

https://brainly.com/question/14525283

#SPJ4

jose inserts the formula =date(2021, 2, 15) in cell a15. when he presses enter, 2/15/2021 will appear in the cell.
a. true
b. false

Answers

Jose inserts the formula =date(2021, 2, 15) in cell a15. when he presses enter, 2/15/2021 will appear in the cell is option A: True.

What is the date () function about?

In excel, the serial number representing a certain date is returned by the DATE function. The below arguments are part of the DATE function syntax: Required Year The year argument's value might be one to four digits.

Therefore, in regards to date setting, the start date and the number of months you wish to add or subtract are the two inputs needed for the EDATE function. Enter a negative value as the second argument to deduct months. For instance, the result of =EDATE("9/15/19",-5") is 4/15/19.

Learn more about Excel formula from

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

when using the crc method, other classes that are needed to fulfill the responsibilities of a given class are called its

Answers

when using the crc method, other classes that are needed to fulfill the responsibilities of a given class are called its Collaborators.

what are collaborators in java?In Java, collaborators aren't particularly special. The phrase used to identify the other classes involved in a design pattern was first used in the Design Patterns book.Utilizing internal and external connections to produce ideas, identify solutions, and accomplish shared objectives for your company is known as business cooperation. Open, sincere, and fruitful communication is the foundation of any cooperation that is genuinely successful and yields results for both partners.The behavior of a collaborator must be combined from several sources, but it does so inside the framework of a single application. A library class only performs one function, but it does so across a wide range of applications.

To learn more about  collaborators  refer,

https://brainly.com/question/7097095

#SPJ4

which one of the following alternative processing sites takes the longest time to activate but has the lowest cost to implement?

Answers

An alternative processing sites that takes the longest time to activate but has the lowest cost to implement is: C. Cold site.

What is a data center?

In Computer technology, a data center is sometimes referred to as a server room and it can be defined as a dedicated space or room that is typically designed and developed for keeping a collection of servers and other network devices.

Generally speaking, hot and cold aisles are often used in data centers (server rooms) to ensure proper ventilation, especially by removing hot air and pushing cool air into the server room.

In conclusion, a cold site is usually used as a backup site or location in the event of a disruptive operational disaster at the normal premises.

Read more on hot sites here: https://brainly.com/question/15886900

#SPJ1

Complete Question:

Nolan is considering the use of several different types of alternate processing facility for his organization's data center. Which one of the following alternative processing sites takes the longest time to activate but has the lowest cost to implement?

A. Hot site

B. Mobile site

C. Cold site

D. Warm site

why would the ls -l command be preferable to the ls command when examining a directory

Answers

The ls -l command is preferable to the ls command when examining a directory because it provides more detailed information about the files and directories.

What is command?
A command in computing is a request for a computer programme to carry out a particular task. It could be sent using a command-line interface, like a shell, as input to the a network service as part of the a network protocol, as an event inside a graphical user interface brought on by the user choosing an item from a menu, or as a command sent to a computer over a network. The word "command" is specifically used in absolutely crucial computer languages. The name was given to these languages because statements in them are frequently written in an imperative mood, which is common in many natural languages. A command is typically compared to a verb in a language where an imperative statement is viewed as being similar to a sentence.

The ls -l command displays a list of files and directories in long format, which includes the permissions, number of links, owner, group, size, last modification date, and name. This additional information makes it easier to determine the type of file, whether it is accessible to the user, and when it was last modified.

To learn more about command
https://brainly.com/question/25243683
#SPJ1

Can someone please answer this following ALL RULES and INCLUDE COMMENTS, code must be in JAVA CODE PLEASEPROBLEM STATEMENT : In today’s Lab we will explore a specific way to perform a Depth First Search (DFS) of a given Graph [Ref : Figure 1] You will implement the traversal using one of the two ways stated below : [1] With Recursion. 1 [2] Iteratively by using an explicit Stack.Figure 1: Graph for Traversal(picture will be posted below)/* Class representing a directed graph using adjacency lists */ static class Graph { int V; //Number of Vertices LinkedList[] adj; // adjacency lists //Constructor Graph(int V) { this.V = V; adj = new LinkedList[V]; for (int i = 0; i < adj.length; i++) adj[i] = new LinkedList(); } //To add an edge to graph 2 void addEdge(int v, int w) { adj[v].add(w); // Add w to the list of v. } The edges of the Graph is given to you. g.addEdge(0, 1); g.addEdge(0, 2); g.addEdge(2, 3); g.addEdge(2, 4); g.addEdge(4, 5); g.addEdge(1, 3); g.addEdge(3, 5);Your code will need to return the traversal of the nodes in DFS order, where the traversal starts from Node/Vertex 0.When you follow the traversal process as specified - the complexity of the solution will be linear as shown below. Time Complexity: O(V + E), where V is the number of Vertices and E is the number of Edges respectively. Space Complexity: O(V ) The linear space complexity would come from the recursion (AKA "recursion stack") you employ to traverse the Graph. If you solve the problem without recursion (using an explicit Stack), then the mentioned space complexity is obvious.Submissions that don’t meet the linear Time and Space complexities will only receive 50% credit.Very Very Important :(1) Your code should be well commented which explains all the steps you are performing to solve the problem. A submission without code comments will immediately be deducted 15 points !(2) As a comment in your code, please write your test-cases on how you would test your solution assumptions and hence your code. A submission without test cases (as comments) will immediately be deducted 15 points ! Please Remember : Although, written as comments - You will address your test cases in the form of code and not prose

Answers

Recursion is a programming technique in which a function calls itself, either directly or indirectly.

Why is recursion used?

Recursion can be a useful tool for solving problems that can be broken down into smaller, similar subproblems.

For example, it can be used to quickly and efficiently search through large amounts of data or to perform complex mathematical operations.

It can also make code simpler and easier to read, as the logic for solving a problem can be written in a more straightforward, step-by-step manner.

Recursion can be a useful tool for solving certain types of problems, but it is important to use it carefully, as it can easily lead to infinite loops if not implemented correctly.

To Know More About Recursion, Check Out

https://brainly.com/question/29238957

#SPJ1

Recursion is a programming technique in which a function calls itself, either directly or indirectly.

Why is recursion used?

Recursion can be a useful tool for solving problems that can be broken down into smaller, similar subproblems.

For example, it can be used to quickly and efficiently search through large amounts of data or to perform complex mathematical operations.

It can also make code simpler and easier to read, as the logic for solving a problem can be written in a more straightforward, step-by-step manner.

Recursion can be a useful tool for solving certain types of problems, but it is important to use it carefully, as it can easily lead to infinite loops if not implemented correctly.

To Know More About Recursion, Check Out

brainly.com/question/29238957

#SPJ1

sheffield corporation owns a patent that has a carrying amount of 360000 sheffield expects future net cash flows from this patent to total 295000

Answers

Annual tests for intangible asset impairment are required and if an asset is found to be impaired.

What should be evaluated for impairment every year?Because the total of an intangible asset's undiscounted cash flows is theoretically unlimitedThe impairment test for intangibles with an indefinite useful life is a little different.They are compared to their fair value and their carrying value to check for impairment at least once a yearAn impairment loss equal to the difference between the two is recorded.The first phase of the impairment test determines if the long-lived assets are recoverable.Any excess of carrying value over the asset's fair value that exceeds the total of its undiscounted cash flows is recorded as an impairment loss.

To learn more about impairment refer to:

https://brainly.com/question/15392307

#SPJ1

What type of system software manages memory?

A. operating system

B. screen saver

C. memory stick

D. file manager

Answers

The type of system software that manages memory is this:

A. Operating system

What is an operating system?

An operating system refers to a software management system that is able to manage files, process applications, and even manage memory. Many technological devices have operating systems that are able to manage the execution of tasks within their environment.

Of all of the options mentioned, we can conclude that an operating system is a correct answer because one of its main functions is the management of memory. It also provides a graphical interphase through which users can operate a device.

Learn more about operating systems here:

https://brainly.com/question/22811693

#SPJ1

Using the Domain Name System (DNS) enables organizations to change ISP service providers (i.e., change IP addresses), without having to change the Uniform Resource Locator (URL). True False

Answers

Using the Domain Name System( DNS) enables associations to change ISP service providers( i.e., change IP addresses), without having to change the Uniform Resource Locator( URL) is True.

What's Domain Name System?

The phonebook of the Internet is the Domain Name System( DNS). sphere names likeespn.com or the new yorktimes.com are used by people to pierce information online. Through Internet Protocol( IP) addresses, web cybersurfers may communicate. In order for cybersurfers to load Internet coffers, DNS converts sphere names to IP addresses.

What's Uniform Resource Locator?

An Internet resource can be set up using a URL( Uniform Resource Locator), a special identifier. It's also known as a web address. URLs contain several factors, similar as a protocol and sphere name, which instruct a web cybersurfer on how and from where to recoup a resource.

Sphere names can collude to a new IP address if the host's IP address changes, which is one of DNS's advantages. compared to an IP address, are simpler to study. allow for the use of sphere name scales by associations that aren't reliant on IP address allocation.

In order for cybersurfers to load Internet coffers, DNS converts sphere names to IP addresses. Each machine on a network is uniquely linked by its IP address, which enables communication between them via the Internet Protocol( IP).

Learn more about DNS click here:

https://brainly.com/question/27960126

#SPJ4

kleinberg, jon. algorithm design (p.426 q.20). your friends are involved in a large-scale atmospheric science experiment. they need to get good measurements on a set s of n different conditions in the atmosphere (such as the ozone level at various places), and they have a set of m balloons that they plan to send up to make these measurements. each balloon can make at most two measurements. unfortunately, not all balloons are capable of measuring all conditions, so for each balloon i

Answers

Algorithm by examining practical issues that drive algorithms, design provides an introduction to them.

Students learn a variety of design and analytical methods for issues that occur in computing applications from this book. At Cornell University, Jon Kleinberg has the title of Tisch University Professor of Computer Science. With a focus on the social and information networks that support the Web and other online media, his study examines problems at the intersection of networks and information.

His research has been funded by grants from the ONR Young Investigator Award, the MacArthur Foundation, the Packard Foundation, the Sloan Foundation, and the Career Award from the National Science Foundation. He belongs to the American Academy of Arts and Sciences, the National Academy of Sciences, and the National Academy of Engineering.

At Cornell University, Eva Tardos holds the Jacob Gould Schurman Chair in Computer Science. She graduated from with a Dipl.Math in 1981 and a Ph.D. in 1984.

To know more about Computer click here:

https://brainly.com/question/15707178

#SPJ4

Analyse how computational thinking skills can impact software design and the quality of the software applications produced.

Answers

The ability to learn a computer programming language is essentially what computational thinking skills are, and they also play a big role in the software development process.

Additionally, it helps to raise the caliber of many programming-related software programs. Computational thinking abilities: Computational thinking has several benefits in software applications, including the capacity to decompose a complex system problem into manageable parts. It helps focus only on the most important and useful information or data in the software design process and applications, ignoring irrelevant data.  Computational thinking abilities: Computational thinking has several benefits in software applications, including the capacity to decompose a complex system problem into manageable parts.

Learn more about system here-

https://brainly.com/question/14253652

#SPJ4

terrance has been tasked with upgrading his company's wi-fi network that provides network access for several devices that are located somewhat far apart from each other. he knows that they all need to stream a large amount of data simultaneously. which of the following capabilities should he look for when shopping for new hardware?

Answers

How to shop hardware?

When shopping for new hardware to upgrade a Wi-Fi network that needs to support the simultaneous streaming of large amounts of data, Terrance should look for hardware that offers high bandwidth and strong signal strength.

High bandwidth means that the hardware can support high data transfer rates, which is important for streaming large amounts of data.

Strong signal strength means that the hardware can maintain a stable connection over long distances, which is important if the devices are located far apart from each other.

Other features to look for include support for the latest Wi-Fi standards, such as 802.11ac or 802.11ax, and the ability to create multiple wireless networks, or "SSIDs," so that different devices can be placed on different networks for better performance. Terrance should also consider the number and type of antennae the hardware has, as well as its overall design and ease of use.

To Know More About SSIDs, Check Out

https://brainly.com/question/26794290

#SPJ1

Answer: the answer is a. MU-MIMO

Explanation:

If the Transaction file has the following 3 records:
Trans Key
D1
B1
A1
What will the value of Total be after execution of the program?
a) 9
b) 10
c) 8
d) 6
e) 7

Answers

It is to be noted that "If the Transaction file has the following 3 records:

Trans Key D1, B1, A1, the value of Total be after execution of the program will be 7 (Option E).

What is a transaction file?

A transaction file is used to store data while a transaction is being processed. The file is then used to update the master file and audit transactions on a daily, weekly, or monthly basis. In a busy supermarket, for example, daily sales are logged on a transaction file and then utilized to update the stock file.

Master files are indestructible. Transaction files exist just for the duration of the transaction and are thereafter deleted. Here are some examples of transaction files:

Purchase orders, work cards, invoice dispatch notes, and so forth

Learn more about Transaction File:
https://brainly.com/question/14281365
#SPJ1

What is the missing line of code to have the following output?

Output Pat Jones PJ23

class cholesterol

low Density = 0

highDensity = 0

class patient

def __init__(self firstName, lastName idNum):

self firstName = firsiName

self lastName = lastName

selfdNum = idNum

Answers

Thus, the missing line of code to have the following output is ("\'hi").


What is a code?

We connect with technology through coding, often known as computer programming. Coding is similar to writing a sequence of instructions since it instructs a machine on what to do. You can instruct machines what they should do or how and when to react much more quickly by knowing how to compose code.

def __init__(self firstName, lastName idNum)

Suggest that there will be a console log that will be needed in the code.

The coded line that was missing is  ("\'hi"). This will make the coding complete.

Learn more about code, here:

https://brainly.com/question/17204194

#SPJ1

Which of the following are ways in which a programmer can use abstraction to manage the complexity of a program?
Select two answers
Replacing the string variables name1, name2, name3, and name4 with a list of strings called names

Replacing each instance of repeated code with a call to a procedure

Answers

The following are ways in which a programmer can use abstraction to manage the complexity of a program.

1. Use classes to group related functions and data into a single unit.
2. Break a program into smaller functions that each perform a single task.
3. Use variables and constants to store values.
4. Use comments to document the code.
5. Separate the user interface from the business logic.
6. Use inheritance to avoid repeating code.
7. Create an object model to represent complex data.
8. Use data structures to store information.

What is program?
A series of instructions written in a programming language for such a computer to follow is referred to as a computer programme. Software, that also includes documentation as well as other intangible components, includes computer program as one of its components. The source code of a computer program is the version that can be read by humans. Since computers can only run their native machine instructions, source code needs to be run by another program. Consequently, using the language's compiler, source code may be converted to machine instructions. (An assembler is used to translate program written in machine language.) An executable is the name of the resulting file. As an alternative, the language's interpreter may run source code.

To learn more about program
https://brainly.com/question/27359435
#SPJ1

The goals of this lab are to setup the data structures that stores information needed for the chess game and to draw the canvas showing the chess board function name: setupBoardInfofunction purpose: Sets up dictionary containing the coords of each square (lower,middle,upper pnt) and is a helper function for setupboardparameters: sp (list),width (int),height (int)output: boardDict (dict)function name: setupBoardfunction purpose: Sets up all of the information needed for determining the placement of the squares of the chessboardparameters: infoB (dict), colors (str)outputs: board (GraphWin), boardDict (Dict), imgTurn (Image)use the zellar graphics.py, because I cannot upload it.

Answers

These kinds of questions are used in interviews to assess a candidate's proficiency in object-oriented design. So, the classes should come first in our minds.

Spot: A spot is an optional piece that represents one block of the 8 by 8 grid.

Each piece will be put on a spot as the fundamental unit of the system. An abstract class is the piece class. The abstract operations are implemented by the extended classes (Pawn, King, Queen, Rook, Knight, and Bishop).

Board: The board is an 8 by 8 grid of boxes that houses all of the moving chess pieces.

Player: The player class represents a player in the game.

Move: A move in a game that includes the starting and ending locations. The person who made the move will likewise be tracked by the Move class.

Game: This class manages how a game plays out. It records each game move, who is taking the current turn, and the outcome of the match.

To know more about class click here:

https://brainly.com/question/16393395

#SPJ4

given the following lstm, if the input sequence has 32 elements (time steps), how many elements (time steps) in the output sequence?

Answers

Given the following lstm, if the input sequence has 32 elements (time steps), 128 elements (time steps) are here in the output sequence.

What is a sequence?

The sequence, or order in which commands are executed by a computer, enables us to complete tasks with multiple steps.

A sequence is a basic algorithm in programming: it is a set of logical steps that are performed in the correct order. In order to complete a desired task, computers require instructions in the form of an algorithm, and this algorithm must have the correct order of steps, or sequence.

We can connect sequence to our daily lives. Consider creating a PB&J sandwich as a task. To make a delicious peanut butter and jelly sandwich, we must complete several steps in the correct order. We'd start by gathering our ingredients, then getting a knife and spreading the peanut butter, jelly, and soforth.

Learn more about sequence

https://brainly.com/question/27943871?source=archive

#SPJ1

T/F the bls team is caring for a patient who just went into cardiac arrest. the team leader asks you to call the code team. which statement demonstrates appropriate closed-loop communication?

Answers

It is true that a patient who recently suffered a cardiac arrest is being cared for by the BLS team. You are required to call the code team by the team leader.

The American Heart Association has guidelines for performing effective CPR, whether it be Basic Life Support (BLS) or Advanced Cardiac Life Support, when a person experiences a cardiac arrest (ACLS). Effective team dynamics is one of those criteria, and they place a strong emphasis on effective communication.

Therefore, they advise that the following things be in place for the code to be most successful when one is called because someone needs resuscitation. And I think we can apply these same principles to our organizations and other places of business in order to learn from them.

To know more about code click here:

https://brainly.com/question/27397986

#SPJ4

from your windows laptop, you have been working on a large project that has required you to open a lot of items (programs, files, etc.). it is time to leave the office and make the two-hour journey home. you will be working on this project a bit more when you arrive at home. your computer's battery is failing and only has a very short life span (about one hour) before your computer loses power. when you arrive home and open the laptop lid, nothing happens. after plugging in your computer and powering it on, you find that all of your programs and files have been closed. to troubleshoot, you open control panel and navigate to the settings that control what your computer will do when the laptop lid is closed. which of the following power settings must you choose to prevent the same problem in the future?

Answers

What is power settings?

To prevent the same problem from happening in the future, you should choose the power setting that controls what your computer will do when the laptop lid is closed.

This setting is typically found in the Control Panel under the Power Options or Power Management settings. Depending on your specific computer and operating system, the exact location and name of this setting may vary, but it is typically located under the "Advanced Power Settings" or "Power Management" section.

Once you have found this setting, you can select the option that tells your computer to "Do nothing" when the laptop lid is closed, which will keep your programs and files open and prevent your computer from losing power when the lid is closed.

To Know More About Power Management, Check Out

https://brainly.com/question/14605354

#SPJ1

which access type should be used when there is a need for a fast access to massive amount of data

Answers

Direct access type should be used when there is a need for a fast access to massive amount of data.

What is meant by DirectAccess?Direct access in computer storage refers to the process of reading and writing data on a storage device by traveling directly to where the data is physically located on the device instead of having to move sequentially from one physical location to another to find the right data.Anytime a user is online and connected to the Internet, DirectAccess gives them transparent access to internal network resources. DirectAccess doesn't require any user input or login information to connect. It can be thought of as if the machine makes the connection to internal resources.Direct access type should be used when there is a need for a fast access to massive amount of data.

To learn more about Direct access refer to:

https://brainly.com/question/2597004

#SPJ4

Other Questions
Identify the true statement about people with low self- esteem. A. They prefer understanding responses even if they are negative. B. They usually choose less desirable partners. C. They are usually less prone to loneliness and eating disorders. D. Hey are most likely to ignore and neglect others' worst behaviors. explain in terms of bonding why solid sulfur is soft, brittle and non conductive fossilized tree sap, also known as blank, prevents scavengers, water, and oxygen from getting to the organism and destroying its remains.fossilized tree sap, also known as blank, prevents scavengers, water, and oxygen from getting to the organism and destroying its remains. Dont be shocked, but Columbus didnt discover America. How we look at Columbus Day has changed over the years. In 1492, a man who never realized that he had not found a route to India changed the future of our world forever. His voyage began the recognition of the Americas by Europe. That is something worth celebrating. Which revision would best improve Alisons thesis statement (claim)?Today, Columbus Day should be a holiday because his discovery made America what it is today.I think we should celebrate Columbus Day because his discovery brought other Europeans to America, those adventurers created new cities and states, and schools can enjoy the holiday as a day off.Columbus Day should be a holiday because his discovery brought other Europeans to America, those adventurers created new cities and states, and schools can enjoy the holiday as a day off.That is something worth celebrating because his discovery made America a country and brought other Europeans to settle here. Because of Columbus, other Europeans started coming to the New World. The Spanish conquistadors came searching for gold. They brought with them their Christian faith and their language. Would Latin America be Latin, if it wasnt for Columbus? Which revision would help Alison to make sure she includes only relevant examples and facts?She should delete the question, Would Latin America be Latin, if it wasnt for Columbus?She should change the question, Would Latin America be Latin, if it wasnt for Columbus? to evidence: Columbus was the founder of the first permanent European settlement in the New World (The Holiday Blogger 4).She should change the question, Would Latin America be Latin, if it wasnt for Columbus? to evidence: Many believe that Vikings started a colony on Newfoundland, Canada, hundreds of years before Columbus arrived in the Caribbean (The Holiday Blogger 4).She should change the question Would Latin America be Latin, if it wasnt for Columbus? into a statement: Latin America would not even be Latin if it wasnt for Columbus.Later, settlers came for a better life and greater freedom, a fresh start in a new place. Jamestown, Plymouth Rock, and even New York were settled because of interest sparked by Columbus travels. The people who came brought their hopes, dreams, skills, and knowledge. They established colonies, which became villages, which grew into towns and cities. New York might be a different place today if Columbus had never sailed. What grammar change should be made in this paragraph?The first sentence is a run-on sentence.The possessive use of Columbus (Columbus travels) should be Columbuss travels.The comma rule of using commas in a series is incorrectly applied to the city names: Jamestown, Plymouth Rock, and even New York.The last sentence should have a question mark instead of a period. That Columbus day is a school holiday is another reason for celebration. We really have too many school days, and a nice three day weekend in October is really appreciated. Since we dont get a day off for Halloween, Columbus day is a fair trade.How can Alison best include transitions to improve the underlined sentences above? Choose TWO words or phrases that would best connect this paragraph to the rest of the essay.Next,Additionally,In contrast,However, Which revision best reflects a way Alison could use a more formal style in her essay?Change the paragraph to say, Celebrating Columbus day as a school holiday would be another reason for celebration. Students really have too many school days, and a nice three day weekend in October would be really appreciated. Since most schools dont take a day off for Halloween, Columbus day is a fair trade. which of the following is most closely related to a lizard? group of answer choices salamander bird lamprey chimaera less than (), and not (not equal to) are examples of ____. Question 1 (1 point)(8.01 LC)What are the factors modeled by this array? (1 point)an array with four rows and seven columns a4 x 7 b6 x 4 c7 x 5 d8 x 2 What occurs in a reduction? which choice below is the correct phylogenetic order from largest, most inclusive group to smallest, most exclusive group? group of answer choices ecdysozoa > arthropoda > protostomia > insects protostomia > ecdysozoa > arthopoda > insects ecdysozoa > protostomia > arthopoda > insects arthropoda > protostomia > insects > ecdysozoa Which plant is poisonous plant? EVALUATE C and PC=P= the focus on ____________ by methodists and baptists reflected the rise of democracy in american culture and the increased individualism of frontier regions. rachel and wayne are concerned with teaching their children to act prosocially. social learning psychologists would advise them to? I dont know this it too hard help meeeeeeeeeeeeeeeeeee pleaseee!!!!help meeeeeeeeeeeeeeeeeee pleaseee!!!!help meeeeeeeeeeeeeeeeeee pleaseee!!!!help meeeeeeeeeeeeeeeeeee pleaseee!!!!help meeeeeeeeeeeeeeeeeee pleaseee!!!! An iron nail rusts when exposed to oxygen. How many grams of iron are needed to completely consume 20.0 L of oxygen gas according to the following reaction at 25 C and 1 atm?iron ( s ) + oxygen ( g ) iron(III) oxide ( s ) How does the conflict that ends in Snowball's expulsion most advance the plot? In christmas under the stars, for how many years has clem run the christmas tree lot?. a sample of polystyrene, which has a specific heat capacity of , is put into a calorimeter (see sketch at right) that contains of water. the polystyrene sample starts off at and the temperature of the water starts off at . when the temperature of the water stops changing it's . the pressure remains constant at . describe a difficult task you were faced with and how you addressed it sample answer