Computer Fundamentals Questions and Answers – COBOL Basics

«
»

This set of Computer Fundamentals Multiple Choice Questions & Answers (MCQs) focuses on “COBOL Basics”.

1. COBOL stands for _________
a) Common Business Oriented Language
b) Common Business Object Language
c) Common Beneficial Oriented Language
d) Common Beneficial Object Language
View Answer

Answer: a
Explanation: COBOL stands for Common Business Oriented Language. It is designed for business purpose. It is fast and relatively simple to learn.

2. COBOL is a language that keeps evolving.
a) True
b) False
View Answer

Answer: a
Explanation: The statement is true. COBOL has billions of lines of existing code with more added each year. It thus keeps updating itself.

3. Which of the following is not a part of the program division in COBOL?
a) Identification
b) Environment
c) Procedure
d) Compilation
View Answer

Answer: d
Explanation: COBOL has 4 basic parts in the division section: Identification, Environment, data and procedure. Each program is organized like a book.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!
advertisement
advertisement

4. Which of the following is not a part of the Identification division?
a) Paragraphs
b) Entries
c) Phrases
d) Clauses
View Answer

Answer: c
Explanation: The order of identification division is:
Paragraphs
Entries
Clauses.

5. D in COBOL stands for _________
a) Data
b) Draft
c) Debugger
d) Debugging lines
View Answer

Answer: d
Explanation: It stands for debugging lines. Compiler fills in with the sequence numbers. There are certain coding rules that must be followed in COBOL.

6. Comment in COBOL is denoted by ________
a) *
b) /
c) //
d) ;
View Answer

Answer: a
Explanation: Comment is denoted by asterisk. (*) It denotes the comment line. Hyphen – denotes continuation.

7. The data division is used to ________
a) Declare program id
b) Declare variables
c) File control
d) Input-Output section
View Answer

Answer: b
Explanation: The data division is used to declare and create variables and constant fields. There are 3 basic data types in COBOL.
advertisement

8. Which is not a data type in COBOL?
a) numeric
b) alphanumeric
c) alphabetic
d) float
View Answer

Answer: d
Explanation: There is no data type called as float in COBOL. It has only 3 basic data types: numeric, alphabetic and alphanumeric. Variables are created in the data division.

9. What does S denote in a picture clause?
a) A symbol
b) A character
c) A sign
d) Alphanumeric sign
View Answer

Answer: c
Explanation: It denotes a sign in a picture clause. Picture clause values usually use 9, X, V, S, A.
advertisement

10. _____________ denotes the format in which data is stored in memory.
a) kind
b) attach
c) select
d) usage
View Answer

Answer: d
Explanation: Usage denotes the format in which data is stored in the memory. Normally the phrase usage is omitted in COBOL.

Sanfoundry Global Education & Learning Series – Computer Fundamentals.

To practice all areas of Computer Fundamentals, here is complete set of 1000+ Multiple Choice Questions and Answers.

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.