Coding Quiz Zone
Открыть в Telegram
✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!
Больше1 546
Подписчики
+124 часа
-57 дней
-530 дней
Архив постов
1 546
Which of the following HTML
tag is used to create an unordered list?
1 546
Which of the following tag is used for inserting the largest heading in HTML?
1 546
Which of the following is not a difference between HTML and XHTML?
1 546
Which of the following is used to read an HTML page and render it?
1 546
Which of the following HTML element is used for canvas graphics?
1 546
The HTML element used to enter a scrolling area of text is ________.
1 546
10. Find the output of following code
def reverse_string(s):
return s[::-1]
# Example usage
input_string = "Hello, World!"
result = reverse_string(input_string)
print("Reversed string:", result)1 546
10.Find the output of the following code
if n in memo:
return memo[n]
if n <= 1:
return n
memo[n] = fibonacci(n - 1, memo) + fibonacci(n - 2, memo)
return memo[n]
# Calculate and print the 10th Fibonacci number
result = fibonacci(10)
print("Fibonacci of 10:", result)1 546
9. The following code is meant to sort a list. What will be the output?
my_list = [1, 2, 3, 4] my_list.sort(key=lambda x: -x) print(my_list)
1 546
8. What will be the output of this code if executed?
def add(x, y): return x + y print(add('2', '3'))
1 546
7. What will be the result of executing the following code?
def outer_function(): def inner_function(): return "Inner" return inner_function() print(outer_function())
1 546
5. What will be the output of the following code?
a = {1, 2, 3} b = {3, 4, 5} print(a & b)
