GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

When a value loses its fractional part because it is assigne…

When a value loses its fractional part because it is assigned to a variable with less precision, it is said to have been ____________.

Read Details

What is the output of the following?              int x, y,…

What is the output of the following?              int x, y, z = 3;              x = y = 5;             cout

Read Details

  Given the purpose of the following variables, tell me what…

  Given the purpose of the following variables, tell me what the most efficient and accurate data type to declare it as would be :   An age of a patient –  The height of a mountain –  The name of a football player –  The letter grade of a student –  A bank account balance – 

Read Details

int a = 5;  int b = 7;  int c = 5;  int d = 10; Evaluate the…

int a = 5;  int b = 7;  int c = 5;  int d = 10; Evaluate the following expressions (makes true or false) : a > d     makes ?  b == d   makes ?  a != c   makes ?  d

Read Details

Write your name as it would appear in C++ source code as a c…

Write your name as it would appear in C++ source code as a comment (1 point).

Read Details

The function ________ ensures that a user input string of ch…

The function ________ ensures that a user input string of characters does not overflow the number of bits reserved for that variable.

Read Details

What is included as part of your C++ programs when you use #…

What is included as part of your C++ programs when you use #include? (1 point)

Read Details

Using three different rules for creating valid variable name…

Using three different rules for creating valid variable names, make up an example for each that would NOT compile. (3 points)

Read Details

Write a preprocessor directive that defines a constant named…

Write a preprocessor directive that defines a constant named TAX which has a value of 6.5. (3 points)

Read Details

Write a block of code that demonstrates the concept of overf…

Write a block of code that demonstrates the concept of overflow. 

Read Details

Posts pagination

Newer posts 1 … 84,045 84,046 84,047 84,048 84,049 … 93,305 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top