2024-04-14T16:51:13+03:00[Europe/Moscow] en true <p>What is another type name for Primitive Types?</p>, <p>What is another type name for Derived and Abstract Types?</p>, <p>What are the two main categories of Primitive Types?</p>, <p>Values that are predefined and therefore predictable are said to be what?</p>, <p>Values where we cannot determine the next value in the sequence are values of what?</p>, <p>What data types fall under ordinal?</p>, <p>What data types fall under variable-length?</p>, <p>What does "signed" mean in C++?</p>, <p>What does "unsigned" mean in C++?</p>, <p>What does "short" mean in C++?</p>, <p>What does "long" mean in C++?</p>, <p>True or false: The first character in a variable can be a number</p>, <p>True or false: Blank spaces can be used in variable names</p>, <p>True or false: Special Characters like "$" are not allowed</p>, <p>True or false: When a variable consists of more than one word, the other words start with capital letters.</p>, <p>True or false: Constant names are typically written in all capital letters to easily distinguish them from variables</p>, <p>Represents any real numberRange: -3.4E+38 to 3.4E+38 (four bytes)</p>, <p>Represents any real numberRange: -1.7E+308 to 1.7E+308 (eight bytes)</p>, <p>Used for characters, letters, digits and special symbols where each character is enclosed in single quotes</p>, <p>Sequence of zero or more characters which are enclosed in double quotation marks</p>, <p>A string with no characters</p>, <p>Two values: true and false</p>, <p>Are performed automatically by the compiler when it encounters expressions involving different data types</p>, <p>Also known as typecasts, are performed by the programmer to explicitly convert a value from one data type to another</p> flashcards
Lecture 7

Lecture 7

  • What is another type name for Primitive Types?

    Built-in Types

  • What is another type name for Derived and Abstract Types?

    User-defined Types

  • What are the two main categories of Primitive Types?

    Predefined and could be smaller or greater than the current value

  • Values that are predefined and therefore predictable are said to be what?

    Ordinal Types

  • Values where we cannot determine the next value in the sequence are values of what?

    Variable-Length Types

  • What data types fall under ordinal?

    Integer, Character and Boolean/ Int, Char and Bool

  • What data types fall under variable-length?

    Float and Double

  • What does "signed" mean in C++?

    Can store positive and negative numbers.

  • What does "unsigned" mean in C++?

    Can only store positive numbers and zero, doubling the positive range by eliminating the need for bits to represent negative values

  • What does "short" mean in C++?

    Reduces storage size and range of values. Less memory usage, but also less range

  • What does "long" mean in C++?

    Increases storage size and range of values. More memory usage, but also a greater range

  • True or false: The first character in a variable can be a number

    False

  • True or false: Blank spaces can be used in variable names

    False

  • True or false: Special Characters like "$" are not allowed

    True

  • True or false: When a variable consists of more than one word, the other words start with capital letters.

    True

  • True or false: Constant names are typically written in all capital letters to easily distinguish them from variables

    True

  • Represents any real numberRange: -3.4E+38 to 3.4E+38 (four bytes)

    Float

  • Represents any real numberRange: -1.7E+308 to 1.7E+308 (eight bytes)

    Double

  • Used for characters, letters, digits and special symbols where each character is enclosed in single quotes

    Char

  • Sequence of zero or more characters which are enclosed in double quotation marks

    String

  • A string with no characters

    Null

  • Two values: true and false

    Boolean

  • Are performed automatically by the compiler when it encounters expressions involving different data types

    Implicit Conversions

  • Also known as typecasts, are performed by the programmer to explicitly convert a value from one data type to another

    Explicit Conversions