Computer Science Midterm Review

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

1/69

flashcard set

Earn XP

Description and Tags

Flashcards based on Computer Science Midterm Review Guide

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

70 Terms

1
New cards

What is a variable?

A value that can be changed; containers for holding data like numbers, words, etc.

2
New cards

Define 'input' in the context of programming.

Data that is being entered and sent to a program.

3
New cards

What is 'output' in programming?

Data that a program shows based off of the code written in it or the input received.

4
New cards

What is string concatenation?

The operation of joining strings together.

5
New cards

What is a String?

Characters that are usually in double quotes.

6
New cards

What is a Boolean?

A true or false value.

7
New cards

What is a Numeric variable?

A number value.

8
New cards

What does it mean to 'execute' code?

To run code.

9
New cards

What is a code segment?

A piece of code.

10
New cards

Define 'display' in programming.

What is printed on the stage.

11
New cards

What is the MOD operator?

An operator that returns the remainder of a division, after one number is divided by another.

12
New cards

Expand the acronym PEMDAS.

Parentheses, Exponents, Multiply / Divide, MOD, Add / Subtract

13
New cards

What does 'assigning a variable' mean?

To give a variable a value; you can change what it holds at any time.

14
New cards

Define Abstraction.

Simplifies the details of how computers work.

15
New cards

What is an Element?

An individual value in a list.

16
New cards

What is an Index?

The number used to access a specific element of a list.

17
New cards

What is the Length of a list?

The number of elements in a list.

18
New cards

What is Sequencing?

The order in which instructions are performed in an algorithm.

19
New cards

What is an Algorithm?

A set of steps or instructions used to complete a task.

20
New cards

What is Iteration?

Repetition of a process.

21
New cards

What is Selection?

When code is only run if a condition is met.

22
New cards

What is the Purpose of a program?

The intended goal of a program, such as to inform, entertain, or solve a problem.

23
New cards

What is Functionality of a program?

How a program actually works; the steps taken to complete the process.

24
New cards

What is a Procedure?

A list of instructions that can simplify code and can be easily reused.

25
New cards

What is a Parameter?

A variable that lives in a procedure and takes input; used when defining a procedure.

26
New cards

What are arguments?

Inputs when you call a procedure; they are actual values rather than just placeholders.

27
New cards

What does Static mean in coding?

A code segment that stays the same.

28
New cards

What does STR stand for?

String

29
New cards

What happens when you are Defining a Procedure?

This is when a procedure is being set up and defining what you want the procedure to do.

30
New cards

What is a Parameter?

An input to your procedure that lets our procedure do something with it.

31
New cards

What does 'Calling a Procedure' mean?

This is when code tells the computer to run the procedure / run the set of instructions. Think of it as a placeholder.

32
New cards

What is a Logical Operator?

Not, And, Or. Evaluate to a boolean value.

33
New cards

What is a Boolean Value?

A data type that is either true or false.

34
New cards

What is a Relational Operator?

Used to test the relationship between two variables. The condition must be a boolean value.

35
New cards

What does dynamic mean in coding?

A program / code that can have different outcomes whenever it is run.

36
New cards

What does Return mean in coding?

This is what will happen after a program runs.

37
New cards

What does Int stand for?

Integer / Number

38
New cards

How does AND work as a Conditional?

Evaluates to true if both values are true; otherwise evaluates to false.

39
New cards

How does OR work as a Conditional?

Evaluates to true if one or both of the values are true. If both values are false, it evaluates to false.

40
New cards

How does NOT work as a conditional?

Evaluates to true if value is false; otherwise evaluates to false.

41
New cards

What is an If Statement?

Allows a program to behave differently based on one or more conditions. It must be true or false.

42
New cards

What is a Repeat Until loop?

A specific chunk of code will be repeated until the boolean expression evaluates to true.

43
New cards

What is Lossy Compression?

Reduces file size by permanently removing some of the original data. The file cannot be restored to its original form.

44
New cards

What is Lossless Compression?

Reduces file size by removing unnecessary metadata. The file can be restored to its original form.

45
New cards

What is Data?

Facts, values, and descriptions. Information is data converted into a meaningful and useful context for decision making.

46
New cards

What is an Else Statement?

When the program needs a second outcome, else statements are used.

47
New cards

What is Metadata?

Data that describes other data.

48
New cards

What is a bit?

A binary digit (bit) is the minimum unit of binary info stored in a computer.

49
New cards

Define Decimal.

A system for representing numbers, using combinations of the digits 0 - 9.

50
New cards

Define a Byte.

One byte is equivalent to eight bits.

51
New cards

What is Phishing?

A technique that attempts to trick a user into providing personal info. This technique can be used to access sensitive information like bank accounts, emails, etc.

52
New cards

What is Keylogging?

A program that records every keystroke made on a computer. Can be used to find out passwords and logins.

53
New cards

What is Malware?

Software that is made to damage a computing system.

54
New cards

What is Multi factor Authentication?

A system that requires multiple steps in order to login to an account or access personal information.

55
New cards

What is a Computing Network?

A group of interconnected devices that are capable of sending or receiving data.

56
New cards

What is a Packet?

A chunk of data sent over a network. Larger messages are divided into packets that may arrive at the destination in order, out-of-order, or not at all.

57
New cards

What is Redundant Routing?

When there are multiple ways that data can get from one device to another. This is helpful in case one device fails.

58
New cards

What does Fault Tolerant mean?

When your internet system can handle devices failing and work fine. Even if a device goes down, packets can still travel from sender to receiver.

59
New cards

What is a Rogue Access Point?

An unauthorized Wi-Fi access point connected to a network without the knowledge or permission of the network administrator

60
New cards

What is Encryption?

scrambling a plain message with a key to become hidden/unreadable

61
New cards

What is Decryption?

unscrambling a hidden message to be readable

62
New cards

What is Symmetric Encryption?

using the same key to encrypt and decrypt

63
New cards

What is Asymmetric/Public Key Encryption?

using a recipients public key to encrypt and the recipients private key to decrypt

64
New cards

Define the Internet.

A computer network consisting of interconnected networks that use standardized, open (nonproprietary) communication protocols.

65
New cards

What is Packet Switching?

when packets are sent over different routers depending on which way is fastest, (switch patch based on traffic and needs)

66
New cards

What is Scalability in regards to the internet?

The internet is scalable or can easily grow to accommodate all the new people using it every year

67
New cards

What is an IP Address?

The address given to each device when connected to a network. Even website gets IP addresses because they are hosted on servers(another type of device)

68
New cards

What is DNS (Domain Name System)?

like the phonebook of the internet. It gives IP addresses for websites their names. Instead of typing 157.240.208.174 to go to Instagram, we can type Instagram.com and DNS will send us to the right IP address

69
New cards

What is IPv4?

This version of IP addresses uses 32 bits to represent an IP address

70
New cards

What is IPv6?

This version of IP addresses use 128 bits (we have this because we are running out of IP addresses with IPv4 because so many people connected to the internet).