SarthiQ

SarthiQ

Interview Preparation Guide

CRED
Questions & Answers

A comprehensive, expert-curated list of real interview questions to help you prepare effectively and land your dream job.

Document Details

Topic / Subject
CRED
Content Length
37 Curated Q&A
Generated On
October 4, 2026
Provided By
SarthiQ.com
Want to explore more questions & mock interviews? Click on 👉www.sarthiq.com
© 2026 SarthiQ Platform. All rights reserved.
www.sarthiq.com
Resume Upload Get Job in 90 Days Resume Builder AI Interview Coach Interview Questions Placement Committee Self Assessment Get Internship

Need Help?

[email protected]

Top CRED Interview Questions

NETFLIX
ORACLE
Adobe
NVIDIA
meta
IBM
wipro
TCS
cisco
intel
SAP
Uber

CRED Interview Questions

Practice with real CRED interview questions

01
A Software Engineer was asked
SarthiQ CRED
Medium
Asked in 2024
Q. How do SQL aggregate functions like MAX, MIN, and AVG work? Provide SQL queries demonstrating their usage.
Ans. SQL aggregate functions perform calculations on a set of values and return a single value. The most commonly used aggregate functions include: - MAX: Returns the maximum value. - MIN: Returns the minimum value. - AVG: Returns the average value. Here’s how you can use these functions in SQL:
sql
-- Create a table
CREATE TABLE Sales (
    ID INT PRIMARY KEY,
    Product VARCHAR(100),
    Amount DECIMAL(10, 2)
);

-- Insert sample data
INSERT INTO Sales (ID, Product, Amount) VALUES (1, 'Laptop', 1200.00);
INSERT INTO Sales (ID, Product, Amount) VALUES (2, 'Smartphone', 800.00);
INSERT INTO Sales (ID, Product, Amount) VALUES (3, 'Tablet', 600.00);

-- Using aggregate functions
SELECT MAX(Amount) AS MaxSale FROM Sales; -- Output: 1200.00
SELECT MIN(Amount) AS MinSale FROM Sales; -- Output: 600.00
SELECT AVG(Amount) AS AvgSale FROM Sales; -- Output: 866.67
These queries demonstrate how to use SQL aggregate functions to summarize data in the 'Sales' table. Each function processes the 'Amount' column and returns the corresponding maximum, minimum, and average values.
Software EngineerCore Concept
02
A Software Engineer was asked
SarthiQ CRED
Medium
Asked in 2024
Q. Can you explain the basic operations on arrays and strings in programming? Provide a code example for both.
Ans. Arrays and strings are fundamental data structures in programming. Arrays are collections of elements identified by index or key. Operations typically include insertion, deletion, and traversal. Strings are arrays of characters that represent text. Example Code for Array Operations:
python
**def insert_element(arr, index, element):**
**    if index < 0 or index > len(arr):**
        return 'Index out of bounds'
    return arr[:index] + [element] + arr[index:]

arr = [1, 2, 3, 4]
new_arr = insert_element(arr, 2, 99)
print(new_arr)  # Output: [1, 2, 99, 3, 4]
Example Code for String Operations:
python
**def reverse_string(s):**
    return s[::-1]

string = 'Hello'
reversed_string = reverse_string(string)
print(reversed_string)  # Output: 'olleH'
Both examples illustrate basic manipulation of arrays and strings. Edge cases like empty arrays and strings should be handled appropriately in a full implementation.
Software EngineerCore Concept
03
Frontend Developer
SarthiQ CRED
Hard

Question:

How would you design a scalable system for XYZ...

04
Software Engineer
SarthiQ CRED
Hard

Question:

How would you design a scalable system for XYZ...