programming languages pre-fi

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

1/24

flashcard set

Earn XP

Description and Tags

mahirap ba ako mahalin

Last updated 3:39 PM on 5/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Type

The characteristic of the numeric value that determines its kind, range, and application

2
New cards

Integers

Numbers devoid of the fractional part

3
New cards

Floating Points

Numbers that contain or can contain the fractional part

4
New cards

Underscores

What Python does allow, though, is the use of this in numeric literals

5
New cards

Negative numbers

Written by adding a minus (-)

6
New cards

Octal value

Treated as this if an integer number is preceded by an 0O or 0o prefix (zero-o)

7
New cards

Hexadecimal value

Treated as this if it is preceded by the prefix 0X or 0x (zero-x)

8
New cards

Point (.)

Essentially makes a number a float

9
New cards

E/e

Represents exponents incorporated into a number string

10
New cards

Exponent

The value after E has to be an integer, while the base (value in front of the E) may be an integer

11
New cards

Strings

These are used when processing texts and not numbers

12
New cards

Escape character

Played by the backslash ()

13
New cards

Apostrophe (')

The second solution is to use this instead of a quote

14
New cards

Boolean value

Each time Python is asked if one number is greater than another, it always results in the creation of some specific data

15
New cards

Boolean algebra

A part of algebra that makes use of only two distinct values True and False, denoted as 1 and 0

16
New cards

Expression

A combination of values, variables, operators, and function calls that result in a computed value.

17
New cards

Expression Evaluation

It is evaluated by Python to produce a value.

18
New cards

Arithmetic Expressions

These involve mathematical operations such as addition (+), subtraction (-), multiplication (*), division (/), and exponentiation ().

19
New cards

Relational Expressions (or Comparison Expressions)

These evaluate to True or False using comparison operators.

20
New cards

Logical Expressions (or Boolean Expressions)

These use logical operators (and, or, not) to combine Boolean values.

21
New cards

Bitwise Expressions

These manipulate bits directly using bitwise operators (&, |, ^, ~, <<, >>).

22
New cards

Assignment Statement

Assigns a value to a variable using the = operator.

23
New cards

Assignment Operator (=) Structure

The left-hand side is the variable name, and the right-hand side is the value to be stored.

24
New cards

Augmented Assignment Operators

Provides a concise syntax to update variable values by combining an arithmetic operation with an assignment operator, reducing redundancy in code.

25
New cards