COMPUTER SCIENCE AND ENGINEERING
OPERATING SYSTEM
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
symbols only
|
|
numbers only
|
|
numbers, letters and symbols
|
|
numbers and letters
|
Detailed explanation-1: -Character data is composed of letters, symbols, and numerals that are not used in calculations. Examples of character data include your name, address, and hair color. Character data is commonly referred to as “text.”
Detailed explanation-2: -The CHAR data type stores any string of letters, numbers, and symbols. It can store single-byte and multibyte characters, based on the database locale. The CHARACTER data type is a synonym for CHAR.
Detailed explanation-3: -Stores strings of letters, numbers, and symbols. Data types CHARACTER ( CHAR ) and CHARACTER VARYING ( VARCHAR ) are collectively referred to as character string types, and the values of character string types are known as character strings.
Detailed explanation-4: -Examples of characters include letters, numerical digits, common punctuation marks (such as “.” or “-"), and whitespace. The concept also includes control characters, which do not correspond to visible symbols but rather to instructions to format or process the text.
Detailed explanation-5: -A character is, well, a single character. If we have a variable which contains a character value, it might contain the letter ‘A’, or the digit ‘2’, or the symbol ‘&’. A string is a set of zero or more characters. For example, the string “and” consists of the characters ‘a’, ‘n’, and ‘d’. The string “K2!”