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
Q

What is a radix point?

A

A point that separates the integer and fractional parts of a number (like a decimal point).

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

What is a real number?

A

A number with a fractional part; also known as a floating-point number.

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

What is reclocking?

A

Refreshing digital signals’ timing to maintain accuracy.

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

What is run-length encoding?

A

A compression technique replacing repeated characters with one character and a count.

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

What is scientific notation?

A

A way of writing very large or small numbers using powers of 10.

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

What is signed-magnitude representation?

A

A binary format where one bit represents the sign and the rest the magnitude.

31
Q

What is a string?

A

A sequence of characters treated as one unit in programming.

32
Q

What is strong typing?

A

A feature requiring explicit type declaration to reduce errors.

33
Q

What is ten’s complement?

A

A way to represent negative numbers in decimal systems.

34
Q

What are alphanumeric values?

A

Characters including both letters and numbers.

35
Q

What is an assignment operator?

A

A symbol (typically =) used to assign a value to a variable.

36
Q

What is an assignment statement?

A

A line of code that assigns a value to a variable, e.g., x = 5.

37
Q

What is a binary operator?

A

An operator that uses two operands, like +, -, *, or /.

38
Q

What is camel casing?

A

A naming style with the first word lowercase and subsequent words capitalized (e.g., myVariableName).

39
Q

What is garbage (in memory)?

A

Unused or leftover data no longer referenced by the program.

40
Q

What is Hungarian notation?

A

A naming convention where the variable name starts with a prefix indicating type (e.g., strName).

41
Q

What is an identifier?

A

The name given to a variable, function, or object in code.

42
Q

What does it mean to initialize a variable?

A

To assign it an initial value during declaration.

43
Q

What is kebab case?

A

A lowercase naming style with hyphens between words (e.g., my-variable-name).

44
Q

What is a keyword (reserved word)?

A

A word with special meaning in a language that can’t be used as an identifier (e.g., if, while).

45
Q

What is an lvalue?

A

A variable or location that can appear on the left-hand side of an assignment.

46
Q

What is mixed case with underscores?

A

A naming style like My_Variable_Name.

47
Q

What is a numeric constant?

A

A fixed number used directly in code, like 42.

48
Q

What is a numeric variable?

A

A variable that stores numeric data.

49
Q

What is an operand?

A

A value or variable an operator acts upon.

50
Q

What is Pascal casing?

A

Each word starts with a capital letter (e.g., MyVariableName).

51
Q

What is right-to-left associativity?

A

When operators of the same precedence are evaluated from right to left.

52
Q

What is snake casing?

A

Lowercase words separated by underscores (e.g., my_variable_name).

53
Q

What is a string constant?

A

A fixed sequence of characters, like “Hello”.

54
Q

What is a string variable?

A

A variable that holds a string (text).

55
Q

What is type safety?

A

Ensuring variables are used according to their declared type.

56
Q

What is an unnamed constant (magic number)?

A

A hard-coded value in code, like 3.14, without a descriptive name.

57
Q

What is a variable?

A

A named memory location used to store and manipulate data.

58
Q

What is an abstract step?

A

A high-level action in an algorithm, not detailing how it’s done.

59
Q

What is an algorithm?

A

A step-by-step procedure to solve a problem.

60
Q

What is a branch?

A

A decision point in an algorithm that leads to different outcomes.

61
Q

What is an infinite loop?

A

A loop that never ends because its exit condition is never met.

62
Q

What is input?

A

Data provided to a program for processing.

63
Q

What is a loop control variable?

A

A variable that determines if a loop continues or stops.

64
Q

What is a nested structure?

A

A control structure placed inside another (e.g., loop inside a loop).

65
Q

What is output?

A

Data produced and returned by a program.

66
Q

What is a pretest loop?

A

A loop that tests its condition before executing (e.g., while loop).

67
Q

What is pseudocode?

A

A simplified version of programming logic using plain language.

68
Q

What is repetition (iteration)?

A

Repeating instructions in a loop.

69
Q

What is selection?

A

Choosing different actions based on conditions (e.g., if statements).

70
Q

What is left-to-right associativity?

A

When operators of the same precedence are evaluated from left to right.

71
Q

What is a magic number?

A

A hard-coded number without context, making code harder to maintain.

72
Q

What is a named constant?

A

A named value that doesn’t change, like PI = 3.14.

73
Q

What is overhead?

A

Extra resources needed beyond what a task requires (e.g., memory or processing time).

74
Q

What are rules of precedence (order of operations)?

A

Rules determining the order in which operations are evaluated in expressions.