Programming Languages Prefinals Reviewer

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

Integers

Numbers devoid of the fractional part

2
New cards

Floating Points

Or floats are numbers that contain or can contain the fractional part

3
New cards

Type

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

4
New cards

Integer

Is a string of digits that make up the number. It must not be interjected with any characters that are not digits.

5
New cards

Octal Value

If an integer number is preceded by an 00 or 0o prefix. This means that the number must contain digits taken from the [0..7] range only

6
New cards

Hexadecimal Value

If an integer number is preceded by the prefix 0x or 0X

7
New cards

Float

Is designed to represent and store numbers with a non-empty decimal fraction. These numbers have or may have, a fractional part after the decimal point

8
New cards

Strings

These are used when processing texts and not numbers.

9
New cards

Escape Character

Is played by the backlash (\). The backslash can escape quotes, too. A quote preceded by a backslash changes its meaning

10
New cards

Boolean Algebra

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

11
New cards

Expression

Is a combination of values, variables, operators, and function calls that result in a computed value. They are crucial because they form the building blocks of logic in programming.

12
New cards

Expression

It is any valid combination of operands and operators. It is evaluated by Python to produce a value

13
New cards

Arithmetic Expressions

These involve mathematical operations such as addition (+), subtraction (-), multiplication (*), division (/), and exponentiation (**).These expressions are used in scenarios requiring numerical computations

14
New cards

Relational Expressions (Comparison Expressions)

These evaluate to True or False using comparison operators. These utilize comparison operators like equal, not equal to, greater than, less than, greater than or equal to, and less than or equal to.

15
New cards

Logical Expressions or Boolean Expressions

These use logical operators to combine Boolean values. These are pivotal in constructing complex conditional statements

16
New cards

Bitwise Expressions

These manipulate bits directly using bitwise operators. These perform operations at the binary level using operators like AND, OR, XOR, NOT, left shift, and right shift. These expressions are commonly used in low-level programming, such as setting flags or manipulating binary data

17
New cards

Assignment Statement

Assigns a value to a variable using the = operator. Assignment statements allow the storage of values in named memory locations. The lft-hand side of the assignment operator is the variable name, and the right-hand side is the value to be stored

18
New cards

Augmented Assignment Operators

Provides augmented assignment operators that simplify modifying variables. It provides a concise syntax to update variable values by combining an arithmetic operation with an assignment operator, reducing redundancy in code