Qs Flashcards

(31 cards)

1
Q

Counted loops
vs
Conditional loops

A

Counted loops: Execute for a fixed number of times (for loop)

Conditional loop: Executed unknown number of times (while and do-while loop)

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

Program
vs
Algorithm

A

Program: A set of instructions for the computer to follow

Algorithm: A sequence of steps/instructions to complete a task

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

Internet
vs
WWW

A

Internet: A global network of connected computers. (also can be accessed without a browser (ex. Skype))

WWW: Is a small part of the internet, web browser needed to access

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

CPU
Motherboard
GPU

A

CPU: Considered the “brain” of the computer. Performa processing

Motherboard: Considered the “nervous system” of the computer, transfers data

GPU: Allows data to be output to a display device

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

Primary storage
vs
Secondary storage

A

Primary storage: Short-term
(RAM)

Secondary storage: Long-term (typically external)
(CD, DVD)

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

System software
vs
Application software

A

System software: Operating System that controls and maintains the hardware

Application software: Solves problems or performs tasks for the user

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

Internet

A

A global network of connected computers

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

LAN

A

A network within a building or small area

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

Argument

A

A value passed to a function

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

Server

A

A computer that exists to serve networked computers

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

Input

A

Data going into a computer

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

Function

A

A block of code that is given a name, return type, and list of parameters

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

Boolean

A

An expression that evaluates true’ or ‘false’

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

Motherboard

A

The “nervous system” of the computer, holds the main circuitry

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

Iteration

A

The term for a single repetition of a loop

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

Any for loop can be written as a while loop

17
Q

Any while loop can be written as a for loop

18
Q

Syntax error

A

An error such as a missing/misplaced symbol or keyword

19
Q

While loop
vs
Do-While loop

A

Both are conditional loops that run if a boolean is ‘true’.

A while loop has condition at beginning and may never run

A do-while loop has condition at the end of the loop, guaranteed to execute once

20
Q

Every if statement should include an ‘else’ section

21
Q

Describes accessibility or range of existence of a variable

22
Q

The term for a symbol indicating an operation to be performed on data

23
Q

A while statement should never end with a semi-colon

24
Q

When rounding a value down using the floor() function, the decimal part is truncated

25
The term for a value that is acted upon by an operator
Operand
26
A set of high speed data connections and switches that join major networks all over the world
Internet backbone
27
Computers follow and execute instructions that have been translated into this
Machine language
28
Input devices
* Mouse * Keyboard * Scanner * Microphone
29
Output Devices
* Printer * Monitor * Speaker
30
Processing devices
CPU, Motherboard, GPU, RAM, ROM
31
Storage devices
CDs, DVDs, Floppy disks, Hardrive