Test1 Flashcards

1
Q

I.P.O.S. stand for ___.

A

Input Process Output Storage

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

Your computer monitor, or a printer, are examples of: [I.P.O.S.].

A

Output

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

What is another name for Boolean logic?

A

Conditional logic

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

What’s another name for Conditional logic?

A

Boolean logic

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

A user provides Input. We need to save that input into memory. How do we reserve memory? It’s reserved as a ____. A ____ is a piece of memory.

A

VARIABLE

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

A Variable has these 2 components:

A
  1. a Name; and 2. a Datatype
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

List the kinds of Datatypes:

A

Boolean, Double, Integer, String

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

Describe a Double Datatype

A

a number with a decimal point or exponent, e.g. 1.2, or 3.1e5

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

Simple True/False logic is referred to as ___ Logic.

A

Boolean; or Conditional

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

A datatype that has decimals in it, is called a ___.

A

Double

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

A datatype that consists of a T or Fals, is called a ___.

A

Boolean

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

A datatype that consists of a number without decimals in it is called a ___.

A

Integer

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

A datatype that consists of a series of characters is called a ____.

A

String

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

Describe a Integer Datatype

A

a number with no decimals in it

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

Describe a Boolean Datatype

A

a simple Tru/Fals

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

Describe a String Datatype

A

a series of characters, or a combo of characters And numbers. (e.g., a phone number with hyphens in it; a street address)

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

_____ are words/phrases that are banned for use as Variable names. Examples include: “if”; “then”; “end if”

A

reserved words

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

What is a reserved word?

A

word/phrase that is banned for use as Variable names.

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

In if/then statements, the stuff written inside parentheses () are a ____.

A

condition

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

List all the relational operator(s):

A

greater than greater than or equal to equal to not equal to less than less than or equal to

21
Q

The symbols for “not equal to”, “less than or equal to”, “equals to”, “greater than”, are examples of ____.

A

relational operators

22
Q

What is the basic format you follow to write a condition?

A

“value1 relationalOperator value2”

23
Q

OR, AND, NOT are examples of ____.

A

logical operators

24
Q

Give examples of logical operators:

A

OR AND NOT

25
What is a computer program? What is the purpose of a computer program?
Instructions for the computer written in a vocabulary the computer understands; Program gives instructions to the computer in order to produce a desired OUTCOME/ RESULT.
26
Computer programming is the process of:
the process of writing, testing, debugging / troubleshooting, and maintaining the source code of computer programs.
27
sequence
the order in which instructions are executed
28
selection
instructions are executed only if a specific condition is met
29
iteration
instructions are executed repeatedly
30
syntax error
error that occurs when incorrect word used, or incorrect punctuation
31
logic error
syntax is correct, but when it executes you don’t get the result you want because of an error in the logic of your program. Syntax is technically correct, so the Program will run, but will give you the Wrong result.
32
compiler
converts all of the code to machine language before executing
33
interpreter
converts one line of code (i.e., instruction) at a time and immediately executes each instruction before moving to the next line
34
binary
a
35
base 10
b
36
condition
c
37
What is a *complex condition*, or a *complex If* statement?
multiple Conditions with ***Logical* Operators** (AND, OR, NOT) between them
38
A computer program has these 3 fundamental pieces:
sequence, selection, and iteration
39
When you have a ____ error, the program WILL NOT RUN, because u didn’t follow the rules of VBasic.
syntax
40
When you have a ____ error, the Program will run, but will give you the Wrong result.
logic
41
algorithm
a set of instructions for solving a problem that can used repeatedly
42
what's a byte
8 bits which represent one letter/number/character
43
Every character/letter/number has an ASCII ____ number equivalency.
decimal
44
What is testing?
you testing the code to made sure it’s correct
45
What is debugging?
the computer looks thru your code to check for syntactical errors that break the rules of VBasic
46
base 2
another way of saying a binary numeral system, that consists of 1's and 0's
47
"bit" is the short-form for:
stands for "binary digit"
48
what is a bit?
the basic unit of information in computing and digital communications. A bit is either a 1 or a zero.