1/23
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Pair programming
collaborative programming practice where two programmers work rotfer at one computer on the same piece of code.
Driver
role is to control the mouse and keyboard and type out the code. They should concentrate on solving the current task while keeping the navigators plane of action in minds
Navigator
the navigator should be checking for typos or other errors as the driver produces code to catch them as soon as they arise and before they cause further errors. They should also be actively thinking of alternative, more efficient ways to solve the problem.
Hello world
very first program you write when learning a programming language, a program that prints “hello world” to the user
displaying text on the screen
Declare a variable
defining a variable for the first time
Variable
symbol or container that holds a value
Initialize a variable
Giving a variable an initial value.
Concatenation
Adding two strings together using the “+” operator.
String Variable:
Variable with text as the value.
Integer Variable:
Variable with a whole number as the value.
Float Variable:
Variable with a decimal as the value.
Input()
Function that prints a prompt and retrieves text from the user
Type Conversion
Process of converting the value of one data type (integer, string, float, etc.) to another data type is called type conversion.
Floating Point Numbers
Also called floats, these represent real numbers and are written with a decimal point dividing the integer and fractional parts.
Arithmetic Operators:
Include addition(+), subtraction(-), multiplication(*), division(/), and the modulus operator(%). These operators are used to perform basic mathematical tasks.
Canvas
The screen in which our graphics programs are drawn.
Coordinate System:
Coordinate system uses numbers as coordinates to place objects in a geometric space.
Properties of an Object:
The variables that are attached to the object.
Event
Action(such as clicking the mouse or pressing a key on the keyboard)that a program detects and uses as input
Callback Function
Function that is prasses as a parameter to another function in order to be called later.
Code:
The name for the instructions you write to a computer in a program.
Algorithm:
set of steps or rules to follow to solve a particular problem.
Function
self- contained block of a code designed to perform a specific task and is fundamental to structured programming and offer several benefits