CSP Review

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

1/56

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.

57 Terms

1
New cards

Collaboration

Working together to achieve a common goal, often used in software development to enhance creativity and efficiency.

2
New cards

Computing Innovation

A new technology or process that uses a computer program to input, process, and output data.

3
New cards

Collaboration Tools

Software that enables students and teachers to share resources effectively while working on tasks.

4
New cards

Peer Instruction

Method where students work in pairs or groups to discuss concepts and solve problems together.

5
New cards

Syntax Error

An error that occurs when the rules of a programming language are not followed.

6
New cards

Runtime Error

An error that occurs during the execution of a program that causes it to stop running.

7
New cards

Logic Error

A mistake that causes a program to behave incorrectly or produce unexpected results.

8
New cards

Overflow Error

An error that occurs when a computation exceeds the maximum limit of the data type.

9
New cards

Debugging

The process of finding and fixing errors in a program.

10
New cards

Binary Numbers

The numerical representation of data using only two digits: 0 and 1.

11
New cards

Bit

The smallest unit of information, representing a state of either 0 or 1.

12
New cards

Data Compression

The process of reducing the size of data to save space or bandwidth.

13
New cards

Lossless Compression

Compression that allows the original data to be perfectly reconstructed from the compressed data.

14
New cards

Lossy Compression

Compression that results in a loss of quality, where the original data cannot be perfectly reconstructed.

15
New cards

Data Extraction

The process of retrieving data from databases for analysis or use.

16
New cards

Algorithms

A set of instructions or steps to solve a specific problem or perform a task.

17
New cards

Data Abstraction

The concept of hiding the complex realities of data from the user.

18
New cards

Variable

A placeholder for a value that can change during program execution.

19
New cards

String

A sequence of characters used to represent text in programming.

20
New cards

Assignment Statement

A statement that assigns a value to a variable using the assignment operator.

21
New cards

Boolean Values

Values that can only be true or false, commonly used in programming logic.

22
New cards

Sequential Statements

Statements in a program that are executed one after another in order.

23
New cards

Selection Statements

Conditional statements that execute different code based on whether a condition is true or false.

24
New cards

Iterative Statements

Statements that repeat a section of code multiple times based on a condition.

25
New cards

Nested Conditionals

Conditionals that exist within other conditionals, allowing for complex decision-making.

26
New cards

Linear Search

A method for searching data by checking each element in a list sequentially.

27
New cards

Binary Search

An efficient searching method that requires sorted data, dividing the dataset in half.

28
New cards

Procedures

Defined sections of code that can be called and executed when needed.

29
New cards

Parameters

Values passed to a procedure to make it flexible and adaptable.

30
New cards

Return Statement

A statement used to end a procedure and optionally send a value back to the calling program.

31
New cards

Cybersecurity

The practice of protecting systems, networks, and programs from digital attacks.

32
New cards

Encryption

The process of converting data into a coded format to prevent unauthorized access.

33
New cards

Public Key Encryption

A type of encryption where a public key is used to encrypt data, which can only be decrypted by a corresponding private key.

34
New cards

Digital Divide

The gap between individuals who have access to modern information and communication technology and those who do not.

35
New cards

Cloud Computing

The practice of using a network of remote servers to store, manage, and process data.

36
New cards

Crowdsourcing

The practice of engaging a group of people for a common task or for solving a problem, often via the internet.

37
New cards

Open-Source Software

Software whose source code is available for modification and redistribution by anyone.

38
New cards

Data Mining

The practice of analyzing large amounts of data to discover patterns or insights.

39
New cards

Scalability

The capability of a system to handle a growing amount of work efficiently.

40
New cards

Fault Tolerance

The ability of a system to continue functioning despite failures or errors.

41
New cards

Algorithm Efficiency

A metric that measures the computational resources a given algorithm requires, focusing on time and space.

42
New cards

Heuristic Approach

A practical method not guaranteed to be optimal but sufficient for reaching an immediate goal.

43
New cards

Simulation Modeling

The use of models to replicate the behavior of systems for analysis and prediction.

44
New cards

APIs

Application Programming Interfaces; they allow different software applications to communicate with each other.

45
New cards

Random Number Generator

A program that generates a sequence of numbers that cannot be reasonably predicted.

46
New cards

Personal Data

Information that can identify an individual, such as name, address, and other identifying attributes.

47
New cards

Digital Footprint

The trail of data you leave behind when using the internet.

48
New cards

Malware

Malicious software designed to disrupt, damage, or gain unauthorized access to computer systems.

49
New cards

Phishing

A technique used to obtain sensitive information by masquerading as a trustworthy source.

50
New cards

What is the output of the following code snippet?

var x = 5;
var y = 10;
console.log(x > 3 && y < 20);

True

Explanation: The code checks if x is greater than 3 AND y is less than 20. Since both conditions are true, the output is True.

51
New cards

What is the output of the following code snippet?

var x = 15;
if (x > 10) {
    console.log("Greater than 10");
} else {
    console.log("Less than or equal to 10");
}

Greater than 10

Explanation: The code checks if x is greater than 10. Since x is 15, which is greater than 10, it prints "Greater than 10".

52
New cards

What is the output of the following code snippet?

var i = 0;
while (i < 5) {
    console.log(i);
    i++;
}

0


1


2


3


4

Explanation: The while loop prints the value of i as long as i is less than 5. i increments by 1 in each iteration.

53
New cards

What is the output of the following code snippet?

for (let num in [2, 3, 4, 5]) {
  console.log(num);
}

0


1


2


3

Explanation: The for...in loop iterates through the indices of the array. Thus, it prints 0, 1, 2, and 3. If you want the values you need a for...of loop

54
New cards

What is the output of the following code snippet?

function add(x, y) {
  return x + y;
}
console.log(add(2, 3));

5

Explanation: The function add returns the sum of its two arguments. add(2, 3) returns 5, which is then printed to the console.

55
New cards

What is the output of the following code snippet?

var str = "Hello";
console.log(str.charAt(1));

e

Explanation: charAt(1) returns the character at index 1 in the string str, which is 'e'.

56
New cards

What is the output of the following code snippet?

let a = 10;
let b = '10';
console.log(a == b)

true

Explanation: the == operator check for equal value only

57
New cards

What is the output of the following code snippet?

let a = 10;
let b = '10';
console.log(a === b)

false

Explanation: the === operator check for equal value and equal type