Basic Definitions Flashcards

1
Q

Operator

A

Operators are symbols that tell the compiler to perform specific mathematical or logical manipulations

Or

A symbol that defines the type of calculation to perform, and the order in which to do it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Algorithm

A

A set of step by step instructions used to solve a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Pseudocode

A

Pseudocode is a detailed, human-readable description of what an algorithm must do expressed in natural language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Function

A

A system defined formula that may require user input and returns a value.

Also defined as action taken by the code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Condition

A

Conditions are branches that direct the code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Boolean Expression

A

A question that has a true/false or yes/no answer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Loop

A

A loop is an instruction that repeats until a specified condition is reached

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Variable

A

Variables store data for processing. In java, each class has certain class variables (its attributes) such as name, age, dob.

E.g.= int (234)
String (“hey bro”)
Double (2.44)

You can declare a variable and assign it a type, such as:

String name:(“david”);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Threads

A

Getting the computer to do multiple things at once

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

String

A

A string is 0 or more characters in double quotes, like “hello, world” 0/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Array

A

A collection of variables of the same type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Method

A

Aka functions. Called methods in Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Main

A

A function that is the starting point of every class in Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The main method

A

Public Static Main Void (String [] args)

Public means anyone/any class can access
Static means it can run without an instance of class 
Main is the name of class
Void means no value will be returned
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Instance

A

Each object is called an instance of a class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

printIn

A

A method that can be accessed by System. Class and out. Stream

System.out.printIn

17
Q

System.out.print vs System.out.printIn

A

The ‘In’ causes words to be printed on a new line

18
Q

Primary key

A

1) In SQL, primary key is a field in the table that uniquely identifies the table records.
2) One table can have ONE.
3) Its value must be different for each row in the table!
4) It cannot contain a null value

19
Q

SQL

A

Structured Query Language