Cobol Flashcards

1
Q

COBOL Stands for

A

Common Business-Oriented Language

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

What level of programming language is Cobol

A

high-level programming language

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

It is used to develop business-oriented applications

A

COBOL

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

Features of COBOL

A
  1. Standard Language
  2. English Like Language
  3. Scalable and reliable
  4. Platform Independent
  5. Robust Language
  6. Structured Programming Capacity
  7. Excellent File and DB handling
  8. Object Oriented Programming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

She was a computer pioneer and naval officer.

A

Grace Brewster Murray Hopper

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

Grace Brewster Murray Hopper is best known for ____________

A

trailblazing contributions to computer programming, and software development.

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

CODASYL stands for

A

Conference of Data Systems Languages

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

It aimed to develop a common business language that could be used across industries and sectors.

A

Conference of Data Systems Languages (CODASYL)

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

In what year does Hopper took part in the Conference of Data Systems Languages (CODASYL)?

A

1959

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

MILESTONES IN ORDER

A
  1. 1958
  2. 1959
  3. 1960
  4. 1961
  5. 1965-1985
  6. 1986-2018
  7. 2022
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

MILESTONE: High-level business data processing language.

A

1958

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

MILESTONE: The final draft of the first specification was completed

A

1959

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

MILESTONE: Release with some minor modifications in April 1960

A

1960

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

MILESTONE: COBOL - 61 was published with some more revisions

A

1961

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

MILESTONES: ANSI approves COBOL as the standard language for

A

1965-1985

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

MILESTONE: Objective-oriented programming, web support, etc.

A

1986-2018

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

MILESTONE: IBM Enterprise COBOL for z/IOS 6.4 that supports the latest z16

A

2022

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

IDE FOR COBOL

A

COBOL
VS Code
JDoodle

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

COBOL is the ___________ of business computing

A

BACKBONE

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

BASIC SYNTAX

A
  1. Character Set
  2. Character Strings
  3. Literal
  4. COBOL Word
  5. User-Defined
  6. Reserved Words
  7. Special Characters
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

are lowest in the hierarchy and they cannot be divided further

A

character set

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

A-Z Alphabets

A

Upper Case

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

a-z alphabets

A

lower case

24
Q

20 characters

A
  1. A-Z Alphabets (Upper Case)
  2. a-z Alphabets (Lower Case)
  3. 0-9
  4. Space
    • Plus Sign
    • Minus Sign
    • Asterisk
  5. / Forward Slash
  6. $ Currency Sign
  7. , Comma
  8. ; Semicolon
  9. . Decimal Point
  10. ” Quotation Marks
  11. ( Left Parenthesis
  12. ) Right Parenthesis
  13. > Greater than
  14. < Less than
  15. : Colon
  16. ’ Apostrophe
  17. = Equal
25
are formed by combining individual characters.
character strings
26
is a character-string that can contain any combination of characters from the character set of the computer. It has no effect on the execution of the program.
comment
27
How to comment
* or /
28
is a constant that is directly hard-coded in a program.
literal
29
two Types of literals
1. Non-Numeric Literal 2. Numeric Literal
30
are enclosed in quotes or apostrophes. Length can be up to 160 characters.
Non-Numeric Literals
31
is a combination of digits from 0 to 9, +, -, or decimal point. Length can be up to 18 characters.
Numeric Literal
32
is a character string that can be a reserved word or a user-defined word. Length can be up to 30 characters.
COBOL Word
33
are used for naming files, data, records, paragraph names, and sections.
User-defined
34
are predefined words in COBOL.
Reserved words
35
Example of Keywords in COBOL
ADD, ACCEPT, MOVE
36
2 Operators
Arithmetic Operators and Relational Operators
37
ZERO, SPACES, HIGH-VALUE, LOW-VALUE
Figurative Constants
38
4 Data Types
1. Level Number 2. Data Name 3. Picture Clause 4. Value Clause
39
Level Number and Description: 01
Record description entry
40
Level Number and Description: 02 to 49
Group and Elementary items
41
Level Number and Description: 66
Rename Clause items
42
Level Number and Description: 77
Items which cannot be subdivided
43
Level Number and Description: 88
Condition name entry
44
Enumerate Level Numbers:
01 02 to 49 66 77 88
45
Enumerate Picture Clause Symbols:
9 A X V S P
46
PICTURE CLAUSE: 9
Numeric
47
PICTURE CLAUSE: A
Aphabetic
48
PICTURE CLAUSE: X
Alphanumeric
49
PICTURE CLAUSE: V
Implicit Decimal
50
PICTURE CLAUSE: S
Sign
51
PICTURE CLAUSE: P
Assumed Decimal
52
Cobol Program Structure 4 Divisions:
Identification Division Environment Division Data Division Procedure Division
53
Program Name
IDENTIFICATION DIVISION
54
- Describes the hardware the program is running on - Briefly describes the data files
ENVIRONMENT DIVISION
55
- Defines all data - Files and working storage
DATA DIVISION
56
Logic of the program
PROCEDURE DIVISION