help plz (will give brainliest)
Answer:
The answer to this question is given below in the explanation section.
Explanation:
This is the python program in the question that is:
def sum(n1,n2):
n=n1+n2
return n
The question is: write a function CALL that displays the return value on the screen.
So, the correct program is written below:
*********************************************************************
def sum(n1,n2):# it is function that define sum
n=n1+n2 # variable n that store the result of n1 and n2
return n # return the result
print(sum(3,5))# call the sum function with parameter 3 and 5 , it will print 8
print(sum(4,101))
# call the sum function with parameter 4 and 101 it will print 105
********************************************************************************
you can also store the sum result into another variable, because this function return the sum. So, you can store that return value into another vairable and using the print function, to print the value of this variable such as:
*****************************************************************************
def sum(n1,n2):# it is function that define sum
n=n1+n2 # variable n that store the result of n1 and n2
return n # return the result
result= sum(6,9) # store the sum result into another variable i.e result
print(result)# print the result variable value
*****************************************************************************
Write 5-7 sentences about your own personal observations in which you have been part of a "filter". You might have experienced this is in your Twitter feed, specific advertisements, or your search engine results. Be specific.
Answer:
Answered below.
Explanation:
I made a search for a product on an online grocery store. The search results came in and I bought the product. On subsequent visits to the grocery store website or on browsing other sites, I had special advertisements pop up. These advertisements were suggesting products to me similar to the one I bought on the grocery store. It was a targeted advertisement that had been sent based on my recent searches and purchases on the site. So I knew that was a filter.
Submit a paragraph about how people earn income online.
Answer:
Selling services or products, generating traffic for ad revenue or investing in different types of products / companies.
Explanation:
Categorize each memory card as based on new or old technology. PLEASE HELP.
Answer:
SD Cards and XDQ Cards are new XD Cards and CF Cards are old.
Explanation:
Hope this helps.
Assume that x and y are boolean variables and have been properly initialized. !(x || y) || (x || y) The result of evaluating the expression above is best described as:
Answer:
The answer is "Always true "
Explanation:
Following are the program to this question:
#include <iostream>//header file
using namespace std;
int main()//main method
{
bool x=true;//defining bool variable x and assign value
bool y=false;//defining bool variable y and assign value
if(!(x || y) || (x || y))//use given condition with if block
{
cout<<"True";//print true message
}
else//defining else block
{
cout<<"false";//print false message
}
return 0;
}
In the above code two bool variable is declared, that hold ture and false, and used in the given expression with the condition statement, that checks the given value. In the code the logical gate OR gate that always print the true value.
Describe the history of computer in Nepal.
Answer:
The first computer brought in Nepal was IBM 1401 which was brought by the government in lease for the population census of 1972 (2028 BS). Later in 1975 (2031 BS)YantrikSarinikaran Kendra (Electronic Data Processing Centre) was established which was later called as National Computer Centre ( NCC )
Answer:
The first computer brought in Nepal was IBM 1401 which was brought by the government in lease for the population census of 1972 (2028 BS). Later in 1975 (2031 BS)YantrikSarinikaran Kendra (Electronic Data Processing Centre) was established which was later called as National Computer Centre ( NCC )
Explanation:
if this answer is correct please make as brainlelist
Grades are numbers or ________ that show how a student performed in a course.
The data type of 17.3 should be ________________.
int
float
str
list
Please answer quick.
Answer:
float
Explanation:
Answer:
17.3 should be a float
Explanation:
Float type is a data that is contain a decimal number
Which statements are true? Select 4 options.
A class variable can be a different type of class.
A class variable can be a list of instances of a different class.
An instance of a class cannot be changed after it is created.
Functions defined in a class are called methods.
Variables defined in the constructor of a class can be accessed by the main program that uses instances of the class.
Answer: All of the answers are correct EXCEPT "An instance of a class cannot be changed after it is created.
Explanation: I've done the problem. Also, if you have an instance of a class, you can no longer change it. It is frozen in time as that one instance. If had a class defining pets and you made an instance dogA where the pet was a brown medium sized dog, dogA would always be a brown medium sized dog. I think, at least.
Answer: A class variable can be a different type of class.
A class variable can be a list of instances of a different class.
Functions defined in a class are called methods.
Variables defined in the constructor of a class can be accessed by the main program that uses instances of the class.
Explanation:
got it right on edgen
hey plz help, and thanks
Answer:D im pretty sure
Explanation:im sorry if get it wrong So sorry ok just sorry
Which tab in MS Word would you select to insert a shape into a document? Question 6 options: Insert Review View File
Answer:
Insert
Explanation:
Under the insert tab, shapes will be an option to put in under the illustrations category.
Answer:
um insert?
Explanation:
im assuming its insert bc you said "to insert a shape into a document" so yh
i hope this helped?
plzz help me with this question.........
Write a program to input a number find the sum of digits and the number of digits. Display the output also.......
sample input - 7359
sample digits - 24
number of digits - 4
Answer:
please mark as brainliest!!
Explanation:
public class SumOfDigits{ public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Please enter a number to calculate sum of digits"); int number = sc.nextInt(); // Remember number/10 reduces one digit from number // and number%10 gives you last digit int sum = 0; int input = number; while (input != 0) { int lastdigit = input % 10; sum += lastdigit; input /= 10; } System.out.printf("Sum of digits of number %d is %d", number, sum); // closing Scanner to prevent resource leak sc.close(); } }
WHY DOES THIS HAPPEN!?!??!?
Answer:
whats the qeustain?
Explanation:
Choose the term that completes the sentence.
A bubble (sort/function/search) starts by comparing the first item in the list to the rest of the items.
If the first one is greater than a later item, the items are swapped.
Answer: BUBBLE SORT
I hope I've been helpful to you.
Answer:
Sort
Explanation:
I Answered this in Edge.nuity and it was correct
Kris is the project manager for a large software company. Which part of project management describes the overall project in detail?
1) Analysis report
2) Resources document
3) Scope
4) Scope creep
Answer:
Scope or 3)
hope this helps
always love to be marked brainliest
What is the answer to 4.9 Code Practice: Question 2
Answer:
sum = 0
for i in range(20, 100, 10):
sum = sum + i
Print(sum)
Explanation:
The answer to 4.9 Code Practice: Question 2 is 200 of the total output.
What is the output?An output record that a laptop sends. Computers best paintings with virtual information. Any entry that a laptop gets have to be digitised. Often records must be transformed and returned to an analogue layout whilst it is output, as an instance the sound from a laptop's speakers.
The answer to 4.9 Code Practice: Question 2 is 200 output of all the total outputs this is the answer.
Read more about the Code :
https://brainly.com/question/3653791
#SPJ2
Why would it be useful to split up the coding for creating an app between multiple programmers? Select 2 options.
greater innovation
greater control over the code.
faster development.
greater consistency between sections of code.
Answer: c
Explanation:
Answer:
I'd be willing to wager it is A and D but not 100% sure.
Explanation:
Which of these purchases is most likely to be paid for with a credit card
A. Soda
B. Lotto ticket
C. Parking fee
D. Plane ticket
Answer:
plane ticket?
Explanation:
Define watcher block
Answer:
Happens when you are watching a series / film / drama / etc. but can not retain the attention span to watch for long periods of time. As well as the shortened viewing time, the ability to retain what has been viewed is impaired.
Explanation:
The Block Watcher puts the power of a microprocessor to work analyzing the current feed to the rails. This detector has been designed to eliminate many of the installation problems associated with the installation of signal systems. ... Then connect the detector output switch to your signal system.
8.10 Code Practice Question 1
Write code that takes in two words from user input and stores them in the variables x and y respectively. Then, the programs the values in x and y, and print x and y).
Note: The variable names x and y are required for this question
x = input("Enter a word: ")
y = input("Enter a word: ")
x,y = y, x
print(x)
print(y)
I hope this helps
Since we need to perform some coding functions such as:
Asking for the input of a numberStoring them as individual variablesPrinting/Displaying the values independently.First thing we need to do is to declare the unknown variables as x and yNext would be to write the input this way:
x= input ("Put a word:")
y= input ("Put a second word:")
x,y = y, x
Print(x0
Print(Y)
Read more about programming here:
https://brainly.com/question/18900609
Can you please help me with the AP Computer Science Fill in the blank. What goes on number 5 8 and 18. I don’t understand this I need help programming.
Answer:
you can probably just delete them. what programming language is this?
what class are you in?
can you help me in connection?
Answer:personal computer:)
Explanation:
can some one please help
Answer: It probably will cost a lot of money
Explanation:
anybody wanna be friends?
yes Avacado?????????????????????
You’ve been tossed into an insane asylum. What do you tell the people there to prove to them that you don’t belong inside?
An asylum is for crazy people. I'm crazy. Crazy people don't realize they're crazy. If I realize I'm crazy, then I'm not crazy. Therefore, I do not belong here.
A student who might find digital learning challenging.
Digital learning exists mostly online, while traditional learning takes place in a classroom building.
Answer: it is "A"
|Likes meeting other students.|
how do you take a picture on an apple computers
Answer:
You go to the launcher, then find Photo Booth. Photo Booth allows you to take photos. You can only take photos on the side where the screen is, since there isn't a camera on the back. I recommend taking a picture with a phone instead. For a screenshot, press command-shift-3.
Hope this helps!
is it just me or do people delete other peoples questions and it shows up in my inbox staying its mine
Answer:
yessss same bru.h
Explanation:
Answer:
ive had that happen before i dont know why it happens
The type of medium used to hide data in steganography is referred to as __________. This may be a photo, video, sound file, or Voice over IP, for example.
Answer:
:L
Explanation:
Answer:
symmetric cryptography
Explanation:
What kinds of circumstances would lead you to writing a function versus using a loop? please explain in simple terms
Answer:
1. You want to use parameters
2. You don't want your program to run multiple times
3. You want to call that snippet of code throughout your program
hope this helped :D