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
Firdavs [7]
4 years ago
14

explain how the following data types are used to represent variable data in software development: string, numeric, character int

eger, and date
Computers and Technology
1 answer:
faust18 [17]4 years ago
6 0

Within a programing language, a data type of an object determines what type of values an object can have and what operations can be performed on the object. Learn about the most common data types, including strings, numbers, Booleans, lists and arrays.Data Types:Programming uses a number of different data types. A data type determines what type of value an object can have and what operations can be performed.Strings:One of the most widely used data types is a string. A string consists of one or more characters, which can include letters, numbers, and other types of characters. You can think of a string as plain text.A string represents alphanumeric data. This means that a string can contain many different characters, but they are all considered as if they were text, even if the characters are numbers. A string can also contain spaces. This presents a bit of an issue. How are you going to distinguish between the value of a string and the actual code of the program? The solution is to mark the beginning and end of a string with a special character, typically a quote. For example, the following code is used to print text to the screen=print 'Hello World!'The use of quotes ensures that the text 'Hello World!' is recognized as a string and not as two separate words that may have some special meaning in the programming language. The use of quotes also makes it possible to use numeric characters as part of a string. For example, the following code is used to store a street address=address = '123 Central Avenue'Without the quotes, the numeric characters 123 would be interpreted as a number, but with the quotes, it is recognized as being part of a string that represents a street address.Numeric Data Types:The second most important data type is numeric data. There are several different ones.An integer is a numeric value without a decimal. Integers are whole numbers and can be positive or negative. Sometimes a distinction is made between short and long integers, referring to how much data storage is used for the number. A short integer is typically stored using 16 bits, which means you can store up to 2^16, or 65,536, unique values. For any number larger than that, you would need to use a long integer, which uses 32 bits or more.A number with a decimal is referred to as a decimal, a float or a double. The terminology varies somewhat with the programming language being used. The term 'float' comes from floating point, which means you can control where the decimal point is located. The term 'double' refers to using double the amount of storage relative to a float. Working with numbers in code is a little bit like using a calculator. Here is an example of how numeric values are used in code, in this case using a multiplication character=result = 3 * 117.89The value stored in the 'result' would be 353.67.Boolean Data:The Boolean data type can only represent two values: true or false. Typically, a 1 is used to represent True, and a 0 is used to represent False. Consider the following example where a user inputs two values and the program determines whether the first one is smaller than the second one or not.In this example the first value is in fact not smaller than the second one, and the program therefore results in a Boolean value of False. The Boolean type is the primary results of conditional statements, which are used to control workflow in program. For example, if a particular condition is true, then do this - if the condition is false, then do something else.Composite Data Types:The data types covered so far are often referred to as primitive data types. A composite data type is obtained by combining more than one primitive data type. These are also referred to as data structures. Common examples of composite data types are lists and arrays.A list contains elements of one particular data type. For example, a list could contain strings. An example would be the names of all players on a soccer team. Each name is a string, but when you organize all the names together, they form a list.



You might be interested in
Someone knows a good compiler for iPad? It has to be an app
aksik [14]
Jedona is a good one
5 0
3 years ago
What is the significance of the vertical columns of the periodic table? what is the significance of the horizontal rows?
olga2289 [7]

Yes, horizontal rows are periods. “All of the elements in a period have a similar number of atomic orbitals. Each element in the top row (the principal time frame) has one orbital for its electrons. The greater part of the components in the second column (the second time frame) has two orbitals for their electrons. It goes down the occasional table that way. As of now, the most extreme number of electron orbitals or electron shells for any element is seven."<span>

<span>The vertical columns are groups. "The elements in a group have the same number of electrons in their outer orbital [and thus the same charge]. Every element in the first column (bunch one) has one electron in its external shell. Each element on the second segment (assemble two) has two electrons in the external shell. As you continue tallying the segments, you'll know what numbers of electrons are in the external shell.</span></span>

7 0
4 years ago
Harvey is creating a presentation for his school project. He wants to have the same look on all the slides of his presentation.
Dimas [21]
<h2>Answer:</h2>

<u>Theme option in the design tab</u>

<h2>Explanation:</h2>

After opening his slides in power point he must click on the Design Tab and then selecting a theme from various options that come in front of him. He can select any theme and then click apply to all. This will allow him to apply the same theme over all his slides of presentation.

6 0
4 years ago
Read 2 more answers
A data center designer requested additional lighting for the entrance to the data center as well as the removal of a object whic
Ira Lisetskai [31]

Answer:

SURVEILLANCE-SPECIFIC DESIGN.

Explanation:

Defensible space offers a series of architectural guidelines that can be used in the design of new urban residential complexes to promote both the residential group’s territorial claim to its surroundings and its ability to conduct natural surveillance. The designs are: site interrelationship design, site design, street design and surveillance-specific design.

Surveillance-specific design can be used to increase general visibility by providing adequate lighting, by reducing or eliminating physical barriers to visibility, and by the visibility-promoting location of key areas (entrances, lobbies, elevator waiting areas, parking areas e.t.c.) so as to be directly visible from as many viewpoints as possible.

Since the data center designer requested additional lighting for the entrance to the data center as well as the removal of a object which is blocking security's view of the entrance, then it is an example of SURVEILLANCE-SPECIFIC DESIGN.

6 0
3 years ago
How can software assist in procuring goods and services?
mixer [17]

Answer:

Answered below

Explanation:

E-procurement software is the enterprise software that integrates and automates an organisation's procurement processes.

E-procurement software assists in procuring goods and services by allowing customers to browse online catalogs and stores, add their goods to shopping carts and send their requisition. This process reduces errors and improves efficiency.

Ethics of procurement include integrity, impartiality, fairness and transparency. Stores shouldn't block customers from doing comparison shopping.

7 0
3 years ago
Other questions:
  • Materials that allow electricity to flow are called A) Metals B) Attractors C) Conductors D) Insulators
    11·2 answers
  • Which function of a web page relies on responsive web design
    14·1 answer
  • C++
    8·1 answer
  • âthe first line in a hypertext markup language (html) file is the _____, which is a processing instruction indicating the markup
    9·2 answers
  • What is Boolean algebra
    14·2 answers
  • A user could find the icon for an attached usb flash drive under what heading in the my computer/computer window?
    7·1 answer
  • Three Strings someone help
    15·1 answer
  • Send me the answers<br>​
    15·1 answer
  • What technique is used when setup times at a workstation are sequence dependent?
    15·1 answer
  • The process of recording and reporting the financial data for a business is known as:
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!