Company: Kickdrum mcq_24sep
Difficulty: medium
What happens when the provided C++ code snippets (double free, uninitialized delete, delete NULL) are compiled and executed?
Which of the following steps will reduce hallucinations and ground LLM answers in internal company data?
Given a table Sales with 3 rows, what is the value of SUM(Price * Quantity) multiplied by the number of rows?
At which OSI layer do FTP and SSH protocols primarily operate?
What is the time complexity of the provided function where j is initialized outside the loop and only increments?
What is the output of the following C++ code? #include <iostream> using namespace std; class A { public: void fun() { cout << "Base" << endl; } }; class A1: public A { }; class A2: public A { }; class A3: public A1, public A2 { }; int main() { A3* obj = new A3(); obj->fun(); return 0; }
Which index would be most beneficial for optimizing a join query with a range filter on salary and a filter on location?
Which prompt engineering technique is most effective for generating valid SQL queries for complex business logic?
Which aspect of the described transactional scenario violates ACID principles?
What is the output of this code (assuming char is unsigned or as per standard problem interpretation)? #include <cstdio> int main() { char c = 255; if (c > 10) printf("c = %d, which is greater than 10\n", c); else printf("c = %d, which is less than 10\n", c); return 0; }
What is the most effective optimization for a slow COUNT(*) query with a WHERE clause on a specific column?
Which prompt modification is most effective for improving LLM-generated test case structure and coverage?
Which network topology provides the highest level of fault tolerance?