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
Q

What is a computer program? What is the purpose of a computer program?

A

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
Q

Computer programming is the process of:

A

the process of writing, testing, debugging / troubleshooting, and maintaining the source code of computer programs.

27
Q

sequence

A

the order in which instructions are executed

28
Q

selection

A

instructions are executed only if a specific condition is met

29
Q

iteration

A

instructions are executed repeatedly

30
Q

syntax error

A

error that occurs when incorrect word used, or incorrect punctuation

31
Q

logic error

A

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
Q

compiler

A

converts all of the code to machine language before executing

33
Q

interpreter

A

converts one line of code (i.e., instruction) at a time and immediately executes each instruction before moving to the next line

34
Q

binary

A

a

35
Q

base 10

A

b

36
Q

condition

A

c

37
Q

What is a complex condition, or a complex If statement?

A

multiple Conditions with Logical Operators (AND, OR, NOT) between them

38
Q

A computer program has these 3 fundamental pieces:

A

sequence, selection, and iteration

39
Q

When you have a ____ error, the program WILL NOT RUN, because u didn’t follow the rules of VBasic.

A

syntax

40
Q

When you have a ____ error, the Program will run, but will give you the Wrong result.

A

logic

41
Q

algorithm

A

a set of instructions for solving a problem that can used repeatedly

42
Q

what’s a byte

A

8 bits which represent one letter/number/character

43
Q

Every character/letter/number has an ASCII ____ number equivalency.

A

decimal

44
Q

What is testing?

A

you testing the code to made sure it’s correct

45
Q

What is debugging?

A

the computer looks thru your code to check for syntactical errors that break the rules of VBasic

46
Q

base 2

A

another way of saying a binary numeral system, that consists of 1’s and 0’s

47
Q

“bit” is the short-form for:

A

stands for “binary digit”

48
Q

what is a bit?

A

the basic unit of information in computing and digital communications. A bit is either a 1 or a zero.