The program is an illustration of vectors; vectors are data structures that are used to hold multiple values in one variable name
The main programThe program written in C++, where comments are used to explain each action is as follows:
#include <iostream>
#include <vector>
using namespace std;
int main(){
//This declares the vector
vector<int> nums;
//This declares an integer variable
int num;
//Thie gets the first input
cin>>num;
//This loops is repeated until the user enters -1
while(num != -1){
nums.push_back(num);
cin>>num; }
//This iterates through the vector
for (auto i = nums.begin(); i != nums.end(); ++i){
//This checks if the current element is above 1
if(*i > 0){
//If yes, the element is printed
cout << *i <<endl;
}
}
return 0;
}
Read more about C++ programs at:
https://brainly.com/question/24027643
¿Si tengo un disco de 1Tb, y en el tengo almacenado lo siguiente:
a) 300 videos de 126GB en total
b) 1376 archivos de office que cada uno pesa 117kb.
c) 3000 mp3 de 3.8mb cada uno.
d) 4Gb ocupados en el sistema operativo.
¿Cuánto espacio me sobre en el disco duro?
Answer:
Espacio a la izquierda = 858,8439008 Gb
Explanation:
Dados los siguientes datos;
Tamaño del disco duro = 1 Tb
Vídeos = 126 Gb
Archivos de Office = 1376 * 117 Kb = 160992 Kb
Mp3 = 3000 * 3.8 mb = 11400 Mb
Sistema operativo (OS) = 4 Gb
Conversión:
En primer lugar, convertiríamos el tamaño del archivo en kilobytes a megabytes.
1000 Kb = 1 Mb
160992 Kb = 160992/1000 = 160.992 Mb
Memoria total (Mb) = 11400 + 160,992
Memoria total (Mb) = 11560.992 Mb
A continuación, convertiríamos el tamaño del archivo en megabytes a gigabytes;
1000 Mb = 1 Gb
11560.992 Mb = 11560.992/1000 = 11.560992 Gb
Por último, sumaríamos todos los tamaños de archivo en gigabytes;
Espacio total (memoria) utilizado = 126 + 11.560992 + 4
Espacio total (memoria) utilizado = 141,560992 Gb
Conversión:
1000 Gb = 1 Tb
Espacio restante = tamaño del disco duro - memoria total utilizada
Espacio a la izquierda = 1000 - 141.560992
Espacio a la izquierda = 858,8439008 Gb
Nota:
Kb significa kilobyte. Mb significa megabyte. Gb significa gigabyte. Tb significa terabyte.Which software system is used to store appointments, scheduling, registration, and billing and receivables
Answer:
"Practice Management System (PMS)" is the appropriate answer.
Explanation:
It's the kind of technology that has been discovered in healthcare professionals, developed to handle the day-to-day activities utilizing the desktop application.Is therefore typically utilized assurance and consulting tasks, but can also be connected to medical digital records dependent on multiple treatment practices requirements.Thus the above is the correct answer.
Objects normally have __________ that perform useful operations on their data, but primitive variables do not.
Answer:
methods
Explanation:
Choose all that apply: You are servicing a Dell Inspiron 22 3265/3263 AIO Desktop and determine that the LCD panel is faulty. What troubleshooting steps will you follow before replacing the LCD Assembly
Explanation:
1.) Run ePSA, but press ESC to stop testing and regain control of the cursor. Double tap on the screen and see if the cursor moves to your pressed location. That will determine if the hardware is needed to be replaced or it is a software problem
2.) If the system boots into windows, check the device manager for the USB Input device which has a white circle and a down arrow, right click and enable it to test its functionality.
The troubleshooting steps that the user will need to follow before the LCD Assembly is replaced goes thus:
One will have to run the ePSA.The cursor will have to be regained by press esc in order to stop the testing.Then one will have to double tap the screen in order to check whether the cursor had been moved to the pressed location.The above is necessary in order to know if there will be a replacement of the hardware or whether it is a software problem Then if the system boots into windows, one will have to check the device manager in order to find the USB Input device which will then be right clicked to test its functionality.In conclusion, the above method will be used for the troubleshooting.
Read related link on:
https://brainly.com/question/18275236
A(n) _____ is the component of an expert system that performs tasks similar to what a human expert does by explaining to end users how recommendations are derived.
Answer:
Explanation facility
Explanation:
Expert systems leverage the ability of artifical intelligence as they are computer programs which have the ability of learning over time from a particular expert on a certain knowledge base or field in other to be reproduce or simulate the responses or capability of the expert based on the same subject. The expert system is composed of components such as the knowledge base, inference engine, knowledge and learning module, user interface and the Explanation facility . What the explanation facility typically does is explains to the user why and how a particular recommendation is made or how it reached a certain conclusion
Which of the following technologies is an example of social media
Answer:
Is there multiple choice? Since it says "which of the following"
Explanation:
Social media are certain apps where people are social, with others such ad friends and family. Apps are In.sta.gram, Snap.ch.at, Twitter, etc. Um.. if you put the choices down, I can help you better
If a vulnerability is not fixed at the root cause, there is a possibility that another route of attack can emerge. This route is known as the ____________________.
Answer:
attack vector
Explanation:
If a vulnerability is not fixed at the root cause, there is a possibility that another route of attack can emerge. This route is known as the attackvector.
You manage the information systems for a large manufacturing firm. Supervisory control and data acquisition (SCADA) devices are used on the manufacturing floor to manage your organization's automated factory equipment. The SCADA devices use embedded smart technology, allowing them to be managed using a mobile device app over an internet connection. You are concerned about the security of these devices. What can you do to increase their security posture? (Select two.)
Answer: Install the latest firmware updates from the device manufacturer.
Verify that your network's existing security infrastructure is working properly
Explanation:
Since the person is concerned about the security of these devices, in order to increase their security posture, the latest firmware updates should be installed fom the device manufacturer.
The firmware is the software program or set of instructions which is programmed on a hardware device. Installing the latest update is necessary in order to prevent third party use or hacking. Also, it's vital to check the network's existing security infrastructure in order to check if it's working properly.
Answer please in order
Answer:
analogue; discrete; sampled; sample rate; bit depth; bit rate; quality; larger; file size.
Explanation:
Sound are mechanical waves that are highly dependent on matter for their propagation and transmission.
Generally, it travels faster through solids than it does through either liquids or gases.
Sound is a continuously varying, or analogue value. To record sound onto a computer it must be turned into a digital, or discrete variable. To do this, the sound is sampled at regular intervals; the number of times this is done per second is called the sample rate. The quality of the sound depends on the number of bits stored each time - the bit depth. The number of bits stored for each second of sound is the bit rate and is calculated by multiplying these two values (sample rate and bit depth) together - kilobits per seconds (kbps). The higher these values, the better the quality of the sound stored, but also the larger the file size.
Discuss if you think technology, mobile apps, and/or social networks make us lazy or not. Justify your answer.
Identify ways that you’ve seen social media affect people in the workplace or in society (whether positively or negatively).
Analyze technology’s impact (and in particular, consider social media and mobile apps) on your own life.
Answer:
Yes, I do you can't just go out and work, play, or anything outside and people just want to stay inside on electronics like phones, tv, game systems.
Explanation:
In truth, technology has made a lot of difference in our society, but it has also transformed humans into lazy-bones. These days, people don't need to run errands anymore; they push a button on their phone (another product of tech) and have most of the human's first world problems solved
In order for storage devices to be prepared for use, they must be ____________ Group of answer choices pre-prepared loaded initiated formatted
Answer:
formatted
Explanation:
In order for storage devices to be prepared for use, they must be formatted.
Answer:
Formatted
Explanation:
In order for storage devices to be prepared for use, they must be Formatted Group of .
Hope it is helpful to you
What best Describes algorithm bias
Answer:
E
Explanation:
cause e
Technology is used today in manufacturing,health care , and the transportation industry,but education has not yet embraced it? true or false
Answer:
True! its answer raise to a correct sentence..
Hope the will come to anyone's need..
Answer:
False
Explanation:
Technology in the form of digital tools are now being used in education in many countries for example: Japan, China, India and Korea. Some educational systems are using computers and internet systems.
hope it helps!
Write a program, which will take 20, inputs from the user and find how many
odd and even numbers are there.
Pseudocode & Python
Answer:
user_input = [int(input()) for i in range(20)]
even = []
odd = []
for i in user_input:
if i%2:
even.append(i)
else:
odd.append(i)
print("odd : ", len(odd), "even : ", len(even))
Explanation:
The above code is written in python :
Using a list comprehension we obtain a list of 20 values from the user and store in the variable user_input.
Two empty list are defined, even and odd which is created to store even and odd values.
A for loop is used to evaluate through the numbers in user_input. Even values leave no remainder when Divided by 2 and are appended to the even list while those those leave a raunder are automatically odd values. The elements each list are counted using the len function and are displayed using the print statement.
What is the Role of an algorithm?
Answer:
Informally, an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output. An algorithm is thus a sequence of computational steps that transform the input into the output.
pls Mark me as brainliest trust me
A construct that enables you to create custom types by grouping together variables of other types is called a what
Answer:
A class
Explanation:
A class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and events. You can map classes to an existing database or use them to generate a database. In this tutorial, you'll create the data models by writing data model classes.
what is an example of analog device
Explanation:
Thermometer. Speedometer. Analogue Clock. Seismometer. Voltmeter. Flight Simulators.hope it helps stay safe healthy and happy...Why is it important to ensure that your software is up to date?
Explanation:
It is important to ensure that your software is up to date simply because these updates often provide critical patches to security issues. These patches are to terminate any bugs or exploits that may cause harm to your computer system, and even your personal data. Updating your software allows the program to remove old outdated features, while installing newer/better features. They will often improve the stability and preformance as well.
1. The purposes of traffic signs are
a. to direci, to decide, to stop.
b. to observe, to direct, to guide.
to stop, to warn, to decide.
d. to regulate, to warn, to guide.
Answer:
D. to regulate, to warn, to guide.
Why are peripherals added to computers?
to limit their applications
to change their purpose
to expand their capabilities
to specify their functions
Answer:
To expand their capabilities
Explanation:
They allow users to do more with computers
c724 wgu True or false. A storage device consists of all the components that work together to process data into useful information
Answer:
False
Explanation:
A output device consists of all the components that work together to process data into useful information
You work as a computer technician for a production company that travels all over the world while filming and editing music videos. Due to the nature of video editing, you will be building a video production workstation for the company that will have the maximum amount of RAM, an 8-core CPU, a dedicated GPU, and a redundant array of solid state devices for storage. You are now determining which power supply to install in the system. What is the MOST important characteristic to consider when choosing a power supply
Answer: Input Voltage
Explanation:
Based on the information given, since the power supply to install in the system is being determined, the input voltage is the most important characteristic to consider when choosing a power supply.
The input voltage indicates the type of voltage and the electrical current that's required to power a device safely and effectively.
what is the use of a piano
Assume that processor refers to an object that provides a void method named process that takes no arguments. As it happens, the process method may throw one of several exceptions. Write some code that invokes the process method provided by the object associated with processor and arrange matters so that your code causes any exception thrown by process to be ignored. Hint: use the catch (Exception ex) and do nothing under the catch clause.
Answer:
Following are the code to the given question:
try//defining a try block
{
processor.process();//defining an object processor that calls process method
}
catch(Exception e)//defining a catch block
{
}
Explanation:
In this question, the 'Try' and 'catch' block is used in which both the keywords are used to represent exceptions managed during runtime due to information or code errors. This try box was its code block which includes errors. A message queue catches the block errors and examines these.
In the try block, a method "process" is used which is create the object processor that calls the method.
6. By default,how the table headings are placed. (2 Points)
bold and italic
bold and centered
bold and underlined
bold and aligned
The method of distributing multimedia files, such as an audio file, for downloading onto a personal computer is called
Answer:
digital distribution
Explanation:
which is known as accurate processing of computer gigo E mail MHz bug
GIGO is the considered as the accurate processing in computers.
In the field of computer science, the word GIGO stands for " garbage in, garbage out".
It is a concept that refers that if bad input is provided to the computers, the output will also be bad and useless.
It is the inability of the program to any bad data providing incorrect results.
Thus GIGO is the most accurate processing in a computer programs.
Learn more :
https://brainly.in/question/23091232
Which power backup method will continually provide power to a server if the power goes out during a thunderstorm
Answer:
An online UPS
Explanation:
An online uninterrupted power supply (ups) can be defined as an electronic device that is designed to supply continuous power to a load that uses alternating current (AC), through the inverter and rectifier arrangement (combination) during normal operation of the device. Thus, an online UPS through its inverter supplies continuous AC power in the event of a power failure.
Hence, an online UPS power backup method is designed and developed to continually provide power to a server (load) if there is a power outage as a result of a thunderstorm.
In conclusion, an online uninterrupted power supply (ups) guarantees a 24 hour power supply when properly installed and connected to a load or end user device such as a server.
outline the steps involved in changing the colour of a theme
Answer:
Right click on the desktop and click on personalize option and then click on window color. After that window color and appearance window appears. select a color scheme you want. Go to Appearance and personalization, click on theme and select any theme from the list and click on ok.
kamusta Bagong user Ako dito
Answer:
kamusta Bagong user Ako dito = hello New user I'm here