1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Arada [10]
3 years ago
8

This problem has been solved!

Computers and Technology
1 answer:
lions [1.4K]3 years ago
3 0

Answer:

The incorrect answer is C. Keywords can be used as variable names.

Explanation:

Programming languages use variables to reserve a space in memory needed to hold the values while the program is executed. This memory space is allocated when the program execution begins and this memory is lost when program is terminated.

Every language has a set of rules to give names to the variables. Some commonly used conventions are listed below.

1. Variable names begin with alphabets or letters only.

Example a, sal

2. Variable names cannot begin with numbers or digits.

Example sal2019  

3. Variable names can have underscores only in between.

Example mngr_sal, mngr_bonus

Underscores enable categorizing the variables based on the initial name like above.

4. Keywords cannot be used as names of variables.

Example Integer, String cannot be the name of any variable.

5. Special characters are not allowed in the names of the variables.

The above naming conventions are common across all programming languages. Other rules may be implemented specific to a particular language.

Variables are declared to tell the compiler to reserve a memory space which should be sufficient to hold the variable of this type.

int age;

char reply;

string name;

The above variables are of integer, character and string data type respectively.

Variable initialization assigns a value to the variables.

age = 24;

reply = ‘n’;

name = “Brainly Website”;

The character variable holds 1 letter at a time and is written in single quotes.

The string variable holds a sequence of characters, numbers and spaces and is enclosed in double quotes.

Variable declaration and initialization can be done simultaneously.

String full_name = “Lexi 8791”;

As a practise, variable names are not written in upper case except in case of constants. Constants can have names only in upper case.

An example of constant variable name declaration and initialization is given.

static final int MIN_USERS = 10;

The above information about variables is common across the programming languages.

You might be interested in
Like this post if u hate edhesive
Charra [1.4K]

Answer:

I hate Adhesive.

Explanation:

Adhesive is something of or relating to the molecular force that exists in the area of contact between unlike bodies and that acts to unite them. And that is just ridiculous.

5 0
2 years ago
Can you believe everything you read online?
Tasya [4]

Answer:

no

Explanation:

bcoz some time it can be a rumour

8 0
3 years ago
Read 2 more answers
6.4 code practice python
mixas84 [53]

Python is a programming language launched in 1991 by Guido van Rossum. It is common as a beginner's language and in teaching, but also as a general programming language with application in many different domains.

It has dynamic typing, which is why it is sometimes described as a scripting language. The language is also characterized by the fact that indentation affects the program flow. This makes the program code compact and is considered to give it good readability.

Learn more about Python in brainly.com/question/22841107

3 0
2 years ago
Read 2 more answers
describe the six clauses in the syntax of an sql retrieval query. show what type of constructs can be specified in each of the s
maw [93]

Answer:

Answered below

Explanation:

An SQL retrieval query is made up of up to six clauses that must be coded in a specific sequence and they consist of;

1) SELECT - This clause allows you list the columns you want.

2) FROM - This clause indicates the tables you are retrieving information from.

3) WHERE - The where clause indicates a condition.

4) GROUP BY - Let's you group your data into specific and more meaningful information.

5) HAVING - Puts a condition in your group.

6) ORDER BY - Orders your result rows in ascending or descending order.

5 0
3 years ago
write a BASIC program to calculate the total saving of a man if he earns $10,000 per month and spends 20% on food,15% on childre
Tomtit [17]

10%+20%+15%+20%= 65%

65/100 × 10000

6500

3 0
3 years ago
Other questions:
  • Literacy is best defined as knowing how to: (Points : 1)
    7·2 answers
  • Which method of deleting files can be used in windows xp and vista?
    12·1 answer
  • In an inheritance situation, the new class that you create from an existing class is known as the:
    5·1 answer
  • Which of the given original work is protected by the copyright law
    9·1 answer
  • Sending a employee an email with important criticism represents a problem which communication process
    9·1 answer
  • Are headphones considered a computer? Why or why not?
    13·2 answers
  • Which statement is true of electronic data interchange (EDI)? a. It uses proprietary protocols and networks. b. When it uses the
    14·1 answer
  • Based on your prior knowledge, match each civilization to the region it occupied.<br>​
    12·1 answer
  • Write a program that reads raw data from a file that contains an inventory of items. The items should be sorted by name, and the
    12·1 answer
  • Suppose as a computer programmer, you have been assigned a task to develop a program to store the sorted data in ascending order
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!