There are many different ways you can learn how to code, You can use free and paid online courses, Youtube Videos, and Trial and Error. Programming does not come easy and you have to be patient with yourself. Its like learning to drive for the first time, its a little rough but you eventually will catch on and be able to understand what you are doing!
1.) There are many websites that will help teach you different languages like Java, JS, C#, Python, Ruby, Html5, etc.
Here are a few of my favorite websites that helped me.
Code Academy: https://www.codecademy.com/
Khan Academy: <span>https://www.khanacademy.org/
</span>W3Schools (Html Only, Not a Course just useful) http://www.w3schools.com/
I suggest going through those websites, or finding some other websites out there that will help you!
2.) Youtube Videos are perfect for learning specific things in programming! You can learn how to make a calculator, or a website, or anything you'd like! Just simply search for a how-to tutorial and watch the helpful videos! Remember, don't just copy the code.. try and understand it
3.) Trial and Error is one of the best ways you can teach yourself code. It was the best way for me to learn. Everyone learns from their mistakes and you should always try and come up with new things.
Be patient, and enjoy what you are doing! I also suggest working on one language at a time, don't try and learn two or more languages at the same time! Good luck :) Email me at any time if you need any help!
Answer:
// here is code in c++
// headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int n,num;
double sum=0, avg;
long long int prod=1;
cout<<"Enter value of N:";
// read value of N
cin>>n;
cout<<"enter "<<n<<" numbers:";
// read the N numbers
for(int x=0;x<n-1)
{
cin>> num;
// calculate sum of all
sum=sum+num;
calculate product of all
prod=prod*num;
}
// print sum
cout<<"sum of all "<<n<<" numbers is: "<<sum<<endl;
// print product
cout<<"product of all numbers is : "<<prod<<endl;
print average
cout<<"average of all "<<n<<" numbers is: "<<sum/n<<endl;
return 0;
}
Explanation:
Read the value of n from user.Then ask user to enter n numbers. Then calculate sum of all entered number and their product.After this calculate the average of entered number by dividing sum with n.Print sum, product and average of n numbers.
Output:
enter value of N:6
enter 6 numbers:1 2 3 4 5 6
sum of all 6 numbers is: 15
product of all numbers is : 120
average of all 6 numbers is: 2.5
Answer:
Human visual behavior often includes searching, scanning, and monitoring.
While it should be possible to moderate the performance of these tasks based on the dimensions used in the table, it is often useful to analyze these situations using Signal Detection Theory (SDT).
Three suggestions for my favourite search engine that includes search are:
1. ensure that search results are graded according to the following categories using different colours:
- Most accurate and relevant results;
- Accurate and slightly relevant results
- Fairly accurate and fairly relevant results
These can help the users identify more easily the results to spend more time on. This categorisation can be done using colours. This is because of the way the eye functions. Unlike a camera snapshot, for example, the eye does not capture everything in a scene equally, but selectively picks out salient objects and features from the current context, and focuses on them so they can be processed in more detail.
2. Another suggestion is that attention needs to be paid to where people look most of the time. It is not out of place for people to instinctively avoid search results that have dollar signs or currency signs especially when they are not searching for a commercial item.
3. Lastly in displaying results that have images, it best to use sharp images. The theory suggests with respect to contrast, clarity and brightness that sharper and more distinct objects appear to be nearer, and duller objects appear to be farther away. To elicit the interest of the reader, targeted results or information from search engines must make use of the factors of contrast, clarity and brightness.
Cheers!
Complete Question:
Which of the following about computers is NOT true?
Group of answer choices.
A. Computing devices translate digital to analog information in order to process the information.
B. Computing devices are electronic.
C. The CPU processes commands.
D. The memory uses binary numbers
Answer:
A. Computing devices translate digital to analog information in order to process the information.
Explanation:
Computing is the process of using computer hardware and software to manage, process and transmit data in order to complete a goal-oriented task.
The true statements about computers are;
I. Computing devices are electronic: the components and parts which makes up a computer system are mainly powered by a power supply unit and motherboard that typically comprises of electronic components such as capacitors, resistors, diodes etc.
II. The CPU processes commands: the central processing unit (CPU) is responsible for converting or transforming the data from an input device into a usable format and sent to the output device.
III. The memory uses binary numbers: computer only understand ones and zeros.