Answer:
Embed is used to insert a new linked Excel worksheet into a PowerPoint presentation
Hope this answer correct :)
cpp g Write a for loop to print all elements in courseGrades, following each element with a space (including the last). Print forwards, then backwards. End each loop with a newline. Ex: If courseGrades
Answer:
lol don't ask people to write code for you
assuming its an array, n is size.
normally:
for(int ele: courseGrades){
cout << ele <<" ";
}
cout << endl;
reverse:
reverse(courseGrades, courseGrades + n);
for(int ele: courseGrades){
cout << ele <<" ";
}
cout << endl;
Packet ________ is a form of protection for your computer that looks at each packet that comes into your computer network. screening scanning examination viewing
Answer:
screening
Explanation:
Packet screening also known as packet filtering wall is a package that works at the network layer of the OSI model. It screens IP addresses and packet options and its firewall option allows it to block or allow access into the computer, based on what it has detected.
To achieve this, it can employ the dynamic-packet filtering where ports are opened when it is really necessary and then closed. Static-packet filtering in which rules are set manually and the stateful-paket filtering where packets have to move through some sequence.
We will extend this idea to streams. Write a function called rle that takes in a stream of data, and returns a corresponding stream of two-element lists, which represents the run
Answer:
def rle(data_stream ):
with open( "data_stream" ) as file:
container= [ ]
two_itemlist= [ ]
while True:
container.append( file.readlines )
file.close( )
while container == True:
value= container.pop(0)
split_value= value.split( " " )
while split_value == True:
while len( two_itemlist) < 2:
holder = split_value.pop( 0 )
two_itemlist.append( holder )
yield two_itemlist
new_list = rle ( new_file )
Explanation:
In the solution above, the defined function is a generator, as it continuously returns a two-element list.
Training a model using labeled data and using this model to predict the labels for new data is known as ____________.
Answer:
supervised learning
Explanation:
This process is known as supervised learning. This refers to the machine learning task of learning a function that maps an input to an output based on example input-output pairs. In other words, by teaching it a single process it is able to repeat and predict the same process or predict the output based on the inputs that are being implemented by referring to the initially learned function.
when will you need to use a tuple data structure rather than a list of data structure
Answer:
They can always be easily promoted to named tuples. Likewise, if the collection is going to be iterated over, I prefer a list. If it's just a container to hold multiple objects as one, I prefer a tuple. The first thing you need to decide is whether the data structure needs to be mutable or not
Who should perform the validation test, the software developer or the software user?
5.During a recent network attack, a hacker used rainbow tables to guess network passwords. Which type of attack occurred
Answer:
Rainbow table attack
Explanation:
A rainbow table attack is a type of network attack or hacking where the hacker tries to utilize a rainbow hash table to crack the passwords in a database system. A rainbow table itself is a hash function used in cryptography for saving important data in a database. Especially passwords.
In this process, sensitive data are hashed two or multiple times with the same key or with different keys so as to avoid rainbow table attack. In a rainbow table attack, the hacker simply compares the hash of the original password against hashes stored in the rainbow table and when they find a match, they then identify the password used to create the hash.
How does enforce password history and minimum password age work together to keep a network environment secure?
Answer:
The Enforce Password History and Minimum Password Age works together by preventing a person from changing the password many times and using an old password.
Explanation:
Minimum Password Age works to stop a user from modifying an existing password numerous times so that it will bypass enforce password history and asked to reset the password.
The Enforce Password History policy works to prevent a user from making use of an old password by setting limits on the number of remembered passwords. This helps users from using old and easily guessed passwords which can leave them vulnerable to network attacks.
witch of the following might cause you to flash the Bios/UEFi
Answer:
This bios is to perform the access the Ram, video settings and modify settings.
Explanation:
This bios is to contain the section is to explain the motherboard are known as the Bios and to access the modify setting to the processor.
Bios is to contain that basic input and output system of the component and system bios to the recent interface is contain to the boot .Bios system perform it test as the video card, USB drives, to the components way to the operating system.Bios is perform to the change the bios setting and upgrade the bios settings, to interact the motherboard.Bios is to consist to the built storage device, cards to the assembled by the bios program.Bios is to perform hard drives to the higher capacity and the faster system optimizations.Bios system is performed to the automatically to configure the system and also referred to the some system.Bios are to comes on the personal computer system to the run into software to power on, this used in input/ output process.Bios is to provide the abstract layer system and display the interface to program on operating system.Bios is contain are the stored in a flash memory to remove the chip from that mother board system.Consider two decision problems X and Y. If X reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to Y. Which of the following can be inferred from the previous statement?
a. X is in NP and Y is in NP-Hard.
b. Y is in NP and X is in NP-Hard.
c. Both X and Y are in NP-hard.
d. Both X and Y are in NP.
Answer:
X is in NP and Y is in NP-HARD ( A )
Explanation:
X is in NP and Y is in NP-HARD can be inferred from the previous statement made in the problem above because problem decision X can be in NP if it can BE reducible to a 3-SAT polynomial real time, if that can be achieved then 3SAT will be in NP since SAT is in NP as well.
also problem decision Y can be in NP-HARD if 3SAT can be reducible to it in polynomial time as well hence option A is the correct option
The 6 steps for PowerPoint competency from the TED talk in the module "How to Avoid Death by PowerPoint."?
Answer:
1. Do some presentation preparation work
2. Set the right tone and end on a high note.
3. Create sleek and stylish slides.
4. Get your audience to focus.
5. Its all about you.
Explanation:
1. Do some presentation preparation work:
A good presentation begins, not with slides, but with a pencil and paper. Research your audience’s background, interests and capabilities. What do they already know, for instance, and what can they learn from you?
2. Set the right tone and end on a high note:
You have no more than 30 seconds to secure your audience’s attention. So, what attention-grabbing opener will you use?
Visual communications expert Curtis Newbold suggests “a fascinating quote; an alarming or surprising statistic; asking your audience a question; telling a relevant and funny joke… an imaginary scenario; or a demonstration''.
3. Create sleek and stylish slides:
Once you have your story down, you can start to design your slides.
Before you do, it’s important to think about the practicalities. Will they, for instance, be displayed Widescreen with a 16:9 ratio? Or Standard with 4:3? This might seem like a small detail, but it can make a huge difference in terms of visual impact.
4. Get your audience to focus:
The most important thing is to grab your audience’s attention straight away – and then maintain it! You want your audience to go away having learned something. So, make it as easy as possible for people to grasp your message “from the off”!
5. Its all about you:
Finally, remember that, ultimately, it’s you that the audience should be paying attention to, not your slides!
PowerPoint can be used to create great visual aids, but the success of your presentation is determined by the way you deliver them. So, tell your story with a confident, compelling physical presence, and master it by rehearsing it 10 to 15 times.
Code written by computer programmers is translated to binary code, so computers can understand the instructions. True or False
Answer:
True
Explanation:
High-level languages such as Java, C++, Ruby, Python, etc need to be translated into binary code so a computer can understand it, compile and execute them.
Machine language is the only language that is directly understood by the computer because it is written in binary code. But writing codes in Machine Language is tiring, tedious, and obsolete as no one really uses it anymore.
Answer:
True
Explanation:
FLVS intro to Programming honors
Merge arrays A and B into array C using merge sort algorithm. Give final sorted numbers of C using colored numbers without showing intermediate steps. For example, your answer can be [1, 3, 3, 5, 7, 7, 9, 9, 13, 25] or [1, 3, 3, 5, 7, 7, 9,9, 13, 25), or another variation. void merge(int all, int aux[], int lo, int mid, int hi) / for (int k = lo; k<= hi; k++) aux [k] a[k]; int i lo, j = mid+1; for (int k lo; k<-hi; k++) if (i > mid) ak) else if (1 > hi) a[k] else if (small (aux(j), aux[1])) a[k] else ak aux[j++); aux (i++); aux [j++); /*++ aux (i++]; 1 j++
Answer:
Explanation:
Given code:-
#include<iostream>
using namespace std; //namespace
#define RED "\033[31m" /* Red */
#define BLUE "\033[34m" /* Blue */ //color definition
#define WHITE "\033[37m" /* White */
void mergeArrays(int arr1[], int arr2[], int n1, int n2, int arr3[])
//merger sort
{
int i = 0, j = 0, k = 0;
while (i<n1 && j <n2) //iterate over both array
{
if (arr1[i] < arr2[j]) //iff array 1 element is larger
{
arr3[k] = arr1[i]; //assign to a3
k++;
i++;
}
else
{
arr3[k] = arr2[j]; //else assign array 2 to a3
j++;
k++;
}
}
//say the array turns out to br of different sizes
//let us copy the remaining elemnt to array 3
while (i < n1)
{
arr3[k] = arr1[i];
i++;
k++;
}
while (j < n2)
{
arr3[k] = arr2[j];
k++;
j++;
}
}
int main(){
int A[4] = {3,5,7,9}; //array 1 assignment
int a_size = 4;
int b_size = 6;
int B[6] = {1,3,7,9,13,25}; //array 2 assignment
int C[10]; //array 3 declearation
int a_count = 0;
int b_count = 0; //counter for both array index
mergeArrays(A,B,a_size,b_size,C); //merger function applied;
cout<<WHITE<<"A: ";
for(int i = 0; i<4; i++){
cout<<RED<<A[i]<<" ";
}
cout<<endl<<WHITE<<"B: ";
for(int i = 0; i<6; i++){
cout<<BLUE<<B[i]<<" ";
}
cout<<endl<<WHITE<<"C: ";
for(int i = 0; i<10; i++){ //iterate over C
if(C[i] == A[a_count] && a_count < a_size){
cout<<RED<<C[i]<<" ";
// if element is common in array 1 print in red
a_count++;
}
else if (C[i] == B[b_count] && b_count < b_size){
//say element was similar in array 2, print in blue
cout<<BLUE<<C[i]<<" ";
b_count++;
}
}
cout<<endl;
}
Given the ever-changing cloud services, it is tough to know how to design a sustainable cloud strategy.
a) true
b) false
Answer:
True
Explanation:
Due to the ever-changing cloud services, designing a sustainable cloud strategy is tough. Some factors that makes it look tough:
1. Choosing suitable cloud platforms that will be sustainable over a long period of time.
2. Availability of a cloud design specialist and experts: Getting a cloud specialist who can work out a sustainable design is tough itself.
Every corporate organization must take adequate caution when choosen a cloud design. This is to enable them have something sustainable as a result of the ever-changing cloud services.
Which of the following are true statements about collisions in hashing? Linear probing can cause secondary collisions. Higher space utilization tends to cause more collisions.
Answer:
hello the options to your question is incomplete below are the options
A. Linear probing causes secondary collisions.
B. Higher space utilization tends to cause more collisions.
C. Chained entries will be ordered by key.
D. (a) and (b).
E. All of the above.
answer : (a) and (b) --- D
Explanation:
The true statements about collisions in hashing are ;Linear probing causes secondary collisions and Higher space utilization tends to cause more collisions.
collisions in hashing is when two data sets whom are distinctively different have the same hash value or checksum. the collision in hashing can be resolved by checking the hash table for an open slot to keep the data set that caused the collision.
Do computers perform disk optimization utilizing the same software
Answer:
All computers perform disk optimization utilizing the same software.
Which part(s) of CAIN is realized through the use of message digest functions and hashes?
Answer:
Integrity
Explanation:
In CAIN, integrity is realized through the use of message digest functions and hashes.
Integrity in CAIN simply means securing a message on transit without it being tampered. To accomplish and achieve integrity, hash functions are used. These hash functions receive arbitrary length message and bring out a fixed sized message digest.
The message digest and hash function maps input data of arbitrary length to an output fixed data length. Hashing is used to guarantee integrity.
GIVING BRANLIEST!!!
John wants to assign a value to the favorite animal variable: favoriteAnimal = Koala but gets an error message. What does he need to fix for the code to work?
Add a space between the words in the variable name.
Create a shorter variable name.
Delete the symbol in the string.
Put quotations around the string.
Answer:
put quotations around the string
Explanation:
the animal name, koala, is of data type string and it should be enclosed in " "
delete the symbol
just put it into a processor like python idle
Which social media platform provides filters that alter the user's face by smoothing and whitening skin, changing eye shape, nose size, and jaw profile
Answer: Snap-chat
Explanation:
is a social media platform application developed for mainly sharing of photos with the use of some special filters which are able alter how the person looks. examples of such filters are filters that alter the user's face, smoothing and whitening the users skin, changes the eye shape of the user, alters the nose size and jaw profile of the individual using the app. Snap chat has become a photo favorite for many young people today and celebrities alike.
What technology followed the form of Analog equipment?
Answer:
The teleautograph
Explanation:
The precursor to the present day fax machine was the analogue the telautograph. The device sends recorded potentiometer recorded electrical impulses to a pen to which is attached stepping motors such that a graphic inscription made by a sender is reproducible by the receiving system station. The teleautograph was the first device that was able to make such a transmission to a sheet of paper in a stationary state. simulation.
Answer:
Explanation:
Digital information All kinds of everyday technology also works using digital rather than analog technology. Cellphones, for example, transmit and receive calls by converting the sounds of a person's voice into numbers and then sending the numbers from one place to another in the form of radio waves.
which statement compares the copy and cut commands?
1. only the copy command requires the highlighting text
2. only to cut command removes the text from the original document
3. only the cut command uses the paste command to complete the task
4. only the copy command is used to add text from a document to a new document
Answer:
only to cut command removes the text from the original document
Explanation:
To say that only the cut command removes the text from the original document implies that you can use the cut command on a text, let's say "a boy and girl" to remove the text on the original document where it was located to a new document or text box, in other words, the text "a boy and girl" would no longer be found in the original document.
However, the copy command would not remove the text from the original document.
Answer:
only the command removes the text from the original document.
Explanation:
just did it
Many clustering algorithms that automatically determine the number of clusters claim that this is an advantage. List two situations in which this is not the case
Answer: to vibe the rest
Explanation:
Which management function do leaders perform first when an organization begins a project?
OA. organizing
OB.directing
OC. controlling
OD. planning
Answer:
PLANING
Explanation:
They include: planning, organizing, leading, and controlling. You should think about the four functions as a process, where each step builds on the others. Managers must first plan, then organize according to that plan, lead others to work towards the plan, and finally evaluate the effectiveness of the plan.
a database of the virus is called____
Answer:
I believe it is poisoning I could be wrong
An attack in which the attacker attempts to impersonate the user by using his or her session token is known as:
Answer:
Session hijacking
Explanation:
Session hijacking : Session hijacking is an attack where a user session is taken over by an attacker. A session starts when you log into a service, for example your banking application, and ends when you log out.
You are given an array of integers a. A new array b is generated by rearranging the elements of a in the following way:
b[0] is equal to a[0];
b[1] is equal to the last element of a;
b[2] is equal to a[1];
b[3] is equal to the second-last element of a;
and so on.
Your task is to determine whether the new array b is sorted in strictly ascending order or not.
Example
For a = [1, 3, 5, 6, 4, 2], the output should be alternatingSort(a) = true.
The new array b will look like [1, 2, 3, 4, 5, 6], which is in strictly ascending order, so the answer is true.
For a = [1, 4, 5, 6, 3], the output should be alternatingSort(a) = false.
The new array b will look like [1, 3, 4, 6, 5], which is not in strictly ascending order, so the answer is false.
Input/Output
[execution time limit] 3 seconds (java)
[input] array.integer a
The given array of integers.
Guaranteed constraints:
1 ≤ a.length ≤ 105,
-109 ≤ a[i] ≤ 109.
[output] boolean
A boolean representing whether the new array bwill be sorted in strictly ascending order or not.
Answer:
Explanation:
Take note to avoid Indentation mistake which would lead to error message.
So let us begin by;
import java.util.*; ------ using Java as our programming language
class Mutation {
public static boolean alternatingSort(int n , int[] a)
{
int []b = new int[n];
b[0]=a[0];
int j=1,k=0;
for(int i=1;i<n;i++)
{
if(i%2==1)
{
b[i]=a[n-j];
j++;
}
else
b[i]=a[++k];
}
for(int i=0;i<n;i++)
{
System.out.print(b[i]+" ");
}
System.out.print("\n");
for(int i=1;i<n;i++)
{
if(b[i]<=b[i-1])
return false ;
}
return true;
}
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int n= sc.nextInt();
int []a = new int [n];
for(int i=0;i<n;i++)
a[i]=sc.nextInt();
System.out.println(alternatingSort(n,a));
}
}
This code should give you the desired result (output).
The program is an illustration of Arrays.
Arrays are variables that are used to hold multiple values using one variable name
The program in Java, where comments are used to explain each line is as follows:
import java.util.Scanner;
public class Main {
//This defines the alternatingSort function
public static boolean alternatingSort(int n , int[] a){
//This creates an array b
int b[] = new int[a.length];
//This populates the first element of array b
b[0]=a[0];
//This initializes two counter variables
int count1 =1,count2 = 0;
//This iterates from 1 to n - 1
for(int i=1;i<a.length;i++){
//This populates array b for odd indices
if(i%2==1){
b[i]=a[n-count1];
count1++;
}
//This populates array b for even indices
else{
b[i]=a[++count2];
}
}
//This iterates from 0 to n - 1
for(int i=0;i<a.length;i++){
//This prints the elements of array b
System.out.print(b[i]+" ");
}
//This prints a new line
System.out.println();
//This iterates from 1 to n - 1
for(int i=1;i<a.length;i++){
//This checks if the elements of array b are strictly in ascending order
if(b[i]<=b[i-1]){
return false ;
}
}
return true;
}
//The main function begins hers
public static void main (String[] args) {
//This creates a Scanner object
Scanner input = new Scanner(System.in);
//This gets input for the length of the array
int n= input.nextInt();
//This creates the array a
int a[] = new int [n];
//The following iteration populates array a
for(int i=0;i<n;i++){
a[i]=input.nextInt();
}
//This calls the alternatingSort function
System.out.println(alternatingSort(n,a));
}
}
Read more about arrays at:
https://brainly.com/question/15683939
Processors for most mobile devices run at a slower speed than a processor in a desktop PC.
A. True
B. False
Hope this helps you! :)
The ans is A which is TRUE
(Was a tricky ques for some but... u gotta learn it!)
PLS MARK AS BRAINLIEST!
Processors for most mobile devices run at a slower speed than a processor in a desktop PC, therefore, the statement is true.
The Processor is simply known as the heart of the computer. It enables the computer to be able to execute its command.It should be noted that the processors for most mobile devices run at a slower speed than a processor in a desktop PC. It should be noted that mobile devices are smaller than computers. There is a lot of heat that is generated by the running mobile processor in mobile phones and this limits the speed of the mobile phones.In conclusion, once there's a limitation of the speed, there's a slower performance of the mobile phone.
Read related link on:
https://brainly.com/question/614196
Use the words: Explain, Compare. Create a question using "explain" as the verb. Answer that question.
EG: Explain what collective action is? Answer: It is behaviors that....
Answer:
i need free points cus i have zero sry
Explanation:
Write a second constructor as indicated. Sample output:User1: Minutes: 0, Messages: 0User2: Minutes: 1000, Messages: 5000// ===== Code from file PhonePlan.java =====public class PhonePlan { private int freeMinutes; private int freeMessages; public PhonePlan() { freeMinutes = 0; freeMessages = 0; } // FIXME: Create a second constructor with numMinutes and numMessages parameters. /* Your solution goes here */ public void print() { System.out.println("Minutes: " + freeMinutes + ", Messages: " + freeMessages); return; }}// ===== end =====// ===== Code from file CallPhonePlan.java =====public class CallPhonePlan { public static void main (String [] args) { PhonePlan user1Plan = new PhonePlan(); // Calls default constructor PhonePlan user2Plan = new PhonePlan(1000, 5000); // Calls newly-created constructor System.out.print("User1: "); user1Plan.print(); System.out.print("User2: "); user2Plan.print(); return; }}// ===== end =====
Answer:
public PhonePlan(int numMinutes, int numMessages) {
freeMinutes = numMinutes;
freeMessages = numMessages;
}
Explanation:
Create a constructor that takes two parameters, numMinutes and numMessages
Inside the constructor, set numMinutes to freeMinutes and numMessages to freeMessages.
With this constructor, we are able to create PhonePlan objects that take parameters and different options as seen in the output. We can set any values for minutes and messages in the constructor.
Answer:
PhonePlan::PhonePlan(int numMinutes, int numMessages) {
freeMinutes = numMinutes;
freeMessages = numMessages;
}
Explanation: For C++
PhonePlan::PhonePlan(int numMinutes, int numMessages) {
^^^^^^^^^^^^
you need that
freeMinutes = numMinutes;
freeMessages = numMessages;
}
AddAll - Adds all the doubles in the string with each other. Note every double is separated by a semi-colon. AddAll("1.245;2.9")=>4.145 double AddAll(const char* str) struct Sale char Person[100]; double sale; double tax; struct SaleStatistic double average Sale; double totalSale; double totalTax; (4) AddAl - Adds all the doubles in the string with semi-colon. AddAll("1.245;2.9")=>4.145 double AddAll(const char* str) { ww struct Sale { char Person[100]; double sale; double tax; }; struct SaleStatistic -- double average Sale: double totalSale: double totalTax:
Answer: provided below
Explanation:
The code is provided below/
// the method to add all double value in the string
double AddAll(const char *str)
{
double total = 0;
vector<string> vec;
stringstream strStream(str);
while (strStream.good())
{
string substr;
getline(strStream, substr, ';');
vec.push_back(substr);
}
for (size_t i = 0; i < vec.size(); i++)
{
total = total + stod(vec[i]);
}
return total;
}
Program code with addition of the above for testing is provided thus
#include <iostream>
#include <sstream>
#include <vector>
using namespace std;
//addin all double value in syring
double AddAll(const char *str)
{
double total = 0;
vector<string> vec;
stringstream strStream(str);
while (strStream.good())
{
string substr;
getline(strStream, substr, ';');
vec.push_back(substr);
}
for (size_t i = 0; i < vec.size(); i++)
{
total = total + stod(vec[i]);
}
return total;
}
int main()
{
//method calling and display result
cout<<AddAll("1.245;2.9");
}
This gives output as:
4.145