WorksheetsINTRO TO PROGRAMMING LANGUAGE_PART 1
Total questions: 10
Worksheet time: 5mins
Name
Class
Date
1.
What is a programming language?
a)
A human spoken language
b)
A language used to write documents
c)
A set of rules and keywords used to instruct a computer
d)
A language for designing graphics
2.
Which of the following is an example of a first-generation language?
a)
Java
b)
C++
c)
Assembly
d)
Machine Language
3.
What is the main advantage of Second Generation Language over First Generation Language?
a)
Does not require a translator
b)
Uses binary codes only
c)
Easier to remember due to mnemonic codes
d)
Faster processing
4.
Third-generation languages are also known as:
a)
Non-procedural languages
b)
Machine languages
c)
Symbolic languages
d)
Procedural languages
5.
SQL is an example of a:
a)
Third Generation Language
b)
Fourth Generation Language
c)
Fifth Generation Language
d)
Second Generation Language
6.
What is the key advantage of a Fifth Generation Language?
a)
Faster machine processing
b)
Hardware-dependent
c)
Almost machine-independent
d)
Requires system knowledge
7.
What is the correct definition of a program?
a)
Unsaved code
b)
A sequence of step-by-step instructions for the computer
c)
A hardware component
d)
Instructions for an operating system
8.
Which translator processes code line by line?
a)
Compiler
b)
Linker
c)
Interpreter
d)
Assembler
9.
Which of the following is not a programming concept?
a)
Procedural
b)
Object-Oriented
c)
Event-Driven
d)
Binary-Coded
10.
What is the main function of an event listener in event-driven programming?
a)
Reorganize program code
b)
Generate new instructions
c)
Detect and respond to events
d)
Automatically fix errors
100 %
