WorksheetsCode decode questions
Total questions: 25
Worksheet time: 8mins
Which protocol is used by default for transferring web pages?
FTP
HTTP
SSH
SMTP
Emoji: 🐙 + 🐱 = ?
Docker
GitHub
GitLab
Bitbucket
In Python, what is the output of print(type((1, 2)))?
list
set
tuple
dict
In C, what is x? int x = 2; x = x++ * ++x;
4
6
8
9
Which SQL command is used to add new rows to a table?
ADD
UPDATE
INSERT
CREATE
Emoji: 🔥 + 🧱 = ?
Virus
Firewall
Encryption
DB
Logic: What does a=a+b; b=a-b; a=a-b; do?
Doubles A
Swaps A & B
Resets
Error
In Python, what is the output of print(3 * 'A')?
AAA
3A
Error
A3
What is the average time complexity of searching in a Hash Map?
$O(n)$
$O(\log n)$
$O(1)$
$O(n^2)$
In C, what is c? int a=1, b=2; int c = a++ + ++b;
3
4
5
2
Emoji: 🐍 + 🐼 = ?
Pygame
Numpy
Pandas
Matplotlib
Who is known as the creator of the C programming language?
Rossum
Ritchie
Gosling
Bjarne
What is the output of 5 >> 1?
10
2
4
2.5
Which data structure follows the FIFO principle?
Stack
Tree
Queue
Graph
Emoji: ☕ + 💻 = ?
C++
JavaScript
Java
Python
In Python, what is the output of print(type({1, 2, 3}))?
list
set
dict
tuple
In C, what is y? int x=5; int y = ++x + x++;
10
11
12
13
Which Git command creates and switches to a new branch?
branch -new
checkout -b
commit -b
push
What is the result of 15 ^ 15?
15
30
0
1
Which HTML tag is used to create a hyperlink?
<link>
<a>
<href>
<url>
Emoji: 🐜+ 🖥️ = ?
Hacker
Debugging
Hardware
CPU
In C, what is a? int a=3; a = ++a + a++;
6
7
8
9
Which Linux command is used to remove/delete a file?
delete
erase
rm
remove
int x=5, y=10; int z = (x > y) ? x : y; What is z?
5
10
15
True
Which of these is NOT a fundamental pillar of OOP?
Encapsulation
Inheritance
Compilation
Polymorphism
