Coding Quiz Zone
1.56K subscribers
18 photos
7 links
โœจ Part Of @OfficialCodingExpert

Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!
Download Telegram
Which of the following is used to define a constant in PHP?
Anonymous Quiz
13%
let
26%
define()
35%
constant()
26%
const()
DES belongs to which category of cryptographic algorithms?
Anonymous Quiz
33%
Asymmetric key algorithm
39%
Symmetric key algorithm
18%
Key exchange protocol
10%
Hashing algorithm
Which part of the OS interacts directly with the hardware?
Anonymous Quiz
10%
Shell
20%
Device drivers
20%
Application software
51%
Kernel
What is the default value of an uninitialized instance variable of type boolean?
Anonymous Quiz
27%
true
31%
false
19%
0
23%
null
โค1
Which data type matches the storage size of enum?
Anonymous Quiz
25%
int variable
27%
float variable
25%
string variable
23%
float & string variable
Firebase is primarily a product of:
Anonymous Quiz
14%
Amazon
44%
Google
20%
Microsoft
21%
Oracle
๐Ÿ‘1
Which normal form removes partial dependency?
Anonymous Quiz
24%
1NF
47%
2NF
19%
3NF
10%
BCNF
Which data structure works on the principle FIFO (First In, First Out)?
Anonymous Quiz
34%
Stack
55%
Queue
8%
Tree
2%
Graph
โค2
In reality, IPSec focuses on network layer security. What's often overlooked is that it could've theoretically been designed to secure any of the following?
Anonymous Quiz
14%
Application Layer Protocol Stacks
53%
Network Layer Routing Information Bases
29%
Transport Layer Connection-Oriented Services
4%
Session Layer Multiplexer Protocols
๐Ÿ”ฐ Python Question / Quiz

What is the output of the following Python code, and why?
Please open Telegram to view this post
VIEW IN TELEGRAM
โค3๐Ÿ‘2๐Ÿฅฐ1
CHALLENGE

function createCounter() {
let count = 0;
return {
increment: () => ++count,
decrement: () => --count,
getValue: () => count
};
}

const counter1 = createCounter();
const counter2 = createCounter();
counter1.increment();
counter1.increment();
counter2.increment();
console.log(counter1.getValue() + counter2.getValue());
โ” Interview question

Is it possible to override the + operator for your own class in Python?

Answer: Yes. In Python, operators are just syntactic sugar for calling special methods (so-called magic methods). To change the behavior of +, you need to define the add() method in your class. This allows you to specify how objects are added together.

ta
gs: #interview

โžก @CodingQuizZone ๐ŸŒŸ
Please open Telegram to view this post
VIEW IN TELEGRAM
โค3
๐Ÿ”ฐ Python Question / Quiz;

What is the output of the following Python code?
โค2
Coding Quiz Zone
๐Ÿ”ฐ Python Question / Quiz; What is the output of the following Python code?
Options:
Anonymous Quiz
28%
A
27%
B
33%
C
12%
D
[ PHP ] Which of the following is used for concatenation?
Anonymous Quiz
51%
+
16%
*
15%
.
10%
&
8%
None of these
๐Ÿ”ฐ Python Question / Quiz;

What is the output of the following Python code?
Please open Telegram to view this post
VIEW IN TELEGRAM