
Programming Challenges for IT Skills
Authored by Jeric Malata
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of binary search?
O(log n)
O(n log n)
O(n)
O(1)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between a stack and a queue.
A stack uses FIFO, while a queue uses LIFO.
Both stack and queue use LIFO.
A stack uses LIFO, while a queue uses FIFO.
A stack allows random access, while a queue does not.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a hash table?
To create a backup of data.
To store data in a linear format.
To encrypt sensitive information.
The purpose of a hash table is to provide efficient data storage and retrieval.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write a function to reverse a string in Python.
def reverse_string(s): return s[::-2]
def reverse_string(s): return ''.join(reversed(s))
def reverse_string(s): return s[::-1]
def reverse(s): return s.reverse()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: print(2**3 + 3**2)?
10
17
15
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define polymorphism in object-oriented programming.
Polymorphism is the ability to create multiple instances of a class.
Polymorphism is the ability of different classes to be treated as instances of the same class through a common interface, allowing for method overriding and overloading.
Polymorphism is the technique of hiding the implementation details of a class.
Polymorphism refers to the process of combining multiple classes into one.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between synchronous and asynchronous programming?
Asynchronous programming is always faster than synchronous programming regardless of the task.
Synchronous programming waits for tasks to complete before moving on, while asynchronous programming allows tasks to run concurrently.
Synchronous programming allows multiple tasks to run at the same time, while asynchronous programming runs tasks one after another.
Synchronous programming is used exclusively in web development, while asynchronous programming is used in desktop applications.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
SCM and Logistics
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
7 questions
Data mining-Clustering-1
Quiz
•
University
15 questions
GIS Unit III
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
15 questions
Robotics Prelim
Quiz
•
University
12 questions
Cloud Computing - Introducción
Quiz
•
University
11 questions
Examen Tema 1 - Simulación
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade