Answer:
Compress the file to reduce the file size.
Vector testGrades contains NUM_VALS test scores. Write a for loop that sets sumExtra to the total extra credit received. Full credit is 100, so anything over 100 is extra credit. Ex: If testGrades = {101, 83, 107, 90}, then sumExtra = 8, because 1 + 0 + 7 + 0 is 8.
#include
#include
using namespace std;
int main() {
const int NUM_VALS = 4;
vector testGrades(NUM_VALS);
unsigned int i;
int sumExtra = -9999; // Assign sumExtra with 0 before your for loop
for (i = 0; i < testGrades.size(); ++i) {
cin >> testGrades.at(i);
}
/* Your solution goes here */
cout << "sumExtra: " << sumExtra << endl;
return 0;
}
To calculate the total extra credit received, we need to iterate through the testGrades vector using a for loop and check if each test score is greater than 100. If a score exceeds 100, it means that the student received extra credit, and we add the difference between the score and 100 to the sumExtra variable.
Before the loop, sumExtra should be initialized to 0 instead of -9999, as specified in the problem statement. Here's the modified code snippet:
#include <iostream>
#include <vector>
using namespace std;
int main() {
const int NUM_VALS = 4;
vector<int> testGrades(NUM_VALS);
unsigned int i;
int sumExtra = 0; // Initialize sumExtra to 0 before the loop
for (i = 0; i < testGrades.size(); ++i) {
cin >> testGrades.at(i);
if (testGrades.at(i) > 100) {
sumExtra += testGrades.at(i) - 100;
}
}
cout << "sumExtra: " << sumExtra << endl;
return 0;
}
With this modification, the program will correctly calculate the sum of all extra credit received based on the test scores provided through user input.
Learn more about program here: https://brainly.com/question/30613605
#SPJ11
application of statistical and computational methods to predict data events is: group of answer choices A. predictive analytics. B. descriptive analytics. C. prescriptive analytics.
D. comparative analytics.
The application of statistical and computational methods to predict data events is known as A. predictive analytics. This involves the use of historical data, statistical algorithms, and machine learning techniques to identify the likelihood of future outcomes based on patterns in the data.
Predictive analytics is used across various industries, including finance, healthcare, retail, and marketing, to forecast customer behavior, identify potential risks and opportunities, and optimize business processes. Descriptive analytics, on the other hand, focuses on analyzing past data to gain insights into what happened and why it happened. It involves the use of data visualization and data mining techniques to understand historical trends and patterns in the data. Descriptive analytics is useful for understanding past performance and making data-driven decisions based on historical data.
Prescriptive analytics is a more advanced form of predictive analytics that not only predicts future outcomes but also recommends specific actions to take in response to those predictions. This involves the use of optimization algorithms and decision-making tools to identify the best course of action based on the predicted outcomes. Comparative analytics involves comparing data across different time periods, regions, or segments to identify trends and patterns. This is useful for benchmarking performance and identifying areas for improvement. However, it does not involve the use of statistical or computational methods to predict future events. Overall, predictive analytics is a powerful tool for businesses looking to gain a competitive advantage by leveraging data to make more informed decisions and improve business performance.
Learn more about statistical algorithms here-
https://brainly.com/question/11871804
#SPJ11
if a process step has a large setup time and a small pure-processing time per unit, what batch size will result in the fastest throughput time for any one unit through this step? assume there are multiple resources at this step, each with plenty of capacity.
Using the smallest batch size possible would result in the quickest throughput time for any one unit through the process step. The amount of time needed to set up each unit will be reduced as a result.
Impact of batch size on throughput?On test hardware that can handle more inference work in parallel, larger batch sizes (8, 16, 32, 64, or 128) can lead to higher throughput. However, the latency may increase as a result of the higher throughput.
Describe Unit?A single, indivisible entity is referred to as a unit in many different professions. A unit is the accepted unit of measurement in mathematics, such as a metre for length or a kilogramme for mass.
To know more about unit visit:-
https://brainly.com/question/29775379
#SPJ4
2. What is an operating system? Describe any three functions of
operating system.
An operating system is the most important software that runs on a computer. It manages the computer's memory and processes, as well as all of its software and hardware.
what's the answer to this
Answer:
S
Explanation:
The index operator will address individual characters in the string.
A file named "songs.txt" exists and has 70 lines of data. You open the file with the following line of code.
aFile = open("games.txt", "w")
You write three lines to the file in the program. How many lines are in the file when you close your file?
Answer:
There will be 3 lines of data left
Explanation:
When you use "w" command it overwrites all lines that already exists, to avoid this use "a" instead to append lines of data onto the text file
Answer:
There will be 3 lines of data left
Explanation:
what do other people think of e.t
in the movie E.T
Answer:
I think E.T is funny
Explanation:
Please please please help I beg I'll give brainiest. :(
A digital egg timer uses an input, process and output. (a) Suggest an appropriate input component. (b) Suggest an appropriate output component (c) Circle the most appropriate device below to be used for the timing process. Monostable or Astable
Answer:
A) toggle switch B) Push to Make switch C) Monostable
Explanation:
toggle because it needs to go off when the timer ends and not when u press a button
Push to make because you turn the timer off manually
Monostable because it needs to go off once not repeatedly
Could you run Genshin on a sd card?
Answer:
brainly is for homework
Explanation:
( also you can )
_____ is an online data entry method where a blank form that duplicates or resembles the source document is completed on the screen
Answer:
form filling
Explanation:
form filling is an online data entry method where a blank form that duplicates or resembles the source document is completed on the screen
u can use quizlet for this or any thing
Why do politically-powerful groups get bigger positive impacts of externalities?
- 1. GOVERNMENT CORRECTION FAVORS THEM
- 2. MORE POWERFUL GROUPS BECAME POWERFUL BECAUSE OF THESE EXTERNALITIES
- 3. BECAUSE OF CORRUPTION AND BRIBERY
- 4. BECAUSE THE POSITIVE IMPACTS ALWAYS OUTWEIGH THE NEGATIVE TO EVERYONE ELSE
There are a few reasons why politically-powerful groups get bigger positive impacts of externalities. One reason is that government correction favors them. Another reason is that more powerful groups became powerful because of these externalities.
What is government?
An organised community is governed by a system or group of people, typically a state. Government typically consists of the legislative, executive, and judicial branches in the case of its broad associative definition. Government is a mechanism for making policy decisions as well as a way to enforce organisational policies. A declaration of the government's guiding principles and philosophy is the equivalent of a kind of constitution in many nations. The term "government" is frequently used more specifically to refer to the roughly 200 independent national governments as well as subsidiary organisations, even though all organisations have governance. Modern democracies, monarchies, as well as authoritarian as well as totalitarian regimes are the main varieties of political systems.
Yet another reason is because of corruption and bribery. Finally, because the positive impacts always outweigh the negative to everyone else.
To learn more about government
https://brainly.com/question/1078669
#SPJ1
Sharing someone else's secrets or embarrassing photos via social media is a form of which type of cyberbullying?
Cyberstalking
Denigration
Outing
Trickery
Answer:
DenigrationExplanation:
Spreading false or hurtful information about someone with the intention of hurting their reputation or upsetting them constitutes this particular type of cyberbullying. It can involve disclosing private material without the victim's consent, including embarrassing pictures, videos, or other sensitive information. This kind of cyberbullying has the potential to have substantial negative effects on the victim's emotional health and social interactions, both online and off.
To learn more about cyberbullying visit: https://brainly.com/question/24017380
Answer: Outing?
Explanation:
Which file must be edited if you want a new file system to become accessible whenever the computer boots
Answer:
/etc/fstab
Explanation:
The fstab (/etc/fstab) (or file systems table) file is a system configuration file on Debian systems. The fstab file typically lists all available disks and disk partitions, and indicates how they are to be initialized or otherwise integrated into the overall system's file system.
write around 600 words discussing the role of IT in Jumia operational applications
Jumia is an e-commerce platform that operates in various African countries, and it relies heavily on technology to run its operations. Information technology (IT) plays a critical role in enabling Jumia to process transactions, manage inventory, track deliveries, and provide customer support. In this essay, we will discuss the role of IT in Jumia's operational applications and how it helps the company to achieve its business objectives.
Jumia uses a range of IT systems and tools to support its operations, including its website, mobile application, customer relationship management (CRM) software, order management system (OMS), warehouse management system (WMS), and logistics management system (LMS). These systems work together seamlessly to provide a comprehensive end-to-end solution for Jumia's e-commerce operations.
One of the key roles of IT in Jumia's operational applications is to provide a platform for customers to browse and purchase products online. The Jumia website and mobile application are designed to be user-friendly and easy to navigate, with a search function that allows customers to find products quickly and easily. The website and mobile application also allow customers to view product details, check prices, and make payments securely using a range of payment options.
Another critical role of IT in Jumia's operational applications is to support order management and fulfilment. The order management system (OMS) allows Jumia to manage customer orders, allocate inventory, and track order fulfilment. The OMS also integrates with Jumia's warehouse management system (WMS), which helps Jumia to manage inventory levels, track product movement, and fulfil orders efficiently.
IT also plays a role in Jumia's customer support operations. Jumia uses a CRM system to manage customer interactions and provide support to customers. The CRM system allows Jumia to track customer orders, manage customer inquiries, and provide post-sale support. The CRM system also integrates with Jumia's website and mobile application, allowing customers to access support directly from these channels.
To know more about various visit:
https://brainly.com/question/32260462
#SPJ11
Salesforce organizes your data into: A. Objects and records, like tabs and rows on a spreadsheet. B. Objects and fields, like columns on a spreadsheet. C. Fields and records, like different databases. D. Objects and spreadsheets, like columns in a database.
Salesforce organizes your data into option A. Objects and records, like tabs and rows on a spreadsheet.
How does Salesforce organize data?Salesforce is known to be a tool that helps one to put together their your into objects and records and it is said to have standard objects that has been set up and ready for use.
Hence, Salesforce organizes your data into option A. Objects and records, like tabs and rows on a spreadsheet.
Learn more about Salesforce from
https://brainly.com/question/7452075
#SPJ1
names that are defined outside of a namespace are part of the unnamed namespace T/F
False. Names that are defined outside of a namespace are not part of the unnamed namespace. The unnamed namespace is used to create a separate namespace for identifiers that are not intended to be used outside of a particular translation unit.
When a namespace is not given a name, it is referred to as the unnamed namespace. The purpose of the unnamed namespace is to provide a way to define symbols that are only visible within a single translation unit, without polluting the global namespace. This is useful for avoiding naming conflicts between different parts of a program.
Variables or functions defined outside of any namespace are part of the global namespace. Any name defined in the global namespace is available throughout the entire program, unless it is hidden by a name defined in a more restricted scope, such as a function or a namespace.
Learn more about namespace here:
https://brainly.com/question/13108296
#SPJ11
False. Names that are defined outside of a namespace are not part of the unnamed namespace. The unnamed namespace is used to create a separate namespace for identifiers that are not intended to be used outside of a particular translation unit.
When a namespace is not given a name, it is referred to as the unnamed namespace. The purpose of the unnamed namespace is to provide a way to define symbols that are only visible within a single translation unit, without polluting the global namespace. This is useful for avoiding naming conflicts between different parts of a program. Variables or functions defined outside of any namespace are part of the global namespace. Any name defined in the global namespace is available throughout the entire program, unless it is hidden by a name defined in a more restricted scope, such as a function or a namespace.
Learn more about namespace here:
brainly.com/question/13108296
#SPJ11
Which of the following is not a main method for sending information from one computer to
another?
Electricity
Light
Molecules
Radio
Molecules are not the main method for sending information from one computer to another. Thus, option C is correct.
There are the multiple method of sending information that using the radio waves most commonly used now a days. A Wireless method of sending information using radio waves.
A wireless router has receives the signal as well as decodes it. The router sends the information to the Internet using a physical, wired Ethernet connection. and sending information through radio waves involve two devices .One is receiver device and other is sending device.
Therefore, Molecules are not the main method for sending information from one computer to another. Thus, option C is correct.
Learn more about radio on:
https://brainly.com/question/29787337
#SPJ1
The core component of the GUI in Linux is referred to as ____.
1) GNOME
2) KDE
3) Red Hat
4) X Windows
The core component of the GUI in Linux is referred to as (4) X Windows.
X Windows is a widely used windowing system and graphical user interface in Linux and Unix operating systems. It is also referred to as X11 or simply X. It is responsible for providing the framework for drawing graphical elements on the screen and for handling user input from input devices like the keyboard and mouse.
X Windows provides a standardized protocol that allows graphical applications to run on different hardware and software platforms and be displayed on a remote computer over a network. This enables users to run applications on a remote computer and interact with them as if they were running on their local computer.
Hence, the correct answer is Option 4.
Learn more about X Windows here: https://brainly.com/question/32936643
#SPJ11
help? brainliest and point
Answer: second one
Explanation:
sorry lol
PLEASE HELP!!! THIS IS DUE TODAY!! WILL MARK BRAINLIEST!!
Two examples of good digital citizenship, and provide your reasoning as to why they are good.
Answer:
1. Respecting rules and cookies while browsing a website.
2. Being kind and properly following the requirements the owner asks you to follow. Reporting any sort of comment or image that is hurtful/harmful.
Explanation:
1. By the rules and cookies for a website, you ensure the safety of your device and are not putting any information at risk.
2. Cyberbullying is a huge issue and you can reduce cyberbullying with the simple steps of being kind and respecting others.
Conclusion:
These rules are examples of good digital citizenship and following them will benefit you and your peers greatly.
Example 1. Learning to type, use a mouse, and other computer skills.
Explanation: This is a good example of digital citizenship because by learning these skills it allows you to actively engage with others digitally and even give them pointers with their own learning.
Example 2. Avoiding harassment or hateful speech while conversing with others online.
Explanation: This is a good example of digital citizenship because by avoiding harassment or hateful speech you are contributing to making the digital world a safer place for everyone.
hopefully this deserves brainliest :)
what tool is used to find and organize files on a mac
The tool used to find and organize files on a Mac is called Finder. Finder is a built-in file manager for macOS. Finder makes it easy to browse and manage files and folders on a Mac computer. It is the default application used to find and organize files, and it is typically found in the Dock at the bottom of the screen.
Finder allows users to create, delete, and organize files and folders. It also provides a search feature that makes it easy to find specific files by name or other criteria. Finder is also integrated with other Mac applications, such as iCloud and Time Machine, to provide users with easy access to their files and backups.Finder allows users to view files in a variety of ways, including icons, list, columns, and Cover Flow.
It also provides a variety of customization options, including the ability to change the look and feel of the application and the ability to add or remove shortcuts to folders and files.Overall, Finder is an essential tool for anyone using a Mac computer. Its intuitive interface and powerful features make it easy to manage files and stay organized.
To know more about organize visit:
https://brainly.com/question/12825206
#SPJ11
List three variables that could be used in creating a model that determines the best day to plant corn in a given location. 30 points! pls help
Temperature, nutrients and other environmental factors
Need the answer ASAP!!!!!!!!
I’ll mark brainliest if correct
Drag each label to the correct location on the image. Match the correct component to the part on the flowchart
Procedure 1
subroutine
procedure 2
decision
input
End
Start
Answer:
Start
subroutine
imput
decision
Procedure 1
procedure 2
End
Explanation:
Haan creates this table to track his income.
A
1 Month
2 Jan
3 Feb
4 Mar
5 Apr
6 May
7 Jun
8 Jul
9 Aug
10 Sep
11 Oct
12 Nov
13 Dec
14 Year Total
B
Income
$3,800
$3,300
$4,200
$4,900
$2,800
$4,100
$3,000
$4,200
$4,700
$3,600
$5,100
$4,200
Which would give him the total income for the year?
=SUM(B2 B13)
EADD(B1:B14)
SUMB1B14
(B2B13)
Answer:
Your answer is 42,800.
Explanation:
Add together all the numbers and you get a total income of 42,800.
Answer:
=SUM(B2:B13)
Explanation:
EDGE2021
Two use of dovetail saw
Answer:
They are particularly use when it is use for cutting small or very precise cut. They are particularly use in joint making mostly dovetail joints
hope it helps
Is this statement true or false?
Humor should never be used in a presentation as it will distract your audience.
true
false
Answer:
false
Explanation:
you are welcome ;)
What is a named bit of programming instructions?
Answer:
Function: A named bit of programming instructions. Top Down Design: a problem solving approach (also known as stepwise design) in which you break down a system to gain insight into the sub-systems that make it up.
Recursion occurs when a function (calls itself/ calls another function/ calls a function from the python standard library)
Answer:
calls itself
Explanation:
Just took the test
Answer:
Calls itself
Explanation:
its correct on the assignment :)
2.
Technician A says that when two cars hit head on at 50 mph, it is like hitting a
brick wall at 100 mph. Technician B disagrees and says that it is like hitting a
brick wall at only 50 mph. Who is correct?
A. Technician A
B. Technician B
C. Both A and B
D. Neither A nor B
Answer:
It’s C
Explanation:
Open the code8-3_anim.css file. Several keyframe animations have already been created for you. Add a keyframe animation named spinCube that contains the following frames:
At 0% apply the transform property with the rotateX() function set to 24deg and the rotateY() function set to 40deg.
At 50% change the value of the rotateX() function to 204deg and the rotateY() function to 220deg
At 100%, change the value of the rotateX() function to 384 and the rotateY() function to 400deg.
In code 8-3 anim.css, include a keyframe animation called spinCube with frames at 0%, 50%, and 100%. The transform property's rotateX() and rotateY() values should be set to various values.
In CSS, how do you add keyframe animation?Create a keyframes rule with a name to use keyframes, and the animation-name property will use that name to link an animation to a keyframe declaration.
Which CSS attribute chooses an animation for an element when the keyframes rule is applied?a property called animation-name. A list of applicable animations is defined by the animation-name parameter. The keyframe at-rule that gives the property values for the animation is chosen using each name.
To know more about code visit:-
https://brainly.com/question/17293834
#SPJ1