HP1 First Vocab Set

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/50

flashcard set

Earn XP

Description and Tags

Tawfik's first vocab set for HP1

Last updated 12:06 PM on 9/3/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

51 Terms

1
New cards

Rule

Required items for a program to compile/run

2
New cards

Convention

Items not required to compile, but generally accepted programming practices

3
New cards

Naming convention

Consistent, structured plan for naming things

4
New cards

Camel Case

The naming convention where the first letter of each additional word is capitalized with no spaces between words (Ex: camelCase)

5
New cards

Upper Camel Case

The naming convention where the first letter of each word is capitalized with no spaces between words (Ex: CamelCase)

6
New cards

Editor

Used to write and manipulate source code

7
New cards

Compiler

Transforms source code written in a programming language into another computer language

8
New cards

Integrated Development Environment (IDE)

Software application that provides comprehensive development tools to programmers

9
New cards

Object

Code that represents real and imaginary things in a program


*Objects can have states/attributes and dbehaviors (actions) and are defined by a class (EX: DOG object: States - moving, asleep, sick; Attributes: name, breed, color, weight, height; Behaviors - bark, eat, sleep, run, poop)

10
New cards

Class

A java file and the blueprint/template for creating objects (describes the states adn behaviors)

11
New cards

Method

Behaviors (actions) of an object

12
New cards

Field

Stores the states/attributes of an object

13
New cards

Public

Used in the declaration of a class, method, or field that can be accessed by the members of any class

14
New cards

Void

Method modifier that returns nothing

15
New cards

Argument

Input by users or other methods

16
New cards

Escape Sequence

A combination of characters starting with a backslash (\) and placed within quotes with meaning beyond the literal characters, they are primarily used to put non-printable characters in string literals.

Ex:

\n – newline

\r – carriage return

\t – tab

\f – form feed

\’ – single quote

\” – double quote

\\ – backslash

17
New cards

Arithmetic Operators

Used in mathematical expression in the same way that they are used in algebra ( +, -, *, /, %, ++, --  )

18
New cards

Relational Operators

Return true or false ( >, <, >=, <=, !=, == )

19
New cards

Numerical Literal

A sequence characters made of digits and up to one decimal point that may be preceded by a plus or minus sign

20
New cards

String Literal

A sequence of characters enclosed in quotation marks

21
New cards

String Concatenation

The operation of joinng character strings end-to-end

22
New cards

Comment

Explanation or annotation in the soure code of a program ignored by the computer.

23
New cards

Modulus

Like dividing, but only returns the remainder; remainder of the division of one number by another

24
New cards

Modulo

Arithmetic operator (%) that returns the reaminder of integer divison.

13 % 6 = 1

4 % 2 = 0

5 % 10 = 5

^

If the number, the second number(divisor) is bigger than the first(dividend), and the answer would be a decimal, then the answer would just be the first original number(divisor).

25
New cards

Divison

In basic programming division for many languages, when dividing without using a decimal in programming then it returns only the whole number, not the remainder.

Ex:

13 / 2 = 6

^

Only returns the whole number, not the remainder

26
New cards

Variable

Memory location paired with a symbolic name that can hold a value used in a program


The “final” keyword is the only difference between making a varible and a constant; If you use the word “final”, it is a constant.

27
New cards

Constant

Variable that cannot be altered once initialized


The “final” keyword is the only difference between making a varible and a constant; If you use the word “final”, it is a constant.

28
New cards

Identifier

User-defined named of a program element (varibale name, method name, etc.)

29
New cards

Declaration

Identifying the name of an item you plan to use later in the program

30
New cards

Initialization

Assigning the original value to a variable, constant, or array

31
New cards

Final

Modifier to define an entity that cannot be changed nor defived from once initialized


The “final” keyword is the only difference between making a varible and a constant; If you use the word “final”, it is a constant.

32
New cards

Assignment Operator

Assigns the value on its right to a varibale or element on its left (=)

33
New cards

Primitive Data Type

Type with predetermined memory size to hold the value of variables

34
New cards

Byte

Integers from -128 to 127 (Size 8 bit)

35
New cards

Short

Integers from -32,768 to 32,767 (Size 16 bit)

36
New cards

Int

Integers from -2,147,483,648 to 2,147,483,647 (Size 32 bit)

37
New cards

Long

Integers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 (Size 64 bit)

38
New cards

Float

Real numbers from 3 .4e–038 to 3.4e+038 (Size 32 bit) roughly 6-7 decimal digits

39
New cards

Double

Real numbers from 1 .7e–308 to 1.7e+308 (Size 64 bit) roughly 15-16 decimal digits

40
New cards

Boolean

True/false, (Size 1 bit)

41
New cards

Char(Character)

Single Unicode character (Size 16 bit)

42
New cards

Variables Rules/ Naming Conventions

Start with a letter, but can have numbers after (Rule)

Has no spaces or symbols (Rule)

Starts with a lowercase letter (Convention)

camelCase if multiple words (Convention)

43
New cards

Constants Rules/Naming Conventions

Start with a letter, but can have numbers after (Rule)

Has no spaces or symbols (Rule)

Letters are ALL CAPS with underscores (_) between words (Convention)

44
New cards

Reference Data Type

Does not hold hte value of a variable, but just a reference to a different memory location with the value.

45
New cards

String

Reference Data Type… a String variable does no thold hte actual “string” of letters. It holds a reference (remote) to a different location in memory that holds the letters.

46
New cards

Documentation

Written text that accompanies software that explains how it works or how ot use it

Ex: Instruction manuals, Coding Comments,

47
New cards

Pseudocode

Informal description of the operating principle of a computer program inteded for human reading rather than machine reading

48
New cards

Package

Groups for organization within Java progamming

49
New cards

Import

Used at the beginning of a source file to specify classes or entire Java packages to be referred to later.

50
New cards

Double

Can hold a very big number or a very precise decimal number; for holding decimal integers

51
New cards

Float

For holding decimal integers, ½ as small as a double