Font size
WorksheetsIntegrative Programming Quiz 1
Total questions: 40
Worksheet time: 26mins
Programming is best described as
the use of hardware components to run applications
writing instructions that guide a computer to perform tasks
translating machine code into human language
designing graphical user interfaces
Which statement best explains why different programming languages exist?
All computers require different binary formats
Languages evolved randomly over time
Different tasks and fields require different approaches and features
High-level languages replaced all low-level languages
A programming language primarily serves as
a replacement for hardware
a direct form of machine code
a communication medium between humans and computers
an operating system component
Which programming approach was dominant during the 1940s?
Object-oriented programming
High-level programming
Assembly language
Machine language
What major improvement did high-level languages introduce in the 1950s–1960s?
Direct CPU control
Binary instruction execution
Easier coding for scientific and engineering tasks
Elimination of hardware dependency
Which decade introduced structured programming principles?
1950s
1960s
1970s
1980s
Languages like C++ became popular mainly because they
removed the need for hardware knowledge
supported object-oriented programming concepts
were dynamically typed
were designed for scripting
Which feature is most associated with scripting languages of the 1990s?
Strict memory control
Machine dependency
Productivity and readability
Hardware-level execution
JavaScript is categorized in the module as a
machine-level language
dynamically-typed language for web development
natural language
procedural-only language
Rust and Kotlin gained popularity mainly to address
graphics rendering
database management
memory safety and modern paradigms
scripting efficiency
Which generation of programming language directly uses binary instructions?
Second
Third
First
Fifth
The Op-Code in machine language tells the computer
where data is stored
what operation to perform
how much memory to allocate
which language to execute
A major limitation of machine language is that it is
machine independent
readable and flexible
easy to debug
error-prone and difficult to modify
Assembly language improves on machine language mainly by
removing the need for translation
introducing natural language commands
using mnemonics instead of binary
being non-procedural
Which program converts assembly language into machine code?
Compiler
Interpreter
Translator
Assembler
Despite its advantages, assembly language still requires
no hardware knowledge
machine independence
understanding of hardware architecture
natural language input
High-level languages are also known as
machine-oriented languages
hardware-specific languages
problem-oriented languages
non-procedural languages
Which is a limitation of high-level languages according to the module?
Difficult to learn
High error rate
Lack of flexibility
Machine dependence
Fourth-generation languages (4GLs) are best described as
procedural and hardware-based
non-procedural and tool-driven
low-level and CPU dependent
purely AI-based
Which of the following is NOT listed as a 4GL tool?
DBMS
Report Generators
Query Languages
Assemblers
Fifth-generation languages primarily aim to
replace all previous languages
control hardware directly
enable human-like intelligence in computers
improve compiler speed
Which language is an example of a 5th generation language?
Python
C
Prolog
Java
Batch processing is most suitable when
immediate response is required
data must be processed instantly
tasks can be processed at scheduled intervals
user interaction is constant
A key characteristic of batch processing is
minimal latency
real-time feedback
processing data individually
processing data in large groups
Which scenario best represents batch processing?
Monthly payroll calculation for all employees processed overnight
Live chat application delivering instant messages
Interactive ATM transaction processing per customer
Real-time stock trading updates pushed to users
Real-time processing is critical in applications that require
delayed outputs
scheduled execution
immediate system response
large batch storage
Compared to batch processing, real-time processing usually handles
larger datasets
smaller, rapidly changing data
only offline data
historical records
Which system is an example of real-time processing?
End-of-day sales reports
Payroll systems
IoT sensor monitoring
Monthly billing statements
Latency in batch processing is generally
minimal
unpredictable
higher
nonexistent
Which statement correctly compares batch and real-time processing?
Both process data only at scheduled times
Batch processing prioritizes speed over volume
Real-time processing emphasizes immediate results
Real-time processing is best for large historical datasets
It is the process of writing instructions for a computer to perform specific tasks or solve problems.
(a)
A set of rules and syntax that allows humans to communicate instructions to a computer.
(a)
The first high-level programming language designed for scientific and engineering applications.
(a)
The part of a machine language instruction that specifies the operation to be performed.
(a)
The low-level language that uses mnemonics instead of binary and requires an assembler for translation.
(a)
A program that translates assembly language into machine code.
(a)
Programming languages that are also known as problem-oriented or procedure-oriented languages.
(a)
The type of processing where tasks are grouped and executed at scheduled intervals without user interaction.
(a)
The type of processing that handles data immediately as it is generated, requiring minimal latency.
(a)
A fifth-generation programming language focused on artificial intelligence and logical reasoning.
(a)
