+ 2
I'm from non-it background. Its hard for me to understand the technical terms of programming. Can anyone help me in this
I can able to understand the concepts of programming. Only concern is I could not understand the technical terms like what is parameter arguments etc.
23 Antworten
+ 7
If the tutorials here don't help with anything, you can always do a web search and learn online or read a book.
+ 6
If you have a specific issue, ask it in Q&A.
+ 2
@Aravind
Sometimes parameters and arguments are used interchangeably.
A parameter is a variable in a method definition.
public string MethodOfAction(string myParameter1) // this is the parameter which is a variable in the declaring the method
{
do some sort of action here
}
When a method is called, the argument is the data that you pass into the method's parameters
class Program
{
static void Main(string[] args)
{
string theArgument = "abcdefg";
Console.WriteLine(MethodOfAction(theArgument)); //this argument,the actual value, is then passed to the method
}
hope that helps. :)
+ 1
An argument is the value being passed into the parameter.
So an argument shows up in a function or method call.
A parameter is defined in the function or method heading.
For example, if I have a function that calculates an average based on a sum and a count.
I would call it like this
avg = CalcAverage(total, count);
Here total and count are arguments.
The prototype would look something like this.
double CalcAverage(int sum, int count);
sum and count are the parameters.
+ 1
Aravind use Google or read from a book , parameters are like any variable in function brackets , arguments are the values provided for those parameters when making a function call
def func(a,b,c):
F= a+b+c
return F
func(1,4,5)
a,b,c-->parameters
1,4,5-->arguments
0
Non - IT background? What is your stream?
0
Civil Engineering
0
Cool , I am also a civil engineer. Welcome to sololearn
0
🙌🙌
0
Bending Moment and Shear Forces doesn't work here. 🙂
0
What do you want to learn?
0
😅😅
0
I would like to understand the technical terms of programming. Like what is meant by arguments, parameters etc
0
People will report this conversation to sololearn since we are off the topic. We can talk privately on how computer science can be implemented to civil engineering field.
0
Okay fine
0
Thanks Laura
0
...
0
You can start with python or SQL. They are quite easy to comprehend for people without programing background.
0
Okay Tolulope E Adeliyi I'll try that.