Font size
WorksheetsPSITS Regional Convention Quiz
Total questions: 140
Worksheet time: 47mins
Which of the following is NOT a valid IPv6 address format?
2001:0db8:85a3:0000:0000:8a2e:0370:7334
::1
192.168.1.1
2001:0db8:85a3:0:0:8a2e:0370:7334
What is the purpose of VLANs in networking?
Partitioning a physical network into multiple logical networks
Assigning IP addresses dynamically to devices
Filtering and caching web content
Managing network traffic flow
Which of the following is NOT a valid network protocol?
HTTP
FTP
SMTP
HTML
What is the binary representation of the decimal number 128?
10000000
11000000
10101000
11100000
Which of the following binary numbers is equivalent to the decimal number 10?
1010
1101
1111
1001
What is the binary equivalent of the decimal number 255?
11111111
11111110
11011111
10111111
What is the binary value for the IP address octet 128?
10000000
01000000
11000000
00100000
What is the binary representation of the hexadecimal number F?
1111
1010
1000
1100
Which of the following is the correct binary representation of the decimal number 32?
00100000
11000000
10000000
00010000
What is the binary equivalent of the IP address octet 64?
01000000
10000000
00100000
11000000
What is the result of adding the binary numbers 1010 and 1101?
10111
10001
11000
11111
Which of the following binary values represents the subnet mask 255.255.255.0?
11111111.11111111.11111111.00000000
11111111.11111111.00000000.11111111
11111111.00000000.00000000.11111111
11111111.00000000.11111111.11111111
What is the binary representation of the decimal number 64?
1000000
10000001
1010100
What does HTML stand for in web development?
Hyperlink Text Markup Language
Hypertext Markup Language
Hypermedia Text Manipulation Language
High-level Text Markup Language
Which protocol is used for transferring web pages from a server to a client browser?
FTP
SMTP
HTTP
DNS
What is the purpose of CSS in web development?
Creating dynamic web pages
Structuring web page content
Styling web page elements
Executing client-side scripts
Which organization oversees the management of domain names and IP addresses?
IETF
ICANN
W3C
IEEE
What is the primary function of a web server?
Storing and managing databases
Rendering web pages for client browsers
Transmitting emails between servers
Providing file storage and sharing services
What does URL stand for in web browsing?
Uniform Resource Locator
Universal Resource Language
Unified Resource Link
Unified Resource Locator
Which of the following is NOT a valid HTTP status code?
404
200
300
500
What is the purpose of JavaScript in web development?
Defining the structure and layout of web pages
Storing and retrieving data from a server
Enhancing the interactivity and behavior of web pages
Securing web applications against cyber threats
What is the function of a web browser in the context of the Internet?
Sending and receiving emails
Accessing and displaying web pages
Managing domain name registration
Transferring files between servers
What is the purpose of AJAX in web development?
Creating animated effects on web pages
Making asynchronous requests to the server
Securing web applications against cross-site scripting attacks
Validating user input on web forms
Which protocol is used for securely transmitting data over the web?
FTP
HTTP
HTTPS
SMTP
What is the purpose of a web cache in the context of web browsing?
Storing copies of web pages to reduce server load and improve performance
Encrypting data transmitted between the client and server
Authenticating users before granting access to web resources
Analyzing web traffic patterns for marketing purposes
Which of the following is NOT a valid web browser?
Chrome
Safari
Outlook
Firefox
What is the purpose of a web API?
Managing domain name registration
Providing a set of rules and conventions for web development
Allowing different software applications to communicate with each other over the web
Generating dynamic content for web pages
What does CMS stand for in the context of web development?
Content Management System
Centralized Media Server
Customer Management Software
Code Management System
What is the purpose of a web server log file?
Recording user interactions with a website for analysis
Storing sensitive user information securely
Tracking user location and browsing history
Encrypting data transmitted between the client and server
Which of the following is NOT a valid HTTP request method?
GET
PUT
DELETE
SAVE
What is the purpose of a web framework in web development?
Providing a foundation for building web applications with reusable components
Creating dynamic web pages with server-side scripting languages
Optimizing web page performance for search engines
Analyzing web traffic patterns for marketing purposes
What is the function of a web proxy server?
Encrypting data transmitted between the client and server
Filtering and caching web content
Managing domain name registration
Providing file storage and sharing services
What is the purpose of a cookie in web browsing?
Storing user preferences and session information
Authenticating users before granting access to web resources
Encrypting data transmitted between the client and server
Analyzing web traffic patterns for marketing purposes
What is the purpose of a web crawler?
Encrypting data transmitted between the client and server
Indexing web pages for search engines
Filtering and caching web content
Analyzing web traffic patterns for marketing purposes
What is the purpose of a CAPTCHA in web forms?
Encrypting data transmitted between the client and server
Authenticating users before granting access to web resources
Preventing automated bots from submitting forms
Analyzing web traffic patterns for marketing purposes
What is the purpose of a session token in web applications?
Storing user preferences and session information
Authenticating users before granting access to web resources
Encrypting data transmitted between the client and server
Managing domain name registration
What is the purpose of a web hosting service?
Providing a platform for developing and testing web applications
Rendering web pages for client browsers
Managing domain name registration
Storing and serving web content to users
Which of the following is the correct way to declare a variable in Java?
int x = 5;
x = 5;
int = 5;
declare x = 5;
Which of the following is NOT a valid data type in C++?
int
double
string
char
In Python, what does the function len() do?
Returns the length of a string
Converts a number to a string
Finds the largest number in a list
Returns the index of the first occurrence of a character
In JavaScript, which method is used to add an item to the end of an array?
push()
append()
insert()
add()
Which of the following loops will execute at least once, regardless of the condition?
for loop
while loop
do-while loop
foreach loop
What will the following Python code output? Python: print(3 * 2)
5
6
32
8
What is the primary use of a stack in computer science?
To store elements in sorted order
To store data in a last-in, first-out order
To store elements in a first-in, first-out order
To search for elements in an array
Which of the following is NOT an object-oriented programming concept?
Encapsulation
Inheritance
Polymorphism
Compilation
Which of the following is a correct syntax for defining a function in Python?
function myFunc() {}
def myFunc():
function myFunc[]
def myFunc[]
Which of the following is a correct syntax for defining a function in Python?
function myFunc() {}
def myFunc():
function myFunc[]
def myFunc[]
In Java, which keyword is used to create an instance of an object?
this
create
new
instantiate
What does the following Python code do? Python: for i in range(1, 6): print(i)
Prints numbers from 0 to 5
Prints numbers from 1 to 6
Prints numbers from 1 to 5
Prints numbers from 0 to 4
Which of the following is used to import a module in Python?
import module
include module
require module
use module
Which of the following is the correct syntax for a for loop in JavaScript?
for(i = 0; i < 10; i++)
for(i <= 10; i++)
for(i in range(10))
for(i : 10)
What is the time complexity of a binary search algorithm?
O(n)
O(log n)
O(n^2)
O(1)
Which of the following is a valid way to comment a single line in C?
// This is a comment
/* This is a comment */
# This is a comment
Which sorting algorithm has the best average case time complexity?
Bubble Sort
Quick Sort
Selection Sort
Insertion Sort
What will the following code output? Python: x = [1, 2, 3] x. append(4) print(x)
[1, 2, 3, 4]
[1, 2, 4]
[4, 3, 2, 1]
Error
In which of the following does the break statement immediately stop the loop?
for loop
while loop
do-while loop
All of the above
What is the result of 5 / 2 in Python 3.x?
2.5
2
Error
2.0
Which of the following is the correct syntax to declare a variable in JavaScript?
var x = 10;
let x = 10;
const x = 10;
All of the above
What is an exception in programming?
A special type of loop
A method to store data
An error that disrupts the normal flow of execution
A data type
Which of the following operators is used for exponentiation in Python?
^
**
*
exp()
In object-oriented programming, what is inheritance?
A method of hiding data
A method of adding functionality to existing classes
A way to create objects
A way to remove objects
Which of the following languages is NOT a low-level programming language?
Assembly
C
Java
Machine Code
Which of the following data structures is implemented using a LIFO order?
Queue
Stack
Linked List
Tree
What does the continue statement do in a loop?
Stops the loop
Skips the current iteration and proceeds to the next one
Restarts the loop from the beginning
Exits the function
Which of the following is the correct way to define a class in Python?
class MyClass:
class = MyClass:
class MyClass[]:
define class MyClass:
In which programming language was the first "Hello, World!" program written?
Python
C
Java
Assembly
What does SQL stand for?
Structured Query Language
Sequential Query Language
Standard Query Language
Simple Query Language
What is the purpose of the return statement in a function?
To define the function
To exit the function
To call the function
To send a value back to the function's caller
What does the // operator do in C++?
Marks the end of a statement
Divides two numbers
Adds a comment to the code
Declares a variable
Which of the following is a correct way to define a constant in Java?
final int x = 10;
const int x = 10;
constant int x = 10;
static int x = 10;
Which of the following is the default return type of a function in C?
void
int
char
double
In JavaScript, which of the following is used to declare a block-scoped variable?
var
let
const
Both b and c
What will the following Python code output? Python: x = {1, 2, 3} x. add(4) print(x)
{1, 2, 3, 4}
{1, 2, 3}
[1, 2, 3, 4]
Error
What does the init method do in Python classes?
Initializes the class
Creates a new object of the class
Initializes a class variable
Initializes an instance of the class
In which programming language is the System.out.println() function used?
C
Python
Java
JavaScript
What does the super() function do in Python?
Calls the constructor of the parent class
Calls a method from the parent class
Creates a super instance
Calls the superclass directly
What is the output of the following Python code? Python: x = 10 y = 3 print(x // y)
3.3333
3
4
Error
Which of the following is the correct syntax for a switch statement in C?
switch(variable) { case value: statement; }
switch(variable) -> { case value: statement; }
switch(variable): { case value; statement }
switch(variable): case value -> statement;
What is the first step in troubleshooting a computer problem?
Replace hardware components
Reboot the computer
Identify the problem
Check for virus infections
If a program freezes or stops responding, what should you do first?
Restart the program
Force quit the program
Reinstall the program
Contact customer support
Which of the following is the most common reason for a computer to fail to boot?
Corrupted operating system files
Insufficient RAM
Outdated software
A disconnected keyboard
When troubleshooting network issues, which tool is used to test network connectivity?
ping
ls
netstat
top
What should you check if a computer's screen is blank but the power is on?
The computer’s RAM
The monitor cable connections
The operating system settings
The CPU fan
What is the likely cause if a computer is running very slowly?
A full hard drive
High CPU usage
Too many running background processes
All of the above
Which of the following should you check if you experience poor internet speeds?
Network cable connections
Antivirus software
Disk space
None of the above
If a printer is not printing, which of the following is the first thing you should check?
Printer ink levels
Printer connection (USB or network)
Printer driver updates
Printer settings
Which tool would you use to check the health of a hard drive in Windows?
Disk Management
Task Manager
Disk Cleanup
Check Disk Utility (chkdsk)
What should you do if a computer is producing a beeping sound during startup?
Check the power cable
Check the error codes from the BIOS beep sequence
Reinstall the operating system
Unplug the monitor
What’s a common cause of a computer not detecting external devices (e.g., keyboard or mouse)?
Incorrect BIOS settings
Disconnected cables
Faulty drivers
All of the above
What could be the problem if your system is running extremely hot?
Inadequate cooling
Too many programs running
Outdated hardware drivers
A corrupted operating system
What is the first step to take when you can’t connect to Wi-Fi?
Restart the modem and router
Reinstall the Wi-Fi driver
Change the Wi-Fi password
Reset the computer to factory settings
When troubleshooting a web browser issue, what is the first thing to check?
Internet connectivity
Browser version
Security settings
Extensions and add-ons
If a website is not loading but other websites are, what should you check first?
Your router settings
Your DNS settings
The website’s server status
Your firewall settings
If a computer's audio is not working, what is the first thing to check?
Audio driver settings
Speaker connections
Audio settings in the operating system
All of the above
What is the purpose of restarting a router when troubleshooting internet issues?
To reset the router’s settings
To clear its cache and reestablish a connection
To install updates
To reconfigure the network
What could cause a "404 Not Found" error on a website?
The website’s server is down
The website's IP address is incorrect
The requested page no longer exists
All of the above
What is the first thing to check if a computer is not turning on?
The power supply and connections
The CPU fan
The operating system
The BIOS settings
If your printer is producing streaks on printed pages, what should you check?
The printer's ink or toner levels
The print head
The paper type
All of the above
When troubleshooting a software crash, which of the following is helpful?
Checking for software updates
Reinstalling the software
Checking for conflicting software or hardware
All of the above
What could be the cause if your computer’s Wi-Fi suddenly disconnects?
A weak signal
An incorrect password
Wi-Fi driver issues
All of the above
If your laptop’s battery is not charging, what should you check first?
The charging cable and adapter
The battery health
The power settings
All of the above
What should you do if an application crashes on your phone?
Restart the phone
Clear the app cache
Reinstall the app
All of the above
What could cause a "No signal" message on a computer monitor?
Loose or disconnected cables
Faulty graphics card
Incorrect input source selected
All of the above
When troubleshooting a device not recognized by your computer, what should you check?
The device drivers
The USB ports
Device settings
All of the above
What is the best way to troubleshoot an application that is running slow?
Check for software updates
Close unnecessary background programs
Check system resources (CPU, memory, etc.)
All of the above
What should you do if an external hard drive is not being recognized by your computer?
Try the hard drive on another computer
Check the USB or connection cable
Check for device drivers
All of the above
What is the first step to take when you suspect malware is affecting your computer?
Run a full antivirus scan
Disconnect from the internet
Reboot into safe mode
Delete suspicious files
What is the first step to take when troubleshooting a slow internet connection?
Reboot the router
Check if other devices are connected
Clear the browser cache
Contact your ISP
If a computer's fan is making an unusual noise, what should you check?
The CPU temperature
The fan blades for dirt or obstruction
The power supply for issues
All of the above
What is a potential cause of frequent application crashes on a computer?
Insufficient system resources (RAM, CPU)
Outdated software
Conflicting software
All of the above
Which command can you use to check the network connectivity between two devices in Linux?
ping
ipconfig
traceroute
netstat
What could be the cause of intermittent internet disconnections on a computer?
Router firmware issues
Overloaded network traffic
Faulty network cables
All of the above
What should you do if your smartphone is not responding to touch?
Restart the phone
Perform a factory reset
Clean the screen
Remove the battery (if possible)
What is the cause if a website loads but certain images or files don't appear?
Slow internet connection
Browser cache issues
Broken links on the website
Incorrect DNS settings
If your laptop is overheating, what is the most common cause?
Blocked air vents
Faulty RAM
Incorrect display settings
Outdated drivers
What is the first thing to do if your computer’s mouse stops working?
Check the mouse’s batteries (for wireless mice)
Try using the mouse on another computer
Check if the mouse driver is installed correctly
All of the above
If your software is frequently freezing, which of the following is the best first step?
Reinstall the operating system
Check for software updates and patches
Check for available system storage space
Restart the computer
What does CPU stand for in computing?
Computer Performance Unit
Central Processing Unit
Control Processing Unit
Computer Program Unit
What is the primary function of RAM in a computer?
Long-term storage of data
Processing data
Temporary storage of data and instructions
Displaying output on the monitor
Which of the following is an example of an input device?
Printer
Monitor
Keyboard
Speakers
What does GUI stand for in computing?
General User Interface
Graphical User Interface
Global User Interaction
Graphic Understanding Interface
Which of the following storage devices has the fastest access time?
Hard disk drive (HDD)
Solid State Drive (SSD)
Optical disk drive (ODD)
USB flash drive
What is the purpose of an operating system (OS) in a computer?
To store and manage data files
To provide a graphical user interface (GUI)
To control hardware and manage software resources
To perform mathematical calculations
Which of the following is NOT a type of network topology?
Star
Ring
Square
Bus
Which component of a computer system converts digital signals to analog signals for transmission over telephone lines?
Modem
Router
Switch
Hub
What is the purpose of an IP address in networking?
To identify a specific website
To identify a specific computer or device on a network
To encrypt data for secure transmission
To convert domain names to numerical addresses
Which of the following is a common programming language used for web development?
Java
C#
Python
HTML
What does URL stand for in computing?
Uniform Resource Locator
Universal Resource Language
Unified Resource Link
Unified Resource Locator
Which of the following is NOT a valid file extension?
.exe
.txt
.html
.cpu
What is the purpose of a firewall in computer security?
To prevent unauthorized access to a network or computer system
To encrypt data for secure transmission
To back up data files
To remove viruses from a computer system
Which of the following is a common type of malware?
Router
Trojan horse
Modem
Switch
What does USB stand for in computing?
Universal Serial Bus
Uniform Serial Bus
Unified Serial Bus
Unique Serial Bus
What is the purpose of a browser in computing?
To view and interact with web pages on the Internet
To store and manage data files
To control hardware resources
To perform mathematical calculations
Which of the following is NOT a type of computer network?
LAN (Local Area Network)
MAN (Metropolitan Area Network)
WAN (Wide Area Network)
CPU (Central Processing Unit)
Which of the following is NOT a valid input device?
Mouse
Printer
Scanner
Microphone
What is the purpose of a spreadsheet software application?
To create and edit text documents
To perform mathematical calculations and data analysis
To create and edit images and graphics
To create and edit multimedia presentations
What does LAN stand for in networking?
Large Area Network
Localized Access Network
Longitudinal Area Network
Local Area Network
Which of the following is NOT a type of computer memory?
RAM (Random Access Memory)
ROM (Read-Only Memory)
CPU (Central Processing Unit)
Cache
What is the purpose of a graphics card in a computer system?
To store and manage data files
To perform mathematical calculations
To provide output to a monitor
To control hardware resources
Which of the following is NOT a valid programming language?
Java
HTML
JPEG
Python
