using c++ programming language
Consider the class Movie that contains information about a movie. The class has the following attributes: - The movie name - The SA Film and Publication Board (FPB) rating (for example, A, PG, 7-9 PG,

Answers

Answer 1

The Movie class in C++ contains attributes to store information about a movie, including the movie name and its rating given by the SA Film and Publication Board (FPB).

The Movie class serves as a blueprint for creating movie objects in C++. It typically includes member variables to represent the movie name and its FPB rating. The movie name attribute is of string type, allowing for storing the title of the movie. The FPB rating attribute can be of string or enumeration type to represent different ratings such as A, PG, 7-9 PG, etc., as determined by the FPB.

With the Movie class, you can create instances or objects of movies, each having its own name and FPB rating. These objects can be utilized to store and manipulate movie information within a program. Additionally, the class can have member functions to perform operations related to movies, such as displaying movie details or calculating statistics based on ratings.

By utilizing the Movie class in C++, you can effectively manage and organize movie information, allowing for efficient handling of movie-related tasks in a program.

know more about attributes :brainly.com/question/32473118

#SPJ11

using c++ programming language Consider the class Movie that contains information about a movie. The class has the following attributes: - The movie name - The SA Film and Publication Board (FPB) rating (for example, A, PG, 7-9 PG, 10-12 PG, 13, 16, 18, X18, XX) \( { }^{1} \)


Related Questions

9. Digital Clock System (LCD) A clock, which involves LCD, shows hour and minutes. You must be able to set the clock and alarm time. A buzzer must work and An LED must be on at the adjusted time. You may use only Microchip PIC microcontrollers (not Atmel, Arduino, etc.). The PIC16F877A library is not installed so the usage of PIC18F4321 is recommended. You can use any program for coding. However, it is recommended to use the MikroC. Mikroc cannot be run on virtual computers and macs. That's why you need to download and use the program on your own computer.

Answers

Digital Clock System (LCD)Digital clocks work in much the same way as traditional analog clocks, with the main difference being the way in which the time is displayed.

Digital clocks use electronic digital circuits to measure and display the time. A clock that includes LCD technology is one that has a liquid crystal display.LCD screens are a type of flat-panel display that uses liquid crystals to create images. The term "liquid crystal" refers to the type of molecules that are used to create the screen's pixels. Digital clocks with LCD technology can display both hours and minutes. The clock and alarm time must be adjustable, and a buzzer must sound and an LED must turn on at the designated time. The use of only Microchip PIC microcontrollers is allowed (not Atmel, Arduino, etc.). PIC18F4321 is the recommended microcontroller to use since PIC16F877A library is not installed.You are free to use any programming language you choose, but MikroC is the preferred language. MikroC, on the other hand, cannot be used on virtual computers and macs, so it must be downloaded and used on your own computer.

To know more about Digital visit:

https://brainly.com/question/15486304

#SPJ11

Which protocol would translate to
?
a. SNMP
b. HTTPS
c. SSL
d. DNS

Answers

The correct option is b. The protocol that would translate to HTTPS is HTTPS itself.

HTTPS, or Hypertext Transfer Protocol Secure, is a protocol for transferring data between a user's web browser and a website. HTTPS is used to protect user privacy by encrypting data as it is transmitted.

In addition to being used for web browsing, HTTPS is also used for email, file transfers, and other data transfer applications.

The HTTPS protocol is used to encrypt data transmitted over the internet between a user's web browser and a website. HTTPS uses encryption algorithms to protect data from being intercepted and read by unauthorized individuals.

When a user connects to a website using HTTPS, their web browser and the website's server authenticate each other's identities, and then exchange cryptographic keys to establish a secure connection.

To know more about HTTPS visit:

https://brainly.com/question/32255521

#SPJ11

in python true or false questions
1. In a counter-controlled while loop, it is not necessary to initialize the loop control variable
2. It is possible that the body of a while loop might not execute at all
3. In an infinite while loop, the loop condition is initially false, but after the first iteration, it is always true

Answers

The statement given "In a counter-controlled while loop, it is not necessary to initialize the loop control variable" is false because in a counter-controlled while loop, it is necessary to initialize the loop control variable before the loop begins.

The statement given " It is possible that the body of a while loop might not execute at all" is true because  it is possible that the body of a while loop might not execute at all if the loop condition is initially false.

The statement given " In an infinite while loop, the loop condition is initially false, but after the first iteration, it is always true" is false because in an infinite while loop, the loop condition is always true from the start and remains true throughout the iterations.

In a counter-controlled while loop, it is necessary to initialize the loop control variable before the loop begins. The initial value of the variable determines the starting point and the condition for loop termination.

It is possible that the body of a while loop might not execute at all if the loop condition is initially false. In such cases, the loop is skipped entirely, and the program continues to the next statement after the loop.

In an infinite while loop, the loop condition is always true from the start and remains true throughout the iterations. This causes an endless loop, as the condition is not supposed to become false during the execution of the loop.

You can learn more about while loop at

https://brainly.com/question/26568485

#SPJ11

which keyword instructs the computer to skip to the next line after a loop?

Answers

The keyword that instructs the computer to skip to the next line after a loop is the "continue" statement. A "continue" statement is used to control the execution of a loop in computer programming languages. It is utilized to bypass certain sections of the loop and move to the next iteration without executing the remaining code in the loop.

A "continue" statement is used to move the control to the next iteration of the loop and skip the remaining instructions in the current loop iteration. When the program comes across the "continue" statement in a loop, it will ignore any remaining code in the current iteration and proceed to the next iteration.

A "continue" statement is frequently used in loops to skip certain iterations based on specific conditions. When a condition is met, a "continue" statement can be employed to bypass the rest of the code in the current iteration and proceed to the next iteration. The "continue" statement can be used in both for and while loops and is an essential element of loop control statements in programming.

To know more about loop visit:

https://brainly.com/question/31915192

#SPJ11

Explain the rationale for and the overall approach of the
ring-based architecture implemented on Intel (and compatible)
processors.

Answers

Ring-based architecture is a structure where there are several concentric circles or rings within a computer system, with each ring representing a different privilege level.

The ring-based architecture implemented on Intel and compatible processors was done to improve system security and performance.

The rationale behind the ring-based architecture is that it divides the system into smaller and more manageable sections or layers.

These sections are isolated from one another, which helps to increase the security of the system. The overall approach of the ring-based architecture involves four distinct levels of privilege:

Ring 0 - This is the most privileged level and is reserved for the operating system kernel. It has full access to system resources and can execute any instruction.

Ring 1 - This level is reserved for device drivers and other critical operating system components. It has access to some system resources but not all.

Ring 2 - This level is used by system services and other components that are less critical than device drivers. It has limited access to system resources.

Ring 3 - This is the least privileged level and is used by user applications. It has the least amount of access to system resources.

The ring-based architecture is significant because it helps to prevent unauthorized access to system resources. Because each level of privilege is isolated from the others, it is more difficult for malware and other malicious software to gain access to critical parts of the system.

The ring-based architecture also improves system performance.

By separating system components into smaller and more manageable sections, it is easier for the operating system to allocate system resources to different components. This can result in improved performance and reduced system crashes and errors.

To know more about architecture visit:

https://brainly.com/question/28724722

#SPJ11

Java
Assume the file data. dat contains a sequence of binary data. Write a program that creates another file named reverse. dat that is a reverse copy of data. dat. For example, the first byte of reverse.

Answers

Java provides several libraries that simplify the creation and manipulation of files. Java's java.io package contains classes that let us create, read, and modify files.

The following is an example program that reads binary data from a file and creates another file with the same data in reverse order:

javaimport java.io.*;

public class ReverseFile

{

public static void main(String[] args)

{

try

{

FileInputStream fis = new FileInputStream("data.dat");

FileOutputStream fos = new FileOutputStream("reverse.dat");

byte[] buffer = new byte[1024];

int bytesRead;

while ((bytesRead = fis.read(buffer)) != -1)

{

for (int i = bytesRead - 1; i >= 0; i--)

{

fos.write(buffer[i]);

}

fis.close();

fos.close();

}

catch (IOException e)

{

e.printStackTrace();

}

}

}

We first create a FileInputStream object to read data from the data.dat file. We also create a FileOutputStream object to write data to the reverse.dat file. We then create a buffer array to read data from the input file in chunks of 1024 bytes. We then read data from the input file in chunks, and for each chunk, we write its bytes to the output file in reverse order. After we finish reading and writing all the data, we close both input and output files. This program creates a reverse copy of the data.dat file, which is stored in the reverse.dat file.

To know more about several visit:

https://brainly.com/question/32111028

#SPJ11







The input impedance of the CE is much lower than that of a CB while operating under the same conditions. Select one: O True O False

Answers

The input impedance of a transistor amplifier depends on its configuration. A common-emitter (CE) amplifier is a type of transistor amplifier where the input signal is applied to the base and the output signal is taken from the collector.

A common-base (CB) amplifier, on the other hand, has the input signal applied to the emitter and the output signal taken from the collector.

When comparing the input impedance of a CE amplifier to that of a CB amplifier operating under the same conditions, it can be observed that the input impedance of the CE amplifier is generally lower than that of the CB amplifier. This is because the input impedance of a CE amplifier is determined by the resistance seen by the base-emitter junction of the transistor, which acts as a forward-biased diode. The forward-biased diode has a relatively low impedance.

In contrast, the input impedance of a CB amplifier is determined by the resistance seen by the base-collector junction of the transistor, which acts as a reverse-biased diode. The reverse-biased diode has a higher impedance compared to the forward-biased diode in CE configuration. Therefore, the input impedance of a CB amplifier is typically higher than that of a CE amplifier.

It should be noted that the input impedance of both CE and CB amplifiers can be affected by various factors such as biasing conditions, frequency of operation, and load impedance. Hence, while the input impedance of a CE amplifier is generally lower than that of a CB amplifier, the exact value of the input impedance for a specific circuit will depend on the design parameters and operating conditions of the amplifier.

learn more about configuration here

https://brainly.com/question/32103216

#SPJ11

(a) Operational amplifier (Op-amp) circuits with extemal negative feedback are widely used for a variety of applications, such as the summing amplifiers. (i) Explain the term negative feedback. Next,

Answers

Negative feedback is a concept in which a portion of the output signal of a system is fed back to the input in an opposite phase to the input signal, thereby lowering the overall gain of the system.

An operational amplifier (Op-amp) circuit is a negative feedback amplifier. The voltage gain is the ratio of the output voltage to the input voltage, expressed as Av = Vout / Vin.

In an Op-amp circuit with negative feedback, the output voltage is always proportional to the input voltage, and this proportional constant is the gain of the amplifier.

Op-amp circuits with external negative feedback are widely used in a variety of applications, such as summing amplifiers. Summing amplifiers are used to add two or more input signals and produce a single output signal.

A summing amplifier circuit is created by connecting the output of several input channels to the input of an operational amplifier with a feedback resistor connected between the output and input terminals.

The input resistors for each channel are added together to create a total input resistance. The total input resistance, along with the feedback resistor, determines the gain of the amplifier. The summing amplifier can be used to combine audio signals, analog sensor signals, and other types of signals. This amplifier has many applications in audio mixing, instrument amplifiers, and signal conditioning.

It is essential to note that operational amplifiers are used for many other applications such as voltage follower, buffer, integrator, differentiator, and many others.

To know more about Negative feedback, visit:

https://brainly.com/question/14423769

#SPJ11

Briefly describe the overall process for a simple unattended
installation including all its configuration passes.? Must be at
least 75 words

Answers

Unattended installations are an ideal way to save time and resources when installing operating systems on a large number of computers.

Unattended installations may be used to set up different configurations and applications with varying settings and specifications by using an answer file, a configuration file that includes user inputs, settings, and scripts. The following are the different stages of the unattended installation process:
1. The process begins with booting from the installation media, such as a CD or DVD, and setting up the basic configuration in the initial installation pass.
2. The next stage is the special administration installation (SIA) that takes into account the final configuration and installation requirements for the installation.
3. In the unattended installation process, the following phase is the audit mode, which allows users to make necessary changes, test the settings, and alter the default configuration.
4. The last stage in the process is the out-of-box experience (OOBE) setup, which includes the configuration of settings and network parameters, and any post-installation scripts and operations.

To know more about installations visit:

https://brainly.com/question/32572311

#SPJ11







Q:What is the principle of the work to the stack memory LILO FIFO O POP OLIFO O PUSH *

Answers

The principle of work for stack memory is Last-In, First-Out (LIFO).

The LIFO principle in stack memory means that the last item that is added to the stack is the first one to be removed. This follows the concept of a stack of objects, where new objects are placed on top of the stack, and only the topmost object can be accessed or removed. When a new item is added to the stack, it becomes the new top element, and any subsequent removals will start from the top.

In the context of a stack data structure, two main operations are performed: push and pop. The push operation adds an item to the top of the stack, while the pop operation removes the topmost item from the stack. This LIFO behavior is essential for stack-based operations, as it ensures that the most recently added item is always the first one to be accessed or processed.

The LIFO principle has various applications in computer science and programming. Stack memory is commonly used in programming languages to store local variables, function calls, and return addresses. It is also used in operating systems for managing function call stacks, handling interrupts, and maintaining program execution contexts. The LIFO nature of stack memory provides an efficient and predictable way to manage data and control program flow.

To learn more about programming click here:

brainly.com/question/14368396

#SPJ11

Exercise 2: String Matching using Horspool's Algorithm Repeat Exercise 1 using Horspool's Algorithm. You can use the following steps: 1. Generate a Shift Table for the PATTERN. 2. Align TEXT and PATTE

Answers

Horspool's algorithm is an algorithm for matching string patterns. It was invented by Robert Horspool in 1980. It is a simple, efficient algorithm that is used for finding a pattern in a string.Exercise 2: String Matching using Horspool's Algorithm.

Repeat Exercise 1 using Horspool's Algorithm. You can use the following steps:Generate a Shift Table for the PATTERN.Align TEXT and PATTERN.Scan TEXT with the help of Shift Table until a Mismatch is found.Repeat steps 2 to 4 until either the pattern is found or the end of TEXT is reached.For example, let the pattern be “ACAA” and the text be “ACAACAAACACA”.Step 1: Generate the Shift Table for PATTERN “ACAA”.

The shift table is a data structure that stores the distance that the pattern needs to be shifted to the right based on the last character of the pattern. For instance, the table for pattern “ACAA” will be {1,2,4,4} respectively for each character, as given below.letter DistanceA 1C 2A 4A 4Step 2: Align TEXT and PATTERN. Here, we need to align the first four characters of the pattern “ACAA” with the first four characters of the text “ACAACAAACACA”.

To know more about algorithm visit:

https://brainly.com/question/29101948

#SPJ11

Time left 0:38:40 Assume you run the following script: n = int(input('Please enter an integer: ')) while n > 36 and n < 46: print("G'day, World!") n+= 2 Answer, how many times the string "G'day. World!" will be printed in the console if n is assigned the following value? Explain your answers. (a) 36 (b) 40

Answers

If the value of 'n' is assigned as 36, the string "G'day, World!" will not be printed at all. If 'n' is assigned as 40, the string will be printed twice.

The given script prompts the user to enter an integer and assigns it to the variable 'n'. The while loop condition checks if 'n' is greater than 36 and less than 46. If this condition is true, the string "G'day, World!" is printed, and 'n' is incremented by 2.

For case (a) when 'n' is assigned as 36, the while loop condition is not satisfied since 36 is not greater than 36. Therefore, the string "G'day, World!" is never printed, and the loop is not executed.

For case (b) when 'n' is assigned as 40, the while loop condition is satisfied because 40 is greater than 36 and less than 46. The string "G'day, World!" is printed once, and 'n' is incremented by 2 to become 42. Since 42 is still within the range, the condition is satisfied again, and the string is printed for the second time. After that, 'n' becomes 44, which is outside the range, so the loop terminates. In total, the string "G'day, World!" is printed twice in the console.

Therefore, if 'n' is assigned the value 36, the string is not printed, and if 'n' is assigned the value 40, the string is printed twice.

Learn more about printed here:

https://brainly.com/question/26935277

#SPJ11

1a. What is the decimal value closest to this floating point
number in 32- bit (single precision) IEEE-754 format
00111110011011010000000000000000?
1b. What is the addition of 4-bit, two’s complemen

Answers

1a. The decimal value closest to the given floating-point number in 32-bit IEEE-754 format 00111110011011010000000000000000 is approximately 0.6000000238.

1b. The addition of the 4-bit two's complement binary numbers 1101 and 0100 is 00101 with an overflow.

a. In the IEEE-754 single precision format, the number is represented as a sign bit followed by an 8-bit exponent and a 23-bit fraction. Converting the given binary representation to decimal, we find that the sign bit is 0 (positive), the exponent is 124 (binary 01111100), and the fraction is 0.11011010000000000000000. The exponent bias is 127, so the actual exponent is 124 - 127 = -3. The decimal value can be calculated using the formula: (-1)^sign × (1 + fraction) × 2^exponent. Plugging in the values, we get approximately 0.6000000238.

b. Adding the two numbers, we get:

 1101

+ 0100

-------

10001

The result is a 5-bit number. Since we are working with 4-bit numbers, the most significant bit (1) is discarded, resulting in a 4-bit number 0101, which is the binary representation of decimal 5. The overflow occurs when the sum requires more bits to represent the result. In this case, the overflow is indicated by the discarded most significant bit.

To know more about IEEE-754, click here: brainly.com/question/32568664

#SPJ11

Search the Internet to locate a story on ethical or privacy
issues with data mining.
Identify the ethical and privacy-related issues in the
story.
Post the link to the story.
Explain why these ethi

Answers

An article titled "The Ethical and Privacy Implications of Data Mining" highlights the issues surrounding ethical and privacy concerns in data mining.

Data mining involves extracting patterns and insights from large datasets, often collected from various sources. While data mining can provide valuable information and drive innovation, it also raises ethical and privacy-related concerns.

One of the ethical issues in data mining is the potential for misuse of personal information. When extensive data is collected without individuals' knowledge or consent, it can infringe on their privacy rights. Organizations must ensure that data collection practices are transparent and that individuals have the right to control their own data.

Another ethical concern is the potential for discrimination or bias in data mining algorithms. If the data used for mining contains inherent biases, such as racial or gender biases, the resulting insights and decisions may perpetuate unfair treatment or reinforce existing societal inequalities. It is crucial to address these biases and ensure that data mining processes are fair and unbiased.

Furthermore, data mining can raise concerns about data security. The aggregation and storage of large amounts of sensitive information increase the risk of data breaches and unauthorized access. Organizations must implement robust security measures to protect individuals' personal data from malicious actors.

Overall, ethical and privacy issues in data mining revolve around the need for transparency, informed consent, fairness, and data security. Striking the right balance between extracting valuable insights and protecting individuals' rights and interests is essential in the responsible and ethical use of data mining techniques.

Learn more about data mining.
brainly.com/question/28561952


#SPJ11

Case Background
Hiraeth Cruises has been in the cruise business for the last 30
years. They started storing data in a file-based system and then
transitioned into using spreadsheets. As years progress

Answers

Hiraeth Cruises has been in the cruise business for the last 30 years. Initially, they stored data in a file-based system and later moved to spreadsheets. They have decided to improve their operational efficiency and customer service by implementing a modern data management system, which will be helpful to manage customer data and billing in a more effective way. Hiraeth Cruises should choose the right system to meet the needs of its business.



Hiraeth Cruises' decision to implement a modern data management system was made because of the various benefits it offers, such as data security, improved operational efficiency, improved customer service, and greater flexibility. A modern data management system can help the company increase profitability by optimizing operational processes, making it easier to track customer information, and providing a more seamless billing process.

The modern data management system provides an efficient way to manage customer data and billing in a more effective way. It will make it easier for employees to access data and streamline processes. A modern data management system is also more secure than the previous systems that Hiraeth Cruises was using.

In conclusion, Hiraeth Cruises has taken the right decision by choosing to implement a modern data management system, which will help to increase efficiency, provide better customer service, and improve profitability. A modern data management system is more secure, efficient, and flexible compared to file-based systems or spreadsheets. It will help Hiraeth Cruises maintain its competitive edge in the market.

To know more about data management  visit:

https://brainly.com/question/31535010

#SPJ11

Assume that the number of requests made to a particular web server per minute can be modelled using a Poisson distribution and that the average number of requests per minute is 1 (i.e. X = 1). Compute the probability that there will be 2 or more requests in a particular minute

Answers

The probability of having two or more requests in a minute is approximately 0.264.

The average number of requests per minute is given as 1, and it is assumed that the number of requests per minute follows a Poisson distribution.

Poisson distribution

The Poisson distribution is a probability distribution that represents the number of times an event occurs within a fixed time or space interval.

The probability of having two or more requests in a minute can be determined by subtracting the probability of having zero or one request from 1. The formula to find this probability is given below:

P(X ≥ 2) = 1 - P(X < 2)

P(X = 0) + P(X = 1) = e-λλ0/0! + e-λλ1/1!

where λ is the average number of requests per minute, and e is a constant equal to approximately 2.71828.

We know that λ = 1, therefore:

P(X ≥ 2) = 1 - P(X < 2)

P(X = 0) + P(X = 1) = e-1(1^0/0!) + e-1(1^1/1!)

= e-1(1 + 1/e)

≈ 0.264

The probability of having two or more requests in a minute is approximately 0.264.

To know more about probability visit:

https://brainly.com/question/31828911

#SPJ11

exact value [Derivative] Function (^X) cod python
Q2. A- Using central and extrapolated methods, Create a python program that differentiates the function shown above at \( x=4 \) ? B- Compare between your findings and the exact result given in the ta

Answers

The Python program that can differentiate a function at ( x = 4) using both central and extrapolated methods is coded.

To differentiate a function at a specific point using central and extrapolated methods, calculate the derivative numerically.

The Python program that can differentiate a function at ( x = 4) using both central and extrapolated methods:

import math

def f(x):

   # Define the function here

   return math.sin(x)

def central_difference(f, x, h):

   # Calculate central difference

   return (f(x + h) - f(x - h)) / (2 * h)

def extrapolated_difference(f, x, h):

   # Calculate extrapolated difference

   return (-f(x + 2 * h) + 8 * f(x + h) - 8 * f(x - h) + f(x - 2 * h)) / (12 * h)

# Differentiation point

x = 4

# Step size

h = 0.001

# Differentiate using central difference

central_diff = central_difference(f, x, h)

print("Central Difference:", central_diff)

# Differentiate using extrapolated difference

extrapolated_diff = extrapolated_difference(f, x, h)

print("Extrapolated Difference:", extrapolated_diff)

The `central_difference` function calculates the derivative using the central difference method, and the `extrapolated_difference` function calculates the derivative using the extrapolated difference method. The `x` variable represents the differentiation point, and the `h` variable represents the step size.

Learn more about Derivation coding problem here:

https://brainly.com/question/33386778

#SPJ4

Given the Boolean expression 8 > 5 > 3 && 7 < 10.
Assume that this expression is a part of code written in early version of C, when relational and Boolean operators used to return numerical values. Explain each step in the course of evaluation of the given expression and indicate the final result.

Answers

The given Boolean expression `8 > 5 > 3 && 7 < 10` is evaluated in the early version of C, where relational and Boolean operators return numerical values. Therefore, the final result of the expression is false.

In the given expression `8 > 5 > 3 && 7 < 10`, the evaluation takes place from left to right, following the operator precedence rules.

First, the expression `8 > 5` is evaluated. This comparison returns the value 1, as 8 is indeed greater than 5.

Next, the expression `1 > 3` is evaluated. However, this comparison returns the value 0, as 1 is not greater than 3. The reason for this unexpected result is that in the early version of C, relational operators had left-to-right associativity. This means that `8 > 5 > 3` is treated as `(8 > 5) > 3`, resulting in `(1) > 3`, which is false.

Finally, the expression `0 && 7 < 10` is evaluated using the logical AND operator &&. Since the left operand is false (0), the right operand `7 < 10` is not evaluated, as the logical AND operator short-circuits when the left operand is false. Therefore, the final result of the expression is false (0).

To obtain the expected result of the expression, the comparison `8 > 5 > 3` should be written explicitly as `(8 > 5) && (5 > 3)`, ensuring that both comparisons are evaluated independently.

learn more about operator precedence rules here: brainly.com/question/30637106

#SPJ11

Contact Management System
You are required to create a contact management system written in python that allows adding, viewing,
updating and deletion of contact entries. This system is a self-contained GUI application that interface
with a database for storing the details securely. The system shows the entered details (first_name,
last_name, gender, age, address, contact_number) in a list view. The system should provide controls
for manipulating the added list, you select the entry and can either delete or update the entry. All these
operations (i.e., create/add, read/view, update, delete) manipulates the database on real time. You are
also expected to do input validation on data entry and update. On deletion of the selected entry there
should be a verification and feedback as given in the appendix.
You are required to write a contact management application in python that utilizes a GUI and a
database of your choice to store, display, update and add new contact entries on the form and
database. Use tkinter python library for the GUI and screenshots of your output should be
included in your solution.
3.1 Your program should use the object-oriented principles to specify a Contacts class to
accept input, validate fields, and interface with the database. You should have a function for
each CRUD operation and can add any other functions/methods you deem necessary.
(12 Marks)
3.2 Use regular expressions for input validation were ever possible, check for the field type,
field length (e.g., contact number has 10 digits), check for blanks, and size etc.
(6 Marks)
3.3 The add and/or update should be separate forms from the main window and delete should
be a popup window. (4 Marks)
3.4 Your program should use Graphic User interface to capture the contact details, to display
validation results and to show options. You are required to produce a form to accept input
and control buttons. You may add any other fields as you see fit.

Answers

To create a contact management system in Python, you will need to follow a set of guidelines to ensure the system is working correctly. The following is a guide to create the system

3.1 Your program should use the object-oriented principles to specify a Contacts class to accept input, validate fields, and interface with the database. You should have a function for each CRUD operation and can add any other functions/methods you deem necessary.

The Contacts class should contain the following methods:
python
__init__(self)

This method initializes the class instance with values.
python
add_contact(self, first_name, last_name, gender, age, address, contact_number)

This method adds the new contact to the database.
python
view_contact(self, contact_id)

This method displays the details of the selected contact from the database.
python
update_contact(self, contact_id, first_name, last_name, gender, age, address, contact_number)

This method updates the details of the selected contact from the database.
python
delete_contact(self, contact_id)

This method removes the selected contact from the database.
python
get_contacts(self)

This method retrieves all the contacts from the database.

3.2 Use regular expressions for input validation wherever possible, check for the field type, field length (e.g., contact number has 10 digits), check for blanks, and size, etc.

Input validation should be implemented for each field. For example, to validate the contact number, you can use regular expressions to check if the input is a 10-digit number.

3.3 The add and/or update should be separate forms from the main window, and delete should be a popup window.

To add or update a contact, a separate form should be created. The delete operation should be performed using a pop-up window that prompts the user to confirm the deletion of the selected contact.

3.4 Your program should use the Graphic User interface to capture the contact details, to display validation results, and to show options.

You are required to produce a form to accept input and control buttons. You may add any other fields as you see fit.

The GUI should consist of a form that captures the contact details, including first name, last name, gender, age, address, and contact number. The validation results should be displayed in the form of error messages if the input data is incorrect.

The control buttons should allow the user to add, view, update, and delete contact entries. Screenshots of the output should be included in your solution.

To know more about Python visit:

https://brainly.com/question/30391554

#SPJ11

C++ please
Your program must define and call the following two functions. The LargestNumber function should return the largest number of the three input values. The SmallestNumber function should return the smal

Answers

Here is the program written in C++ language that defines and calls the LargestNumber and SmallestNumber functions. It takes three input values and returns the largest and smallest values respectively.```
#include
using namespace std;
int LargestNumber(int,int,int);
int SmallestNumber(int,int,int);
int main(){
   int a,b,c,large,small;
   cout<<"Enter three numbers: ";
   cin>>a>>b>>c;
   large=LargestNumber(a,b,c);
   small=SmallestNumber(a,b,c);
   cout<<"\nThe largest number is "<b && a>c)
       return a;
   else if(b>c && b>a)
       return b;
   else
       return c;
}
int SmallestNumber(int a,int b,int c){
   if(a

To know more about SmallestNumber functions visit:

https://brainly.com/question/24214154

#SPJ11

IMPORTANT: For this exercise, you will be defining a function which USES the Stack ADT. A stack implementation is provided to you as part of this exercise - you should not define your own Stack class.

Answers

A stack is a Last-In-First-Out (LIFO) data structure that is widely used in programming. A stack is a collection of elements in which new elements are inserted at the top, and elements are removed from the top as well.

This data structure operates on the push and pop operations, where the push operation adds an element to the top of the stack, while the pop operation removes an element from the top of the stack.

The Stack ADT is a data type that can be thought of as a stack of values. It can be implemented using an array, a linked list, or any other suitable data structure. For this exercise, you will be defining a function that USES the Stack ADT.

The Stack ADT has two main operations, push() and pop(). The push() operation adds an element to the top of the stack, while the pop() operation removes an element from the top of the stack. A stack is an ideal data structure to use when you need to keep track of the order in which elements were added, as well as when you need to access the most recent element quickly.

The stack implementation provided for this exercise should be used, and you should not define your own Stack class. The provided implementation is a simple implementation of the Stack ADT that uses a Python list as the underlying data structure.

Learn more about data structure here:

https://brainly.com/question/28447743

#SPJ11

Hi. Can anyone help me please?
I have 5 flower types. and I`m not sure how to load data from
image file.
Thank you
Your program shall consist of the following steps: 1. Import various modules 2. Extract colour histogram features 3. Randomly divide the whole dataset into training \( (60 \%) \), validation \( (20 \%

Answers

In order to load data from an image file, there are a few steps you can follow. First, you need to import the necessary modules. Then, you need to extract the color histogram features. Finally, you can randomly divide the dataset into training and validation sets.

Here is an example of how you can do this in Python:

```python
import cv2
import numpy as np
import os
from sklearn.model_selection import train_test_split

# define the flower types
flower_types = ['daisy', 'dandelion', 'rose', 'sunflower', 'tulip']

# define the feature vector
features = []
labels = []

# loop over the flower types
for i, flower_type in enumerate(flower_types):
   # loop over the images in the flower directory
   for file_name in os.listdir(flower_type):
       # read the image
       img = cv2.imread(os.path.join(flower_type, file_name))

       # extract the color histogram features
       hist = cv2.calcHist([img], [0, 1, 2], None, [8, 8, 8], [0, 256, 0, 256, 0, 256])
       hist = cv2.normalize(hist, hist)

       # add the features and label to the list
       features.append(hist.flatten())
       labels.append(i)

# randomly divide the dataset into training and validation sets
X_train, X_test, y_train, y_test = train_test_split(features, labels, test_size=0.4, random_state=42)
X_val, X_test, y_val, y_test = train_test_split(X_test, y_test, test_size=0.5, random_state=42)
```

In this example, we first import the necessary modules: `cv2`, `numpy`, `os`, and `train_test_split` from `sklearn.model_selection`. We then define the flower types and create empty lists for the features and labels.

We then loop over the flower types and images in each flower directory. For each image, we read it in using `cv2.imread`, extract the color histogram features using `cv2.calcHist`, and normalize the features using `cv2.normalize`. We then add the flattened feature vector and label to the lists.

Finally, we use `train_test_split` to randomly divide the dataset into training, validation, and test sets. We use a 60/20/20 split for the training, validation, and test sets, respectively.

Note that this is just one example of how you can load data from an image file in Python. There are many other ways to do this, depending on your specific needs and dataset.

To know more about  modules visit:

https://brainly.com/question/30187599

#SPJ11

Setup 1. Start off by downloading the starter project and unzipping it. The starter project will be in a folder named React. Starter Project 2. After unzipping, move the starter project folder to the

Answers

The process to set up a starter project is easy and straightforward. To set up a starter project, follow the following steps:

Step 1: Download the Starter Project The first step is to download the starter project from the source. After downloading, unzip the file to access the starter project folder.

Step 2: Move the Starter Project Folder After unzipping the starter project folder, the next step is to move the folder to a directory where the development work will take place. You can use any directory you prefer on your computer.

Step 3: Install Required Dependencies After moving the starter project to the desired directory, the next step is to install the required dependencies. You can use the command `npm install` to install all the required dependencies of the project. This process can take several minutes, depending on the number of dependencies that need to be installed.

To know more about starter visit:

https://brainly.com/question/33368536

#SPJ11

Write a script which will repeatedly ask the user for values of x.
Each time the user enters a value of x, use your function from the last problem to calculate y(x).
Once y(x) has been calculated, write a neat sentence which states:
"The value of the function y(x) when x = _____ is y(x) = _____"
Repeatedly ask the user if they would like to enter another value until the user enters "No."
Store the information as follows:
Store all of the values of x entered by the user as a row vectorr variable called X.
Store all of the corresponding function values as a row vectorr variable called Y.

Answers

The script which repeatedly asks the user for values of x can be written as follows:Function to calculate y(x) from the previous problem:function y = my_function(x)y = 2 * x + 1

% Initialize empty vectors to store x and y values

X = [];

Y = [];

% Ask the user for values of x

while true

   % Prompt the user to enter a value of x

   x = input('Enter a value of x (or "No" to exit): ', 's');

   

   % Check if the user wants to exit

   if strcmpi(x, 'No')

       break;

   end

   

   % Convert the input to a numeric value

   x = str2double(x);

   

   % Check if the input is a valid number

   if isnan(x)

       disp('Invalid input. Please enter a numeric value.');

       continue;

   end

   

   % Call the function to calculate y(x)

   y = calculate_y(x);  % Replace calculate_y with the actual function name

   

   % Store the values of x and y

   X = [X x];

   Y = [Y y];

   

   % Display the result

   fprintf('The value of the function y(x) when x = %g is y(x) = %g\n', x, y);

end

% Display the stored values of x and y

disp('Stored values:');

disp('X =');

disp(X);

disp('Y =');

disp(Y);

In this script, you need to replace calculate_y with the actual name of your function that calculates the value of y based on the input x. The user is prompted to enter values of x repeatedly until they enter "No" to exit. The corresponding values of y are calculated using the function and stored in the vectors X and Y. Finally, the script displays the stored values of x and y

To know more about Function visit:

https://brainly.com/question/2664495

#SPJ11

Topic of Debate is "How AI Ethics and Governance in the US more advanced then Europe?"
I am in for the motion side so please explain How AI ETHICS & GOVERNANCE in the US more advanced then Europe?
Discuss about AI Ethics into the following categories in your discussion:-
Government regulations Private Considerations Something about what AI Ethicists say about it Data breach history and consequences
Also answer the following questions:-
Is there any government regulations that protects data?
When the government started the regulations to protect data? Which companies are adopting ethical AI practices? Example of companies paid fine for the breach of data?

Answers

AI ethics and governance in the US are more advanced than in Europe due to stricter government regulations, greater emphasis on private considerations, the insights of AI ethicists, and a history of data breaches and consequences.

Explanation: In the US, government regulations such as the General Data Protection Regulation (GDPR) and the California Consumer Privacy Act (CCPA) protect data and privacy rights. These regulations require companies to obtain consent, provide transparent data practices, and give individuals control over their data.
Government regulations to protect data in the US started with the passing of the Health Insurance Portability and Accountability Act (HIPAA) in 1996, which aimed to safeguard healthcare data. Over time, other regulations were introduced to protect data across various sectors.
Several companies in the US are adopting ethical AI practices. For example, Microsoft has established an AI and Ethics in Engineering and Research (AETHER) Committee to ensure responsible development and deployment of AI technologies. Internet has also established an AI ethics board to guide its AI projects.

Many companies have faced fines for data breaches. One notable example is Equifax, a consumer credit reporting agency, which paid a $700 million settlement for a 2017 data breach that exposed personal information of millions of people.
In summary, the US has advanced AI ethics and governance through stricter regulations, private considerations, guidance from AI ethicists, and the consequences of data breaches.
(Note: The terms "government regulations," "private considerations," "AI ethicists," and "data breach history and consequences" are all included in the answer.)

To know more about AI ethics refer to:

https://brainly.com/question/28158903

#SPJ11

C PROGRAM
Purpose: - Use arrays. Model a Card Deck and two hands of cards.
Deal cards from the deck to the two hands.
Description:
-----------
This is not an actual game, just deal cards to two players.
Create a deck/array of 52 cards and two hands/arrays of 5 cards each. Write two functions, one to shuffle a deck, and another to deal a card from a deck. Deal cards and place them into the
two hands until each hand holds 5 cards.
Notes:
-----
- Display the entire shuffled deck.
- Display the hands after each card is dealt.
- Display both hands when the dealing is done.
- Display the remainder of the shuffled deck
after the hands have been dealt.
Make sure you have functions to do the following:
1) shuffle the deck
2) deal a card from the deck
3) display a card, indicating suit and value

Answers

Here's a concise implementation of the C program to model a card deck and deal cards to two hands:

```c

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

#define NUM_CARDS 52

#define NUM_PLAYERS 2

#define CARDS_PER_HAND 5

void shuffleDeck(int deck[]);

void dealCard(int deck[], int hand[]);

void displayCard(int card);

int main() {

   int deck[NUM_CARDS];

   int playerHands[NUM_PLAYERS][CARDS_PER_HAND];

   // Initialize deck and player hands

   // ...

   shuffleDeck(deck);

   for (int i = 0; i < CARDS_PER_HAND; i++) {

       for (int j = 0; j < NUM_PLAYERS; j++) {

           dealCard(deck, playerHands[j]);

           printf("Player %d hand after dealing card %d:\n", j + 1, i + 1);

           for (int k = 0; k <= i; k++) {

               displayCard(playerHands[j][k]);

           }

           printf("\n");

       }

   }

   // Display final hands and remaining deck

   // ...

   return 0;

}

```

The given C program models a card deck and deals cards to two hands. It achieves this by creating an array called `deck` with 52 elements to represent the cards. Each card is represented by an integer value. It also creates a 2D array called `playerHands` with 2 rows (players) and 5 columns (cards per hand).

The program starts by shuffling the deck using the `shuffleDeck` function. This function uses the `srand` and `rand` functions from the `stdlib.h` library in conjunction with the `time` function from the `time.h` library to generate a random order for the cards in the deck.

Next, the program uses nested loops to deal cards to each player's hand. The outer loop iterates over the number of cards per hand, while the inner loop iterates over the number of players. Inside the loop, the `dealCard` function is called to assign a card from the deck to the corresponding player's hand.

After dealing each card, the program displays the current state of each player's hand. This is done by iterating over the cards in each player's hand and calling the `displayCard` function, which prints the suit and value of the card.

Finally, the program can be extended to display the final hands of each player and the remaining cards in the deck.

Learn more about Implementation

brainly.com/question/32181414

#SPJ11

Define a function named get_encrypted_list (word) which takes a word as a parameter. The function returns a list of characters. The first element is the first letter from the parameter word and the rest is as a sequence of each representing a letter in the parameter word. Note: you can assume that the parameter word is not empty. For example: Test Result guess get encrypted_list('hello') ["h, *, *, ***] print (guess) print (type(guess)) guess get_encrypted_list('succeed') ["'s', print(guess) 1,1 Define a function named display_word(encrypted_list) which takes a list of characters as a parameter. The function prints the parameter list as shown in the examples below. Note: you can assume that the parameter list is not empty. For example: Test Result data= ['h', GUESS THE WORD: **** display_word(data) ***] GUESS THE WORD: ******* data = ['s', ** ** display_word(data) Define a function named check_guess (generated word, encrypted_list, letter) which takes a word, a list of characters and a letter as parameters. The function loops through each letter in the generated_word. If the letter is equal to the parameter letter, the function replaces the "*" character in the corresponding position in the encrypted_list with the parameter letter. For example: Test Result data= ['h', ***********] E'h', ' **', '0'] 'o'] check_guess('hello', data, 'o') print (data) check_guess('hello', data, 'a') print (data) data ['s', ****** *, ** ['s', **. data, 'a') check_guess("succeed', print (data) check_guess('succeed', print (data) data, 'c'), Define a function namedcheck_game_finished (encrypted_list) which takes a list of characters as a parameter. The function returns True if the game is over, and False otherwise. The game is over when there is no longer any "*" characters in the parameter list. For example: Test Result data = ['h', *** *** False True print(check_game_finished(data)) data = ['h', 'e', '1', '1', 'o'] print (check_game_finished(data)) 'd'] False data= ['s', ', 'c', 'c', '** print(check_game_finished (data))

Answers

Based on your instructions, I have defined four Python functions named `get_encrypted_list`, `display_word`, `check_guess`, and `check_game_finished`. These functions are related to a game, where the user has to guess the correct letters in a hidden word.

The function `get_encrypted_list` creates an encrypted version of the provided word by replacing all letters except the first one with asterisks. The `display_word` function outputs the current state of the encrypted list in a user-friendly way. In the meantime, `check_guess` is used to update the encrypted list based on the user's guess, while `check_game_finished` checks if the game is finished, i.e., if there are no more asterisks left.

```python

def get_encrypted_list(word):

   return [word[0]] + ['*' for _ in word[1:]]

def display_word(encrypted_list):

   print('GUESS THE WORD: ' + ' '.join(encrypted_list))

def check_guess(generated_word, encrypted_list, letter):

   for i in range(len(generated_word)):

       if generated_word[i] == letter:

           encrypted_list[i] = letter

def check_game_finished(encrypted_list):

   return '*' not in encrypted_list

```

The above functions provide a simple way to create and manage a guessing game, allowing users to guess one letter at a time. This approach is useful in creating an engaging and interactive text-based game. To further enhance the game, you could add more rules or complexity.

Learn more about Python functions here:

https://brainly.com/question/33332121

#SPJ11

Please help me with the codes, I already seen one answer other
people posted, but the codes has too manny errors, please help me
with the codes that actually works. If you do post the solution,
Can yo
sinple debugging techniques Exercise 3-1 Code and test the Invoice Total form In this exercise, you'll add code to the Invoice Total form that you designed in exercise 2-1. Then, you'll build and test

Answers

The request is to help with debugging the code for the Invoice Total form. It appears that there might be errors in the code that have been encountered while trying to implement the form.

In order to assist with the debugging process, it would be helpful to provide the specific code that you have encountered errors with. Without the actual code, it is challenging to identify the specific issues and provide a solution. However, I can provide some general tips for debugging:

1. Review error messages: Pay attention to the error messages or exceptions thrown by the code. They often provide valuable information about the cause of the error. Check the line numbers mentioned in the error messages to identify the location of the issue.

2. Check for syntax errors: Make sure there are no syntax errors such as missing semicolons, parentheses, or curly brackets. These can cause compilation errors.

3. Use logging and print statements: Insert logging statements or print statements at different points in the code to track the flow and values of variables. This can help identify where the code is going wrong or if certain variables have unexpected values.

4. Divide and conquer: If the code is complex, try to isolate the problematic section by commenting out or temporarily removing certain parts of the code. This can help narrow down the issue to a specific block or function.

In order to effectively assist with debugging the Invoice Total form, it would be necessary to have access to the specific code that is causing errors. By following general debugging techniques such as reviewing error messages, checking for syntax errors, using logging/print statements, and dividing and conquering, it is possible to identify and resolve issues in the code. If you can provide the specific code or describe the errors encountered, I would be glad to assist you further in debugging and resolving the issues.

To know more about Debugging visit-

brainly.com/question/9433559

#SPJ11

JAVA
I'm trying to figure out how to read a csv file, full of
integers in 2D array then have the specific rows and columns
populated then generate random numbers between those 2 numbers.
E.g.
1,2,3,4,

Answers

In Java programming, CSV (Comma Separated Values) is a file format used to store tabular data in a plain text file. It is typically used for exchanging data between different software systems, especially web applications.

Reading CSV file in Java and storing its values into a 2D array is a frequently used task. The following steps can be followed to read a CSV file in Java:

Step 1: Create a CSV file to be read in Java and save it on your computer.

Step 2: Import Java’s built-in classes such as BufferedReader and FileReader.

Step 3: Create a BufferedReader object and FileReader object using the CSV file’s path as a parameter to the FileReader object.

Step 4: Read the CSV file using the BufferedReader object and save it into a string array. The string array will hold the entire contents of the CSV file, which can be later used to create a 2D array.

Step 5: Split the CSV data using the comma separator (,) and store the values into a 2D array (integer array).Step 6: Select specific rows and columns of the 2D array and get their minimum and maximum values using the following code snippet: int min = Integer.

To know more about programming visit :

https://brainly.com/question/14368396

#SPJ11

Which of the following statements are false? Select one or more: a. A direct mapped cache will have the fastest access time, but has more conflict misses than fully or set associative caches. b. In a computer system with a three-level memory hierarchy (e. cache, main memory and disk) a TLB (translation look-aside buffer) miss always implies that the requested data is not available in the cache. c. A victim cache can be used to attain the benefit of the fast hit time of a direct mapped cache without incurring all the conflict misses of a direct mapped cache. □d. All of the above Question 4 Not yet answered Points out of 10.00 Flag question

Answers

False statements among the given options: Option b. In a computer system with a three-level memory hierarchy (e. cache, main memory and disk) a TLB (translation look-aside buffer) miss always implies that the requested data is not available in the cache.

A TLB miss does not always imply that the requested data is not available in the cache. The TLB is responsible for address translation between virtual memory and physical memory, while the cache is responsible for data storage.

A TLB miss means that the translation for a particular virtual address is not found in the TLB, but the corresponding data may still be present in the cache. The TLB miss will require a translation from main memory, but the data itself may already exist in the cache, leading to a cache hit.

So the correct answer is option b. In a computer system with a three-level memory hierarchy (e. cache, main memory and disk) a TLB (translation look-aside buffer) miss always implies that the requested data is not available in the cache.

Learn more about memory hierarchy:https://brainly.com/question/14207493

#SPJ11

Other Questions
Three identical resistors dissipating a total power of 3000 W are connected in Wye across a 3 phase, 550 V line. The value of resistance will be around. when a pathname for a file is specified starting with a forward slash (/), it is called ______. How is it that an aircraft flying over San Diego can receive a weak navigation transmitter (112.5 MHz) located in LA when there is a strong FM radio station (106.5 MHz) transmitting directly under the aircraft? Because the navigation receiver has a highpass filter that passes all frequencies above 88 MHz. Because the navigation receiver in the aircraft has a bandpass filter that passes 112.5 MHz but rejects 106.5 MHz. Because the broadcast transmitter aims its radio signal away from passing aircraft. Because the phasors associated with navigation signals rotate in the opposite direction as those from broadcast signals. This question assumes that the market for apartments in Sydney is perfectly competitive.(a) Evaluate the decision of the NSW government to double the first home buyer subsidy in terms of Pareto efficiency and fairness.(b) Now suppose the NSW government decided not to help first home buyers in Sydney any longer and removes the existing subsidy. Evaluate this decision in terms of Pareto efficiency and fairness. Enter your answer in the provided box. Calculate the wavelength of a photon of electromagnetic radiation with a frequency of 61.7 MHz. m Be sure to answer all parts. Calculate the energy of a photon of electromagnetic radiation with a wavelength of 582.8 nm. * 10 Report your answer in scientific notation using the provided boxes. include stdio.h main() f int a, i: for (a=2,i=0;ii ? a++a+i printf("\%d ", x); what is printed in this program? b) Wire A has a resistance of 12 Ohms. If wire B is twice the length of A and twice the diameter of A, what is its resistance. Assume that both wires are at the same temperature hence the same Resistivity. 11.19 Let x[n] = 1 + en and y[n] = 1 + 2n be periodic signals of fun- damental period wo = 27/N, find the Fourier series of their product z[n] = x[n]y[n] by (a) calculating the product x[n]y[n] (b) using the periodic convolution of length N = 3 of the Fourier series coefficients of x[n] and y[n]. Is the periodic convolution equal to x[n]y[n] when N = 3? Explain. Consider how your instructors and advisor can be resources for you. What is your plan to make connections with these resources going forward? Going forward, what campus resources do you think could help you? Why are these resources you need? Identify three strategies that you could use related to college resources that would help you be more successful (Example: By completing my papers at least three days before they are due, I can use the Academic Success Center's writing tutor/lab to make my papers better before they are to be submitted.) marks) 3. Describe how you can acquire and maintain professional competencies? (5 mark 71 11 compared to lump-sum taxes, most taxes based on the benefits principle are efficient and equitable Mike would like to go on a trip to Australia next year, but he currently has no money in his savings account. He will need $10,000 in his savings account one year from today to take the trip. If Mike's savings account pays him interest at a rate of 2% per annum, compounded annually, how muchmust he deposit into his account at the end of each of the next 12 months to go on his trip?(1) $942.26(2) $913.24(3) $825.80(4) $805.19 The electric field strength 27 cm from the center of a uniformly charged, hollow metal sphere is 12,000 N/C. The sphere is 7.0 cm in diameter, and all the charge is on the surface. Part A What is the magnitude of the surface charge density in nC/cm? Express your answer in nanocoulombs per square centimeter. ? P -11 n= 6.77 107 Question 5 A consumer spends her weekly income of $30 on q_{1} and a_{2} Initiallywhen the prices are p_{1} = p_{2} = 2 she buys a_{1} = 10 and a_{2} = 5 After the prices change to p_{1} = 1 and p_{2} = 3 she purchases q_{1} = 6 and q_{2} = 8 Draw her budget lines and choices in a diagram. Use a revealed preference argument to discuss whether or not she is maximizing her utility before and after the price changes. Convert the following C program which performs the arithmetic operations (Add, Multiply, Division andReminder) on arrays, to assembly program.[ine saad) |int size, 1, BL50), BISO:405 2440101, TLI10], mod[10];float gifi0lsSEaasElenter array sizeSeaaslea, size);SEaaRE enter elements of lst array:Sandi = Or 1 < size; LeniSGaRgLria, BAIL):}SEaaRE enter the elements of 2nd arrayi\a)Sanit = 0; 1 < sizes 1 +n)seangiriar, B13):Lc sizer 1 entSanit =aad [4)- ATL] + BIL;wal = ALY * BIE)av [4] = ATT / BITSmod [4] = AU] BIil:yREAEEC\n adit gBB\ Malle RRR\E Yaga"i SERENA Tay)BEASELE EL ma)SERRE 20\E 7, avy)SERRE \e 7, mod(y}return 0; Consider the system described by x(t) = u(t) = sin(x(t)) g(t) = u(t)+ cos (c(t)) a) Find all equilibrium points of the system. b) For each equilibrium point, determine whether or not the equilibrium point is (i) stable in the sense of Lyapunov; (ii) asymptotically stable; (iii) globally asymptotically stable. Explain your answers. c) Determine whether or not the system is bounded-input bounded-output stable. Select the correct answer.The graph shows function g, a transformation of f(z) = zt.-6-3 -2-61 2Which equation represents the graph of function g? What does ETT stand for? Fully expand the abbreviation. (Remember, do not include any spaces before or after the term/phrase. e.g. Correct way "Good luck" vs incorrect " good luck ".) A point charge of 4 micro C is placed 40 cm from a second point charge of 2 micro C. Both of these charges lie on the x-axis with the larger charge at the origin. Find the point(s) on the x-axis where a third charge can be placed without experiencing any force. T/F If crane work activities come within 6 meters (20 feet) of lines, you will need barricades to exclude: Nonessential personnel