Computers and Programs Flashcards

1
Q

Machine Instructions

A

Represented as 0s and 1s

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

Executable Program

A

Sequence of machine instructions

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

High-Level Languages

A

More closely related to human thought than machine instructions

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

Compiler

A

Program that automatically translates high-level languages into low-level executable programs

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

Computer Program

A

Consists of instructions that a computer executes

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

Code

A

Textual representation of a program

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

Variable

A

Represents a memory location used to store data

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

Assignment Statement

A

Assigns (stores) the right-side’s current value into the variable on the left side
Uses =

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

Expression

A

Combination of items (number, variable name, literal, operator, or a calculation)

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

Identifier

A

Name created by a programmer for a variable or function

Sequence of letters (a-z, _) and digits (0-9). Must start with a letter.

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

Reserved Word

A

aka keyword

Word that is part of the language and can’t be used as an identifier

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

Camel Case

A

Capitalize each word

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

Underscore Separated

A

Lowercase words separated by an underscore

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

Literal

A

Specific value

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

Function

A

List of statements executed by referring to function’s name (function call)

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

Argument

A

Input value appearing between parentheses for a function

17
Q

Debugging

A

aka Troubleshooting

Determining and fixing the cause of a problem in a computer program

18
Q

Style Guide

A

Style for writing code followed by a company or team

19
Q

Algorithm

A

Sequence of steps for solving a problem

20
Q

Recursive Algorithm

A

Solves a problem by breaking them into subproblems, solving the subproblems and combining the solutions