GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Chapter 2

Brooks Johnson CSC EGR GRE Englisch 23 Karten

Karten in diesem Stapel (23)

  1. 1int float double char const void ReturnReserved words, keywords, or symbols
  2. 2+ - * / . ; ? , <= != == >=Special Symbols
  3. 3Multiple line comments/* words */
  4. 4Identifiers (4)basically variable names
    must begin with letter or underscore
    case sensitive
    not a good idea to redefine pre defined ones
  5. 5Data TypesSimple, Structured, Pointers
  6. 6Simple Data TypesIntegral (integer), Floating point (decimals), enumeration type (user defined)
  7. 7Integral datatypes are further divided into how many categories?9
  8. 8What is the difference between a float and a doubleboth represent any real number but a float is 4 bytes whereas a double is 8 bytes; 6/7 vs 15 significant digits
  9. 9If an expression has both types of operands then...integers are changed to floating point and the output is a floating point
  10. 10int 15/ int 2 =int 7
  11. 11what is the difference between a named constant and a variablea variables value can change during execution but a named constant cannot
  12. 12What is variable initializationwhen you assign it a value
  13. 13pre vs post incrementthe value of the variable is altered before using it in any expression vs. the value is altered after already using it
  14. 14to use cin and cout you must include which two statement#include
    using namespace std;
  15. 15+=, -=, *=, /=, and %=Compound assignments, plus is, minus is, etc.
  16. 16What is 7.5*10^87.5E8
  17. 17Source code is comprised of ...preprocessor directives and program statements
  18. 18The compiler generates the...Object code (.obj)
  19. 19Executable code (.exe) results when...object code is linked with the system resources
  20. 20The first line of the function "main" is called the ...heading of the function (i.e. "int main ()")
  21. 21statements that declare things are known asdeclaration statements
  22. 22statements that perform calculations, manipulate data etc. areexecutable statements
  23. 23The body contains what two types of statementsdeclaration and executable

Informationen

Beschreibung
GRE CSC EGR Karteikarten am Chapter 2, erstellt von Brooks Johnson am 16/02/2023.
Erstellt von
Brooks Johnson
Aufrufe
0
Bewertung

Mehr zu Data Types, Variables and Operators

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck