Data Types
Operators
Built in Functions
Output Statements
User-Defined Functions
100

Data type used for saving a single letter as a variable

Char (character)

100

Operator used for variable assignment

'='

100

Function for displaying output

printf

100

What's the output?

float x = 2;

printf("%.2f", x);

2.00

100

The function that we have already been using in our previous assingments

main

200

Data type for storing decimal values

Float

200

List the four basic mathematical operators 

Addition, Subtraction, Multiplication, Divison

200

Function for taking input

scanf

200

What's the output?

float y = 4.53;

printf("%d", y);

Uninitialized Data
200

Variables passed into functions

Parameters

300

The longest data type in the integer family tree

Long Long Int

300

What are the compound operators?

+=, -=, *=, /=, %=

300

Return type for <math.h> functions

double

300

What's the output?

float z = 4/3;

printf("%.2f", z);

1.00

300

Number of values that can be returned by a function

One

400
Name all three of the data types in the float family.

Float, Double, Long Double

400

Explain the modulus operator

Vote

400
Function that returns the nearest, rounded down integer value

floor

400

What's the output?

float z = 1.33;

printf("%f", z);

1.330000

400

Functions always return this, even if variables are not being passed

Control

500

The data type that we aren't allowed to use, as per course standards.

Boolean

500

Rank the precedence of the operators in this statement:

x *= 8 / 4 + (-- 2);

Parentheses, Prefix, Division, Addition, Assignment

500

Function libraries used in our previous assignments

<math.h> , <stdio.h>

500

What's the output?

float x = 10.5;

printf("%-5.2f", x);

Left Aligned, Five Reserved Spaces, 10.50

500

In the function definition:

void displayOutput (int)

Explain the significance of each word.

Void: Data/Return Type

Greeting: Function Name

Int: Parameter