Topic 2: Variable Naming Conventions, Data Types, and Values Flashcards

1
Q

A program consisting of interrelated statements arranged in logical and understandable form

A

Modular program

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

A small segment which is designed to perform a specific task

A

Module

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

A symbolic identifier for a memory address where data can be held

A

Variable

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

Variable _______ are used to name storage locations

A

names

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

A variable is a memory location whose contents can vary, also called an ____________

A

identifier

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

Name must be a __________, but can be formed from several words

A

single word

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

First character must be a ___________ or underscore (_)

A

letter

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

Only ______, ________, and _______ may follow the initial letter (no blanks or spaces allowed)

A

letters…digits…underscore

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

_________ cannot be used as identifiers

A

Keywords

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

Keywords are also referred to as _______ words

A

reserved

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

Ordering of data types by size

A

Data heirarchy

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

Single symbol

A

Character

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

Group of characters forming a single data item

A

Field

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

A group of related fields

A

Record

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

A group of related records

A

File

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

Collection of related files, called tables, that serve the information needs of the organization

A

Database

17
Q

Two basic data types:

A
  1. Text
  2. Numeric
18
Q

Stored by numeric variables

A

Numeric data

19
Q

Stored by string, text, or character variables

A

Text data

20
Q

Values that do not change while the program is running

A

Constants

21
Q

Used to store a value into a variable

A

Assignment Statement

22
Q

Specifies the data type and identifier of a variable

A

Declaration Statement

23
Q

It sets up the memory location

A

Declaration Statement

24
Q
A