Answer:
To establish a common standard for sending messages between devices on the Internet, C
Explanation:
The purpose of these protocols is to establish a common standard for sending messages between devices on the Internet.
What is internet protocol?The Internet Protocol (IP) is the method or protocol by which data is sent from one computer to another on the Internet , like sending a email to one another .
Internet Protocol (IP) are guideline about how data should be sent across the internet.
Hence, the purpose of these protocols is to establish a common standard for sending messages between devices on the Internet.
Learn more about internet protocol and transmission protocol here : https://brainly.com/question/15415755
#SPJ2
You would like to upgrade the processor in your system to a 64-bit processor. Which of the components will you most likely need to upgrade as well to take full advantage of the new processor
Answer: Operating system
Explanation:
The components that will be required to upgrade as well to take full advantage of the new processor is the Operating system.
The operating system manages the software resources and the computer hardware, through the provision of common services for the computer programs. It simply supports the basic function of the computer like task scheduling
find the summation of even number between (2,n)
Answer:
The program in python is as follows:
n = int(input("n: "))
sum = 0
for i in range(2,n+1):
if i%2 == 0:
sum+=i
print(sum)
Explanation:
This gets input n
n = int(input("n: "))
This initializes sum to 0
sum = 0
This iterates through n
for i in range(2,n+1):
This checks if current digit is even
if i%2 == 0:
If yes, take the sum of the digit
sum+=i
Print the calculated even sum
print(sum)
You are designing an application at work that transmits data records to another building in the same city. The data records are 500 bytes in length, and your application will send one record every 0.5 seconds
Is it more efficient to use a synchronous connection or an asynchronous connection? What speed transmission line is necessary to support either type of connection? Show all your work.
Solution :
It is given that an application is used to transmit a data record form one building to another building in the same city, The length of the data records is 500 bytes. and the speed is 0.5 second for each record.
a). So for this application, it is recommended to use a synchronous connection between the two building for data transfer as the rate data transfer is high and it will require a master configuration between the two.
b). In a synchronous connection, 500 bytes of data can be sent in a time of 0.5 sec for each data transfer. So for this the line of transmission can be either wired or wireless.
Kesley has been hired to set up a network for a large business with ten employees. Which of the factors below will be
least important to her in designing the company's network?
the tasks performed by each computer on the network
the number of hours each employee works
O the number of computers that will be on the network
the way in which business documents are shared in the organization
TURN IT IN
NEXT QUESTION
ASK FOR HELP
Write a program that reads an integer and determines and prints whether it's odd or even. [Hint: Use the remainder operator (%). An even number is a multiple of two. Any multiple of 2 leaves a remainder of zero when divided by 2.]
The source code, written in Java, and a sample output have been attached to this response. It contains comments explaining certain parts of the code.
A few things to note are;
(i) The Scanner class is imported to allow user's interact with the program. This is done by writing the import statement at the top of the code as follows;
import java.util.Scanner;
(ii) An object of the Scanner class is created to receive inputs from the user. The object is called input and created as follows;
Scanner input = new Scanner(System.in);
(iii) Since the user is expected to enter an integer, the nextInt() method of the Scanner object is used to receive the integer and this is saved in a variable called number. i.e
int number = input.nextInt();
(iv) A number x, is even if its remainder when divided by 2 is 0. i.e
if x % 2 = 0, then x is even. Otherwise it is odd.
The user's input received and saved in a variable called number is then checked using if and else blocks to check if it is even or not and can be written as follows;
if(number % 2 == 0){
System.out.println(number + " is even");
}else {
System.out.println(number + " is odd");
}
Please Help Me!!!!!!!!!!!!!
A commercial photographer would most likely be employed by which of the following?
A business
A magazine
A travel agency
All the above
Explanation:
a magazine cause it helps put out commercial
outline 3 computer system problem that could harm people and propose the way avoid the problem
Answer:
outline 3 computer system problem that could harm people and propose the way avoid the problem are :_
Computer Won't Start. A computer that suddenly shuts off or has difficulty starting up could have a failing power supply. Abnormally Functioning Operating System or Software. Slow Internet.Consider the following class definitions.
public class Apple
{
public void printColor()
{
System.out.print("Red");
}
}
public class GrannySmith extends Apple
{
public void printColor()
{
System.out.print("Green");
}
}
public class Jonagold extends Apple
{
// no methods defined
}
The following statement appears in a method in another class.
someApple.printColor();
Under which of the following conditions will the statement print "Red" ?
I. When someApple is an object of type Apple
II. When someApple is an object of type GrannySmith
III. When someApple is an object of type Jonagold
a. I only
b. II only
c. I and III only
d. II and III only
e. I, II, and III
What is the use of Name Box in MS-Excel?
Answer:
To be able to set a variable or set value for a specific box or collum of boxes.
what is function of spacebar
Answer:
The function of a spacebar is to enter a space between words/characters when you're typing
To input a space in between characters to create legible sentences
2. A data catalog identifies all of the following, except: a. Attribute data type b. Attribute range of values c. Attribute constraints d. Attribute value for Instructor ID
Answer:
c. Attribute constraints
Explanation:
A data catalog identifies all of the following, except: "Attribute constraints"
The above statement is TRUE because a Data Catalog, a metadata management service, operates by searching for key data, understand and manage data for usefulness.
Data Catalog checks on the BigQuery datasets, tables, and views and checks both technical and business metadata by identifying the following attributes:
1. Data type
2. Range of values
3. Value for Instructor ID
what is the mean of "*" in wild card?
Answer:
a playing card that can have any value,suit,color or other property in a game at the discretion of player holding it
plss. give me briniest ty.
Question 6 Which of the following statements about datasets used in Machine Learning is NOT true? 1 point Testing data is data the model has never seen before and is used to evaluate how good the model is Training subset is the data used to train the algorithm Validation data subset is used to validate results and fine-tune the algorithm's parameters Training data is used to fine-tune algorithm’s parameters and evaluate how good the model is
Answer:
Training data is used to fine-tune the algorithm’s parameters and evaluate how good the model is
Explanation:
The statement about datasets used in Machine Learning that is NOT true is "Training data is used to fine-tune algorithm’s parameters and evaluate how good the model is."
This is based on the fact that a Training dataset is a process in which a dataset model is trained for corresponding it essentially to fit the parameters.
Also, Testing the dataset is a process of examining the performance of the dataset. This refers to hidden data for which predictions are determined.
And Validation of dataset is a process in which results are verified to perfect the algorithm's details or parameters
Kylee needs to ensure that if a particular client sends her an email while she is on vacation, the email is forwarded to a
coworker for immediate handling. What should she do?
O Configure a response for external senders.
O Configure a response for internal senders.
O Only send during a specific time range.
O Configure an Automatic Reply Rule.
Answer:
Configure an Automatic Reply Rule
Explanation:
The Rule feature in Outlook enables a user to respond immediately to a message, to move a message, or to flag a a message.
The Automatic Replies (Out-of-Office) feature can also be used to let colleagues inside the organization know when a user is out of office and the arrangements that they have made
Also, Using the Out-of-Office dialogue box, under the Files tab, Automatic Replies can be configured using the Rules button to add a rule that forwards all messages from the particular client to the email address of a coworker for them to take care of immediate, while sending an automatic reply to the sender about being out of office and that the mail has been forwarded to a coworker to handle
Therefore, Kylee can configure an Automatic Reply Rule
Write a program Ticket.py that will allow the user to enter actual speed
limit, the speed limit at which the offender was travelling, and the number
of previous tickets that person has received. The application should
calculate and display how many miles over the speed limit the offender
was travelling, the cost of the speeding ticket, and court cost. Use $10.00
as the amount to be charged for each mile per hour over the speed limit.
The court cost should be $50.00
Answer:
Following are the code to the given question:
def speedlimit():#defining a method speedlimit
a= int(input("Enter the offender's speed in mph: "))#defining a variable for input value
lim = int(input("Enter the speed limit in mph: "))#defining a variable for input value
n = int(input("The number of previous tickets that person has received: "))#defining a variable for input value
if (lim >= 20) and (lim < 70):#defining if block to check speed is between 20 to 70
if a > lim:#use if to check lim value greater than a
print("Driver was going", a-lim, "mph over the limit.")#print calculated value with message
print("The cost of the speeding ticket $",10*(a-lim))#print calculated value with message
else:
print( "Driver was going at a legal speed.")#print message
else:
print('Invalid speed limit.')#print calculated value with message
print("Court cost $",(50 + n*20))#print calculated value with message
speedlimit()
Output:
Please find the attached file.
Explanation:
In this code, a method "speedlimit" is declared that defines three variables that are "a, lim, and n" in which we input value from the user-end.
Inside the method, a nested conditional statement is used that checks the speed value is between 20 to 70 if it is true it will go to the next condition in which it checks lim value greater than a. It will use a print message that will print the calculated value with the message.
what is the best motivation that you can do/give to make your employees stay?
i'd give fringe benefits to them every month
Explanation:
to encourage them to work on the mission statement and the business goal
For this activity, you will practice being both proactive and reactive to bugs. Both are necessary to get rid of errors in code.
Proactive:
Log in to REPL.it and open your Calculator program that you built in Unit 5.
In the index.js file, type and finish the following block of code that validates the input to make sure both are numbers (not letters or symbols):
try{
if (isNaN(…) || isNaN(…)){
throw …
}
else{
document.getElementById("answer").innerHTML = num1 + num2;
}
}
catch(e){
document.getElementById("answer")…
}
(Note: The || symbol is used in JavaScript to mean or . You can find this key to the left of the Z key if you’re using a PC or directly above the Enter key if you’re using a Mac.)
Add the finished code above to the correct place in your add() function. Make sure to delete this line since we moved it into the try block:
document.getElementById("answer").innerHTML = num1 + num2;
Paste the same code into the subtract() , multiply() , and divide() functions, making the necessary changes. Be careful with your divide() function since you already have an extra if else statement checking for a division by 0 mistake. (Hint: Cut and paste the entire if else statement inside the else block of your try statement.)
Test your program by typing in letters or symbols instead of numbers. Make sure you get the appropriate error message. (Note: The function is not supposed to check whether the text field is empty, only whether it contains non-numbers.)
When you are finished, share the link to your webpage with your teacher by clicking on the share button and copying the link.
Reactive:
The following Python program should print the sum of all the even numbers from 0 to 10 (inclusive), but it has two bugs:
x = 0
sum = 0
while x < 10:
sum = sum + x
x = x + 1
print(sum)
Complete a trace table and then write a sentence or two explaining what the errors are and how to fix them. You can choose whether to do the trace table by hand or on the computer. Turn in your trace table and explanation to your teacher.
Answer:
okk
Explanation:
In Python, you can specify default arguments by assigning them a value in the function definition.
Answer:
use the input function to ask them their name like name = input(" enter name?: ") or
def greet(name, msg):
# This function greets to the person with the provided message
print("Hello", name + ', ' + msg)
greet("Andy", "Good morning!")
def greet(name, msg="Good morning!"):
# This function greets to
the person with the
provided message.
If the message is not provided,
it defaults to "Good
morning!
print("Hello", name + ', ' + msg)
greet("Kate")
greet("Bruce", "How do you do?")
Explanation:
it's one of these three but not sure
mention 3 components that can be found at the back and front of the system unit
Answer:
Back
Power port, USB port, Game port
Front
Power button, USB port, Audio outlet
Explanation:
There are several components that can be found on the system unit.
In most (if not all) computer system units, you will find more component at the back side than the front side.
Some of the components that can be found at the back are:
Ports for peripherals such as the keyboard, mouse, monitor, USB ports, power port, etc.
Some of the components that can be found at the back are:
The power button, cd rom, audio usb ports, several audio outlets, video port, parallel ports, etc.
Note that there are more components on the system units. The listed ones are just a fraction of the whole components
It has been a hectic day for the cyber security team. The team is struggling to decide to which incident to devote the most resources. You are estimating the amount of time taken to recover from each incident Which scope factor are you considering?
Answer:
This definitely is a project management question. The scope factors to be considered are:
Varying Resource Levels Time FactorCompliance with Regulatory Factors Requirements of Stakeholders Quality of Management RisksLegal FactorsExplanation:
Any element or factor that can advantageously advance a project or negatively impact it is usually referred to as Project Scope Factor.
It is considered a desirable or nice-to-have ability to be able to spot these factors to the end that the positive ones are enhanced whilst negative ones are mitigated.
Failure, for instance, to timeously and properly identify factors that can negatively impact a project is most likely to result in a negative outcome.
Cheers
Suppose that in a 00-11 knapsack problem, the order of the items when sorted by increasing weight is the same as their order when sorted by decreasing value. Give an efficient algorithm to find an optimal solution to this variant of the knapsack problem, and argue that your algorithm is correct.
Answer:
Following are the response to the given question:
Explanation:
The glamorous objective is to examine the items (as being the most valuable and "cheapest" items are chosen) while no item is selectable - in other words, the loading can be reached.
Assume that such a strategy also isn't optimum, this is that there is the set of items not including one of the selfish strategy items (say, i-th item), but instead a heavy, less valuable item j, with j > i and is optimal.
As [tex]W_i < w_j[/tex], the i-th item may be substituted by the j-th item, as well as the overall load is still sustainable. Moreover, because [tex]v_i>v_j[/tex] and this strategy is better, our total profit has dropped. Contradiction.
Selecting missing puppies 1 # Select the dogs where Age is greater than 2 2 greater_than_2 = mpr [mpr. Age > 2] 3 print(greater_than_2) Let's return to our DataFrame of missing puppies, which is loaded as mpr. Let's select a few different rows to learn more about the other missing dogs. 5 # Select the dogs whose Status is equal to Still Missing 6 still_missing = mpr[mpr. Status == 'Still Missing'] 7 print (still_missing) Instructions 100 XP • Select the dogs where Age is greater than 2. 9 # Select all dogs whose Dog Breed is not equal to Poodle 10 not-poodle = mpr [mpr.Dog Breed != 'Poodle'] 11 print(not_poodle) • Select the dogs whose Status is equal to Still Missing. • Select all dogs whose Dog Breed is not equal to Poodle. Run Code Submit Answer * Take Hint (-30 XP) IPython Shell Slides Incorrect Submission Did you correctly define the variable not_poodle ? Expected something different. # Select all dogs whose Dog Breed is not equal to Poodle not_poodle = mpr[mpr.Dog Breed != 'Poodle'] print(not_poodle) File "", line 10 not_poodle = mpr [mpr.Dog Breed != 'Poodle'] Did you find this feedback helpful? ✓ Yes x No SyntaxError: invalid syntax
Answer:
# the dog dataframe has been loaded as mpr
# select the dogs where Age is greater than 2
greater_than_2 = mpr [mpr. age > 2]
print(greater_than_2)
# select the dogs whose status is equal to 'still missing'
still_missing = mpr[mpr. status == 'Still Missing']
print(still_missing)
# select all dogs whose dog breed is not equal to Poodle
not_poodle = mpr [mpr.breed != 'Poodle']
print(not_poodle)
Explanation:
The pandas dataframe is a tabular data structure that holds data in rows and columns like a spreadsheet. It is used for statistical data analysis and visualization.
The three program statements above use python conditional statements and operators to retrieve rows matching a given value or condition.
Write a C++ program that creates a map containing course numbers and the room numbers of the rooms where the courses meet. The dictionary should have the following key-value pairs:
Course Number (key) Room Number (value)
CS101 3004
CS102 4501
The program should also create a map containing course numbers and the names of the instructors that teach each course. The map should have the following key-value pairs:
Course Number (key) Instructor (value)
CS101 Haynes
CS102 Alvarado
The program should also create a map containing course numbers and the meeting times of each course. The map should have the following key-value pairs:
Course Number (key) Meeting Time (value)
CS101 8:00am
CS102 9:00am
The program should let the user enter a course number, and then it should display the course's room number, instructor, and meeting time.
Answer:
Program approach:-
Using the necessary header file.Using the standard namespace I/O.Define the integer main function.Mapping course numbers and room numbers.Explanation:
//header file
#include<iostream>
#include<map>
//using namespace
using namespace std;
//main function
int main(){
//creating 3 required maps
map <string,int> rooms;
map <string,string> instructors;
map <string,string> times;
//mapping course numbers and room numbers
rooms.insert(pair<string,int>("CS101",3004));
rooms.insert(pair<string,int>("CS102",4501));
//mapping course numbers and instructor names
instructors.insert(pair<string,string>("CS101","Haynes"));
instructors.insert(pair<string,string>("CS102","Alvarado"));
//mapping course numbers and meeting times
times.insert(pair<string,string>("CS101","8:00am"));
times.insert(pair<string,string>("CS102","9:00am"));
char choice='y';
//looping until user wishes to quit
while(choice=='y' || choice=='Y'){
cout<<"Enter a course number: ";
string course;
cin>>course;//getting course number
//searching in maps for the required course number will return
//an iterator
map<string, int>::iterator it1=rooms.find(course);
map<string, string>::iterator it2=instructors.find(course);
map<string, string>::iterator it3=times.find(course);
if(it1!=rooms.end()){
//found
cout<<"Room: "<<it1->second<<endl;
}else{
//not found
cout<<"Not found"<<endl;
}
if(it2!=instructors.end()){
cout<<"Instructor: "<<it2->second<<endl;
}
if(it3!=times.end()){
cout<<"Meeting Time: "<<it3->second<<endl;
}
//prompting again
cout<<"\nDo you want to search again? (y/n): ";
cin>>choice;
}
my iphone s6 is plugged in but isnttttt charging and the chager works on my ipad waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Answer:
Could be a defect on the charge port for the Iphone s6. There are inexpensive way to fix that problem. Super cheap parts and kits to help online to buy.
1. Design pseudocode for a program that will permit a user to store exactly 75 numbers in an array. Create an array big enough to hold the numbers and store each number in the array as it's entered. Be sure to PROMPT the user for each number before it's entered. You do not need to initialize the array. HINTS: Make sure you use a named constant when you declare the array (the number inside the brackets should be a named constant that you declared before the array declaration.) Use a for loop (or while loop if you'd like) to get each number from the user. The module has an example of pseudocode very similar to this problem. You're free to use this pseudocode as you create your program. 2. Identify three advantages of arrays. For each advantage, write at least one complete sentence explaining why the advantage you listed is an advantage. More detail is better. You may use outside resources but be sure to CITE those resources using APA format.
Answer:
Question 1: The pseudocode is as follows:
int n = 70;
int intArray[n];
for(int i = 0; i< n; i++){
print("Input "+(i+1)+": ")
input intArray[i];
}
Question 2: Advantages of array
Indexing in arrays in easyIt can be used to store multiple values of the same typeIt can be used for 2 dimensional inputsExplanation:
Question 1
This declares and initializes the length of the array
int n = 70;
This declares the array
int intArray[n];
This iterates through the length of the array
for(int i = 0; i< n; i++){
This prompts the user for inputs
print("Input "+(i+1)+": ")
This gets input for each element of the array
input intArray[i];
}
Question 2
Indexing: Elements of the array can easily be accessed through the index of the element.
For instance, an element at index 2 of array intArray can be accessed using: intArray[2]
Multiple Values: This is illustrated in question 1 above where we used 1 array to collect input for 70 values.
2 dimensional inputs: Literally, this means that array can be used to represent matrices (that has rows and columns).
An illustration is:
intArray[2][2] = {[0,1],[3,5]}
The above array has 2 rows, 2 columns and 4 elements in total.
Which statement describes what happens when a user configures No Automatic Filtering in Junk Mail Options?
O No messages will ever be blocked from the user's mailbox.
Messages can still be blocked at the server level.
O Messages cannot be blocked at the network firewall.
O Most obvious spam messages will still reach the client computer,
PLEASE ANSWER CORRECTLY WILL GIVE 15pts
List and describe at least two (2) very specific advantages of the CIF approach for enterprise-scale data warehousing for this company
Answer:
di ko po alam pa help po
Explanation:
pllssss
Write a C++ program that reads a number and determines whether the number is positive, negative or zero using Switch operator method
Answer:
#include <iostream>
using namespace std;
template <typename T> int sgn(T val) {
return (T(0) < val) - (val < T(0));
}
int main()
{
cout << "Enter a number: ";
int number;
cin >> number;
switch (sgn(number)) {
case -1: cout << "The number is negative";
break;
case 0: cout << "The number is zero";
break;
case 1: cout << "The number is positive";
break;
}
}
Explanation:
You need the special sgn() function because a switch() statement can only choose from a list of discrete values (cases).
Write a program that prints the following 45 pairs of numbers:
11
21
22
31
32
33
41
42
43
44
51
***
97
98
99
Note that the first numbers go from 1 to 9, and the second numbers start at 1 and go up to the
value of the first number (9 times). You must use loops to do this not 45 print statements.
Answer:
Code is in JAVA language. As there is no user input the logic is straightforward. Below is the code along with a detailed explanation of the logic. The class name is Print main save as file as the main class.Explanation:
Program:-
public class Main{
public static void main(String args[]){
/* There are two for loops...
* First for loop runs from i=1 to i=9
* Second for loop runs from j=1 to j=i.
*
*/
for(int i=1;i<=9;i++){
for(int j=1;j<=i;j++){ // j loop runs from j=1 to j=i
/*Prints I and j next to each other*/
System.out.println(i+""+j);
}//for loop of j ends here
}// for loop of I ends here
}
}
In a non-price rationing system, consumers receive goods and services first-come, first served. Give me an example of a time when a consumer may experience this.
When someone may be giving away something for free.