wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Midterm Exam - Integrative Programming and Technologies

Total questions: 76

Worksheet time: 25mins

Name
Class
Date
1.
Integrative programming mainly focuses on:
a)
Combining different software modules and technologies
b)
Writing code from scratch only
c)
Using a single programming language exclusively
d)
Avoiding external libraries
2.
Which of the following is an example of integration in modern systems?
a)
Writing a standalone C program
b)
Connecting a website to a payment API
c)
Running a command-line calculator
d)
Compiling a static library
3.
What is the main goal of integrative programming?
a)
Increase code redundancy
b)
Ensure systems can communicate and work together
c)
Create hardware-based systems
d)
Use one IDE for all projects
4.
Integrative programming is most related to:
a)
Artificial Intelligence
b)
Software Interoperability
c)
Machine Learning
d)
Database Security
5.
Middleware is best described as:
a)
A physical connector between two computers
b)
Software that connects different applications or systems
c)
A type of database system
d)
A low-level programming tool
6.
Which of the following is an example of a web-based integration?
a)
JavaScript embedded in HTML
b)
REST API communication between two web apps
c)
Local C++ file inclusion
d)
File compression
7.
The process of connecting applications via APIs is known as:
a)
Modularization
b)
Integration
c)
Compilation
d)
Emulation
8.
An advantage of integrative programming is:
a)
Reduces code maintainability
b)
Increases interoperability
c)
Decreases flexibility
d)
Limits reusability
9.
Which of the following represents integration between mobile and server applications?
a)
Using Android Studio offline
b)
RESTful API calls from a mobile app
c)
Manual data entry
d)
Printing local reports
10.
JSON and XML are often used in integration because they:
a)
Are used for arithmetic operations
b)
Enable structured data exchange
c)
Store binary files
d)
Replace databases
11.
A framework is best described as:
a)
A ready-made structure to build applications faster
b)
A simple text editor
c)
A standalone compiler
d)
A type of database
12.
Which of the following is a JavaScript framework?
a)
React
b)
MySQL
c)
Apache
d)
Eclipse
13.
Frameworks help developers by:
a)
Reducing repetitive code
b)
Making code harder to read
c)
Limiting flexibility
d)
Preventing automation
14.
A software development kit (SDK) contains:
a)
Tools and libraries for specific platforms
b)
Hardware devices
c)
Only images and icons
d)
Unrelated apps
15.
Django is a framework for:
a)
Python
b)
C++
c)
Java
d)
PHP
16.
Angular and Vue are examples of:
a)
Front-end frameworks
b)
Back-end databases
c)
Operating systems
d)
Storage systems
17.
Which of the following is NOT a framework?
a)
Laravel
b)
Flask
c)
MS Paint
d)
React
18.
Node.js is mainly used for:
a)
Server-side JavaScript
b)
Front-end design
c)
File compression
d)
Data visualization
19.
The MVC pattern stands for:
a)
Model-View-Controller
b)
Main-Variable-Class
c)
Module-Version-Control
d)
Method-View-Class
20.
Event-driven programming is based on:
a)
Responding to user or system actions
b)
Sequential data input only
c)
Looping functions only
d)
Ignoring user input
21.
A GUI stands for:
a)
Graphical User Interface
b)
General Utility Interface
c)
Global User Interaction
d)
General Usage Input
22.
A 'callback function' is:
a)
A function triggered by an event
b)
A random number generator
c)
A file input handler
d)
A system restart method
23.
Examples of GUI frameworks include:
a)
Tkinter, JavaFX, and WinForms
b)
Python Shell and CLI
c)
Linux Terminal
d)
BIOS Setup
24.
Event handlers are used to:
a)
Respond to specific user actions
b)
Delay all inputs
c)
Run code randomly
d)
Store data permanently
25.
In JavaScript, addEventListener() is used to:
a)
Attach event handlers to elements
b)
Store variables
c)
Create loops
d)
Change data types
26.
A GUI layout that adjusts automatically is called:
a)
Responsive layout
b)
Static design
c)
Manual grid
d)
Fixed template
27.
A key benefit of event-driven design is:
a)
High interactivity
b)
Low flexibility
c)
Less user control
d)
Sequential limitation
28.
In GUI systems, widgets refer to:
a)
Interface elements like buttons and labels
b)
Background processes
c)
Network drivers
d)
Compilers
29.
The main library for GUI in Python is:
a)
Tkinter
b)
NumPy
c)
Pandas
d)
Requests
30.
Component-based programming focuses on:
a)
Building applications from reusable software components
b)
Writing all code in one file
c)
Ignoring modular design
d)
Compiling without structure
31.
Components communicate using:
a)
Interfaces
b)
Comments
c)
Debuggers
d)
Loops
32.
A software component should be:
a)
Reusable and independent
b)
Hardcoded and static
c)
Large and tightly coupled
d)
Non-modular
33.
Example of component-based framework:
a)
React
b)
MS Paint
c)
CMD
d)
Excel
34.
In React, a component returns:
a)
A JSX element
b)
A binary file
c)
A string only
d)
None
35.
Advantages of component-based design include:
a)
Reusability and maintainability
b)
Redundancy
c)
Complexity
d)
Inflexibility
36.
In Next.js, components are often stored in:
a)
/components folder
b)
/system
c)
/database
d)
/root/bin
37.
Components can be classified as:
a)
Functional and Class components
b)
Static and Binary
c)
Sequential and Parallel
d)
Hardware and Software
38.
React’s main library is written in:
a)
JavaScript
b)
C++
c)
C#
d)
Java
39.
A parent component can pass data to a child using:
a)
Props
b)
Loops
c)
API
d)
Return
40.
Component lifecycle refers to:
a)
Creation, updating, and destruction of components
b)
File execution order
c)
Server uptime
d)
Hardware resets
41.
A reusable piece of UI in web apps is called a:
a)
Component
b)
Variable
c)
Thread
d)
Constant
42.
Props in React stands for:
a)
Properties
b)
Programs
c)
Processes
d)
Parameters
43.
The concept of composition in components means:
a)
Nesting components inside others
b)
Writing code in one function
c)
Randomly assigning IDs
d)
Ignoring structure
44.
One advantage of component reuse:
a)
Faster development
b)
Code duplication
c)
Slow performance
d)
None
45.
Which of the following is a component-based library?
a)
React JS
b)
HTML only
c)
Shell Script
d)
Pascal
46.
Component-based programming is best described as:
a)
A modular approach to software design
b)
Writing monolithic code
c)
Using assembly loops
d)
Ignoring structure
47.
In event-driven systems, an event loop is responsible for:
a)
Monitoring and dispatching events
b)
Drawing shapes on screen
c)
Managing file storage
d)
Counting iterations
48.
Which is a common event in GUI systems?
a)
onClick
b)
if-else
c)
for-loop
d)
return
49.
Which GUI toolkit is commonly used in Java?
a)
Swing
b)
Tkinter
c)
PyQt
d)
Electron
50.
Which of the following is an example of an event source?
a)
Button press
b)
Variable declaration
c)
Compiler warning
d)
None
51.
An IDE like Visual Studio Code belongs to which category?
a)
Development Tool
b)
Framework
c)
Library
d)
Database
52.
Which is an example of back-end framework?
a)
Express.js
b)
Bootstrap
c)
Tailwind
d)
jQuery
53.
A REST API mainly uses which protocol?
a)
HTTP
b)
FTP
c)
SMTP
d)
UDP
54.
In software development, a build tool is used to:
a)
Compile and package code
b)
Draw GUI
c)
Test network speed
d)
Run operating systems
55.
Continuous Integration tools include:
a)
Jenkins and GitHub Actions
b)
MS Paint and Notepad
c)
Photoshop and Illustrator
d)
Discord and Slack
56.
A version control system example is:
a)
Git
b)
Postman
c)
Excel
d)
Word
57.
Event bubbling refers to:
a)
Event propagation from child to parent element
b)
Data encryption
c)
Server crash
d)
Variable assignment
58.
Which event is triggered when a key is pressed?
a)
onKeyDown
b)
onLoad
c)
onResize
d)
onSubmit
59.
GUI elements like menus and buttons are part of the:
a)
User interface layer
b)
Database layer
c)
Compiler
d)
Network layer
60.
A framework that supports MVC structure is:
a)
Laravel
b)
Notepad
c)
WinRAR
d)
Chrome
61.
In React, state is used to:
a)
Manage dynamic data in a component
b)
Create static constants
c)
Handle file paths
d)
Connect APIs
62.
What is the purpose of props in React?
a)
Pass data between components
b)
Store user credentials
c)
Handle HTTP requests
d)
None
63.
React components should always return:
a)
JSX elements
b)
JSON data
c)
Database queries
d)
Binary data
64.
Virtual DOM in React improves performance by:
a)
Minimizing real DOM updates
b)
Creating multiple servers
c)
Encrypting files
d)
Removing components
65.
Which of these is NOT part of event-driven programming?
a)
Polling for input manually
b)
Responding to user input
c)
Using event listeners
d)
Triggering callbacks
66.
What does ‘setState’ do in React?
a)
Updates the component’s state
b)
Deletes components
c)
Creates new CSS files
d)
Refreshes browsers
67.
GUI events are processed by:
a)
Event loop
b)
File reader
c)
API gateway
d)
Database
68.
Which framework is best known for single-page applications?
a)
Angular
b)
PHP
c)
Flask
d)
C++
69.
What is the output of combining multiple frameworks?
a)
Integrated system
b)
Single function
c)
HTML comment
d)
None
70.
An IDE commonly used for Java development is:
a)
Eclipse
b)
PyCharm
c)
VS Code
d)
Dreamweaver
71.
Which of the following is used for styling React components?
a)
CSS
b)
SQL
c)
JSON
d)
XML
72.
In an event-driven system, user input acts as:
a)
Trigger
b)
Handler
c)
Component
d)
Return type
73.
React hooks allow:
a)
Functional components to use state
b)
Changing database engines
c)
Adding new file systems
d)
Compiling C++ code
74.
Frameworks provide:
a)
Reusable templates and tools
b)
Manual memory allocation
c)
Randomized loops
d)
Custom OS builds
75.
Which is NOT an event in GUI programming?
a)
onCompile
b)
onClick
c)
onHover
d)
onSubmit
76.
Component-based programming improves:
a)
Code reusability
b)
Hardcoding
c)
Memory leaks
d)
Syntax errors