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
Sophie [7]
3 years ago
15

Variable names may contain spaces and punctuation symbols. True False

Computers and Technology
1 answer:
Vladimir79 [104]3 years ago
4 0

Answer:

False

Explanation:

Programming languages use variables to reserve a space in memory needed to hold the values while the program is executed.

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

1. Variable names cannot contain spaces and punctuation symbols.

Example roll num is an incorrect variable name.

2. Variable names begin with alphabets or letters only.

Example a, sal

3. Variable names cannot begin with numbers or digits.

Example sal2019  

4. 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.

5. Keywords cannot be used as names of variables.

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

6. 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
The accounting department moved its network-attached printer from one side of the office to a more centralized location, making
Blababa [14]

Answer:

The cable run connecting the new keystone jack to the patch panel is bad.

The patch panel connector for the new location's cable run is not connected to a switch.

Explanation:

The cable run connecting the new keystone jack to the patch panel is bad.

The patch panel connector for the new location's cable run is not connected to a switch.

5 0
3 years ago
The protocol that enables computers on the Internet to communicate with one another is called ___
iren2701 [21]

Answer: TCP/IP

Explanation:

8 0
3 years ago
Read 2 more answers
If a 60 lb. load is placed on the platform, what will the pressure gauge reading be if the piston area is 5 sq.in? Give your ans
Doss [256]

Answer:

The pressure gauge reading will be;

12 psi

Explanation:

The question relates to relationship of pressure and area

The given parameters for the measurement are;

The weight of the load = 60 lb

The required area of the piston = 5 in.²

Pressure exerted by a force can be defined as follows;

Pressure =  \dfrac{Force}{Area}

The weight of the load = The force applied by the load

Therefore;

Pressure =  \dfrac{Force}{Area} = \dfrac{60 \ lb}{5 \ in.^2}  = 12\dfrac{lb}{in.^2} = 12 \ psi

The gauge reading will be 12 psi.

7 0
3 years ago
Read 2 more answers
2. What is the name for an action performed by the VR Robot?
pychu [463]
Parameter is the answer you wanted
4 0
3 years ago
Read 2 more answers
Which example task should a developer use a trigger rather than a workflow rule for?
Komok [63]

Answer:

A. To set the primary contact on an account record when it is saved

Explanation:

After updating a Contact and then you set the Primary checkbox, the contact becomes the primary contact and this then updates the reference in the Parent Account. Triggers are used for this purpose and not workflow rule. In this case there is only one contact at a time that is set as Primary Contacts, and in the case where an Account does not have any Contacts, the first contact that is created is made the primary and the trigger sets that value in reference.

6 0
3 years ago
Other questions:
  • Which of the following devices is used to connect a computer to a network
    7·1 answer
  • Texture fills are available to add as a slide background true or false
    7·2 answers
  • Please help me please
    6·1 answer
  • Technician A says that high pressure in recycled refrigerant is only caused by air contamination. Technician B says that recycle
    15·1 answer
  • Plz tell me how to get my deleted account back you will be highly PRAISED!!!!!!!!!!
    14·2 answers
  • In his digital portfolio, Ben wants to locate each work he created. Where can he list details about the work in his digital port
    7·2 answers
  • Accessing a computer system by using several words is known as​
    13·2 answers
  • Select all the items of the Design Elements.
    7·1 answer
  • When an organizatin needs a program to do a very specific job, it mayhire someone to write _____ software.​
    10·1 answer
  • What's the smallest part of a computer
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!