2024-06-01 11:08:26 +03:00
{
"questions" : [
2024-06-01 17:54:19 +03:00
{
"id" : 1 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is the purpose of the 'std' namespace in C++?" ,
"answer" : "The 'std' namespace in C++ is used to define the standard C++ library functions and objects."
} ,
{
"id" : 2 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What does the 'cout' object in C++ do?" ,
"answer" : "'cout' is used to output data to the standard output, typically the screen."
} ,
{
"id" : 3 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "How do you declare an integer variable in C++?" ,
"answer" : "You declare an integer variable in C++ using the 'int' keyword followed by the variable name, e.g., 'int myVar;'."
} ,
{
"id" : 4 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is a pointer in C++?" ,
"answer" : "A pointer is a variable that holds the memory address of another variable."
} ,
{
"id" : 5 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is the use of the 'new' operator in C++?" ,
"answer" : "The 'new' operator is used to dynamically allocate memory on the heap."
} ,
{
"id" : 6 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is a class in C++?" ,
"answer" : "A class in C++ is a user-defined type that contains data members and member functions to operate on the data."
} ,
{
"id" : 7 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is inheritance in C++?" ,
"answer" : "Inheritance is a feature in C++ where one class can inherit the properties and methods of another class."
} ,
{
"id" : 8 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "How do you define a function in C++?" ,
"answer" : "A function in C++ is defined by specifying the return type, function name, and parameters, followed by the function body enclosed in curly braces."
} ,
{
"id" : 9 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is a constructor in C++?" ,
"answer" : "A constructor is a special member function of a class that is executed whenever an object of that class is created."
} ,
{
"id" : 10 ,
2024-06-01 20:30:57 +03:00
"category" : "cpp" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is polymorphism in C++?" ,
"answer" : "Polymorphism in C++ allows for functions or methods to be used in different contexts, typically through inheritance and function overriding."
} ,
{
"id" : 11 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is a firewall in cybersecurity?" ,
"answer" : "A firewall is a network security device that monitors and filters incoming and outgoing network traffic based on an organization's previously established security policies."
} ,
{
"id" : 12 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is phishing?" ,
"answer" : "Phishing is a cyber attack that uses disguised email as a weapon to trick the email recipient into believing that the message is something they want or need."
} ,
{
"id" : 13 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is malware?" ,
"answer" : "Malware is malicious software designed to harm, exploit, or otherwise compromise the operation of a computer system."
} ,
{
"id" : 14 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is encryption?" ,
"answer" : "Encryption is the process of converting data into a code to prevent unauthorized access."
} ,
{
"id" : 15 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is a VPN?" ,
"answer" : "A VPN (Virtual Private Network) extends a private network across a public network and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network."
} ,
{
"id" : 16 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is two-factor authentication?" ,
"answer" : "Two-factor authentication is a security process in which the user provides two different authentication factors to verify themselves."
} ,
{
"id" : 17 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is a DDoS attack?" ,
"answer" : "A DDoS (Distributed Denial of Service) attack is an attempt to make an online service unavailable by overwhelming it with traffic from multiple sources."
} ,
{
"id" : 18 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is social engineering?" ,
"answer" : "Social engineering is the psychological manipulation of people into performing actions or divulging confidential information."
} ,
{
"id" : 19 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is a zero-day vulnerability?" ,
"answer" : "A zero-day vulnerability is a software security flaw that is known to the software vendor but does not have a patch in place to fix the flaw."
} ,
{
"id" : 20 ,
2024-06-01 20:30:57 +03:00
"category" : "cybersec" ,
2024-06-01 17:54:19 +03:00
"type" : "none" ,
"question" : "What is ransomware?" ,
"answer" : "Ransomware is a type of malicious software designed to block access to a computer system until a sum of money is paid."
} ,
{
"id" : 21 ,
"category" : "geography" ,
"type" : "none" ,
"question" : "What is the capital of France?" ,
"answer" : "The capital of France is Paris."
} ,
{
"id" : 22 ,
"category" : "geography" ,
"type" : "none" ,
"question" : "Which river is the longest in the world?" ,
"answer" : "The Nile River is considered the longest river in the world."
} ,
{
"id" : 23 ,
"category" : "geography" ,
"type" : "none" ,
"question" : "What is the largest desert in the world?" ,
"answer" : "The Sahara Desert is the largest hot desert in the world."
} ,
{
"id" : 24 ,
"category" : "geography" ,
"type" : "none" ,
"question" : "Which country has the largest population?" ,
"answer" : "China has the largest population in the world."
} ,
{
"id" : 25 ,
"category" : "geography" ,
"type" : "none" ,
"question" : "What is the smallest country in the world by area?" ,
"answer" : "Vatican City is the smallest country in the world by area."
}
]
2024-06-01 11:08:26 +03:00
}
2024-06-01 21:36:06 +03:00