True or false: Machine learning lets computers
learn how to do things they weren't
specifically programmed to do.
Answer:
True
Explanation:
why would computer programmers want to use an object to change the instructions they already created in a computer program
Answer:
bank rupt
Explanation:
no money on your card lol have a graey day dont wish for what your not willing to work for
Write a C++ program to add two integers. Make a function add() to add integers and display sum in main() function.
Answer:
In C++:
#include <iostream>
using namespace std;
int add(int a, int b){
int c = a + b;
return c;
}
int main(){
int a, b;
cout<<"Enter two numbers: ";
cin>>a;
cin>>b;
cout<<add(a,b);
return 0;
}
Explanation:
The add() function begins here
int add(int a, int b){
This adds the two integers
int c = a + b;
This returns the sum of the two integers
return c;
}
The main begins here
int main(){
This declares two numbers
int a, b;
This prompts user for two numbers
cout<<"Enter two numbers: ";
The next two lines gets the two numbers
cin>>a;
cin>>b;
This gets the sum of the two numbers from the add() function. The sum is also printed
cout<<add(a,b);
return 0;
}
(Print distinct numbers) Write a program that reads in integers separated by a space in one line and displays distinct numbers in their input order and separated by exactly one space (i.e., if a number appears multiple times, it is displayed only once). Hint: Read all the numbers and store them in list1. Create a new list list2. Add a number in list1 to list2. If the number is already in the list, ignore it.
Answer:
Following are the program to the given question:
num = input("Enter numbers: ")#defining a variable num for input value
list1 = num.split()#defining a list1 that adds value in list1
list2 = []#defining an empty list list2
for j in range(len(list1)):#defining a for loop that checks the list value in range
if not list1[j] in list2:# use if block that checks multiple value
list2.append(list1[j])#add value in list2
print("The distinct numbers are: ")#print message
for j in range(len(list2)):#defining for loop for print list value
print(list2[j])#print list value
Output:
Enter numbers: 1 22 55 7 22 1 1 2 3
The distinct numbers are:
1
22
55
7
2
3
Explanation:
In the above-code, a "num" variable is defined, that takes inputs from the console screen, and in the next step, "list1 and list2" is defined. In the "list1" it adds num variable value a into the list.
In the next step, a for loop is defined that checks the list value in range , and define an if block, that checks multiple value and add value into the list2, and in the next step, the for loop is defined that prints the list2 values.
Why is it a good practice to use functions in programming? Select the best answer.
A.It is faster to run the code using functions.
B.Functions allow us to reuse common code.
C.All of these are correct.
D.It is easier to debug the code using functions.
Answer:
C. All of these are correct answer from the options for the question that u have given...
The good practice to use functions in programming is all of these are correct. The correct option is C.
What are functions in programming?The repetitious codes are removed by breaking a program down into functions, which not only reduces the size of the program but also improves its effectiveness. If there were repetitive codes, we would need to alter the program from several locations rather than just one.
As a result, organizing programs into functions aid in good administration and shortens programs by removing repeated code. A functional programming language is a particular kind of language that allows for the creation and application of pure mathematical functions, along with the use of conditional expressions and recursion to carry out various computations.
Therefore, the correct option is C. All of these are correct.
To learn more about functions in programming, refer to the link:
https://brainly.com/question/24297344
#SPJ6
* EMAIL*
What do you type in the “recipients” box
(A) The title of your email/summary of what you need
(B) The persons name you are sending an email to
(C) The question you are asking
Answer:
The correct answer is: (B) The persons name you are sending an email to.
Explanation:
"Recipients" are the people receiving the email whether it be one or multiple people. Those are the people that will be getting your email on whatever your sending your email about. Hope this helps you! :D
What is the purpose of HTML?
A. to store data
B. to structure a document
C. to style a document
D. to add functionality
plz it a test
Use the drop-down menu to complete the steps for using the Goal Seek feature.
1. Go to the
tab.
2. In the
from the drop-down What-If Analysis menu.
3. Specify the cell that contains the formula to solve and enter the desired result.
4. Specify the
that contains the value to adjust.
5. Click OK
group, select
Answer:
1. Go to the data tab.
2. In the forecast ribbon from the drop-down What-If Analysis menu.
3. Specify the cell that contains the formula to solve and enter the desired result.
4. Specify the changing cell that contains the value to adjust.
5. Click OK
Answer: see below
Explanation:
Which of these is not a common type of programming design?
~object-oriented design
~structured programming design
~graphic design
~top-down programming design
Answer:
structured programming design.
Explanation:
Answer:
I can confirm its structured programming design
Explanation:
What are the differences between linear algorithm and iterative algorithm
Answer:
For example Tower of Hannoi algorithm is made easy by recursion while iterations are widely used, efficient and popular. Recursive vs Iterative Algorithms: Approach: In recursive approach, the function calls itself until the condition is met, whereas, in iterative approach, a function repeats until the condition fails.
What do you type in the “subject” box
(A)The title of your email/summary of what you need
(B) The persons name you are sending an email to
(C) The question you are asking
I will mark brainliest
Answer:
the correct answer is: (A) The title/summary of what you need.
Explanation:
The subject is what the receiver see's when going across the email. Putting the summary of what the email is about in subject allows them to see what the email is mainly about seeing if they should continue reading the email or not. So providing the summary pf the email lets the receiver know what the email is about. Hope this helps! :D
Lin wants to play an online game with her friends. She read the description of the game and knows it contains several features with addictive design, including rewards for completing levels and long game times with penalties for quitting early. She likes the game but doesn’t want to get sucked in and skip her homework (which has happened before)! Name two guidelines Lin should set for herself before playing the game.
Answer:
Set a time limit for herself. Ask her parents for help monitering her app usage.
Two friends can share 100 songs from their Bluetooth enabled mobile devices
a. True
b. False
c. They need internet connection
d. Not sure
Answer:
A
Explanation:
If they are connected via bluetooth, you can share unlimited amounts of anything.
Someone please tell me what lambda does! in python!! I need help
Answer:Lambda Technologies is the he is the group name encompassing a Premier materials research laboratory with an engineering and production enterprise dedicated to the development and optimization of of surface treatments our company has been selling materials for over four decades with over 150 years of combined experience in more than 20,000 research programs we are proud of our corporate legacy in record or around standing performance in meeting or customers needs room training all excellence groundbreaking innovation and committed hard-working employees we are able to provide more than just data we provide complete service enhancement solutions are resources that can include all of our technical papers he studies defraction notes and downloads we are a well known source of research in education materials on the understanding measurement and controls of residual stress
Explanation:
Imagine you are playing a video game like Super Mario or Sonic and you lose your last life. What are THREE distinct things that will happen once your lives become 0? Give three examples. Then put on your programmer's hat. Describe your examples using pseudocode; in other words, you don't have to use the exact language Scratch blocks would, as long as you write out each step in such a way that it's clear what the code would do.
Answer:
Three distinct things that would happen are
1) There would be a death animation played
2) GAME OVER text would appear
3) The game would most likely start over at the first level
Explanation:
The pseudocode:
1) Play death animation and music
2)Stop animation and music
3) Display Game over text
4) Remove game over text
5) Reset level
6) Open on beginning screen/level
which type of hazzard are those substances which threathen you physical safety ?
Answer:
98o
Explanation:
Help help help!!!please
Answer:
A. 1 AWG
Explanation:
The larger the AGW number or wire gauge, the smaller the size of the wire
The largest conductor in the list is 1 American Wire Gauge (AWG)
What are conductors?Conductors are substances that allows electricity to flow through it.
In a conductor, electrical charge carriers, usually electrons or ions, move easily from atom to atom when voltage is applied.
In a simpler term conductors are substance that can conduct electricity.
American Wire Gauge (AWG) is the standard way to denote wire sizes.
Therefore, 1 American Wire Gauge (AWG) conducts more electricity in the list.
learn more on conductors here: https://brainly.com/question/18084972
#SPJ9
how do you do the ask tutor thing on the computer?
Answer:
what do you mean
Explanation:
Nano technology uses include...
A: Tennis racquets (high strength to weight)
B: Self-cleaning fabrics
C. Antibacterial fabrics
D: All of the above
A “drone” is:
A. A helicopter with four propellers.
B. Any vehicle used on a seek-and-destroy mission.
C. Any experimental test vehicle.
D. An unmanned aircraft.
if you hard working right now go to this EASY question
#BRAINLY and I will give you brainlist something I forgot what's it called for your hard work
what is
Force (N) = Mass (kg) x acceleration (m/s)
If a 80-kg swimmer pushes off a pool wall with a force of 225 N, at what rate with the swimmer
accelerate forward?
What is the Denary representation of this 8 bit number > 01001111 ?
The Denary representation of this 8 bit number 01001111 is 79.
Decimal numberA binary number is a number expressed in the base-2 numeral system or binary numeral system. Binary numbers are either 0 or 1.
The decimal numeral system is the standard system for denoting numbers. Decimals are a set of numbers lying between integers on a number line.
Converting the number 01001111 to decimal:
01001111 = (0 * 2)⁷ + (1 * 2)⁶ + (0 * 2)⁵ + (0 * 2)⁴ + (1 * 2)³ + (1 * 2)² + (1 * 2)¹ + (1 * 2)⁰ = 79
The Denary representation of this 8 bit number 01001111 is 79.
Find out more on Decimal number at: https://brainly.com/question/1827193
ayo which one is better genshin impact or fortnite, i personally prefer genshin impact since it's not boring and it has so many other things you could do when you're not doing a story quest or daily commissions
Answer:
Genshin Impact and you can fight me on it.
Explanation:
The game has way more to explore and offer with different fighting styles which include Magic and Swords fighting. It also has more story and I appreciate that!
The side quests to get tedious though so the final rating is 8.79//10.00
Answer:
genshin
Explanation:
definition of data redundancy
Answer:
Data redundancy occurs when the same piece of data exists in multiple places, whereas data inconsistency is when the same data exists in different formats in multiple tables. Unfortunately, data redundancy can cause data inconsistency, which can provide a company with unreliable and/or meaningless information
Which of the following is NOT an acceptable way to create a color?
A) O "cyan"
B) O "#ff2341"
C) blue
D) "RGB (0, 15, 234)"
The option that is not an acceptable way to create a color is blue.
How can I create a color?There are a lot of ways to create some unique color such as the additions of colors together. An example is the addition of purple, orange, and green together.
Note that blue on its own cannot create another color and as such, The option that is not an acceptable way to create a color is blue.
Learn more about color from
https://brainly.com/question/4431200
#SPJ2
Which are the following 4 things something must be able to do in order to be a computer? *
Answer:
There are four main equipment functions of a computer system: Input, Processing, Storage and Output.
Explanation:
Darren built a tower out of 23 toy blocks. each block has a mass of 7grams. what is the mass of the whole tower?
Answer:
161 grams
Explanation:
1 Sales tax
5.00%
Use the image to help you answer the question.
Which formula will tell you the total "Before tax"
price using cell references?
A. =3+2+50
B. =B8
C. =B4+B5+B6
D. =B4*B5*B6
Answer:
Future value (FV) tells you the value in the future of money deposited in a bank account ... We can use Excel to make a table of how the future value grows with the ... 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. A. B. C. D. E. F. Interest. 6% ... To answer the question, we compute the IRR of the investment and compare it.
Explanation:
Answer:
C. = B4+B5+B6
Explanation:
Edge 2020
Where are methods listed in a UML class diagram showing three parts?
in the top third of the diagram
in the middle third of the diagram
in the bottom third of the diagram
anywhere in the diagram a lowercase m is shown
Answer:
the bottom third
Explanation:
Check out the exampe below.
swim() would be an example of a method.