CSCI 1302 Test 2

Descrição

Flash Cards for my CSCI Test
marc30599 .
FlashCards por marc30599 ., atualizado more than 1 year ago
marc30599 .
Criado por marc30599 . mais de 6 anos atrás
12
0

Resumo de Recurso

Questão Responda
Subscript Index Ex: Array index
Array Fixed-size data structure that can store a sequential collection of values, all the same type
Assignment Operator "=" equal sign that initializes it
Element One value in an array
Control Variable Mainly used in "for loop" to control how many times a loop executes
Scope Part of the program where it may be accessed by name
Pre-test Loop Will be a "while" loop
Post-Test Loop Will be a "do-while" loop
Equality Operator Used to compare objects (ints, chars, doubles) using "==". For strings you use ".equals" or ".equalsIgnoreCase"
Logical "AND" operator Denoted as "&&" both sides of the expression must be true in order for the entire expression to be true
Logical "OR" operator Only one side of the expression must be true in order for the entire boolean expression to be true, denoted with "| |"
Logical "NOT" operator Reverses the truth of a boolean expressions denoted with "!"
Iteration Basically loops and repetition
IF Statement if(boolean expression) is true then the following statement afterwards executes. if false it skips over the following statement
IF ElSE Statement Same as the IF Statement only in this instance if the expression is false, than the statements in the ELSE block will execute instead.
Boolean Expressions An expression that, when evaluated, returns a boolean value of true or false value

Semelhante

1.1 Component 1
Olivia Szydlo
Video Revision
Mr Mckinlay
Network Protocols
Charlie Beeson
Keywords - Systems
Mr Mckinlay
Operating Systems
Natalie Brown Un
Random_Quetions
Lucas Atherton
IGSCE Computer Science
Johnathon Bedasse
Binary
Levnt
Algorithms
Tom Cavilla
Binary System
Ciara Ennis