Computer Science and Coding Flashcards

1
Q

What is a computer?

A

A computer is a portable library, a device that stores and process information. It preforms complicated problems and organizes and solves information.

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

What is computer science?

A

Computer science is the study of computers and how computer technology can be used to solve problems.

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

What is a computing system?

A

A computing system is the hardware and software that work together to make a computer run.

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

What is hardware?

A

Hardware is the body of the computer. Hardware is everything you can see and touch.

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

Name 4 pats of external hardware

A

Monitor, keyboard, mouse, and tower.

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

Name 4 parts of internal hardware.

A

Power source, motherboard, CPU, 24 prong cord.

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

Variable

A

A placeholder. A container used for storing a value.

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

Identifier

A

The name of the variable

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

Value

A

The definition or the information that the variable contains.

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

Declare

A

To create a variable within a program by giving it a name.

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

Assignment operator

A

The = symbol, which assigns values to variables.

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

What are the rules for naming variables

A
  1. Should be short and clear.
  2. Must begin with a letter of the alphabet.
  3. No spaces
  4. No special characters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a string?

A

A string is a type of variable that can store any kind of character, including special characters. They are placed inside quotation marks.

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

What is a numeric value?

A

This is anything to do with math or numbers. For example: Integers, whole numbers, and decimals.

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

What is a Boolean value?

A

A Boolean variables can only be true or false

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

What is an array?

A

A list of information.

17
Q

What is the difference between an identifier and a value?

A

“The identifier is the name of the variable and doesn’t change, but the value is the data stored in the location designated by the variable and can change often.