Home › Forums › Grade 9 P3/P4 › Starter Variables and Constants
- This topic has 5 replies, 6 voices, and was last updated 4 years, 1 month ago by
tinashe_1587.
- AuthorPosts
- August 27, 2021 at 2:47 am #6536
Eamonn
KeymasterDefine in your own words the difference between a variable and a constant in programming. Can you think of a scenario that you might use a Constant in a program?
Name 10 programming languages.
Why are programming languages different?
August 27, 2021 at 2:56 am #6537Fine
ParticipantA constant’s value does not change over time and remains the same. A variable, on the other hand, has a value that changes over time and is determined by the equation. Numbers are commonly used to represent constants. Alphabets are commonly used to represent variables. Constants have a known face value. I might use constant in a program in the future when I have to.
10 programming languages:
Python
JavaScript
Java
C++
GoLang
C#
SQL
Dart
R
PHPProgramming languages are different because they do different things and their quality differs.
August 27, 2021 at 2:56 am #6538Matthew Sparrow
ParticipantA constant value can not be changed.
C, Java, Python, C++, C#, Visual Basic, JavaScript, PHP, Assembly Language, and SQL
Different jobs use different programming languages. You pick the one that you prefer to use.
August 27, 2021 at 2:59 am #6539aanya03
ParticipantConstant is the value in programming that cannot be change and replaced with anything, whereas variable is something in programming whose data can be changed during programming.
1. Python
2. Javascript
3. Java
4. C++
5. GoLang
6. C#
7. SQL
8. Dart
9. R
10. PHPThere are different programming languages because each one does a different thing. Programming is some type of nerd thought they could make a better language which effect the modern world and modern needs.
August 27, 2021 at 3:02 am #6540Bob
ParticipantConstants change variables, and variables get their own results because of constants.
Java,C,C++,C#,PHP,Python,VB,html,PHP,SQL
Every programming language has a certain degree of difference, but they all have fluent logic to understandAugust 27, 2021 at 3:04 am #6541tinashe_1587
ParticipantThe difference between a variable and constant is that a variable is a data item whose value can change during the program’s execution and a constant is when the value can not change.
10 Programming Languages:
-Python
-JavaScript
-C
-Java
-Visual Basic
-PHP
-Assembly Language
-SQL
-C#
-C++Programming languages are different because they do different things for different degrees.
- AuthorPosts
- You must be logged in to reply to this topic.