1/31
Flashcards for vocabulary review based on lecture notes about computer science fundamentals, data types, variables, constants, branching, looping, procedures, and cyberbullying. Each card contains a term and its definition.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Information and Communications Technology
The curriculum being reviewed in this lesson.
Data Type
A classification identifying one of various types of data, stating the possible values for that type, the operations that can be done on that type, and the way the values of that type are stored.
Numeric Data Types
Data types used to store numerical values, can be integral or non-integral (fractional).
Integral Numeric Types
Numeric data types representing whole numbers (e.g., Byte, Long, Integer, Short).
Non-Integral Numeric Types
Numeric data types representing numbers with fractional parts (e.g., Double, Single, Decimal).
Character Data Types
Data types used to store characters and text (e.g., String, Char).
Miscellaneous Data Types
Data types that do not fall under the Numeric or Character types, such as Object, Date, and Boolean.
Variable
A reserved place in computer memory (RAM) to store values temporarily, which can change during the execution of the program. It has a name and a Data Type.
Constant
A reserved place in RAM with a data type that stores a fixed value that cannot be changed during program execution.
Naming Rules for Variables and Constants
Names must begin with a letter or underscore, should not contain symbols or special characters, consist of letters, numbers, and underscores, and should not use reserved words.
Assignment Statement
A statement that consists of a left-hand side (Variable or Property), an assignment operator (=), and a right-hand side (Abstract value, Variable, Property, or Expression).
Syntax Error
An error that occurs when writing code incorrectly, such as misspelling keywords or omitting required elements. Easy to detect.
Logic Error
An error that results in incorrect results after executing the program due to wrong formulation of arithmetic or logic expressions.
Runtime Error
An error that is discovered when the program is running, often related to assignment statements, such as assigning a value outside the range of the Data Type.
Branching
Executing a sequence of steps depending on the result of a condition or the answer to a question, often implemented using If…Then statements.
If…Then Statement
A branching statement that executes code if a conditional expression is True. May be extended with an Else clause.
Conditional Expression
A part of the program code that results in either True or False, used to determine which branch to execute. Consists of two values and a logical operator.
Select…Case Statement
A branching statement that depends on the value of one variable and allows for multiple conditions, reducing code complexity and improving clarity.
Looping
Repeating a set of statements many times, often using For…Next or Do…Loop statements.
For…Next Statement
A limited loop statement used when we want to repeat a code for a specific number of times, involving a counter variable, start value, end value, and optional step value.
Do While…Loop Statement
A loop used to repeat a specific code for an unknown number of times, based on a specific condition, useful when the number of iterations is not known in advance.
Procedure
A set of commands and instructions under a name, can be recalled by that name, to implement them.
Sub Procedure
A type of procedure that does not return a value.
Function Procedure
A type of procedure that returns a value.
Parameter
A value used inside the procedure code that is used on recalling the procedure; reflects the values that were used inside.
Cyberbullying
A deliberate aggressive behavior from one person to another through electronic modes of communication.
Harassment
Aggressive messages directed against one or more persons, a form of cyberbullying.
Cyber Stalking
A form of electronic harassment where the aggressor frequently traces and chases a particular person in all electronic media.
Flaming
Publishing hostile and vulgar words against one or more through a media and electronic communication.
Outing
Disseminating private information about a specific person or more abusively.
Exclusion
Ignoring one or more persons through electronic media.
Cyber Threats
Sending an email or e-message carrying a threat and intimidation to one or more persons.