Answer:
.
Explanation:
Answer:
It opens one of the current worksheets into a new window.
Explanation:
got it correct
Question 1 (1 point)
What is an advantage of the wireless option for peripheral?
What is output?
C = 1
sum - 0
while (c < 10):
c = c + 3
sum = sum + c
print (sum)
Explanation:
Please make me BrainliestWrite a function that converts a string into an int. Assume the int is between 10 and 99. Do not use the atoi() or the stoi() function.
Answer:
Written in C++
#include <iostream>
#include <sstream>
using namespace std;
int main() {
string num;
cout<<"Enter a number: ";
cin>>num;
stringstream sstream(num);
int convertnum = 0;
sstream >> convertnum;
cout << "Output: " << convertnum;
}
Explanation:
Without using atoi() or stoi(), we can make use of a string stream and this is explained as follows:
This line declares a string variable num
string num;
This line prompts user for input
cout<<"Enter a number: ";
This line gets user input
cin>>num;
This line declares a string stream variable, sstream
stringstream sstream(num);
This line declares and initializes the output variable, convertnum to 0
int convertnum = 0;
The stream is passed into the output variable, convertnum
sstream >> convertnum;
This line displays the output
cout << "Output: " << convertnum;
Note that: if user enters a non integer character such as (alphabet, etc), only the integer part will be convert.
For instance,
40a will be outputted as 40
Are the blank space around the edges of the page
Answer:
The blank space around the edges of a sheet of paper — as with the page of a book — that surrounds the text is called the margin.
Input an int between 0 and 100 and print the numbers between it and 100, including the number itself and the number 100. If the number is less than or equal to 0, or greater than or equal to 100 print "error". Print 20 numbers per line.
Language: Java
import java.util.Scanner;
public class JavaApplication42 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int count = 0;
System.out.println("Enter an integer between 0 and 100");
int num = scan.nextInt();
if (num <= 0 || num >= 100){
System.out.println("error");
}
else{
while(num <= 100){
if (count == 20){
System.out.println("");
count = 0;
}
else{
System.out.print(num+" ");
count++;
num++;
}
}
}
}
}
I hope this helps!
The pentagonal number is an illustration of loops.
Loops are used to perform repetitive operations
The program in Java where comments are used to explain each line is as follows:
import java.util.*;
public class Main {
public static void main(String[] args) {
//This creates a Scanner object
Scanner input = new Scanner(System.in);
//This gets input for num
int num = input.nextInt();
//This prints error is num is out of range
if(num <=0 || num >= 100){
System.out.print("Error");
}
else{
//This initializes counter to 0
int count = 0;
//This iterates through num
for (int i = num; i <= 100; i++) {
//This prints the current number
System.out.print((i)+"\t");
//This increments the counter by 1
count++;
//If the counter is 10
if(count == 10){
//This prints a new line
System.out.println();
//This sets the counter to 0
count = 0;
}
}
}
}
}
Read more about loops at:
https://brainly.com/question/19344465
What are the three categories of managerial decisions?
Top 3 levels of management
Strategic Production Planning
Technology decision
Capacity decisions
Which of these is a valid use of the Reply All feature?
correcting someone's spelling mistake in an e-mail
responding with "I agree" or "me too"
responding with "please take me off your list"
none of these
Answer:
I think is None of this ,
According to the options given none of these is a valid use of the Reply All feature. Thus, option D is correct.
What is the use of auto-responder?If you use an auto-responder, all your customers will receive a standardized reply. That will make it clear for them that their message has not been read yet. However, even if your message states that you will eventually read and respond properly to every single email.
It is likely that customers will doubt it. They do not expect an automatic response upon contacting you - quite the contrary, they expect their issues to be addressed specifically and immediately.
An email message is a text that is transmitted or received over a computer network and is often short and casual. Email communications are often only text messages, but they can also contain attachments (such spreadsheets and graphic files). Multiple people can receive an email message at once.
Therefore, According to the options given none of these is a valid use of the Reply All feature. Thus, option D is correct.
Learn more about Email communications on:
https://brainly.com/question/30262540
#SPJ3
2. Suppose you and your friend want to exchange lecture notes taken during class. She has an iPhone and you have an iPad. What is the easiest way to do the exchange?
a. Cope the files to an SD card and move the SD card to each device.
b. Drop the files in OneDrive and share notebooks with each other.
c. Send a text to each other with the files attached.
d. Transfer the files through an AirDrop connection.
Answer:
d. Transfer the files through an AirDrop connection.
Explanation:
I feel like im not sure 100%
But i hope it helps!
HAPPY THXGIVING!
Assume that d is a double variable. Write an if statement that assigns d to the int variable i if the value in d is not larger than the maximum value for an int.
Answer:
That's because the value has reached the size limit of the int data type. ... you should use long rather than int , because long can store much larger numbers than int . If ... In other words, a float or double variable can't accurately represent 0.1 . ... If you're using Java to measure the size of your house, you'd need an electron ...
Explanation:
do you think the governmentshould allocate moremoney to HIV/AIDS orphans
Answer:
Abstract
Objective Through a descriptive study, we determined the factors that influence the decision-making process for allocating funds to HIV/AIDS prevention and treatment programmes, and the extent to which formal decision tools are used in the municipality of KwaDukuza, South Africa.
Methods We conducted 35 key informant interviews in KwaDukuza. The interview questions addressed specific resource allocation issues while allowing respondents to speak openly about the complexities of the HIV/AIDS resource allocation process.
While working on a customer issue, your colleague calls and asks for help to resolve his issue. What should you do?A. Go ahead and resolve his situation first B. Request the colleague to call after sometime C. Work on both the issues at the same time D. Tell your colleague to work on his own.
Answer:
Request the colleague to call after sometime
Explanation:
While working on a customer issue, your colleague calls and asks for help to resolve his issue. What should be done is to "Request the colleague to call after some time."
This is because,e in situations like that, it is believed that the customer should come first, and that is the purpose of being there. For employee to serve the customer. A colleague can easily link up with other employees to get his issues sorted, or simply wait.
The page-replacement policy means that pages are not placed to make more space. A. True B. False
Answer:
B. False
Explanation:
A page-replacement policy can be defined as a set of algorithm that instructs the operating systems on what memory page is to be swapped, paged out or written to disk in order to allocate more memory as they're required by various active processes during virtual memory management.
Some of the algorithms or techniques used by the operating system for page-replacement policy are;
1. Last In First Out (LIFO).
2. First In First Out (FIFO).
3. Least Recently Used (LRU).
4. Least Frequently Used (LFU).
5. Optimal (OPT or MIN).
Hence, the page-replacement policy means that pages are placed to make more space and to minimize the total number of page that would be missing.
The answer to this question is false.
This is due to the fact that the page-replacement policy helps to decide the pages of memory that needs to be paged out or swapped out.
This becomes necessary at a time when it is necessary for the allocation of a memory page.
It helps the operating system to know the memory space that can be moved out in order to know what space can be made available for the current page.
Read more on https://brainly.in/question/7169703
Does anyone have any Edge(nuity) tips? Like how to skip videos and such.
Answer:
yes
Explanation:
it is quite easy chat me up and i will give u the link
Write a program that computes the minimum, maximum, average, median and standard deviation of the population over time for a borough (entered by the user). Your program should assume that the NYC historical population data file, nycHistPop.csv is in the same directory.
Answer:
import pandas as pd
df = pd.read_csv('nycHistPop_csv', skiprows=5)
NY_region = list(df.columns[1: -1])
select_region = input("Enter region: ")_capitalize()
if select_region in NY_region:
pass
else:
raise("Region must be in New york")
def pop(location):
# or used describe() to replace all like: print(df[location]_describe())
print(df[location]_min())
print(df[location]_max())
print(df[location]_mean())
print(df[location]_median())
print(df[location]_td())
pop(select_region)
Explanation:
Pandas is a python packet that combines the power of numpy and matplotlib used for data manipulation. It is good for working with tables that are converted to dataframes.
The nycHistPop_csv file is read to the code to a dataframe called "df", then the user input and the function "pop" is used to automatically generate the statistics of a given region.
In the program below, which two variables have the same scope?
def rhyme(word):
leftCharacter = word[0]
if leftCharacter != 'd':
return 'd' + word[1:]
else:
return 'f' + word[1:]
def poem():
print("Enter Q to quit.")
userWord = input("Enter a word: ")
while userWord != 'Q' and userWord != 'q':
rhymeWord = rhyme(userWord)
print(rhymeWord)
userWord = input("Enter a word: ")
# the main part of your program that calls the function
poem()
userWord and ____
Fill in the blank Answer options: poem, word, rhymeWord
Answer:
rhymeWord
Explanation:
correct answer edge 2020
# the main part of your program that calls the function poem() userWord and rhymeWord. Hence, option C is correct.
What is rhymeWord?Rhyming words all have the same last consonant. Simply put, it is the repetition of similar sounds. When two words have similar sounds, usually those that follow the final stressed syllable of each word, the words are said to rhyme. Cat-hat, rotten-forgotten, and heard-bird are some examples of words that rhyme; they all have similar sounds after the final stressed syllable.
If the last sounds of two or more words are the same or similar, then the words will rhyme. Some words that rhyme are goat, boat, moat, float, and coat. To determine whether two words rhyme, use your ears to listen while you speak the words. If two words have a similar or matching sound, they rhyme.
Thus, option C is correct.
For more information about rhymeWord, click here:
https://brainly.com/question/2398244
#SPJ2
Write a method named printGPA that takes in as a parameter a Scanner to read in user input, and calculates a student's grade point average. The user will type in input containing the student's name, then a number of scores, followed by that many integer scores. Then, the method will print out the average of all grades entered. Here are two example dialogues: Enter a student name: Maria Enter the number of courses: 5 Course 1 Grade: 72 Course 2 Grade: 91 Course 3 Grade: 84 Course 4 Grade: 89 Course 5 Grade: 78 Maria's grade is 82.8 Enter a student name: Jordan Enter the number of courses: 4 Course 1 Grade: 86 Course 2 Grade: 71 Course 3 Grade: 62 Course 4 Grade: 90 Jordan's grade is 77.25
import java.util.Scanner;
public class JavaApplication40 {
public static void printGPA(Scanner scan){
System.out.println("Enter a student name:");
String name = scan.nextLine();
System.out.println("Enter the number of courses:");
int courses = scan.nextInt();
double total = 0;
for (int i = 1; i <= courses; i++){
System.out.println("Course "+i+" Grade:");
double grade = scan.nextDouble();
total += grade;
}
System.out.println(name+"'s grade is "+(total/courses));
}
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
printGPA(scan);
}
}
I hope this helps!
Super Scores
I am sure all of you know about SAT Superscore. Superscoring is the process by which colleges consider the highest section scores across all the dates a student took the SAT. Rather than confining the scores to one particular date, this approach will take the student's highest section scores, forming the highest possible composite score. Let us solve a generic problem here. Let us start with a sample input and output 2 3
700 800 775 775 800 700 800 800 1600
First line of input specifies 2 sections and 3 takes for this student. So, we need to find the best score for each section across all the test takes & output the best section scores and the corresponding total - next 3 lines show the scores for each section for each take - For this sample input/output, student got 800 in both sections, so the final total is 1600 Your program should be generic to handle any # of sections and any # of takes 2591421130838 5 int main() 6 int nursections, nuntakes, naxScores; cin >> nun sections >> nuntakes; 9 maxScores - new int [numSections); //dynamic memory allocation of arnay! 10 11 // initialize the array 12 for(int 1-e; Icnum Sections; i++) 13 maxScores[1] - ; 14 15 //CODE HERE 16 17 1/output the max score for each section and compute & output total too. 18 int total -e; 19 for(int 1-e; Icnum Sections; 1.) { 20 cout << maxScores[1] << **; 21 total + maxScores[i]; 22 ) 23 cout << total; 24 ) I
Answer:
Replace:
//CODE HERE
//output the max score for each section and compute & output total too.
with the following lines of codes:
int num;
for(int i=0; i<numtakes; i++) {
for(int j=0; j<numsections; j++) {
cin>>num;
if(num>maxScores[j]){
maxScores[j] = num; }
} }
Explanation:
Your program is poorly formatted. (See attachment for correct presentation of question)
What's required of the us is to complete the source program.
The codes has been completed in the Answer section above, however, the line by line explanation is as follows:
This line declares num that gets user for input for each entry
int num;
This line iterates through the number of takes
for(int i=0; i<numtakes; i++) {
This line iterates through the number of sections
for(int j=0; j<numsections; j++) {
This gets user input for each entry
cin>>num;
The following if condition determines the greatest entry in each section
if(num>maxScores[j]){
maxScores[j] = num; }
} }
For further explanation, I've added the complete source file as an attachment where I used comments to explain each line.
Internet entities (routers, switches, DNS servers, Web servers, user end systems, and so on) often need to communicate securely. Give three specific example pairs of Internet entities that may want secure communication.
Answer: See explanation
Explanation:
A secure connection simply means when there's encryption of a connection through the use of security protocols so that data flowing between the nodew can be secured.
Examples of Internet entities that may want secure communication include:
i. Two routers
ii. Our laptop and web server.
iii. Connection that exists between two DNS name servers.
When you pass a double variable to a method, the method receives ______.a) a copy of the memory addressb) the reference of the variablec) the length of the variabled) a copy of the variablee) the binary memory address
Answer:
The answer is "Option d".
Explanation:
In this question the choice d, that is "a copy of the variable" is correct because the method takes a reference value or a copy of the variable in its parameter, the example of this question can be defined as follows:
void me2(double x)//defining a method me2 with a double parameter
{
//method body
}
double x = 35.655;//defining a double variable x
me2(x);//calling a method with passing the copy of th e variable
Sequential and direct access are two methods to locate data in memory. Discuss why major devices now a days use direct access? How can we convert data that is written on a device that supports only sequential access to a device that only support direct access method?
Answer:
Direct data access reduces the speed of retrieving data from memory or storage. Retrieving data and storing it in a cache memory provides direct access to data in the storage.
Explanation:
Sequential memory access, as the name implies, goes through the memory length location in search of the specified data. Direct memory access, provides a memory location index for direct retrieval of data.
Examples of direct and sequential memory access are RAM and tapes respectively. Data in sequential memory access can be access directly by getting data in advance and storing them in cache memory for direct access by the processor.
I have no idea, any help is appreciated.
Answer:
A
Explanation:
How do I explain it.... well the analogy shows the circle in the middle of the parallelogram, then the next shows the circle bigger than the parallelogram and the parallelogram with lines in it.
So you do the same to the triangle with a square and there you go!
Answer:
A - the first one is correct.
Explanation:
Hope this Helps!
:D
Python rephactor
1. Write code that swaps the first and last elements in a list called my_list. Assume that the list has already been created and contains at least one element.
2.Write code that creates a Python set containing each unique character in a string named my_string. For example, if the string is 'hello', the set would be {'h', 'e', 'l', 'o'} (in any order). Assign the set to a variable named my_set. Assume that my_string has already been initialized.
1.
my_list = ([1,2,3,4,5])
h = my_list[-1]
my_list[-1] = my_list[0]
my_list[0] = h
print(my_list)
2.
my_string = "hello"
my_set = set(my_string)
print(my_set)
The list has already been created and contains one element. The python set of my string has been already initiated.
What is python set?Python set is defined as a data type for unordered collections that is iterable, changeable, and lacks duplication of elements. There are essentially two sorts of sets in Python. the frozenset and the set. Whether the frozenset is changeable or not depends on the set type. On a set, we can use add(), remove(), and other operations of this nature; however, frozenset does not support these actions.
The program is
your list = ([1,2,3,4,5])
my list[-1] = h
MyList[-1] equals MyList[0]
h print(my list, "my list");
"hello" is my string
set(my string) my set
print(my set)
Thus, the list has already been created and contains one element. The python set of my string has been already initiated.
To learn more about python set, refer to the link below:
https://brainly.com/question/14936500
#SPJ5
what are the principle elements of public key cryptosystem
Answer: Components of a Cryptosystem
- Plaintext. It is the data to be protected during transmission.
- Encryption Algorithm. ...
- Ciphertext. ...
- Decryption Algorithm, is a mathematical process, that produces a unique plaintext for any given ciphertext and decryption key. ...
- Encryption Key. ...
- Decryption Key.
Explanation:
If a student passes off an author’s work as his or her own, the student has
Rachel tries to follow ergonomic principles at work to avoid RSI. Which posture or method chelto prevent Sl while using the
keyboard
Rachel should use an adjustable chair. She should place the chair and keyboard in a way that her elbows bend at ________
Answer:right angle
Explanation:
mins_by_phone(phone): calculate and return the number of call minutes associated with the given phone line in this plan based on
Answer:
def mins_by_phone(phone):
if phone in self.phones:
min_sum = 0
for call in calls:
min_sum += call
return min_sum
else:
return 0
Explanation:
The mins_by_phone function above is the Phone class method. It checks for the presence of the argument value in the self.phones instance variable, which is a list and sums up and returns the call minutes in the call list.
2. Write the output of:
a) CLS
A= 10
B = 20
C = 30
S=A+B+C
Av=S/3
Print "sum is:",s
Print "Average is:", Av
End
Some of the arguments are valid, whereas others exhibit the converse or the inverse error. Use symbols to write the logical form of each argument. If the argument is valid, identify the rule of inference that guarantees its validity. Otherwise, state whether the converse or the inverse error is made. If this computer program is correct, then it produces the correct output when run with the test data my teacher gave me. This computer program produces the correct output when run with the test data my teacher gave me.
∴
This computer program is correct.
Let p = "this computer program is correct," and let q = "this computer program produces the correct output when run with the test data my teacher gave me." Is the argument valid or invalid? Select the answer that shows the symbolic form of the argument and justifies your conclusion.
Hi, you've asked an incomplete/unclear question. I inferred you want a symbolic representation and validity of the argument mentioned.
Answer:
argument is valid
Explanation:
Let's break down the arguments into parts:
Let,
p = "if this computer program is correct,"
q = "this computer program produces the correct output when run with the test data my teacher gave me."
c = "This computer program is correct."
Meaning, p ⇒ q (p results in q), then we can conclude that,
(p ⇒ q ) ∴ ⇒ c
However, the correct converse of the statement is:
If this computer program produces the correct output when run with the test data my teacher gave me, then the computer program is correct,"
q ⇒ p (If q then p)
While the correct inverse of the statement is:
If this computer program is not correct, then this computer program does not produce the correct output when run with the test data my teacher gave me."
Which is a conditional statement?
If it is sunny, we can play ball.
It is sunny today.
It is sunny or rainy.
It is sunny across the street, but not sunny here.
Answer:
it is 1, I know this because i got 100% on my quiz
Explanation:
Return-from-trap instruction returns into the calling user program while simultaneously reducing the privilege level back to ________ Select one: a. User mode b. Kernel mode c. OS mode d. CPU mode
Answer:
A. user mode
Explanation:
A computer system is a machine that is run by a series of programs that connect the virtual parts (software) to the hardware or electronic parts. The kernel is a computer program that connects the software and hardware of a computer system.
The kernel-mode has several privileges like I/O, interrupts and traps, etc. This mode is tapped by root or administrators to utilize these privileges. Unlike the kernel mode, the user-mode does not have these functions, so a return from the trap instruction (kernel) reduces the privileges back to the user mode.