Introduction to Computer Science Flashcards

1
Q

What is Analog data?

A

Data represented in a continuous and variable form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is ASCII (American Standard Code for Information Interchange)?

A

A standard encoding system for text characters that use numeric values to represent letters, numbers, and symbols.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is bandwidth?

A

The maximum rate of data transfer across a network, usually measured in bits per second.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is binary?

A

A numerical system that uses only two digits—0 and 1—to represent data in computing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Boolean expression?

A

A logical statement that can be either true or false, using operators like AND, OR, and NOT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a character?

A

A single letter, digit, or symbol used in text.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a character set?

A

A collection of characters a computer can recognize, such as ASCII or Unicode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is compression ratio?

A

The ratio of the original data size to the compressed data size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a control structure?

A

A programming construct that controls the flow of execution (e.g., loops and conditionals).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is data?

A

Raw facts and figures that can be processed into information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is data compression?

A

Reducing the size of data to save space or transmission time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are data types?

A

Categories defining the kind of value that can be stored, such as int, float, or string.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a declaration?

A

A statement that specifies the name and type of a variable or function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is digital data?

A

Data represented using discrete binary values (0s and 1s).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is floating point?

A

A format for representing real numbers with fractional parts using a base and exponent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is Huffman encoding?

A

A compression technique using variable-length codes based on data frequency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is information?

A

Data that has been processed or organized meaningfully.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What is an integer?

A

A whole number without a fractional part.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is keyword encoding?

A

Compression by replacing frequent patterns with shorter codes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is lossless compression?

A

A method that allows original data to be perfectly reconstructed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is lossy compression?

A

A method that removes some data permanently to reduce file size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What does numeric mean?

A

Any value that is a number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is overflow?

A

A condition where a value exceeds the max limit of the storage format.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is pulse-code modulation (PCM)?

A

A method for digitally representing analog signals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is a radix point?
A point that separates the integer and fractional parts of a number (like a decimal point).
26
What is a real number?
A number with a fractional part; also known as a floating-point number.
27
What is reclocking?
Refreshing digital signals' timing to maintain accuracy.
28
What is run-length encoding?
A compression technique replacing repeated characters with one character and a count.
29
What is scientific notation?
A way of writing very large or small numbers using powers of 10.
30
What is signed-magnitude representation?
A binary format where one bit represents the sign and the rest the magnitude.
31
What is a string?
A sequence of characters treated as one unit in programming.
32
What is strong typing?
A feature requiring explicit type declaration to reduce errors.
33
What is ten’s complement?
A way to represent negative numbers in decimal systems.
34
What are alphanumeric values?
Characters including both letters and numbers.
35
What is an assignment operator?
A symbol (typically =) used to assign a value to a variable.
36
What is an assignment statement?
A line of code that assigns a value to a variable, e.g., x = 5.
37
What is a binary operator?
An operator that uses two operands, like +, -, *, or /.
38
What is camel casing?
A naming style with the first word lowercase and subsequent words capitalized (e.g., myVariableName).
39
What is garbage (in memory)?
Unused or leftover data no longer referenced by the program.
40
What is Hungarian notation?
A naming convention where the variable name starts with a prefix indicating type (e.g., strName).
41
What is an identifier?
The name given to a variable, function, or object in code.
42
What does it mean to initialize a variable?
To assign it an initial value during declaration.
43
What is kebab case?
A lowercase naming style with hyphens between words (e.g., my-variable-name).
44
What is a keyword (reserved word)?
A word with special meaning in a language that can't be used as an identifier (e.g., if, while).
45
What is an lvalue?
A variable or location that can appear on the left-hand side of an assignment.
46
What is mixed case with underscores?
A naming style like My_Variable_Name.
47
What is a numeric constant?
A fixed number used directly in code, like 42.
48
What is a numeric variable?
A variable that stores numeric data.
49
What is an operand?
A value or variable an operator acts upon.
50
What is Pascal casing?
Each word starts with a capital letter (e.g., MyVariableName).
51
What is right-to-left associativity?
When operators of the same precedence are evaluated from right to left.
52
What is snake casing?
Lowercase words separated by underscores (e.g., my_variable_name).
53
What is a string constant?
A fixed sequence of characters, like "Hello".
54
What is a string variable?
A variable that holds a string (text).
55
What is type safety?
Ensuring variables are used according to their declared type.
56
What is an unnamed constant (magic number)?
A hard-coded value in code, like 3.14, without a descriptive name.
57
What is a variable?
A named memory location used to store and manipulate data.
58
What is an abstract step?
A high-level action in an algorithm, not detailing how it’s done.
59
What is an algorithm?
A step-by-step procedure to solve a problem.
60
What is a branch?
A decision point in an algorithm that leads to different outcomes.
61
What is an infinite loop?
A loop that never ends because its exit condition is never met.
62
What is input?
Data provided to a program for processing.
63
What is a loop control variable?
A variable that determines if a loop continues or stops.
64
What is a nested structure?
A control structure placed inside another (e.g., loop inside a loop).
65
What is output?
Data produced and returned by a program.
66
What is a pretest loop?
A loop that tests its condition before executing (e.g., while loop).
67
What is pseudocode?
A simplified version of programming logic using plain language.
68
What is repetition (iteration)?
Repeating instructions in a loop.
69
What is selection?
Choosing different actions based on conditions (e.g., if statements).
70
What is left-to-right associativity?
When operators of the same precedence are evaluated from left to right.
71
What is a magic number?
A hard-coded number without context, making code harder to maintain.
72
What is a named constant?
A named value that doesn’t change, like PI = 3.14.
73
What is overhead?
Extra resources needed beyond what a task requires (e.g., memory or processing time).
74
What are rules of precedence (order of operations)?
Rules determining the order in which operations are evaluated in expressions.