Answer:
Which of the following is the only way to know exactly what your website will look like and whether it will work when published?
Find extreme value. C++
Assign variable biggestVal with the largest value of 5 positive floating-point values read from input.
Ex: If the input is 17.9 8.7 1.2 17.7 9.2, then the output is:
17.9
Note:
--The first value read is the largest value seen so far.
--All floating-point values are of type double
------------------------
#include
#include
using namespace std;
int main() {
double inputVal;
double biggestVal;
int i;
/* Your code goes here */
cout << biggestVal << endl;
return 0;
}
Answer:
Here's the updated code with comments and the implementation to find the largest value:
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
double inputVal;
double biggestVal;
int i;
Explanation:
// Read the first input value and assign it to biggestVal
cin >> biggestVal;
// Loop through the remaining input values
for (i = 1; i < 5; i++) {
cin >> inputVal;
// Check if the new value is greater than the current biggestVal
if (inputVal > biggestVal) {
biggestVal = inputVal;
}
}
// Output the largest value
cout << fixed << setprecision(1) << biggestVal << endl;
return 0;
ABC Ltd plans to computerize its sales ordering and stock control system. A feasibility study has strongly suggested that a
relational database system be installed. The details of ABC's sales and stock control are as follows
A feasibility study has strongly suggested that a relational database system be installed are:•The company's customers and suppliers are registered with the company and their details stored on the system.
What is relational database system?A relational database system is a type of database management system (DBMS) based on the relational model. Relational databases store data in tables, which are composed of rows and columns. The columns represent the attributes of the data, while the rows represent individual records. Relationships can be established between tables by linking related data elements. This allows for data to be accessed and manipulated in a variety of ways, such as querying and joining tables.
•The company maintains a list of products which are available for sale, including the quantity available in stock.
•The system also stores customer orders, including the items ordered, the expected delivery date and the payment terms.
To learn more about relational database system
https://brainly.com/question/29762676
#SPJ9
computer power supplies
Answer:
There are four computer power supplies: Modular, Non-Modular, Semi-Modular, and Fully Modular.
2. The Internet allows you to communicate with someone from
O A. any location.
B. other citizens that speak the same language as you.
O C. remote rural areas of the southwestern United States.
O D. wealthy families.
Answer:
A
Explanation:
The internet is broad and even has translation systems which will allow it to work for people of different languages and it available to all part of the world
Help me find the output please
Answer:
16
Explanation:
it find biggest number
Find extreme value. C++
Integer numInput is read from input representing the number of integers to be read next. Use a loop to read the remaining integers from input. For each integer read, output "Value read: " followed by the value. Then, output "Smallest:" followed by the smallest of the integers read. End each output with a newline.
Ex: If the input is:
2
20 -405
then the output is:
Value read: 20
Value read: -405
Smallest: -405
---------------------------
#include
using namespace std;
int main() {
int numInput;
int inputValue;
int smallestVal;
int i;
cin >> numInput;
/* Your code goes here */
return 0;
}
Answer:
Here's the completed code to find the smallest value out of the given inputs:
#include <iostream>
using namespace std;
int main() {
int numInput;
int inputValue;
int smallestVal;
int i;
cin >> numInput;
// Read in the first value and assume it's the smallest
cin >> smallestVal;
cout << "Value read: " << smallestVal << endl;
// Loop through the remaining inputs
for (i = 1; i < numInput; i++) {
cin >> inputValue;
cout << "Value read: " << inputValue << endl;
// If the current input is smaller than the smallest so far, update smallestVal
if (inputValue < smallestVal) {
smallestVal = inputValue;
}
}
// Output the smallest value
cout << "Smallest: " << smallestVal << endl;
return 0;
}
Explanation:
The program reads in the number of inputs to expect, then reads in the first input and assumes it's the smallest. It then loops through the remaining inputs, reading them in one at a time, outputting each value as it goes. If the current input is smaller than the smallest so far, it updates the value of smallestVal. Finally, it outputs the smallest value found.
Sense HAT Emulator Loop Python Assignment
1. Create an instance of the SenseHat class.
2. Write a while loop that iterates count from 1 to 10 and scrolls the value of count in red text with a scroll speed of 0.1.
3. Write a while loop that iterates count from 0 to 30 but the iteration number is advanced by 5 rather than by 1 and scrolls
the value of count in green text with a scroll speed of 0.1.
4. Write a for loop that iterates count from 3 to 98 in steps of 5 and scrolls the value of count in blue text with a scroll speed
of 0.1.
SENSE HAT EMULATOR
Answer:
Here's the Python code for the Sense HAT emulator loop assignment:
from sense_emu import SenseHat
import time
sense = SenseHat()
# Loop 1 - red text, count from 1 to 10
for count in range(1, 11):
sense.show_message(str(count), text_colour=[255, 0, 0], scroll_speed=0.1)
time.sleep(1)
# Loop 2 - green text, count from 0 to 30 (by 5s)
for count in range(0, 31, 5):
sense.show_message(str(count), text_colour=[0, 255, 0], scroll_speed=0.1)
time.sleep(1)
# Loop 3 - blue text, count from 3 to 98 (by 5s)
for count in range(3, 99, 5):
sense.show_message(str(count), text_colour=[0, 0, 255], scroll_speed=0.1)
time.sleep(1)
Explanation:
This code uses the SenseHat class to create an instance of the Sense HAT emulator. It then includes three different loops, each with a different color and range of numbers to iterate through. The show_message() method is used to display the current count value in a scrolling text format, with the specified text color and scroll speed. The sleep() method is used to pause the loop for 1 second between each iteration, so that the text has time to scroll completely before the next iteration begins.
A law passed increasing the minimum wage by 10%.
The owner of a small bakery must now pay all her laborers 10% higher wages.
What is the Minimum Amount the owner now charge customers for labor to balance her increased operational expenses?
The Minimum Amount the owner now charge customers for labour to balance her increased operational expenses is 10%.
What are operational expenses?Operational expenses, operating expenditures, operating expenditures, operational expenditures, or OPEX, are recurring expenses incurred in order to maintain a system, a business, or a product. The cost of developing or providing non-consumable parts for the product or system is its counterpart, a capital expenditure.
For instance, the annual costs of paper, toner, power, and maintenance are OPEX, while the purchase of a photocopier requires CAPEX. OPEX may also include worker costs and facility costs like rent and utilities for larger systems like businesses.
In contrast to production, costs, and pricing, an operating expense in business is a regular expense like sales and administration or research and development.
In a nutshell, this is the cost the company incurs to convert inventory to throughput.
Learn more about expenses
brainly.com/question/28448285
#SPJ1
How many columns are in the output of following SQL SELECT statement? SELECT a,b as y, a+c as z,a FROM foo
A.7
B.4
C.6
Answer:
A
Explanation:
______________________________________
There are 4 columns in the output of following SQL SELECT statement. Option B
How many columns are in the output of following SQL SELECT statement?SELECT is a word you use to pick out the specific columns you want to get from a table.
a and b are now y, a plus c is now z, and a is a column expression mentioned in the SELECT statement.
"a: This means there is a column called 'a'. "
This changes the name of the b column to y using the AS keyword. So, in the result, the column will be called y.
a+c is equal to z. This is a mathematical formula that creates a new column. This formula combines the numbers in columns a and c and gives the final answer the name "z".
As a result, you will get an output with four columns labeled a, y, z, and a. Each row in the result will have values that match the columns of the fooA. 7B4C6
Learn more about statement
https://brainly.com/question/31577582
#SPJ2
why do you think social responsibility should be consider in the business environment
Businesses that embrace social responsibility initiatives can increase consumer retention and loyalty. Social responsibility programmes can improve employee morale at work and result in increased productivity.
What does corporate social responsibility entail?The practise of people and organisations acting morally and conducting business while being aware of social, cultural, economic, and environmental concerns is known as corporate social responsibility (CSR), also known as social responsibility in business.
Why is it crucial to practise social and environmental responsibility?Our world cannot be used and abused indefinitely without any thought for its future. Every sort of business must urgently take environmental responsibility extremely seriously in order to preserve our environment for future generations.
To know more about generations visit:-
https://brainly.com/question/30719841
#SPJ1
Select the appropiate data type for the following:
Char, bool, string, double, int
1.) The number of whole eggs _______
2.) The weight of an egg _____
Please its urgent. I would really appreciate your help.
If i end user licence agreement with my cell phone service provider does thateam i can switch to a different carrier or can you tell me how to have phone released from straight talk to trackphone?
Answer:
An end-user license agreement (EULA) with your cell phone service provider typically outlines the terms and conditions for using their services, including any restrictions on switching to a different carrier or unlocking your phone. It is important to read and understand the terms of your EULA before making any changes to your service or device.
Regarding your question about switching from Straight Talk to Tracfone, you would need to check with your service provider to see if your phone is eligible for unlocking. If your phone is eligible, you can follow the instructions provided by your service provider to unlock your phone and use it with a different carrier.
Keep in mind that unlocking your phone may void your warranty and could result in additional fees or charges, so it is important to weigh the pros and cons before making any changes to your service or device.
Explanation:
Which process makes a system secure for its purpose
Answer:
There is no single process that can make a system completely secure for all purposes, as security is a constantly evolving and ongoing process that requires a comprehensive and multi-layered approach.
Explanation:
1. Identifying and prioritizing the critical assets and information that need to be protected.
2. Conducting a risk assessment to identify potential threats and vulnerabilities.
3. Developing and implementing appropriate security policies and procedures.
4. Ensuring that all software and hardware components are properly configured, updated, and patched.
5. Implementing access controls and monitoring mechanisms to prevent unauthorized access and detect any suspicious activity.
Write a program to generate the given pattern. CCCCCC CCSSCC SSSSSS SSSSSS KKSSKK KKKKKK
Answer:
#include <stdio.h>
int main()
{
int i, j;
for(i=1; i<=6; i++)
{
for(j=1; j<=6; j++)
{
if(i==1 || i==6)
{
printf("C");
}
else if(i==2 || i==5)
{
if(j==1 || j==6)
printf("K");
else
printf("S");
}
else
{
printf("S");
}
}
printf("\n");
}
return 0;
}
Bob wants to allow devices at a branch office to query publicly available DNS servers from a large cloud provider. Which of the following ports should he open in the firewall in order to enable this?
An application has 1,000 heavy users at a peak of 2 IOPS each and 2,000 typical
users at a peak of 1 IOPS each, with a read/write ratio of 2: 1. It is estimated that
the application also experiences an overhead of 20 percent for other workloads.
Calculate the IOPS requirement for RAID 1, RAID 3, RAID 5, and RAID 6. Also
compute the number of drives required to support the application in different
RAID environments if 10K rpm drives with a rating of 130 IOPS per drive were
used
4000 x 1.20 = 4800 IOPS are produced by the entire program. This amount includes all associated overhead costs. In a 2:1 ratio, over 33.3% of data is written and 66.6% is read.
What are IOPS requirements?There is a 2 write penalty for RAID 1/0. As a result, the disk load for writes and reads is equal to 6,336 IOPS (0.66 x 4800 + 2x (0.33 x 4800)).
There is a 4 write penalty for RAID 5. The total amount of writes and reads on the disk are therefore 9.504 IOPS (0.66 x 4800 + 4x (0.33 x 4800)).
The write penalty for the RAID 6 is 6. Hence, the combined disk load of writes and reads is equal to 12,672 IOPS (0.66 x 4800 + 6x (0.33 x 4800)).
Therefore, 4000 x 1.20 = 4800 IOPS are produced by the entire program. This amount includes all associated overhead costs. In a 2:1 ratio, over 33.3% of data is written and 66.6% is read.
To learn more about IOPS, refer to the link:
https://brainly.com/question/30639436
#SPJ1
10.2. Is the variance favorable or unfavorable? TRUE FALSE items TRUE 1. Goods in transit & goods on consignment are the same, 2. Gross profit is the difference between net sales & cost of goods sold. 3. Purchase records end up with paying the voucher. 4. Payment for janitors & clerks is calculated under direct labor. TRUE 5. Variance is the deviation between actual cost & standard cost.
Answer:
The statement "Variance is the deviation between actual cost & standard cost" is true.
The statement "Goods in transit & goods on consignment are the same" is false.
The statement "Gross profit is the difference between net sales & cost of goods sold" is true.
The statement "Purchase records end up with paying the voucher" is true, as purchase records are used to create invoices and payment vouchers.
The statement "Payment for janitors & clerks is calculated under direct labor" is false, as payment for janitors and clerks is typically categorized under indirect labor.
Therefore, there are 3 true statements and 2 false statements.
Explanation:
If 2400 codewords are to be encoded in a QR code, of which 750 need to be corrected, which QR code error correction level must be used?
If 2400 codewords are to be encoded in a QR code and 750 need to be corrected, then the QR code error correction level that must be used is Level H (High). Level H is capable of correcting up to 30% of all codewords, which is more than enough for the given requirement.
Write a program that uses the following initializer list to find if a random value entered by a user is part of that list.
v = [54, 80, 64, 90, 27, 88, 48, 66, 30, 11, 55, 45]
The program should ask the user to enter a value. If the value is in the list, the program should print a message that contains the index. If it is not in the list, the program should print a message containing -1.
Hint: The values in the list are integers, so you should also get the value from the user as an integer. We can assume the user will only enter integer values.
Sample Run
Search for: 64
64 was found at index 2
Answer:
Here's a Python program that accomplishes the task:
v = [54, 80, 64, 90, 27, 88, 48, 66, 30, 11, 55, 45]
# Get user input
search_value = int(input("Search for: "))
# Search for value in list and print result
if search_value in v:
print(search_value, "was found at index", v.index(search_value))
else:
print("-1")
Explanation:
Here's a sample output for when the user searches for the value 64:
Search for: 64
64 was found at index 2
Priyam is Class XI student. She is learning some basic commands. Suggest some SQL commands to her to do the following tasks: i. To show the lists of existing databases ii. Select a database to work iii. Create a new database named Annual_Exam
Here are some SQL commands that Priyam can use to accomplish the tasks:
The SQL commandsi. To show the list of existing databases:
SHOW DATABASES;
This command will display a list of all the databases that exist on the server.
ii. Select a database to work:
USE database_name;
This command will select the specified database and make it the current active database. Priyam can replace "database_name" with the name of the database she wants to work with.
iii. Create a new database named Annual_Exam:
CREATE DATABASE Annual_Exam;
This command will create a new database named "Annual_Exam". Priyam can replace "Annual_Exam" with the name of her choice for the new database.
These commands are basic but very useful in SQL.
Read more about SQL here:
https://brainly.com/question/25694408
#SPJ1
A software developer is using a microphone and a sound editing app to
collect and edit sounds for his new game.
When collecting sounds, the software developer can decide on the sampling
resolution he wishes to use.
ii) Describe how sampling resolution will affect how accurate the
stored digitised sound will be.
b) The software developer will include images in his new game.
ii) The software developer is using 16-colour bit-map images.
State the number of bits required to encode data for one pixel of his
image.
iii) One of the images is 16384 pixels wide and 512 pixels high.
The developer decides to save it as a 256-colour bit-map image.
Calculate the size of the image file in gibibytes.
Answer:
i) The sampling resolution determines the number of bits used to represent each sample of the sound wave. The higher the sampling resolution, the more accurately the stored digitized sound will represent the original sound. This is because higher resolution allows for more fine-grained distinctions between sound wave amplitudes. However, increasing the sampling resolution also increases the size of the file, as more bits are needed to store the additional information.
ii) For a 16-color bitmap image, each pixel can be encoded using 4 bits (2^4 = 16). This means that 4 bits are required to represent the color of one pixel in the image.
iii) To calculate the size of the image file in gibibytes, we need to know the total number of pixels in the image and the size of each pixel in bits.
The image is 16384 pixels wide and 512 pixels high, so the total number of pixels is:
16384 x 512 = 8,388,608
If the image is saved as a 256-color bitmap image, each pixel can be encoded using 8 bits (2^8 = 256). Therefore, the size of each pixel in bits is 8.
To calculate the size of the image file in bits, we multiply the total number of pixels by the size of each pixel in bits:
8,388,608 x 8 = 67,108,864
To convert this to gibibytes, we divide by 2^30 (the number of bytes in a gibibyte):
67,108,864 / 2^30 = 0.0625 gibibytes
Therefore, the size of the image file is 0.0625 gibibytes (or approximately 64 megabytes).
______ styles are added directly to an html tag by uing the style attributes with the tag
CSS are added directly to an HTML tag by using the style attributes with the tag.
What is CSS?A style sheet language called Cascading Style Sheets (CSS) is used to describe how a document written in a markup language like HTML or XML is presented (including XML dialects such as SVG, MathML or XHTML). The World Wide Web's foundational technologies, along with HTML and JavaScript, include CSS.
The purpose of CSS is to make it possible to separate content from presentation, including layout, colours, and fonts. By specifying the pertinent CSS in a separate file, this separation can increase the accessibility of the content, give more flexibility and control in the specification of presentation characteristics, and allow multiple web pages to share formatting.
CSS file, which lessens complexity and repetition in the structural content; the CSS file's ability to be cached to improve the speed at which pages that share the file and its formatting load.
The ability to present the same markup page in various styles for various rendering methods, including on-screen, in print, by voice (using a speech-based browser or screen reader), and on Braille-based tactile devices, is also made possible by the separation of formatting and content. If a user accesses the content on a mobile device, CSS also has rules for alternate formatting.
Learn more about style sheet
https://brainly.com/question/14856977
#SPJ1
Consider the following code and answer the question below.
FOR X = 1 TO 10 FOR Y = 10-X IF A(Y)<A(Y+1) THEN SWAP A(Y),A(Y+1) END IF NEXT Y NEXT X FOR J = 1 TO 10 PRINTA(J); NEXTJ END
1
11
111
1111
11111
What will be the calculation?As Given in the question:
The above QBasic code
Required,
The output
The iteration on the third line is repeated 5 times; i.e. for values of j from 1 to 5. In each iteration, the value of N is printed and the next value is calculated.
Initially, the value of N is 1 ---- on line 2
So, 1 is printed first. The next value of N is as follows:We keep replacing N (on the right-hand side) with current N value.
Therefore, The program is given below, 100 If, Load / by Load the first value 101 Subt Y / Subtract the value of Y, store result in AC.
Learn more about program on:
brainly.com/question/11023419
#SPJ1
8. lists the database tables and the fields they contain
Field list window lists the database tables and the fields they contain
What is the window about?The "Field List" window is a user interface element that is commonly used in database applications and other software tools that deal with structured data.
The Field List window displays a list of fields (also known as columns) that belong to a particular table or dataset. It provides a visual representation of the structure of the data and allows the user to select which fields to display and manipulate in a data entry form or a report.
In database applications, the Field List window may allow the user to perform various actions on the fields, such as sorting, filtering, and grouping. It may also provide information about the data type and properties of each field, such as its name, data type, length, and format.
Overall, the Field List window provides an efficient way for users to interact with data and customize their views of the information they are working with.
Learn more about window on:
https://brainly.com/question/27755787
#SPJ1
Type the correct answer in the box.
Which technology concept uses computer resources from multiple locations to solve a common problem?
Answer:
Grid
Grid Computing
Explanation:
one of those answers
Your company plans to migrate an on-premises PHP web app named WebApp1 to Azure.
You need to recommend which Azure service to use to run App1. The solution must minimize administrative effort.
Which service should you recommend?
Answer:
Azure App Service
Explanation:
Azure App Service is a fully managed platform for building, deploying, and scaling web apps. With App Service, you can quickly deploy web apps in PHP and other languages without worrying about infrastructure management. App Service provides features like auto-scaling, load balancing, built-in security, and automated backups, which makes it easier to manage the application without requiring additional administrative effort.
The service that should be recommended is azure app service to minimize administrative effort.
Azure App Service is a fully managed platform for building, deploying, and scaling web apps. With App Service, you can quickly deploy web apps in PHP and other languages without worrying about infrastructure management. App Service provides features like auto-scaling, load balancing, built-in security, and automated backups, which makes it easier to manage the application without requiring additional administrative effort.
Learn more about azure app service,here:
https://brainly.com/question/30260642
#SPJ2
Write a program that asks for the number of checks written during the past month, then computers and displays the bank's fees for the month. (Look at picture below, Python)
In addition, the bank charges an additional $15 if the account balance falls below $400 (before any check fees are applied).
How can its program be written?#use namespace std to include iostream>;
int main() = 0; int checks =
fee, double balance;
"Hello, What's Your Balance?" cout <<endl;
balance versus cin;
"HOW MANY CHECKS HAVE YOU WRITTEN?"; if (balance 400 && >=0);
checks over cin;
if (checks 0) indicates "Can't do that,"
If there are 20 checks, the fee is equal to.10 times 10 times 15;
fee in dollars is what the Bank Service charges for the month are;
else, if (checks less than 39 and checks greater than 20) the fee is.08 x 10 x 15;
fee in dollars is what the Bank Service charges for the month are;
"elsewhere if (checks less than 59 and checks greater than 40)" means that the fee is 0.06 times the number of checks plus 10 and 15;
fee in dollars is what the Bank Service charges for the month are;
Otherwise, the fee is.04 times the number of checks plus 10 and 15;
fee in dollars is what the Bank Service charges for the month are;
Otherwise, the fee is equal to.10 x 10 x 15 checks;
fee in dollars is what the Bank Service charges for the month are;
Otherwise, if the balance is greater than 400, ask, "How Many Checks Have You Written?"
checks over cin;
If the number of checks is less than 20, the fee is.10 times the number of checks plus 10;
fee in dollars is what the Bank Service charges for the month are;
else, if (checks less than 39 and checks greater than 20) the fee is.08 x 10;
fee in dollars is what the Bank Service charges for the month are;
"elsewhere if (checks less than 59 and checks greater than 40)" means that the fee is 0.06 times the number of checks plus 10; fee in dollars is what the Bank Service charges for the month are;
Otherwise, the fee equals 0.04 times the number of checks plus 10;
endl; cout "Bank Service charges for the month are fee "dollars"
else, if fee equals.10 times checks plus 10;
fee in dollars is what the Bank Service charges for the month are;
}
}
}
To learn more about iostream visit :
https://brainly.com/question/14789058
#SPJ1
Shaniqua has done the following things at work today identifying the number of switch ports, naming them, setting security levels, establishing
protocols, and creating network access lists. What is she most likely doing?
A. configuring a hub
B. configuring a frewall
C. evaluating a port
D. identifying a suspicious networ
Based on the activities you have listed, Shaniqua is most likely configuring a switch or a network router. Switches have ports that can be identified and named, and security levels can be set for each port. Protocols can also be established and network access lists can be created on switches and routers.
Therefore, options A and B can be ruled out as hubs do not have such capabilities and configuring a firewall involves different tasks. Evaluating a port or identifying a suspicious network are also not activities that involve all the tasks mentioned in the question.
You have recently purchased a Windows 11 laptop and have just installed several applications, including a graphics editor. Using the application, you have edited several images that you need to send to a company executive for a presentation.
However, you are experiencing problems using the application and are deciding whether or not to use the Reset this PC option to remove the application and try re-installing it.
What can you expect to happen if you use this option? (Select two.)
Answer:
If you use the Reset this PC option to remove the application and try re-installing it, you can expect the following to happen:
All personal files, settings, and installed applications will be removed: The Reset this PC option is essentially a factory reset for your computer, which means that all personal files, settings, and installed applications will be removed. This will include the graphics editor application and any images you may have saved on your computer, so you should make sure to back up any important files before proceeding.
Your computer will be restored to its original state: After the reset is complete, your computer will be restored to its original state, as if you had just purchased it. This means that you will need to reinstall all of your applications and reconfigure your settings, including any updates or service packs that were installed after the original purchase.
It's worth noting that Reset this PC is a powerful tool that should be used with caution. If you're experiencing problems with a specific application, there may be other options to fix the issue without resorting to a full system reset. For example, you may be able to uninstall and reinstall the application, update your graphics card drivers, or troubleshoot the application's settings.
Explanation:
Write a SQL query to display the Name of all those employee whose ENAME Field
contains 4 th character as ‘S’ from the table EMPLOYEE.
Answer:
The SQL query to display the name of all employees whose ENAME field contains the 4th character as 'S' from the table EMPLOYEE is:
SELECT NAME
FROM EMPLOYEE
WHERE ENAME LIKE '___S%';
Explanation:
In this query, we use the LIKE operator to match the pattern. The underscore symbol (_) matches any single character and the percentage symbol (%) matches any sequence of zero or more characters. So, the pattern '___S%' matches any string that has 'S' as the fourth character.