NEW
Font size
S
M
L
XL
WorksheetsFlareup CSI
Total questions: 30
Worksheet time: 30mins
Name
Class
Date
1.
A user enters "http://example.com" in their browser's address bar. What protocol is the browser using to retrieve the webpage?
a)
File Transfer Protocol (FTP)
b)
HyperText Transfer Protocol (HTTP)
c)
Secure Socket Layer (SSL)
d)
Domain Name System (DNS)
2.
On a webpage you need to preserve multiple consecutive spaces between words but browsers tend to collapse them into a single space. Which HTML entity would you use to ensure these spaces are rendered properly especially for maintaining alignment or specific formatting?
a)
Use regular space
b)
Use <br> tags
c)
Use
d)
Use CSS padding
3.
You're managing a website and your users frequently receive emails that look like they're from your company but aren't. What security vulnerability should you be most concerned about?
a)
Phishing
b)
Cross-site scripting
c)
SQL injection
d)
Man-in-the-middle attack
4.
You're developing a program that processes user input. Before sending data over a network you want to ensure it’s protected against third-party interception. What should you use to secure the data?
a)
Firewall
b)
Encryption
c)
DNS lookup
d)
Data redundancy
5.
Your program continuously checks the temperature from a sensor and reacts only when the temperature falls below a certain threshold. What type of loop are you using to implement this behaviour?
a)
For loop
b)
Infinite loop
c)
Do-while loop
d)
While loop
6.
Why is low power consumption a crucial feature for IoT devices particularly those deployed in remote areas?
a)
It enables faster data transmission
b)
It extends device operational lifespan without maintenance
c)
It improves processing speed
d)
It allows larger data storage on the device
7.
You are writing a program that calculates payroll for a company. Before the program can be run on a computer you need to translate the code into something the computer can execute directly. What is this process called?
a)
Parsing
b)
Compiling
c)
Debugging
d)
Linking
8.
While creating a program in Python you define a structure that contains both data and functions. Later you create several different variables that use this structure. What are you working with?
a)
Class and Object
b)
Function and Variable
c)
Method and Instance
d)
Array and List
9.
In machine learning what is the primary distinction between supervised and unsupervised learning tasks?
a)
Supervised learning requires labelled data
b)
Supervised learning uses clustering unsupervised uses classification
c)
Supervised learning is faster than unsupervised learning
d)
Supervised learning does not use training data while unsupervised does
10.
When training a machine learning model what is the role of a 'loss function'?
a)
It tracks the learning rate of the model
b)
It measures the difference between predicted and actual values
c)
It tunes the model's weights
d)
It determines the size of the dataset required for training
11.
Imagine you are designing an immersive training program for surgeons that allows them to practice virtual surgeries in a 3D environment. Which technology would you most likely use to create this environment?
a)
Augmented Reality (AR)
b)
Virtual Reality (VR)
c)
Mixed Reality
d)
Holographic Projection
12.
You are tasked with writing software for a self-driving car where split-second decision-making is critical. Which type of programming concept ensures the fastest real-time responses?
a)
Multithreading
b)
Recursive functions
c)
Batch processing
d)
Event-driven programming
13.
You have a script in your HTML that loads a lot of JavaScript potentially delaying page rendering. To improve user experience especially for slow connections which attribute would you add to the script tag to ensure HTML content is fully parsed before the script executes?
a)
async
b)
defer
c)
src
d)
type
14.
In CSS when designing a webpage with text elements that could potentially overflow their containers due to long words or URLs which specific property would you apply to ensure that the text breaks appropriately without disrupting the overall layout? Consider the impact this property might have on user experience and readability as the text flows within its container.
a)
white-space: nowrap
b)
overflow: hidden
c)
word-wrap: break-word
d)
text-overflow: ellipsis
15.
In autonomous navigation a robot uses SLAM (Simultaneous Localization and Mapping). What challenge does SLAM address?
a)
Avoiding obstacles in real-time
b)
Creating a map of an unknown environment while keeping track of its location within it
c)
Coordinating movements with other robots
d)
Reducing power usage during navigation
16.
Smart contracts in blockchain technology enable automated execution of agreements without intermediaries. They can enforce terms once specified conditions are met. Which statement best describes a smart contract?
a)
A self-executing contract where terms are written directly into code
b)
A traditional legal agreement stored on a blockchain
c)
A blockchain protocol for securing user identities
d)
A method of compressing transaction data
17.
When transferring files securely over the internet it’s crucial to choose a protocol that safeguards both commands and data from interception or tampering. Which file transfer protocol provides this security ensuring data integrity during transfer?
a)
HTTP
b)
SFTP
c)
SSH
d)
SCP
18.
In a cybersecurity context imagine a company employs a method where they deliberately create a network environment that appears vulnerable inviting attackers to engage. This method not only helps identify potential weaknesses but also allows the security team to analyze attack patterns. What is this technique called and how does it contribute to strengthening the overall security posture of the organization?
a)
Honeypot
b)
Firewall
c)
Intrusion Detection System (IDS)
d)
DMZ (Demilitarized Zone)
19.
Imagine you have a scenario where multiple IoT devices generate vast amounts of data. Which aspect of edge computing allows data processing to occur close to the source of data generation and how does this affect the overall performance of the IoT system?
a)
It centralizes data storage for faster access
b)
It minimizes the distance data must travel thus reducing latency
c)
It eliminates the need for cloud storage entirely
d)
It enhances data encryption at the server level
20.
When deploying IoT devices that need to connect and communicate without extensive manual setup consider a system that can automatically adjust to include new devices while maintaining network performance. What term describes this capability and why is it particularly important in dynamic environments like smart homes or industrial applications?
a)
Dynamic IP allocation
b)
Zero-configuration networking
c)
Network provisioning
d)
Topology reconfiguration
21.
As you develop a messaging app it’s crucial that messages appear in the exact order they are sent and received. To efficiently manage this sequential flow of messages which data structure would best support the required operations of adding new messages and retrieving them in the same order? Consider the characteristics of the options available before deciding.
a)
Stack
b)
Queue
c)
Hash Table
d)
Tree
22.
In Python you need to filter a large dataset to extract unique values efficiently. Using a set comprehension what key advantage does it offer compared to a list comprehension?
a)
Preserves element order
b)
Automatically filters out duplicate values
c)
Requires less coding
d)
Allows faster iteration
23.
A company aims to create a recommendation system to suggest products to users based on their previous interactions and purchasing behaviour. Considering the various approaches available which algorithm would be most effective in identifying patterns and making personalized recommendations by leveraging the preferences of similar users? Reflect on the strengths of each option before making your choice.
a)
Linear Regression
b)
Collaborative Filtering
c)
Decision Trees
d)
K-Means Clustering
24.
In the Bitcoin network the 'Proof of Work' mechanism is crucial for securing transactions. It requires miners to engage in a challenging process to validate transactions and add new blocks. What is the main role of this mechanism in maintaining network security?
a)
It verifies the identities of users
b)
It ensures that only the fastest nodes can add new blocks
c)
It requires miners to solve complex cryptographic puzzles before a block is added
d)
It tracks the number of transactions on the network
25.
In Proof-of-Work (PoW) based blockchain systems like Bitcoin mining is the process of solving cryptographic puzzles to validate new blocks. A key part of the security model in PoW is that attackers cannot easily modify previous blocks without redoing the proof-of-work. However under certain conditions attackers can gain more than 50% control of the network's mining power. What is the result of such an attack known as a 51% attack?
a)
The attacker can reverse transactions and double-spend coins
b)
The attacker can alter the hashing algorithm used in the blockchain
c)
The attacker can permanently prevent new transactions from being confirmed
d)
The attacker can corrupt all blocks in the blockchain
26.
In machine learning Gradient Descent is used to minimize the loss function and improve model accuracy. However one challenge is that it can get stuck in suboptimal solutions. Which scenario best describes this issue?
a)
Converges to a local minimum instead of the global minimum
b)
Fails to update the weights during backpropagation
c)
Learning rate is too high causing overfitting
d)
Model cannot generalize to unseen data
27.
Which of the following optimization techniques is most appropriate when dealing with high-dimensional sparse data in a deep neural network?
a)
Gradient Descent
b)
L-BFGS (Limited-memory Broyden–Fletcher–Goldfarb–Shanno)
c)
Adam (Adaptive Moment Estimation)
d)
Newton's Method
28.
Quantum computers leverage quantum bits (qubits) to perform certain types of computations exponentially faster than classical computers. However one of the key challenges in quantum computing is the problem of quantum decoherence where the quantum state of the system is disrupted. Which of the following is a primary cause of quantum decoherence in quantum systems?
a)
Lack of sufficient qubits
b)
Errors in classical computation
c)
Interaction with the external environment
d)
Inability to maintain superposition in qubits
29.
Consider a stack that supports the following operations: push(x) – Push x to the top of the stack. pop() – Remove the element from the top of the stack. increment(k val) – Increment the bottom k elements of the stack by val. Assume that push and pop have a time complexity of O(1). What is the amortized time complexity of the increment(k val) operation if we optimize the implementation?
a)
O(k)
b)
O(log k)
c)
O(1)
d)
O(k / 2)
30.
Which of the following encryption algorithms is considered quantum-resistant meaning that it would remain secure even against attacks by a large-scale quantum computer?
a)
RSA-4096
b)
ECC (Elliptic Curve Cryptography)
c)
AES-256
d)
Lattice-based Cryptography
Reset
