WorksheetsCCDI Competition- League 2 - Cycle 3
Total questions: 5
Worksheet time: 50secs
Name
Class
Date
1.
What is the main purpose of a firewall in a computer network?
a)
To speed up data transfer
b)
To manage network congestion
c)
To prevent unauthorized access
d)
To analyze data packets
2.
What is the binary representation of the decimal number 15?
a)
1110
b)
1101
c)
1111
d)
1010
3.
In Python, what does the len() function do?
a)
Returns the length of a list, string, or tuple
b)
Returns the last element in a list
c)
Checks if an object is iterable
d)
Counts the number of variables in memory
4.
What does HTTP stand for?
a)
HyperText Transmission Protocol
b)
HyperText Transfer Protocol
c)
HighText Transfer Protocol
d)
HighText Transmission Protocol
5.
What is the default file extension for a Python file?
a)
.java
b)
.py
c)
.exe
d)
.pyt
100 %
