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
Ask the user to enter a number. Display whether the number is odd or even. computer science answers
notsponge [240]

Answer:

Write a C program to check whether a number is even or odd using if else. How to check whether a number is even or odd using if else in C program. C Program to input a number from user and check whether the given number is even or odd. Logic to check even and odd number using if...else in C programming.

Explanation:

6 0
2 years ago
Read 2 more answers
An online game is played with two dice. In this context, explain what is meant by decomposition.
Vlad [161]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This question is about desinging a game that is played with two dice and gets or shows their value to the player.

The dice value is random, and it can be between one and six. So, you need to generate two numbers between 1 and 6. You may also need to display the numbers

The main part of this program is that you need to know the numbers to limit or restrict what the user may do next while playing.

That's most of the first level of decomposition for solving a problem. In decomposition, you need to keep decomposing (breaking) the problem into smaller pieces, thinking outline of the program and deciding what objects, functions, variables, and logic you're going to implement in the coding.

4 0
3 years ago
After an extruded feature has been created, you can always go back and edit the feature. When you edit an existing extrude featu
Pani-rosa [81]

Answer:

After an extruded feature has been created, you can always go back and edit the feature. When you edit an existing extrude feature, <u>the shape of the sketch profile</u> cannot be changed from the Extrude Property Manager.

<u>Extrude PropertyManager</u>

A tool that is used to draw different sketch. The sketches are related to different fields. Extrude property manager is used to edit the sketch, delete some objects form the sketch but we cannot edit the shape of the sketch profile.

<em>In this tool we can edit every thing but cannot edit the shape of the sketch profile.</em>

3 0
3 years ago
What can give working people information about their fields, including conferences and leadership opportunities in those fields?
Juli2301 [7.4K]
<span>What can give working people information about their fields, including conferences and leadership opportunities in those fields?


C: a professional organization </span>
8 0
3 years ago
Read 2 more answers
If we use the square wave to transmit digital data (0s and 1s), what will be the data rate. Note data rate is the bits per secon
Nesterboy [21]
The maximum bit rate
6 0
1 year ago
Other questions:
  • A group of N stations share a 56-kbps pure ALOHA channel. Each station outputs a 1000-bit frame on average once every 100 sec, e
    12·1 answer
  • What was the original intention for the creation of ARPANET?
    15·2 answers
  • Describe Ms word environment.​
    14·1 answer
  • Which expresses 6y : 9y in its simplest form?
    12·1 answer
  • Is a plotter input output or both
    10·1 answer
  • Please help! i need to answer this soon!
    13·1 answer
  • A domain name is used to: *
    15·1 answer
  • Select the correct answer.
    10·2 answers
  • I am doing 7th grade coding 3.02 assignment can anybody help me it says bad input on line 3 and this is what it is can someone h
    6·1 answer
  • Which person would be the best fit for a career in the Information Technology field?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!