The code below is written in JavaScript and does not seem malicious.
<h3>What is a Malicious Code?</h3>
A Malicious code is one that is not designed for any productive end but to cause disruptions in the computer with the objective of
- harming the workstation; or
- destroying the data stored therein.
There are numerous classifications of malicious codes and they can be identified and removed by an application called an Anti-Virus or malicious app remover.
Learn more about JavaScript at:
brainly.com/question/16698901
Answer:
"Cloud computing" is the correct answer .
Explanation:
Cloud computing is defined as it provided the resources of the system like data storage etc on the demanding purpose. In cloud computing, it provided the resources without knowing the management. Social media is one of the examples of cloud computing.
- Cloud computing is a model in the computer system that stores the bulk data provided the services to the user on demands.
- Cloud computing acts as a shared pool of virtual resources on the internet.
Using the knowledge in computational language in JAVA it is possible to write a code that Assign listNodes with all elements with a clasa name prog-lang
<h3>Writting in JAVA:</h3>
let listNodes;
//assigning listNodes with all elements with a class name of 'special-language'
listNodes = document.getElementsByClassName('special-language');
//for loop to traverse all node in listNodes and print every element in it with class name special-language
for (let i = 0; i < listNodes.length; i++) {
console.log(listNodes[i].innerHTML);
}
See more about JAVA at brainly.com/question/12975450
#SPJ1
Answer:
The program in C++ is as follows:
#include <iostream>
#include <vector>
using namespace std;
int main(){
vector<int> nums;
int num;
cin>>num;
while(num != -1){
nums.push_back(num);
cin>>num; }
for (auto i = nums.begin(); i != nums.end(); ++i){
cout << *i <<endl; }
return 0;
}
Explanation:
This declares the vector
vector<int> nums;
This declares an integer variable for each input
int num;
This gets the first input
cin>>num;
This loop is repeated until user enters -1
while(num != -1){
Saves user input into the vector
nums.push_back(num);
Get another input from the user
cin>>num; }
The following iteration print the vector elements
<em> for (auto i = nums.begin(); i != nums.end(); ++i){
</em>
<em> cout << *i <<endl; }
</em>