Binary Hex Octal Processing a C++ Program for loops Vocab (Malik ch 1) pre and post increments and decrements
100
What is 59?
111011 from binary to decimal
100
What is a compiler?
This program checks the source program for syntax errors and translates it into machine language
100
0 1 2 3 4
for (int i = 0; i<5; i++)
cout i
100
Syntax
Rules that tell you which statements are legal. Breaking these creates a compiler error.
100
x = 6, y = 6
x = 5;
y = ++x;
200
What is 11110111?
247 from decimal to binary
200
What is a text editor?
This is a program where you type up your code. It handles text.
200
10 9 8 7 6
for (int i = 10; i>5; i--)
cout i
200
semantic
When your program runs, but doesn't run correctly, you have this kind of error
200
x = 6, y = 5
x = 5;
y = x++;
300
What is 101101010
552 from octal to binary
300
What is a loader
This loads executable program into memory
300
000 111 222 333 444
for (int i = 0; i<5; i++)
for(int j = 0; j<3; j++)
cout i
300
keywords
Reserved words that can't be used as names. Examples are int, void, return.
300
a = 6, b = 8
a = 5;
b = 2 + (++a);
400
What is 73
111011 from binary to octal
400
What is a linker
This program combines an object program with other stuff from the library to create executable code.
400
012 012 012 012 012
for (int i = 0; i<5; i++)
for(int j = 0; j<3; j++)
cout j
400
string
A sequence of zero or more characters
400
a = 6, b = 7
a = 5;
b = 2 + (a++);
500
What is 110111101000
DE8 from hex to binary
500
What is editor, preprocessor, compiler, linker, loader and execution
This is the list of steps that it takes to process a program, in order.
500
infinite derp loop
for (; ;)
cout<<"derp"<
500
initialization
When you put a value into a declared variable
500
a = 6, b = 5, c = 5
a = 5; b = 6; c = 4;
b = 2 * (++c) - (a++);






Jeopardy 2

Press F11 for full screen mode



Limited time offer: Membership 25% off


Clone | Edit | Download / Play Offline