Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Week | 4 Complete Data Analytics | Question 7
What is the purpose of a CASE statement in SQL? (A)To perform calculations on numeric columns.(B)To filter rows in the WHERE clause.(C)To assign val...
Read More
dp | galgotia contest MCA | Question 8
10. Which of the following problems should be solved using dynamic programming? (A)Mergesort(B)Binary search(C)Longest common subsequence(D)Quicksor...
Read More
Week | 4 Complete Data Analytics | Question 6
What is the primary purpose of the INNER JOIN in SQL? (A)Retrieves only rows that satisfy the join condition from both tables(B)Retrieves all rows f...
Read More
Week | 4 Complete Data Analytics | Question 5
What does a subquery do in SQL? (A)Joins two or more tables.(B)Filters the rows of the outer query based on the result of an inner query.(C)Performs...
Read More
Week | 4 Complete Data Analytics | Question 4
How can AI be applied to optimize SQL queries? (A)By randomly changing query structure.(B)By predicting and optimizing query execution plans.(C)By r...
Read More
Week | 4 Complete Data Analytics | Question 3
Given a table named Orders with columns OrderID, OrderDate, and TotalAmount, which SQL query calculates the average total amount for each month? (A)...
Read More
Week | 4 Complete Data Analytics | Question 2
Consider the following SQL query:WITH RecursiveCTE AS (SELECT EmployeeID, ManagerIDFROM EmployeeWHERE ManagerID IS NULLUNION ALLSELECT e.EmployeeID, e.ManagerI...
Read More
Week | 4 Complete Data Analytics | Question 1
Which of the following statements about Common Table Expressions (CTEs) is true? (A)CTEs can only be used in SELECT statements.(B)CTEs can reference...
Read More
dp | galgotia contest MCA | Question 10
Dynamic programming is often used to solve problems in which domain? (A)Artificial Intelligence(B)Database management(C)Computer graphics(D)Algorith...
Read More
dp | galgotia contest MCA | Question 9
What is the key difference between dynamic programming and divide-and-conquer algorithms? (A)Dynamic programming does not involve recursion.(B)Dynam...
Read More
dp | galgotia contest MCA | Question 7
When a top-down approach of dynamic programming is applied to a problem, it usually _____________ (A)Decreases both, the time complexity and the spa...
Read More
dp | galgotia contest MCA | Question 6
What is the output of the below code: for n=5 and arr[] = {3, 10, 2, 1, 20};function findLIS(arr, n): lis = array of size n lis[0] = 1 for i from ...
Read More
dp | galgotia contest MCA | Question 3
The Fibonacci sequence is often used to illustrate dynamic programming concepts. What is the time complexity of a naive recursive implementation of Fibonacci n...
Read More
dp | galgotia contest MCA | Question 2
Which of the following statements is TRUE? (A)The algorithm uses dynamic programming paradigm(B)The algorithm has a linear complexity and uses branc...
Read More
dp | galgotia contest MCA | Question 1
We use dynamic programming approach when (A)We need an optimal solution(B)The solution has optimal substructure(C)The given problem can be reduced t...
Read More
1
...
2006
2007
2008
...
11375