avoiding turning it off with the power switch or power button use the os to turn it off
why is the statement if x=y not working in python
Answer:
x=1
Explanation:
Re-run your installer (e.g. in Downloads, python-3.8. 4.exe) and Select "Modify". Check all the optional features you want (likely no changes), then click [Next]. Check [x] "Add Python to environment variables", and [Install]
Drawing board rough surfaces needs _____.
A. cleaning
B. oiling
C. tightening
D. sharpening
NEED ANSWER ASAP
Answer: d
Explanation: because like sand paper when you rub against it while drawing it creates rough surfaces.
Pet information (derived classes)
The base class Pet has private data members petName, and petAge. The derived class Dog extends the Pet class and includes a private data member for dogBreed. Complete main() to:
create a generic pet and print information using PrintInfo().
create a Dog pet, use PrintInfo() to print information, and add a statement to print the dog's breed using the GetBreed() function.
Ex. If the input is:
Dobby
2
Kreacher
3
German Schnauzer
the output is:
Pet Information:
Name: Dobby
Age: 2
Pet Information:
Name: Kreacher
Age: 3
Breed: German Schnauzer
________________________________________________
the given code:
Main.cpp:
#include
#include
#include "Dog.h"
using namespace std;
int main() {
string petName, dogName, dogBreed;
int petAge, dogAge;
Pet myPet;
Dog myDog;
getline(cin, petName);
cin >> petAge;
cin.ignore();
getline(cin, dogName);
cin >> dogAge;
cin.ignore();
getline(cin, dogBreed);
// TODO: Create generic pet (using petName, petAge) and then call PrintInfo
// TODO: Create dog pet (using dogName, dogAge, dogBreed) and then call PrintInfo
// TODO: Use GetBreed(), to output the breed of the dog
}
___________________________________________________________________________________________
Pet.h
#ifndef PETH
#define PETH
#include
using namespace std;
class Pet {
protected:
string petName;
int petAge;
public:
void SetName(string userName);
string GetName();
void SetAge(int userAge);
int GetAge();
void PrintInfo();
};
#endif
_________________________________________________________________________--
Dog.h
#ifndef DOGH
#define DOGH
#include
#include "Pet.h"
class Dog : public Pet {
private:
string dogBreed;
public:
void SetBreed(string userBreed);
string GetBreed();
};
#endif
____________________________________________________________
Pet.cpp
#include "Pet.h"
#include
#include
using namespace std;
void Pet::SetName(string userName) {
petName = userName;
}
string Pet::GetName() {
return petName;
}
void Pet::SetAge(int userAge) {
petAge = userAge;
}
int Pet::GetAge() {
return petAge;
}
void Pet::PrintInfo() {
cout << "Pet Information: " << endl;
cout << " Name: " << petName << endl;
cout << " Age: " << petAge << endl;
}
__________________________________________________________________
Dog.cpp
#include "Dog.h"
#include
#include
using namespace std;
void Dog::SetBreed(string userBreed) {
dogBreed = userBreed;
}
string Dog::GetBreed() {
return dogBreed;
}
Answer:
I think the answer is Breed: German Schnauzer don't listen too mee
________________________________________________
the given code:
Main.cpp:
#include
#include
#include "Dog.h"
don't listen
Explanation:
Difine Motherboard ~
[tex] \: \: [/tex]
Thanku ~~
Answer:
A motherboard is the main printed circuit board in general-purpose computers and other expandable systems. It holds and allows communication between many of the crucial electronic components of a system, such as the central processing unit and memory, and provides connectors for other peripherals.
In this exercise we have to use the knowledge about computers to define the motherboard so we can say that the main printed circuit board of a computer, which contains the central processing unit; logic board.
What is the motherboard definition?It is the system that unites all the components of a computer, allowing them to work in an organized way. Your piece has all the paths and networks that allow the exchange of information between all the others: processors, memories, storage systems, network card and everything else.
See more about motherboard at brainly.com/question/5563113
Type the correct answer in the box.
What is the output of the formula
=NOT(12+12=24)?“
The output of the formula =NOT(12+12=24) is
Answer:
(24=24)
.............
why are women more exposed to mass media?
Women are more exposed to mass media because their voice is of high frequency which is clear to listen to, and it's soothing and people think it is a safer app or knowledge than that provided by males.
What is mass media?Mass media is the media responsible for broadcasting or speaking information that reaches a large number or audience. It includes radio, advertisement, movies, magazines, T.V, etc.
Women are more exposed to these mass media because of their voice, which is said to be soothing, and more generous. Their voice is technology friendly.
Thus, due to the fact that women's voices have a higher frequency, are easier to hear, are calming, and are perceived as offering a safer source of information than men's, they are more exposed to the media.
To learn more about mass media, refer to the link:
https://brainly.com/question/14974921
#SPJ2
In your guessing game, you randomly chose a word from your word list. Complete the code to randomly choose an index found in the list.
import random
count = len(words)
wordIndex =
A. random.random(0,count)
B. random.random(0,count - 1)
C. random.randint(0,count)
D. random.randint(0,count - 1)
Answer:
the answer is D random.randint(0,count -1)
Explanation:
I took the assignment
Answer: random.randint(0,count - 1)
Explanation: Not necessarily answer D because Edge switches the order of the questions for everyone. Just know its random.randint(0,count - 1)
Which three nodes are included in the response from the Text Moderation API?
Select all answers that apply.
1. Terms
2. IsImageAdultClassified
3. Classification
4. ReviewerResultTags
5. Expression
6. PII
Answer:
isimageadultclassified, classification and Reviewerresulttags
write a program to input a number and print the largest and smallest number using c++.
please help fast
Answer:
#include<stdio.h>
#include<limits.h>
void main()
{
int min,max,i,n,num;
min = INT_MAX;
max = INT_MIN;
printf("How many numbers do you want to enter: ");
scanf("%d",&n);
for(i=0; i<n; i++)
{
printf("Number-%d: ",i+1);
scanf("%d",&num);
if(num>max) max = num;
if(num<min) min = num;
}
printf("Smallest number = %d\nLargest number = %d",min,max);
}
Explanation:
Consider the following code segment.
int[] arr = {1, 2, 3, 4, 5, 6, 7};
for (int i = 1; i < arr.length; i += 2) {
arr[i] arr[i - 1];
}
Required:
What represents the contents of the array arr after the code segment is executed?
The contents of the array "arr" after the code segment is executed is [1, 1, 3, 3, 5, 5, 7].
What is an array?An array can be defined as a set of memory locations or data structure on a computer system that comprises a single item of data with each memory location sharing the same name.
This ultimately implies that, the data (elements) contained in an array are all of the same data type such as:
StringsIntegersFrom the source code, the array's length is equal to 7. Also, the first iteration of the loop (i = 1) produces the second index of the array and its elements are updated with the previous value.
In conclusion, the contents of the array "arr" after the code segment is executed is [1, 1, 3, 3, 5, 5, 7].
Read more on array here: https://brainly.com/question/19634243
What is the overall purpose of the app?
Answer:
To help students with homework and their education
Explanation:
Brainly is a Polish education technology company based in Kraków, Poland, with headquarters in New York City. It provides a peer-to-peer learning platform for students, parents, and teachers to ask and answer homework questions. In an ideal world, Brainly would be a supportive group learning environment where students could teach each other what they know. ... The point system can encourage students to give valuable answers, but points (and the "Brainliest" title) are awarded by the question asker, not an expert.
It's a rapid sign-up process and, if you're looking for answers for something specific, the search function is simple to use and gives instant gratification. We also like that you can quickly scan for verified answers, which have been vetted by Brainly expert volunteers and are determined to be correct and accurate.
Hope this helped! Have a nice day!
Please give Brainliest when possible!
:3
In statistics, when a set of values is sorted in ascending or descending order, its median is the middle value. If the set contains an even number of values, the median is the mean, or average, of the two middle values. Write a function that accepts as arguments the following:
a. An array of integers
b. An integer that indicates the number of elements in the array
The function should determine the median of the array. This value should be returned as a double. (Assume the values in the array are already sorted.) You’ll create two arrays: one with three elements (e.g. 1, 3, 7) and one with four elements (e.g. 2, 4, 5, 9).
The program is an illustration of methods
What are function?Function are collections of named code blocks, that are executed when called or evoked.
The median functionThe median function written in Python, where comments are used to explain each line is as follows:
#This defines the function
def medianValue(myList, n):
#This determine the median element for odd list elements
if n%2 == 1:
medianElement = float(myList[int((n - 1)/2)])
#This determine the median element for even list elements
else:
medianElement = (float(myList[int(n/2)]) + float(myList[int(n/2) - 1]))/2
#This returns the median element
return medianElement
Read more about functions at:
https://brainly.com/question/26180959
Complete the steps for scheduling a meeting.
1. Open a new Meeting window.
2. Enter attendees in the
box.
3. Click Scheduling Assistant.
4. Select
5. Check free/busy time.
6. Click
Answer:
To, Attendees, Send
Explanation:
Just did it.
Pls pls answer
I will mark the Brainlyest
Answer:
Recipient
Explanation:
The recipient is the person that the email is sent to.
A web application is configured to run on multiple servers. When a webserver goes down, the user connected to it needs to re-login to the application. What could be the likely cause for this behavior
There are different uses of the computer. The likely cause for this behavior is Browser cookies not shared between servers.
What are browser cookies?The computer is often used for browsing or surfing the internet. Cookies are known to be files that has been formed by websites when you visit it.
They are known to make your online experience very easy by saving your browsing information. With the advent of cookies, sites often keep you signed in, and also remember the site you visit most.
See options below
a) Session state maintained by individual servers and not shared among other servers.
b) Browser cookies not shared between servers.
c) Server IP address changes
d) The user has to re-authenticate due to security reasons.
e) Browser using sticky session cookies
Learn more about Browser cookies from
https://brainly.com/question/14102192
3. (A) Differentiate between RAM & ROM.
(B) What is a virtual memory and how it is different
from cache memory?
(C) Discuss Primary memory and different types of pri-
mary memory
4. (A) What is Mail Merge? Explain the process to create
Mail Merge
(B) What is chart in Ms - Excel? Discuss the creation
of various charts in Ms - Excel.
(C) Explain the process of making a power point pre-
sentation?
5. (A) What is Internet? Discuss how internet is useful in
Business?
(B) Write a detail note on search engines.
(C) Write short Notes on -
(1) Server
(ii) e-Paper
(iii) Domain Name.
Answer:
RAM Data can be changed while ROM its content can be read but cannot be changed during normal computer operations
If the programmer translates the following pseudocode to an actual programming language, a syntax error is likely to occur. Can you find the error?
Declare String 1stPrize
Display "Enter the award for first prize." Input 1stPrize
Display "The first prize winner will receive ", 1stPrize
Answer:
if, then, else
Explanation:
you specified that if you enter award for 1st prize then it'll display 1st prize but you didnt specify what will happen if user does not enter 1st prize or what happens if 1st prize is not allocated. To me it looks like you got the 'if' and 'then' part correct but you dont have a 'else' part to it therefore it'll create an error when its not declared.
Answer:
begins with a number
Explanation:
The first character of the variable name begins with a number. This is an error because most programming languages do not allow variable names to begin with numbers
A strong west wind is keeping the sea breeze from moving onto Florida’s eastern
shore. How will this wind affect storm activity?
A. It will keep it offshore.
B. It will push it south.
C. It will allow it to move west.
D. It will not allow storms to form
There are different rates of temperature. The wind affect storm activity as It will allow it to move west.
What is the relationship of the sea and land breeze to the temperature?It is better to note that the higher the temperature differences between land and sea, the much stronger the land breezes and sea breezes will become.
The Storm surges happens when strong winds push high amounts of water onto land. The Stronger west winds can hinder the sea breeze front from going onshore. Hurricanes do move from east to west.
The average hurricane moves from east to west
learn more about wind from
https://brainly.com/question/392723
What microphone is this
Answer:
Thats looks like a Sennheiser Pro Audio Wireless Microphone System, Black (MKE600) . also known as Sennheiser MKE 600
Where you can get it:
https://www.amazon.com/Sennheiser-MKE600-Camcorder-Shotgun-Microphone/dp/B00B0YPAYQ
Youre welcome. (pls give brainlest thanks)
Components of a network
Answer:
4 basic components
Explanation:
Networks are comprised of four basic components: hardware, software, protocols and the connection medium. All data networks are comprised of these elements, and cannot function without them.
Many keyboard shortcuts, such as Ctrl+C, Ctrl+X, and Ctrl+V, are universal, and can be used in a wide variety of applications.
A True
B) False
Answer: A) True
Explanation:
According to Goog|e, "Keyboard shortcuts are also universal—meaning once you learn them, you can use many of the same shortcuts in a variety of applications. For example, you can use the shortcuts that copy and paste text in a word processor application to perform the same tasks in emails, blogs, or other applications."
I hope this helps!
Which step of the problem-solving process did the farmer use in order to figure out what success would look like?
Answer:
supply and demand
Explanation:
As a farmer you rely on demand of food therefore when the market demands you supply and make profit for example during a particular season lets say grapes demand is high so you grow grapes inorder to supply and make profit therefore implementing this strategy the farmer can succeed.
Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. The output of the program is every word in the list that contains the character at least once. For coding simplicity, follow each output word by a comma, even the last one. Add a newline to the end of the last output. Assume at least one word in the list will contain the given character. Assume that the list of words will always contain fewer than 20 words.
The program is an illustration of lists
What are lists?Lists are variables that are used to hold multiple values
The main programThe program written in Python, where comments are used to explain each line is as follows:
#This gets the integer
n = int(input())
#This gets the character
char = input()[0]
#This creates an empty list
MyList = []
#This following loop gets input for the list
for i in range(n):
MyList.append(input())
#This iterates through the list
for items in MyList:
#This checks if the character is in a list element
if char in items:
#If yes, the element is printed
print(items,end =", ")
Read more about lists at:
https://brainly.com/question/24833629
6.9 How is it possible for one computer with a low MIPS rating to have a better performance in practice than a computer with a high MIPS rating
The performance of systems differs. Computers with low MIPS rating to better performance then high MIPS rating is explained below:
What is the The performance of a system about?The Millions Instructions per Seconds (MIPS) is said to give the accurate measurements for the speed and work output of computer systems.
One computer with a low MIPS rating often supports register-to-register operations but computer with a high MIPS rating that is complex set of instruction supports memory-to-memory operations.
Though the two systems can be similar in terms of hardware, Instruction Set Architecture (ISA) and software, the MIPS rating often differs
The performance of a system can be measured based on the amount of the time taken to perform a task and so therefore, the lower the MIPs, the better performance in practice.
The MIPS is seen as not a good factor to show the performance of a system because not all instructions does the same amount of computation.
Example is When there is a type A processor that is known to have a MIPS rating of 1,000 (high MIPS rating ), and a type B processor that also have an MIPS rating of 500 ( low MIPS rating ).
The type A processor do appears twice as fast as the type B processor but the low MIPS rating option will operating at only half the number of MIPS and as such is faster than high MIPS rating.
Learn more about computer from
https://brainly.com/question/24540334
Please Convert This code into C program.............
public class PrintAllSubArrays {
public void printSubArrays(int [] arrA){
int arrSize = arrA.length;
//start point
for (int startPoint = 0; startPoint
//group sizes
for (int grps = startPoint; grps <=arrSize ; grps++) {
//if start point = 1 then
//grp size = 1 , print 1
//grp size = 2, print 1 2
//grp size = 3, print 1 2 3 ans so on
for (int j = startPoint ; j < grps ; j++) {
System.out.print(arrA[j] + " ");
}
System.out.println();
}
}
}
public static void main(String[] args) {
int [] arrA = {1,2,3, 4};
new PrintAllSubArrays().printSubArrays(arrA);
}
}
Answer:
find the emoji challenge
Explanation:
1234
When using VLOOKUP we can search for information from more than one spreadsheet.
True or False
heyy man it's true for sure
2. Discuss the advantages and disadvantages of using the Symbolic Math Toolbox to generate LTI transfer functions.
Symbolic Math Toolbox is important or organizing and visualizing the dataset.
What is Symbolic Math Toolbox?It is a toolbox that provides the functions for solving equations, plotting graphs, and manipulating specific math equations.
This toolbox can help run and share some math code as well as different computations.
The advantages of the toolbox include,
It helps summarizes large data sets using frequency distribution Data set are presented in an organized and easy to read format. Dataset that is large can also be visualized and this helps to see the trend of the data set.Disadvantages include,
Loss of some information on individual data while adjusting datasetSome information can also be lost while organizing data using classesLearn more on Symbolic Math Toolbox here,
https://brainly.com/question/17856245
Although there are three well-known operating systems, the most common are Microsoft Windows and Mac OS. Discuss the similarities and differences between these two systems.
Answer:
There are very few similarities beyond some convergent features of their respective user interfaces. Their internal architecture is very different, differing from kernel models to shell integration to executable formats. A comprehensive list of similarities is neither possible nor useful, because it would consist mostly of obvious statements like "They are both operating systems" or "They both have graphical user interfaces, "They both include
Explanation:
How's that?
lets do something new
Do I hav to subscribe ?
Stay safe, stay healthy and blessed.
Have a great day !
Thank you
i'll subscribe if you will say :-)
what are the main technologies that have contributed to be growth and commercialization of the Internet
hope it helps have a good day