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
Python | as a Programming Language | Question 17
Guess the output of the following code:def fun(t): t[0] = ['pqr'] t[1] = ['mno'] return id(t)x = ['mno', 'pqr']print(id(x) == fun(x))(A)True(B)False(C)None(D)Erro...
Read More
Misc
Python | as a Programming Language | Question 16
Which of the following is not a valid keyword?(A)nonlocal(B)eval(C)pass(D)assert Answer: (B)Explanation:Quiz of this QuestionPlease comment below if you find anything wro...
Read More
Misc
Python | as a Programming Language | Question 14
As what datatype are the *args stored, when passed into a function?(A)List(B)Tuple(C)Dictionary(D)Heaps Answer: (B)Explanation:Quiz of this QuestionPlease comment below i...
Read More
Misc
Python | as a Programming Language | Question 12
Guess the output of the following code snippet: (A)five five five five(B)five neither thrive three(C)three three three three(D)five neither five neither Answer: (B)Explan...
Read More
Misc
Python | as a Programming Language | Question 10
Which of these is not known in Python?(A)Pointers(B)Loops(C)Dynamic Typing(D)All of these Answer: (A)Explanation:Quiz of this QuestionPlease comment below if you find any...
Read More
Misc
Python | as a Programming Language | Question 6
How do you make an object from a class do something when it is created?(A)def __onmake__(self, [...]):(B)def __del__(self, [...]):(C)def __create__(self, [...]):(D)def __i...
Read More
Misc
Python | as a Programming Language | Question 5
How do you create a new class in PYTHON?(A)class MyClass():(B)class MyClass:(C)class (MyClass)(D)class (MyClass): Answer: (B)Explanation:Quiz of this QuestionPlease comme...
Read More
Misc
Python | as a Programming Language | Question 4
How do you create a new class in PYTHON?(A)class MyClass():(B)class MyClass:(C)class (MyClass)(D)class (MyClass): Answer: (B)Explanation:Quiz of this QuestionPlease comme...
Read More
Misc
Python | as a Programming Language | Question 3
Quick sort is better than Merge Sort because(A)Merge sort takes more time asymptotically(B)Merge Sort takes more space asymptotically(C)Selection sort is more time efficie...
Read More
Misc
Python | as a Programming Language | Question 22
What would be the output of the following code?names1 = ['gfg', 'dsa', 'course']names2 = [name.lower() for name in names1]print(names2[2][0])(A)f(B)d(C)s(D)c Answer: (D)E...
Read More
Misc
Python | as a Programming Language | Question 20
Which of the following is used to overload the operator?(A)_more_()(B)_gt_()(C)_ge_()(D)None of these Answer: (D)Explanation:Quiz of this QuestionPlease comment below if...
Read More
Misc
Python | as a Programming Language | Question 18
What would be the output of the following code:def fun(): try: return 6 finally: return 5t = fun()print(t)(A)7(B)6(C)5(D)Error Answer: (C)Explanation:...
Read More
Misc
Python | as a Programming Language | Question 24
What would be the output of the following code snippet?class MyClass: def __init__(self): print("GFG") def __init__(self): print("Geeks For Geeks")obj ...
Read More
Misc
Minimize operations to make String palindrome by incrementing prefix by 1
Given a string S of numbers of length N, the task is to find the minimum number of operations required to change a string into palindrome and we can perform the following ...
Read More
Strings
Mathematical
palindrome
prefix
DSA
Construct Binary Array having same number of unequal elements with two other Arrays
Given two binary arrays A[] and B[] of size N, the task is to construct the lexicographically smallest binary array X[] such that the number of non-equal elements in A and...
Read More
Arrays
Greedy
Technical Scripter
Technical Scripter 2022
DSA
1
...
3582
3583
3584
...
11321