Wearable technology has become more convenient and usable as they are seamlessly connected.
What is technology?
Technology can be defined as the scientific or technical approaches being applied to create new devices or upgrade the earlier made devices
With the development of new technology there are various things that have been found out or invented, one of them is wearable technology for example what will tell us about the temperature of our body, the pulse rate, as well as the time, call, and messages at the same time. These devices are mobile, lightweight as well as multitasking.
Learn more about technology, here:
https://brainly.com/question/28288301
#SPJ1
I need help for javascript shopping cart
A program that creates a virtual online grocery website
The PHP file<html>
<head>
</head>
<body>
<?php
$servername = "localhost";
$username = "///";
$password = "///";
$dbname = "assignment1";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn->connect_error) {
die("Connection error: " . $conn->connect_error);
}
$product_name = "";
$unit_price = "";
$unit_quantity = "";
$in_stock = "";
$itemId = "";
$showNoItem = "display: none";
$showItem = "";
if (isset($_GET['data'])) {
$itemId = $_GET['data'];
$sql = "SELECT product_id , product_name , unit_price, unit_quantity, in_stock FROM products where product_id=".$itemId;
$result = $conn->query($sql);
if ($result->num_rows > 0) {
$showNoItem = "display: none";
$showItem = "";
while($row = $result->fetch_assoc()) {
$product_name = $row["product_name"];
$unit_price = $row["unit_price"];
$unit_quantity = $row["unit_quantity"];
$in_stock = $row["in_stock"];
break;
}
} else {
$showNoItem = "";
$showItem = "display: none";
}
} else {
$showNoItem = "";
$showItem = "display: none";
}
?>
<div id="noItem" style="<?php echo $showNoItem?>">Select items from categories on the left.</div>
<div id="itemDiv" style="<?php echo $showItem?>">
<div class="item-title">
<span class="item-name"><?php echo $product_name?> </span>
(<span class="item-quatity"><?php echo $unit_quantity?></span>)
</div>
<div class="itemDetail">
<div class="item-desp">
<div class="in-stock-div">In Stock: <span class="item-in-stock"><?php echo $in_stock?> </span> </div>
<div class="price-tag-div">Price: <span class="item-price-red">$<?php echo $unit_price ?></span></div>
<p></p>
<form action="cart.php" method="get" target="cart" class="order-row" onsubmit="return validate_quantity">
<input type="number" class="item-quatity-input spin0" min="1" value="1" name="display" id="display" onkeyup="addCartButtonCtrl()" >
<input type="hidden" name="productId" value="<?php echo $itemId?>">
<input type="hidden" name="productInfo" value='<?php echo "$product_name($unit_quantity)"?>'>
<input type="hidden" name="productPrice" value="<?php echo $unit_price ?>" >
<div class="add-cart-div">
<input id="cart-button" class="btn btn-primary" type="submit" value="Add to Cart" title="Add to cart." onclick="updateShoppingCart()">
</div>
</form>
</div>
</div>
</div>
<?php
$conn->close();
?>
</body>
</html>
Adding the CartButtonaddCartButtonCtrl(){
$action = $_GET['action'];
switch ($action) {
case 'Add':
$product_id = $_GET['productId'];
$product_name = $_GET['productInfo'];
$unit_price = $_GET['ProductPrice'];
if(!isset($_SESSION['cart'])) {
$_SESSION['cart']=array();
}
$index = getItemIndex($product_id);
if ($index < 0) {
$item_array=array('product_id' => $product_id,
'product_name' => $product_name,
'unit_price' => $unit_price,
}
Read more about programming here:
https://brainly.com/question/23275071
#SPJ1
The table style feature changes the ________ of a table.
a) column width
b) row height
c) appearance
Answer:
Even before seeing the options I thought appearance so option C all the way.Good luck ✅Ace that work
Choose the odd one. The key ICT driven Green Growth initiatives in terms of their impact on reducing GHG emissions and fossil fuel consumption are:
O a. Smart motors
O b. Smart grids
O c. Smart buildings
d. Smart bicycles and tricycles
O e. Smart transportation
The odd one in the key ICT driven Green Growth initiatives in terms of their impact on reducing GHG emissions and fossil fuel consumption are is option b: Smart grids.
What is Green Growth initiatives?The goal of the green growth work is to make sure that natural assets are said to be deliver into their full economic output in regards to a sustainable basis.
Note that id you look at the options, they are all talking about transportation except grid.
Therefore, The odd one in the key ICT driven Green Growth initiatives in terms of their impact on reducing GHG emissions and fossil fuel consumption are is option b: Smart grids.
Learn more about GHG emissions from
https://brainly.com/question/9912932
#SPJ1
What is the result of running the following Python code:
name = "Joe"
print("Hello, " + Name)
Question 8 options:
Hello, Joe
NameError: name 'Name' is not defined
TypeError: can only concatenate str (not "int") to str
Hello, name
The result of running the given Python code is: B. NameError: name 'Name' is not defined.
What is Python?Python can be defined as a high-level programming language that is designed and developed to build websites and software applications, especially through the use of dynamic commands (semantics) and well-defined data structures.
In Python, when a computer programmer or software developer tries to use a function, variable, or module that was not declared in a valid way or does not exist, it would result in a NameError.
In this context, we can reasonably and logically deduce that the result of running the given Python code is NameError: name 'Name' is not defined because the variable "name" is quite different from the variable "Name" and was used outside the function.
PS: The runtime error and correct syntax is shown in the image attached below.
Read more on NameError here: https://brainly.com/question/24657796
#SPJ1
MCP is a series of Microsoft certifications that includes MCSA and MCSE. Question True False
MCP is a series of Microsoft certifications that includes MCSA and MCSE is a true statement.
Does MCP includes MCSA and MCSE?MCP qualifying exams is known to be one that is made up of all of the exams that are said to be needed in regards to the Microsoft Certified Solutions Associate (MCSA), MCSE, as well as in MCSD certifications.
Note that the Microsoft Technology Associate (MTA) exams is one that is not needed to qualify for MCP certification
MCP exams are said to be made up of industry form of recognized and validated kind of valuable IT professional as well as developer technical expertise.
Therefore, MCP is a series of Microsoft certifications that includes MCSA and MCSE is a true statement.
Learn more about Microsoft certifications from
https://brainly.com/question/20289514
#SPJ1
Isabelle just purchased a camera with an 18-MP image sensor. Based on this, how many pixels can her camera capture and process?
Since, Isabelle just purchased a camera with an 18-MP image sensor, the number of pixels that her camera can capture and process is 18 million pixels.
What does a pixel on a camera sensor measure?In regards to picture and photography, the more pixels, the higher the detail as well as the sharpness of the image that is display or shown.
Note that the Resolution is seen as the measurement of image sharpness and the fact is that it is one that can be expressed in millions of pixels, as well as in megapixels.
Therefore, Since, Isabelle just purchased a camera with an 18-MP image sensor, the number of pixels that her camera can capture and process is 18 million pixels.
Learn more about image sensor from
https://brainly.com/question/13107084
#SPJ1
Answer:
18 million pixels
Explanation:
connexus quiz
Why is it important for a business to secure the information and data on its computers?
Answer:
One of the reasons why you must pay importance to your company's data security is because hackers have the ability to automate cyber-attacks. Sometimes referred to as bot attacks, such attacks can be initiated consistently without the hackers lifting a finger on their computers.
Write and test a program that computes the area of a circle. This program should request a number representing a radius as input from the user. It should use the formula 3.14 * radius ** 2 to compute the area, and output this result suitably labeled.
Answer:
radius = float(input('Radius: '))
area = 3.14 * (radius ** 2)
print(f'Area of the circle is: {area}')
The simplest way to synchronize a dialogue is by using a _____ block found within the Control category.
still
pause
hold
wait
I NEED THE ANWER
The simplest way to synchronize a dialogue is by using a still block found within the Control category.
What is a Dialogue?The term known as Dialogue is said to be a word that connote a form of a written or spoken kind of conversational exchange that tends to exist between two or a lot of people, and a literary as well as theatrical form that shows such an exchange.
Note therefore, that The simplest way to synchronize a dialogue is by using a still block found within the Control category.
Learn more about dialogue from
https://brainly.com/question/6950210
#SPJ1
Please provide detailed information about your experience working with computers in an employment setting.
Answer:
Tell me about which mobile technology you have used in a professional setting.
This question helps employers determine if you are comfortable using mobile devices, like tablets and smartphones. They want to know which particular apps or functions you have used in previous roles. Think about times you have used your mobile device to help you with your job. Explain which apps you are the most familiar with using and why they are important. Try to connect your answer to the tools you might use in this new role.
Example: "In my previous role, I used time-management apps to make sure I was being productive. These little timers and reminders helped me know when to take breaks and when to get focused. I also used my mobile devices to keep track of the stock market. I had several different apps on my tablet to monitor how the market was fluctuating. I even used a trading app to make some of my day trading purchases and bids."
help me with this
Looking at the example below is the type value equal to a string or an integer?
ball.type = "spike";
a. string
b. integer
The ball.type = "spike"; is a string type option (a) string is correct because the string cannot be translated into an integer but can only be transformed into another string.
What is execution?The process by which a computer or virtual machine reads and responds to a computer program's instructions is known as execution in computer and software engineering.
It is given that:
ball.type = "spike';
As we know,
The string cannot be translated into an integer but can only be transformed into another string. The string is a character value enclosed in quotations, whereas the Integer is a numeric value.
ball.type = "spike"; is a string type.
Thus, the ball.type = "spike"; is a string type option (a) string is correct because the string cannot be translated into an integer but can only be transformed into another string.
Learn more about the execution here:
brainly.com/question/20493746
#SPJ1
Based off the definition of what a repository is, is one drive considered a secure repository?? Please defend your answer
Answer:
he Microsoft OneDrive repository allows you to access your documents from Microsoft OneDrive within Moodle. As well as adding basic files, the OneDrive repository link allows you to access your OneDrive live directly from the configuration icon.
Explanation:
A data breach is the protection of secure data in an unsecured environment.
True or False.
IT law is a branch of law that provides a legal framework for collecting, storing, and distributing electronic information. True or False.
Answer: False and True
Explanation:
A data breach is when unsecure data in a secure enviroment gets leaked.
a) Explain why there are more general-purpose registers than special purpose registers.
Answer:
Special purpose registers hold the status of a program. These registers are designated for a special purpose. Some of these registers are stack pointer, program counter etc. General purpose registers hold the temporary data while performing different operations.
JENNIFER IS WRITING AN ALGORITHM TO ANALYZE A PLAY THAT SHE IS READING. WHAT TYPE OF ALGORITHM WOULD BE APPROPRIATE FOR THIS APPLICATION?
A: LINEAR
B: GREEDY
C: GRAPHING
D: MACHINE LEARNING
Answer: Graphing
Explanation:
how many optical disc of 720mb storage capacity are needed to store 20gb storage of hard disc
Question 2(Multiple Choice Worth 5 points)
(2.02 LC)
When asking the user for input of a numeric value that is negative and has decimal, use the function
float()
int()
print ()
str()
Answer:
float()
Explanation:
Peter has a box containing 65 red and blue balls. Counting them, he realizes that there is a ratio of 3 red balls to 10 blue balls. How many blue balls does he have in total?
He started out with 47 balls after winning 2 blue balls and losing 3 red balls.
What is equation?The definition of an equation in algebra is a mathematical statement that demonstrates the equality of two mathematical expressions. For instance, the equation 3x + 5 = 14 consists of the two equations 3x + 5 and 14, which are separated by the 'equal' sign. Coefficients, variables, operators, constants, terms, expressions, and the equal to sign are some of the components of an equation.
The "=" sign and terms on both sides must always be present when writing an equation. Equal treatment should be given to each party.
Here,
Let the number of blue balls be x and the number of red balls be y,
after 5 days ,
x + 10 = y - 15
after 9 days ,
x + 18 = 2 * ( y - 27 )
subtracting both,
8 = y - 39
y = 47
The number of red balls in beginning is 47.
He had 47 balls in the beginning as he win 2 blue ball and lose 3 red balls.
Therefore, He started out with 47 balls after winning 2 blue balls and losing 3 red balls.
Learn more about balls on:
https://brainly.com/question/19930452
#SPJ2
how to mitigate a DDos attack
WHAT IS DDOS MITIGATION?
DDoS mitigation refers to the process of successfully protecting a targeted server or network from a distributed denial-of-service (DDoS) attack. By utilizing specially designed network equipment or a cloud-based protection service, a targeted victim is able to mitigate the incoming threat.
There are 4 stages of mitigating a DDoS attack using a cloud-based provider:
Detection - in order to stop a distributed attack, a website needs to be able to distinguish an attack from a high volume of normal traffic. If a product release or other announcement has a website swamped with legitimate new visitors, the last thing the site wants to do is throttle them or otherwise stop them from viewing the content of the website. IP reputation, common attack patterns, and previous data assist in proper detection.
Response - in this step, the DDoS protection network responds to an incoming identified threat by intelligently dropping malicious bot traffic, and absorbing the rest of the traffic. Using WAF page rules for application layer (L7) attacks, or another filtration process to handle lower level (L3/L4) attacks such as memcached or NTP amplification, a network is able to mitigate the attempt at disruption.
Routing - By intelligently routing traffic, an effective DDoS mitigation solution will break the remaining traffic into manageable chunks preventing denial-of-service.
Adaptation - A good network analyzes traffic for patterns such as repeating offending IP blocks, particular attacks coming from certain countries, or particular protocols being used improperly. By adapting to attack patterns, a protection service can harden itself against future attacks.
Choosing a DDoS mitigation service
Traditional DDoS mitigation solutions involved purchasing equipment that would live on site and filter incoming traffic. This approach involves purchasing and maintaining expensive equipment, and also relied on having a network capable of absorbing an attack. If a DDoS attack is large enough, it can take out the network infrastructure upstream preventing any on-site solution from being effective. When purchasing a cloud-based DDoS mitigation service, certain characteristics should be evaluated.
SUPPOSE YOU ARE DISCUSSING A PROGRAM WITH YOUR LEARNING COACH AND YOU WANT TO KNOW WHY ANYONE WOULD EVER USE LINEAR SEARCH IN A PROGRAM WHEN IT IS SO INEFFICIENT. WHICH OF THE FOLLOWING REASONS MIGHT THE LEARNING COACH GIVE?
A: LINEAR SEARCH IS PERFECT IF THE DATA IS NOT SORTED
B: LINEAR SEARCH IS PERFECT IF THE DATA IS SORTED
C: LINEAR SEARCH IS PERFECT IF THE DATA HAS A PIVOT POINT
D: LINEAR SEARCH IS PERFECT IF THE DATA HAS A MIDPOINT
Since you want to know why anyone would ever use linear search in a program when it is so inefficient. the reason that the learning coach need to give is option A. Linear search is perfect if the data is not sorted.
Does linear search require sorted data?In regards to the use of linear search input data, it is known to be a kind of toll that does not require data to be sorted that is not to be in sorted way. In binary search input data, ti is one that need data to be in sorted form. It is also the case with sequential search.
Linear search can be a type that is often used to search for the little or largest value in any form of unsorted list instead of the act of searching for a match.
Note that It can do the work by keeping records or track of the biggest (or smallest) value and also does the work of updating the needed algorithm.
Therefore, Since you want to know why anyone would ever use linear search in a program when it is so inefficient. the reason that the learning coach need to give is option A. Linear search is perfect if the data is not sorted.
Learn more about Linear search from
https://brainly.com/question/13143459
#SPJ1
Most of the devices on the network are connected to least two other nodes or processing
centers. Which type of network topology is being described?
bus
data
mesh
star
Is j++ = =++j a valid expression in c programming
Answer:
no, it is not valid
Explanation:
A piece of data that is written into a program's code is a
Answer:
A piece of data that is written into a program's code is a literal.
Explanation:
How will both sender and receiver know the full message arrived successfully?
1. What criteria must be maintained once a clinical record has been created ?
The criteria that must be maintained once a clinical record has been created are:
All vital clinical findings are accurate.A record of the decisions made are true and exact.What is maintained in a medical record?Medical records are known to be any kind of document that helps to tell all detail in regards to the patient's history, as well as their clinical findings, their diagnostic test results, medication and others.
Note that If it is written rightly, the, notes will help to aid the doctor about the rightness of the treatment of the patient.
Therefore, some of the criteria for high quality form of clinical documentation are they must be :
AccurateExactClearConsistentCompleteReliableLegible, etc.Therefore, based on the above, The criteria that must be maintained once a clinical record has been created are:
All vital clinical findings are accurate.A record of the decisions made are true and exact.Learn more about clinical record from
https://brainly.com/question/21819443
#SPJ1
Explain the undesirable characteristics of the DRAM that required the frequent refresh and state the effect of the refresh operation.
The undesirable characteristics of the DRAM that required the frequent refresh and state the effect of the refresh operation.
Memory is known to be Volatile.It slows performancePower consumption is said to be very high when compared to other options.Data in storage cells are those that needs to be refreshed.It is said to be slower when compared to SRAM.What is the Dynamic Random Access Memory History?The Dynamic Random Access Memory is known to be a technology that was said to have been made by Robert Dennard.
He was the one who was said to have invented Dynamic Random Access Memory-DRAM.
It is known to be seen as one of the most vital tool or developments in regards to computer technology as it is seen as a one-transistor Dynamic Random Access Memory (DRAM).
Therefore, The undesirable characteristics of the DRAM that required the frequent refresh and state the effect of the refresh operation.
Memory is known to be Volatile.It slows performancePower consumption is said to be very high when compared to other options.Data in storage cells are those that needs to be refreshed.It is said to be slower when compared to SRAM.Learn more about DRAM from
https://brainly.com/question/26909389
#SPJ1
Which statement about the discipline of information systems is true?
A. It involves organizing and maintaining computer networks.
B. It involves connecting computer systems and users together.
C. It involves physical computer systems, network connections, and
circuit boards.
D. It involves all facets of how computers and computer systems
work
Answer:
C.
Personal computers, smartphones, databases, and networks
Answer:
IT'S B
Explanation:
TRUST ME I HAD TO LEARN THE HARD WAY!!
............................................,,,,,,,,,,,,,,.
Answer:
Do you need help with something? Im gladly to help! :)
Answer:
I don't understand you question could you elaborate please?
SOME STUDENTS ARE WATCHING A MOVIE ON A STREAMING SERVICE. THE MOVIE FINISHES AND THEY ARE SHOWN RECOMMENDATIONS FOR WHAT TO WATCH NEXT. WHAT TYPE OF ALGORITHM IS THE MOST LIKELY AN EXAMPLE OF?
A: LINEAR PROGRAMMING
B: GRAPHING
C: MACHINE LEARNING
D: GREEDY
Based on the above case, the algorithm that is the mostly likely example of what is been done is known to be called GREEDY algorithm.
What is greedy algorithm and example?The term Greedy is known to be a kind of an algorithmic paradigm that is known to be made up of the solution that is given piece by piece, and it is one that is always selecting the next piece that gives the most obvious as well as the immediate benefit.
Note that this is done if the problems where selecting is locally optimal and can also leads to global solution and this is seen as the best fit for Greedy. For example lets give the Fractional Knapsack issue.
Note also that this Greedy algorithm can be very greedy with its choices at all of the step to make sure that the objective function is said to be optimized.
Therefore, based on the above, Based on the above case, the algorithm that is the mostly likely example of what is been done is known to be called GREEDY algorithm.
Learn more about GREEDY algorithm from
https://brainly.com/question/13151265
#SPJ1
True or false: A restrictive policy on a firewall denies all traffic by default, and only specifically allowed traffic is permitted into the Network.
Answer: True
Explanation:
But the firewall may not always be safe enough and will sometimes have a leak.