Computer Programming
Conditionals
(Java) General Code
(Java) Variables
TWINE
100
The code list of characters and numbers that correspond to them.
What is ASCII Code?
100
The statement that allows a block of code to run only under certain conditions.
What is an if statement.
100
The most important method for a java program to run.
What is the main method?
100
the datatype that saves numbers.
What is int
100
A block of text that is clickable and contains the address to a new webpage.
What is a hyperlink?
200
The code that I use in Unix to list all the files in the directory.
What is a for ls.
200
The argument of a conditional that dictates if the code runs or not. In other words the thing that goes in the parenthesis.
What is a boolean.
200
The way you start a comment line.
What is // or /****/
200
the datatype that saves letters.
What is char.
200
How to create a hyperlink in Twine that is that creates a box with the same name as the word.
What is surrounding the word in brackets "[]"?
300
I have finished writing code so I do these two steps to get it to work.
compile then run.
300
The two states a boolean can be in.
What is true or false.
300
To print an output to the console, this must be typed. (case sensitive)
What is System.out.println([content])
300
The case the first letter of a variable should be.
What is lower.
300
The Story format that allows you to code in TWINE.
What is SugarCube?
400
The level of programming that is machine code (101010101) and the level of programming that is Java.
What is a low level and high level respectively.
400
A Boolean cannot be saved as a variable.(T/F)
What is False?
400
the indication of the end of a line of code.
What is a ";"
400
The first time you create a variable.
What is initialization.
400
To type in code in Twine you need these.
What are "<< >>"?
500
Programming etiquette.
What is it when you write code following certain non-essential conventions that makes the code easier to read by yourself and others?
500
List of all conditional operators.
== equal to != not equal to > greater than >= greater than or equal to < less than <= less than or equal to && Conditional-AND || Conditional-OR
500
The first line that dictates the beginning of the program.
What is public class [name]
500
when saving a single letter to a variable, it must be surrounded by this.
What is '' single quotations
500
The output of: <> <> Let's take the train. <> Let's walk. <>
What is Let's walk?
M
e
n
u