Question 4

Company: CARS24_30oct

Difficulty: medium

Problem Statement

Question 1

What will be the output of the following Python code? print(4+2*3//30)

Question 2

How does Retrieval-Augmented Generation (RAG) improve AI-generated responses?

Question 3

You need to arrange object hierarchies such that the client code can access both the individual objects and compositions in a uniform manner. Which design pattern would be most suitable?

Question 4

Which one of the following is the recurrence equation for the worst-case time complexity of the Quicksort algorithm for sorting n numbers?

Question 5

In GA, _______.

Question 6

You're tasked with generating realistic landscapes using Generative AI. Which technique would be most suitable for achieving this goal?

Question 7

What does Fuzzification do?

Question 8

You have a dataset with unlabeled images, and you want to automatically group similar images together. Which method would you use?

Question 9

What is the main goal of Zero-Shot Learning in AI?

Question 10

What will be the output of the following Python code? my_tuple = (1, 2, 3, 4); my_tuple.append(5, 6, 7); print(len(my_tuple))

Question 11

You are working on a project to classify handwritten digits using SVM. Which kernel function is most likely to improve the SVM's performance for this task?

Question 12

What will be the output of the following Python code? counter = 0; def doStuff(): global counter; counter += 1; doStuff(); print(counter)

Question 13

What will be the output of the following Python code? def doStuff(param, *param2): print(type(param2)); doStuff('orange', 'bananas', 'cherry', 'dates')

Question 14

What is Evolutionary Computation?

Question 15

Which of the subsequent options is an uncommon application of Generative AI?