Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
bobby.cs.unlv.edu
|
the name of the computer that should be used for remote login
|
|
programming language
|
a set of rules, symbols and special words
|
|
a c++ program must have
|
#include <iostream>
using namespace std; int main() { return 0; } |
|
token
|
smallest indiidual unit of a programming language - special symbols, word symbols, identifiers
|
|
+ - * / . ; ? , < > <= >= !
!= & | |
special symbols which mostly indicate some kind of operation to be performed
|
|
int values
|
whole numbers, no decimals and
no commas included |
|
bool values
|
true and false (reserved words)
|
|
char values
|
letters, digits, special
symbols, can only represent a single character at a time, enclose value in single quotes ('a' '?' '8') |
|
floating-point data types
|
used to represent
numbers with decimals |
|
Arithmetic Operators and Operator first precedence:
|
multiplication * division / modulus %
|
|
Arithmetic Operators and Operator second precedence:
|
addition + subtraction -
|
|
first rule for evaluating expressions with
multiple operators: |
if 2 or more operators have the same precedence, move from left to right continue evaluation until a final result is
determined |
|
second rule for evaluating expressions with
multiple operators: |
parenthesized parts of an expression have highest
priority |
|
third rule for evaluating expressions with
multiple operators: |
if no ( ) present, evaluate the operator with the
highest precedence |
|
int expression:
|
% - modulus or / - division
|